@bigbinary/neeto-redirect-urls-frontend 2.2.11 → 2.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/javascript/src/translations/ar.json +55 -0
- package/app/javascript/src/translations/bg.json +55 -0
- package/app/javascript/src/translations/ca.json +55 -0
- package/app/javascript/src/translations/cs.json +55 -0
- package/app/javascript/src/translations/da.json +55 -0
- package/app/javascript/src/translations/es-MX.json +55 -0
- package/app/javascript/src/translations/et.json +55 -0
- package/app/javascript/src/translations/fi.json +55 -0
- package/app/javascript/src/translations/fil.json +55 -0
- package/app/javascript/src/translations/hi.json +55 -0
- package/app/javascript/src/translations/hr.json +55 -0
- package/app/javascript/src/translations/id.json +55 -0
- package/app/javascript/src/translations/it.json +55 -0
- package/app/javascript/src/translations/ja.json +55 -0
- package/app/javascript/src/translations/ko.json +55 -0
- package/app/javascript/src/translations/nl.json +55 -0
- package/app/javascript/src/translations/pl.json +55 -0
- package/app/javascript/src/translations/pt-BR.json +55 -0
- package/app/javascript/src/translations/pt.json +55 -0
- package/app/javascript/src/translations/ro.json +55 -0
- package/app/javascript/src/translations/ru.json +55 -0
- package/app/javascript/src/translations/sk.json +55 -0
- package/app/javascript/src/translations/sl.json +55 -0
- package/app/javascript/src/translations/sv.json +55 -0
- package/app/javascript/src/translations/th.json +55 -0
- package/app/javascript/src/translations/tr.json +55 -0
- package/app/javascript/src/translations/uk.json +55 -0
- package/app/javascript/src/translations/vi.json +55 -0
- package/app/javascript/src/translations/zh-CN.json +55 -0
- package/app/javascript/src/translations/zh-TW.json +55 -0
- package/dist/RedirectUrls.js +12 -4
- package/dist/RedirectUrls.js.map +1 -1
- package/dist/cjs/RedirectUrls.js +12 -4
- package/dist/cjs/RedirectUrls.js.map +1 -1
- package/package.json +14 -13
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRedirectUrls": {
|
|
3
|
+
"titles": {
|
|
4
|
+
"dashboard": "Instrumentpanelen"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"delete": "Ta bort",
|
|
8
|
+
"edit": "Redigera",
|
|
9
|
+
"placeholder": {
|
|
10
|
+
"relativeUrl": "/artiklar/välkommen",
|
|
11
|
+
"url": "https://example.com"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"settings": {
|
|
15
|
+
"title": "Administrationspanel",
|
|
16
|
+
"redirecturl": {
|
|
17
|
+
"title": "Omdirigerings-URL:er",
|
|
18
|
+
"description": "Visa och hantera omdirigerings-URL:er"
|
|
19
|
+
},
|
|
20
|
+
"general": {
|
|
21
|
+
"title": "Allmänt"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"emptyState": {
|
|
25
|
+
"redirectURLs": {
|
|
26
|
+
"title": "Det finns inga omdirigerings-URL:er att visa.",
|
|
27
|
+
"description": "Så här kan du skapa <helpLink>omdirigerings-URL:er</helpLink>."
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"alerts": {
|
|
31
|
+
"delete": {
|
|
32
|
+
"title": "Ta bort omdirigerings-URL?",
|
|
33
|
+
"confirm": "Du tar permanent bort omdirigeringen från <strong>{{ from_path }}</strong> till <strong>{{ to_path }}</strong>. Detta kan inte ångras."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"redirect": {
|
|
37
|
+
"source": "Källa",
|
|
38
|
+
"destination": "Destination",
|
|
39
|
+
"add": "Lägg till ny omdirigerings-URL",
|
|
40
|
+
"edit": "Redigera omdirigerings-URL",
|
|
41
|
+
"search": "Sök Omdirigerings-URL",
|
|
42
|
+
"domainLevelRedirect": {
|
|
43
|
+
"label": "Lägg till domännivå omdirigering",
|
|
44
|
+
"description": "Denna funktion gör att du kan omdirigera alla dina {{entity}} URL:er från {{app, anyCase}} till en ny domän. <Link>Visa hjälpartikeln</Link> för mer information."
|
|
45
|
+
},
|
|
46
|
+
"validations": {
|
|
47
|
+
"source": "Källvägen måste vara giltig",
|
|
48
|
+
"destination": "Destinationens URL måste vara giltig",
|
|
49
|
+
"required": "{{entity}} är obligatorisk",
|
|
50
|
+
"duplicateDomain": "Kan inte använda samma domän för omdirigering",
|
|
51
|
+
"samePaths": "Källa och destinationsvägar kan inte vara desamma"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRedirectUrls": {
|
|
3
|
+
"titles": {
|
|
4
|
+
"dashboard": "แดชบอร์ด"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"delete": "ลบ",
|
|
8
|
+
"edit": "แก้ไข",
|
|
9
|
+
"placeholder": {
|
|
10
|
+
"relativeUrl": "/articles/welcome",
|
|
11
|
+
"url": "https://example.com"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"settings": {
|
|
15
|
+
"title": "แผงผู้ดูแลระบบ",
|
|
16
|
+
"redirecturl": {
|
|
17
|
+
"title": "URL เปลี่ยนเส้นทาง",
|
|
18
|
+
"description": "ดูและจัดการ URL เปลี่ยนเส้นทาง"
|
|
19
|
+
},
|
|
20
|
+
"general": {
|
|
21
|
+
"title": "ทั่วไป"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"emptyState": {
|
|
25
|
+
"redirectURLs": {
|
|
26
|
+
"title": "ไม่มี URL เปลี่ยนเส้นทางให้แสดง",
|
|
27
|
+
"description": "นี่คือวิธีที่คุณสามารถสร้าง <helpLink>URL เปลี่ยนเส้นทาง</helpLink>"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"alerts": {
|
|
31
|
+
"delete": {
|
|
32
|
+
"title": "ลบ URL เปลี่ยนเส้นทาง?",
|
|
33
|
+
"confirm": "คุณกำลังลบการเปลี่ยนเส้นทางจาก <strong>{{ from_path }}</strong> ไปยัง <strong>{{ to_path }}</strong> อย่างถาวร ซึ่งไม่สามารถย้อนกลับได้"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"redirect": {
|
|
37
|
+
"source": "แหล่งที่มา",
|
|
38
|
+
"destination": "ปลายทาง",
|
|
39
|
+
"add": "เพิ่ม URL เปลี่ยนเส้นทางใหม่",
|
|
40
|
+
"edit": "แก้ไข URL เปลี่ยนเส้นทาง",
|
|
41
|
+
"search": "ค้นหา URL เปลี่ยนเส้นทาง",
|
|
42
|
+
"domainLevelRedirect": {
|
|
43
|
+
"label": "เพิ่มการเปลี่ยนเส้นทางระดับโดเมน",
|
|
44
|
+
"description": "ฟีเจอร์นี้ช่วยให้คุณสามารถเปลี่ยนเส้นทาง URL ของ {{entity}} ทั้งหมดจาก {{app, anyCase}} ไปยังโดเมนใหม่ <Link>ดูบทความช่วยเหลือ</Link> สำหรับข้อมูลเพิ่มเติม"
|
|
45
|
+
},
|
|
46
|
+
"validations": {
|
|
47
|
+
"source": "เส้นทางแหล่งที่มาต้องถูกต้อง",
|
|
48
|
+
"destination": "URL ปลายทางต้องถูกต้อง",
|
|
49
|
+
"required": "{{entity}} จำเป็นต้องใช้",
|
|
50
|
+
"duplicateDomain": "ไม่สามารถใช้โดเมนเดียวกันสำหรับการเปลี่ยนเส้นทางได้",
|
|
51
|
+
"samePaths": "เส้นทางแหล่งที่มาและเส้นทางปลายทางไม่สามารถเหมือนกันได้"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRedirectUrls": {
|
|
3
|
+
"titles": {
|
|
4
|
+
"dashboard": "Gösterge Paneli"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"delete": "Sil",
|
|
8
|
+
"edit": "Düzenle",
|
|
9
|
+
"placeholder": {
|
|
10
|
+
"relativeUrl": "/makaleler/hosgeldin",
|
|
11
|
+
"url": "https://example.com"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"settings": {
|
|
15
|
+
"title": "Yönetici paneli",
|
|
16
|
+
"redirecturl": {
|
|
17
|
+
"title": "Yeniden yönlendirme URL'leri",
|
|
18
|
+
"description": "Yeniden yönlendirme URL'lerini görüntüleyin ve yönetin"
|
|
19
|
+
},
|
|
20
|
+
"general": {
|
|
21
|
+
"title": "Genel"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"emptyState": {
|
|
25
|
+
"redirectURLs": {
|
|
26
|
+
"title": "Gösterilecek yeniden yönlendirme URL'si yok.",
|
|
27
|
+
"description": "İşte nasıl <helpLink>yeniden yönlendirme URL'leri</helpLink> oluşturabilirsiniz."
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"alerts": {
|
|
31
|
+
"delete": {
|
|
32
|
+
"title": "Yeniden yönlendirme URL'sini silmek istiyor musunuz?",
|
|
33
|
+
"confirm": "<strong>{{ from_path }}</strong> adresinden <strong>{{ to_path }}</strong> adresine yönlendirmeyi kalıcı olarak siliyorsunuz. Bu geri alınamaz."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"redirect": {
|
|
37
|
+
"source": "Kaynak",
|
|
38
|
+
"destination": "Hedef",
|
|
39
|
+
"add": "Yeni yeniden yönlendirme URL'si ekle",
|
|
40
|
+
"edit": "Yeniden yönlendirme URL'sini düzenle",
|
|
41
|
+
"search": "Yeniden yönlendirme URL'sini ara",
|
|
42
|
+
"domainLevelRedirect": {
|
|
43
|
+
"label": "Alan düzeyinde yeniden yönlendirme ekle",
|
|
44
|
+
"description": "Bu özellik, tüm {{entity}} URL'lerinizi {{app, anyCase}}'ten yeni bir domaine yönlendirmenizi sağlar. Daha fazla bilgi için <Link>yardım makalesini görüntüleyin</Link>."
|
|
45
|
+
},
|
|
46
|
+
"validations": {
|
|
47
|
+
"source": "Kaynak yolu geçerli olmalıdır",
|
|
48
|
+
"destination": "Hedef URL geçerli olmalıdır",
|
|
49
|
+
"required": "{{entity}} gereklidir",
|
|
50
|
+
"duplicateDomain": "Yeniden yönlendirme için aynı alan kullanılamaz",
|
|
51
|
+
"samePaths": "Kaynak ve hedef yollar aynı olamaz"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRedirectUrls": {
|
|
3
|
+
"titles": {
|
|
4
|
+
"dashboard": "Приладна панель"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"delete": "Видалити",
|
|
8
|
+
"edit": "Редагувати",
|
|
9
|
+
"placeholder": {
|
|
10
|
+
"relativeUrl": "/articles/welcome",
|
|
11
|
+
"url": "https://example.com"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"settings": {
|
|
15
|
+
"title": "Адміністративна панель",
|
|
16
|
+
"redirecturl": {
|
|
17
|
+
"title": "URL-адреси перенаправлення",
|
|
18
|
+
"description": "Перегляньте та керуйте URL-адресами перенаправлення"
|
|
19
|
+
},
|
|
20
|
+
"general": {
|
|
21
|
+
"title": "Загальні"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"emptyState": {
|
|
25
|
+
"redirectURLs": {
|
|
26
|
+
"title": "Немає URL-адрес для перенаправлення.",
|
|
27
|
+
"description": "Ось як ви можете створити <helpLink>URL-адреси перенаправлення</helpLink>."
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"alerts": {
|
|
31
|
+
"delete": {
|
|
32
|
+
"title": "Видалити URL-адресу перенаправлення?",
|
|
33
|
+
"confirm": "Ви назавжди видаляєте перенаправлення з <strong>{{ from_path }}</strong> на <strong>{{ to_path }}</strong>. Це не можна скасувати."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"redirect": {
|
|
37
|
+
"source": "Джерело",
|
|
38
|
+
"destination": "Призначення",
|
|
39
|
+
"add": "Додати нову URL-адресу перенаправлення",
|
|
40
|
+
"edit": "Редагувати URL-адресу перенаправлення",
|
|
41
|
+
"search": "Пошук URL-адреси перенаправлення",
|
|
42
|
+
"domainLevelRedirect": {
|
|
43
|
+
"label": "Додати перенаправлення на рівні домену",
|
|
44
|
+
"description": "Ця функція дозволяє перенаправляти всі URL-адреси {{entity}} з {{app, anyCase}} на новий домен. <Link>Перегляньте статтю довідки</Link> для отримання додаткової інформації."
|
|
45
|
+
},
|
|
46
|
+
"validations": {
|
|
47
|
+
"source": "Шлях джерела повинен бути дійсним",
|
|
48
|
+
"destination": "URL-адреса призначення повинна бути дійсною",
|
|
49
|
+
"required": "{{entity}} є обов'язковим",
|
|
50
|
+
"duplicateDomain": "Не можна використовувати той же домен для перенаправлення",
|
|
51
|
+
"samePaths": "Шляхи джерела та призначення не можуть бути однаковими"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRedirectUrls": {
|
|
3
|
+
"titles": {
|
|
4
|
+
"dashboard": "Bảng điều khiển"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"delete": "Xóa",
|
|
8
|
+
"edit": "Chỉnh sửa",
|
|
9
|
+
"placeholder": {
|
|
10
|
+
"relativeUrl": "/articles/welcome",
|
|
11
|
+
"url": "https://example.com"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"settings": {
|
|
15
|
+
"title": "Bảng điều khiển quản trị",
|
|
16
|
+
"redirecturl": {
|
|
17
|
+
"title": "URL chuyển hướng",
|
|
18
|
+
"description": "Xem và quản lý các URL chuyển hướng"
|
|
19
|
+
},
|
|
20
|
+
"general": {
|
|
21
|
+
"title": "Chung"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"emptyState": {
|
|
25
|
+
"redirectURLs": {
|
|
26
|
+
"title": "Không có URL chuyển hướng nào để hiển thị.",
|
|
27
|
+
"description": "Đây là cách bạn có thể tạo <helpLink>URL chuyển hướng</helpLink>."
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"alerts": {
|
|
31
|
+
"delete": {
|
|
32
|
+
"title": "Xóa URL chuyển hướng?",
|
|
33
|
+
"confirm": "Bạn đang xóa vĩnh viễn chuyển hướng từ <strong>{{ from_path }}</strong> đến <strong>{{ to_path }}</strong>. Điều này không thể hoàn tác."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"redirect": {
|
|
37
|
+
"source": "Nguồn",
|
|
38
|
+
"destination": "Đích",
|
|
39
|
+
"add": "Thêm URL chuyển hướng mới",
|
|
40
|
+
"edit": "Chỉnh sửa URL chuyển hướng",
|
|
41
|
+
"search": "Tìm kiếm URL chuyển hướng",
|
|
42
|
+
"domainLevelRedirect": {
|
|
43
|
+
"label": "Thêm chuyển hướng cấp miền",
|
|
44
|
+
"description": "Tính năng này cho phép bạn chuyển hướng tất cả các URL {{entity}} của bạn từ {{app, anyCase}} đến một miền mới. <Link>Xem bài viết hỗ trợ</Link> để biết thêm thông tin."
|
|
45
|
+
},
|
|
46
|
+
"validations": {
|
|
47
|
+
"source": "Đường dẫn nguồn phải hợp lệ",
|
|
48
|
+
"destination": "URL đích phải hợp lệ",
|
|
49
|
+
"required": "{{entity}} là bắt buộc",
|
|
50
|
+
"duplicateDomain": "Không thể sử dụng cùng một miền cho chuyển hướng",
|
|
51
|
+
"samePaths": "Đường dẫn nguồn và đích không được giống nhau"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRedirectUrls": {
|
|
3
|
+
"titles": {
|
|
4
|
+
"dashboard": "仪表板"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"delete": "删除",
|
|
8
|
+
"edit": "编辑",
|
|
9
|
+
"placeholder": {
|
|
10
|
+
"relativeUrl": "/articles/welcome",
|
|
11
|
+
"url": "https://example.com"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"settings": {
|
|
15
|
+
"title": "管理面板",
|
|
16
|
+
"redirecturl": {
|
|
17
|
+
"title": "重定向 URL",
|
|
18
|
+
"description": "查看和管理重定向 URL"
|
|
19
|
+
},
|
|
20
|
+
"general": {
|
|
21
|
+
"title": "常规"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"emptyState": {
|
|
25
|
+
"redirectURLs": {
|
|
26
|
+
"title": "没有重定向 URL 显示。",
|
|
27
|
+
"description": "您可以按照以下步骤创建<helpLink>redirect URLs</helpLink>。"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"alerts": {
|
|
31
|
+
"delete": {
|
|
32
|
+
"title": "删除重定向 URL?",
|
|
33
|
+
"confirm": "您将永久删除从<strong>{{ from_path }}</strong>到<strong>{{ to_path }}</strong>的重定向。此操作无法撤销。"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"redirect": {
|
|
37
|
+
"source": "来源",
|
|
38
|
+
"destination": "目标",
|
|
39
|
+
"add": "添加新的重定向 URL",
|
|
40
|
+
"edit": "编辑重定向 URL",
|
|
41
|
+
"search": "搜索重定向 URL",
|
|
42
|
+
"domainLevelRedirect": {
|
|
43
|
+
"label": "添加域级重定向",
|
|
44
|
+
"description": "此功能允许您将所有的{{entity}} URL从{{app, anyCase}}重定向到一个新的域。 <Link>查看帮助文章</Link>以获取更多信息。"
|
|
45
|
+
},
|
|
46
|
+
"validations": {
|
|
47
|
+
"source": "来源路径必须有效",
|
|
48
|
+
"destination": "目标 URL 必须有效",
|
|
49
|
+
"required": "{{entity}}是必需的",
|
|
50
|
+
"duplicateDomain": "不能使用相同域进行重定向",
|
|
51
|
+
"samePaths": "来源和目标路径不能相同"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRedirectUrls": {
|
|
3
|
+
"titles": {
|
|
4
|
+
"dashboard": "儀表板"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"delete": "刪除",
|
|
8
|
+
"edit": "編輯",
|
|
9
|
+
"placeholder": {
|
|
10
|
+
"relativeUrl": "/articles/welcome",
|
|
11
|
+
"url": "https://example.com"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"settings": {
|
|
15
|
+
"title": "管理面板",
|
|
16
|
+
"redirecturl": {
|
|
17
|
+
"title": "重定向網址",
|
|
18
|
+
"description": "檢視和管理重定向網址"
|
|
19
|
+
},
|
|
20
|
+
"general": {
|
|
21
|
+
"title": "一般"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"emptyState": {
|
|
25
|
+
"redirectURLs": {
|
|
26
|
+
"title": "沒有重定向網址可顯示。",
|
|
27
|
+
"description": "這裡是您可以創建<helpLink>redirect URLs</helpLink>的方式。"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"alerts": {
|
|
31
|
+
"delete": {
|
|
32
|
+
"title": "刪除重定向網址?",
|
|
33
|
+
"confirm": "您正在永久刪除從<strong>{{ from_path }}</strong>到<strong>{{ to_path }}</strong>的重定向。這是無法撤銷的。"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"redirect": {
|
|
37
|
+
"source": "來源",
|
|
38
|
+
"destination": "目的地",
|
|
39
|
+
"add": "添加新重定向網址",
|
|
40
|
+
"edit": "編輯重定向網址",
|
|
41
|
+
"search": "搜索重定向網址",
|
|
42
|
+
"domainLevelRedirect": {
|
|
43
|
+
"label": "添加域級重定向",
|
|
44
|
+
"description": "此功能允許您將所有的{{entity}}網址從{{app, anyCase}}重定向到新的域。<Link>檢視幫助文章</Link>以獲取更多信息。"
|
|
45
|
+
},
|
|
46
|
+
"validations": {
|
|
47
|
+
"source": "來源路徑必須有效",
|
|
48
|
+
"destination": "目的網址必須有效",
|
|
49
|
+
"required": "{{entity}}是必需的",
|
|
50
|
+
"duplicateDomain": "無法使用相同的域進行重定向",
|
|
51
|
+
"samePaths": "來源和目的地路徑不能相同"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
package/dist/RedirectUrls.js
CHANGED
|
@@ -291,8 +291,10 @@ var DOMAIN_REDIRECTION_VALIDATION_SCHEMA = yup.object().shape({
|
|
|
291
291
|
then: yup.string().required(t("neetoRedirectUrls.redirect.validations.required", {
|
|
292
292
|
entity: "Destination"
|
|
293
293
|
})).matches(VALID_URL_REGEX, t("neetoRedirectUrls.redirect.validations.destination")).test("not-duplicate-domain", t("neetoRedirectUrls.redirect.validations.duplicateDomain"), function (value) {
|
|
294
|
+
var _window$globalProps$o;
|
|
294
295
|
if (!value) return true;
|
|
295
|
-
|
|
296
|
+
var domainUrls = ((_window$globalProps$o = window.globalProps.organization) === null || _window$globalProps$o === void 0 || (_window$globalProps$o = _window$globalProps$o.domainUrls) === null || _window$globalProps$o === void 0 ? void 0 : _window$globalProps$o.map(normalizeURL)) || [];
|
|
297
|
+
return !domainUrls.includes(normalizeURL(value));
|
|
296
298
|
})
|
|
297
299
|
})
|
|
298
300
|
});
|
|
@@ -483,6 +485,7 @@ var RedirectUrlsTable = function RedirectUrlsTable(_ref) {
|
|
|
483
485
|
title: t("neetoRedirectUrls.redirect.source"),
|
|
484
486
|
dataIndex: "source",
|
|
485
487
|
key: "name",
|
|
488
|
+
width: 300,
|
|
486
489
|
render: function render(_, redirectUrl) {
|
|
487
490
|
var fromPath = redirectUrl.fromPath;
|
|
488
491
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -490,8 +493,14 @@ var RedirectUrlsTable = function RedirectUrlsTable(_ref) {
|
|
|
490
493
|
children: [/*#__PURE__*/jsx("span", {
|
|
491
494
|
children: fromPath && truncateUrl(fromPath)
|
|
492
495
|
}), /*#__PURE__*/jsx(MoreDropdown, {
|
|
496
|
+
dropdownButtonProps: {
|
|
497
|
+
className: "mr-1 my-1"
|
|
498
|
+
},
|
|
493
499
|
dropdownProps: {
|
|
494
|
-
strategy: "fixed"
|
|
500
|
+
strategy: "fixed",
|
|
501
|
+
appendTo: function appendTo() {
|
|
502
|
+
return document.body;
|
|
503
|
+
}
|
|
495
504
|
},
|
|
496
505
|
menuItems: buildMoreMenuItems({
|
|
497
506
|
redirectUrl: redirectUrl,
|
|
@@ -505,6 +514,7 @@ var RedirectUrlsTable = function RedirectUrlsTable(_ref) {
|
|
|
505
514
|
title: t("neetoRedirectUrls.redirect.destination"),
|
|
506
515
|
dataIndex: "toPath",
|
|
507
516
|
key: "toPath",
|
|
517
|
+
width: 300,
|
|
508
518
|
render: function render(toPath) {
|
|
509
519
|
return toPath && truncateUrl(toPath);
|
|
510
520
|
}
|
|
@@ -610,8 +620,6 @@ var RedirectUrls = function RedirectUrls(_ref) {
|
|
|
610
620
|
},
|
|
611
621
|
onSuccess: function onSuccess() {
|
|
612
622
|
showThumbsUpToastr();
|
|
613
|
-
},
|
|
614
|
-
onSettled: function onSettled() {
|
|
615
623
|
setUrlDetailsToEdit(null);
|
|
616
624
|
}
|
|
617
625
|
});
|