diff --git a/components/Flag.vue b/components/Flag.vue
index edf68be8..7a488dcd 100644
--- a/components/Flag.vue
+++ b/components/Flag.vue
@@ -1,5 +1,9 @@
-
+
+
+ {{ name }}
+
+
{{ name }}
@@ -11,6 +15,25 @@
name: { required: true },
alt: { required: true },
img: { required: true },
+ terms: { 'default': [] },
+ },
+ computed: {
+ link() {
+ if (!this.config.nouns.terms.enabled) {
+ return null;
+ }
+
+ for (let term of this.terms) {
+ if (term.term.toLowerCase().includes(this.name.toLowerCase())) {
+ return this.name;
+ }
+ if (term.original.toLowerCase().includes(this.alt.toLowerCase())) {
+ return this.alt;
+ }
+ }
+
+ return null;
+ },
},
}
diff --git a/locale/en/config.suml b/locale/en/config.suml
index eb4b45c1..2e0932fb 100644
--- a/locale/en/config.suml
+++ b/locale/en/config.suml
@@ -60,6 +60,10 @@ nouns:
declension: false
submit: true
templates: true
+ inclusive:
+ enabled: false
+ terms:
+ enabled: false
names:
enabled: false
diff --git a/locale/pl/config.suml b/locale/pl/config.suml
index 2a675faa..c70b3f5a 100644
--- a/locale/pl/config.suml
+++ b/locale/pl/config.suml
@@ -71,9 +71,11 @@ nouns:
templates: true
hashNamespace: 'neutratywy'
inclusive:
+ enabled: false
categories: ['interpłciowość', 'lgbtq+', 'niepełnosprawność', 'rasa', 'trans']
hashNamespace: 'inkluzywny'
terms:
+ enabled: false
hashNamespace: 'terminologia'
names:
diff --git a/locale/pl/nouns/NounsExtra.vue b/locale/pl/nouns/NounsExtra.vue
index 6d59df4a..62efdea6 100644
--- a/locale/pl/nouns/NounsExtra.vue
+++ b/locale/pl/nouns/NounsExtra.vue
@@ -229,51 +229,51 @@
-
+
+
+
+
+ nouns.inclusive.headerLong
+
+
+
+
+
+
+
-
+
+
+
+
+ nouns.terms.headerLong
+
+
+
+
+
+
+
diff --git a/locale/pl/nouns/NounsNav.vue b/locale/pl/nouns/NounsNav.vue
index 693e6437..fba94410 100644
--- a/locale/pl/nouns/NounsNav.vue
+++ b/locale/pl/nouns/NounsNav.vue
@@ -18,14 +18,22 @@