@@ -63,7 +63,7 @@
nouns.edited:
|
- {{p}}
+
-
@@ -101,7 +101,7 @@
nouns.edited:
- {{p}}
+
-
diff --git a/components/NounForm.vue b/components/NounForm.vue
index 7bbba009..fe96080c 100644
--- a/components/NounForm.vue
+++ b/components/NounForm.vue
@@ -21,7 +21,7 @@
props: {
value: {required: true},
required: {type: Boolean},
- maxlength: {'default': 24},
+ maxlength: {'default': 36},
},
data() {
return {
diff --git a/locale/pl/config.suml b/locale/pl/config.suml
index 58827b09..1387159e 100644
--- a/locale/pl/config.suml
+++ b/locale/pl/config.suml
@@ -84,7 +84,7 @@ nouns:
- 'osobatywy'
inclusive:
enabled: false
- categories: ['interpłciowość', 'lgbtq+', 'niepełnosprawność', 'rasa', 'trans']
+ categories: ['queer/lgbtq+', 'transpłciowość', 'interpłciowość', 'niepełnosprawność', 'rasa i narodowość']
route: 'inkluzywny'
terms:
enabled: false
diff --git a/src/helpers.js b/src/helpers.js
index 0dc95450..068e3929 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -65,7 +65,13 @@ export const clearUrl = url => {
url = url.substr(0, url.length - 1);
}
- return decodeURIComponent(url);
+ url = decodeURIComponent(url);
+
+ if (url.length > 48) {
+ url = url.substring(0, 28) + '...' + url.substring(url.length - 17);
+ }
+
+ return url;
}
export const makeId = (length, characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') => {
|