Skip to content

Commit c0582b7

Browse files
committed
feat(messages): replace hyperlink for message anchors
1 parent e398023 commit c0582b7

19 files changed

+131
-86
lines changed

apps/yuudachi/.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"i18n-ally.localesPaths": ["locales"],
3+
"i18n-ally.keystyle": "nested"
4+
}

apps/yuudachi/locales/de/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": "Nachricht: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": "Cases {{from}}-{{to}}"
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

apps/yuudachi/locales/en-GB/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": "Message: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": "Cases {{from}}-{{to}}"
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

apps/yuudachi/locales/en-US/translation.json

+15-5
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "Claimed sponsor role",
459459
"cancel": "Canceled claiming your sponsor role on {{- guild}}",
460460
"success": "Successfully claimed your sponsor role on {{- guild}}"
461+
},
462+
"repost": {
463+
"content": "Message: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -550,8 +553,7 @@
550553
},
551554
"anti_raid_nuke": {
552555
"description": "**Action**: Anti-Raid-Nuke\n**Reason:** {{- reason}}\n**Hit count:** {{count}}",
553-
"report": "**Report:** {{- link}}",
554-
"report_sub": "Beam me up, Yuu",
556+
"report": "**Report:** {{- message_link}}",
555557
"footer": "Cases {{from}}-{{to}}"
556558
},
557559
"scam": {
@@ -763,8 +765,16 @@
763765
}
764766
},
765767
"table": {
766-
"success_titles": ["Case id", "Member id", "Username"],
767-
"fail_titles": ["Member id", "Username", "Error"]
768+
"success_titles": [
769+
"Case id",
770+
"Member id",
771+
"Username"
772+
],
773+
"fail_titles": [
774+
"Member id",
775+
"Username",
776+
"Error"
777+
]
768778
}
769779
},
770780
"report_log": {
@@ -788,4 +798,4 @@
788798
}
789799
}
790800
}
791-
}
801+
}

apps/yuudachi/locales/es-ES/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": "Mensaje: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": "Casos {{from}}-{{to}}"
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

apps/yuudachi/locales/fr-FR/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": ""
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": ""
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

apps/yuudachi/locales/ja/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": "メッセージ: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": ""
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

apps/yuudachi/locales/ko/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": "메시지: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": ""
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

apps/yuudachi/locales/nl/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": "Bericht: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": ""
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

apps/yuudachi/locales/pl/translation.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
"reason": "",
459459
"cancel": "",
460460
"success": ""
461+
},
462+
"repost": {
463+
"content": "Wiadomość: {{- message_link}}"
461464
}
462465
}
463466
},
@@ -551,7 +554,6 @@
551554
"anti_raid_nuke": {
552555
"description": "",
553556
"report": "",
554-
"report_sub": "",
555557
"footer": "Cases {{from}}-{{to}}"
556558
},
557559
"scam": {
@@ -707,11 +709,11 @@
707709
"full_match": ""
708710
},
709711
"confusables": {
710-
"title": "",
711712
"0": "",
712713
"1": "",
713714
"2": "",
714-
"3": ""
715+
"3": "",
716+
"title": ""
715717
},
716718
"created": {
717719
"title": "",
@@ -796,4 +798,4 @@
796798
}
797799
}
798800
}
799-
}
801+
}

0 commit comments

Comments
 (0)