From 9171c758e7d2842fc535214173c2541e6575742f Mon Sep 17 00:00:00 2001
From: Philipp Stadler <hello@phstadler.com>
Date: Sat, 20 Jul 2024 21:01:52 +0200
Subject: [PATCH] feat: add copyright notices

---
 .../.apkg-spec.yaml                                |  6 ++++++
 .../.apkg-spec.yaml"                               |  5 ++++-
 .../.apkg-spec.yaml                                |  3 +++
 resources/CLFDS_NOTICE                             | 14 ++++++++++++++
 resources/EIDPGC_NOTICE                            |  7 +++++++
 resources/ITCCH_NOTICE                             | 10 ++++++++++
 6 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 resources/CLFDS_NOTICE
 create mode 100644 resources/EIDPGC_NOTICE
 create mode 100644 resources/ITCCH_NOTICE

diff --git a/content/Chinesisch-lernen-fuer-die-Sinologie,-Band-1/.apkg-spec.yaml b/content/Chinesisch-lernen-fuer-die-Sinologie,-Band-1/.apkg-spec.yaml
index b7b1b5d..84fff58 100644
--- a/content/Chinesisch-lernen-fuer-die-Sinologie,-Band-1/.apkg-spec.yaml
+++ b/content/Chinesisch-lernen-fuer-die-Sinologie,-Band-1/.apkg-spec.yaml
@@ -25,4 +25,10 @@ content:
     - Schreiben anlegen
     - Zhuyin
     - Lesen (繁體字) anlegen
+    fields_static:
+        Credits: <div notice-file="CLFDS_NOTICE"></div>
+
     tags: []
+
+resource_paths:
+- CLFDS_NOTICE.js
diff --git "a/content/Einf\303\274hrung-in-die-politische-Geschichte-Chinas/.apkg-spec.yaml" "b/content/Einf\303\274hrung-in-die-politische-Geschichte-Chinas/.apkg-spec.yaml"
index 91587b2..c889902 100644
--- "a/content/Einf\303\274hrung-in-die-politische-Geschichte-Chinas/.apkg-spec.yaml"
+++ "b/content/Einf\303\274hrung-in-die-politische-Geschichte-Chinas/.apkg-spec.yaml"
@@ -5,4 +5,7 @@ templates:
 
 content:
 - import_apkg:
-    note_type: Facts
\ No newline at end of file
+    note_type: Facts
+
+resource_paths:
+- EIDPGC_NOTICE.js
diff --git a/content/Introduction-to-Chinese-Cultural-History/.apkg-spec.yaml b/content/Introduction-to-Chinese-Cultural-History/.apkg-spec.yaml
index 1038873..0cf5eea 100644
--- a/content/Introduction-to-Chinese-Cultural-History/.apkg-spec.yaml
+++ b/content/Introduction-to-Chinese-Cultural-History/.apkg-spec.yaml
@@ -6,3 +6,6 @@ templates:
 content:
 - import_apkg:
     note_type: Facts
+
+resource_paths:
+- ITCCH_NOTICE.js
diff --git a/resources/CLFDS_NOTICE b/resources/CLFDS_NOTICE
new file mode 100644
index 0000000..38e4c45
--- /dev/null
+++ b/resources/CLFDS_NOTICE
@@ -0,0 +1,14 @@
+Deck: Chinesisch lernen für die Sinologie
+
+Stefanie Yu kindly gave permission to make an Anki version of her vocabulary on
+Quizlet that can be freely shared among students of the University of Vienna.
+It is available with releases of this project on GitLab, and you are welcome to
+improve on it and share your improvements with other students.
+
+The vocabulary and some additional content like stroke names are taken from the
+book "Chinesisch lernen für die Sinologie, Band 1" by Xia Baige and Wolfgang
+Zeidl. Xia Baige kindly gave permission to use their work in this Anki deck.
+The book itself is available at Universität Wien.
+
+Please respect the rights of the original authors and share content from
+the book including these Anki cards only with your fellow students.
diff --git a/resources/EIDPGC_NOTICE b/resources/EIDPGC_NOTICE
new file mode 100644
index 0000000..f248b30
--- /dev/null
+++ b/resources/EIDPGC_NOTICE
@@ -0,0 +1,7 @@
+Deck: Einführung in die politische Geschichte Chinas
+
+This deck includes content from the slides of the lecture _Einführung in die
+politische Geschichte Chinas_ at Universität Wien, held by Dr. Christian Göbel.
+
+Please respect the rights of the original authors and share this deck only with
+your fellow students.
diff --git a/resources/ITCCH_NOTICE b/resources/ITCCH_NOTICE
new file mode 100644
index 0000000..6995402
--- /dev/null
+++ b/resources/ITCCH_NOTICE
@@ -0,0 +1,10 @@
+Deck: Introduction to Chinese Cultural History
+
+This deck includes content from the slides of the lecture _Introduction to
+Chinese Cultural History_ at Universität Wien, held by Dr. Rossella Ferrari.
+
+A separate part of the deck heavily relies on content from _The Columbia
+Companion to Modern Chinese Literature_.
+
+Please respect the rights of the original authors and share this deck only with
+your fellow students.
-- 
GitLab