Skip to content

Commit

Permalink
feat(messages): replace hyperlink for message anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
JPBM135 committed Nov 26, 2023
1 parent 583e34d commit d67680f
Show file tree
Hide file tree
Showing 19 changed files with 131 additions and 86 deletions.
4 changes: 4 additions & 0 deletions apps/yuudachi/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"i18n-ally.localesPaths": ["locales"],
"i18n-ally.keystyle": "nested"
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": "Nachricht: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": "Cases {{from}}-{{to}}"
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/en-GB/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": "Message: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": "Cases {{from}}-{{to}}"
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
20 changes: 15 additions & 5 deletions apps/yuudachi/locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "Claimed sponsor role",
"cancel": "Canceled claiming your sponsor role on {{- guild}}",
"success": "Successfully claimed your sponsor role on {{- guild}}"
},
"repost": {
"content": "Message: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -550,8 +553,7 @@
},
"anti_raid_nuke": {
"description": "**Action**: Anti-Raid-Nuke\n**Reason:** {{- reason}}\n**Hit count:** {{count}}",
"report": "**Report:** {{- link}}",
"report_sub": "Beam me up, Yuu",
"report": "**Report:** {{- message_link}}",
"footer": "Cases {{from}}-{{to}}"
},
"scam": {
Expand Down Expand Up @@ -763,8 +765,16 @@
}
},
"table": {
"success_titles": ["Case id", "Member id", "Username"],
"fail_titles": ["Member id", "Username", "Error"]
"success_titles": [
"Case id",
"Member id",
"Username"
],
"fail_titles": [
"Member id",
"Username",
"Error"
]
}
},
"report_log": {
Expand All @@ -788,4 +798,4 @@
}
}
}
}
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/es-ES/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": "Mensaje: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": "Casos {{from}}-{{to}}"
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/fr-FR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": ""
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": ""
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": "メッセージ: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": ""
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/ko/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": "메시지: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": ""
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": "Bericht: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": ""
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
10 changes: 6 additions & 4 deletions apps/yuudachi/locales/pl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
"reason": "",
"cancel": "",
"success": ""
},
"repost": {
"content": "Wiadomość: {{- message_link}}"
}
}
},
Expand Down Expand Up @@ -551,7 +554,6 @@
"anti_raid_nuke": {
"description": "",
"report": "",
"report_sub": "",
"footer": "Cases {{from}}-{{to}}"
},
"scam": {
Expand Down Expand Up @@ -707,11 +709,11 @@
"full_match": ""
},
"confusables": {
"title": "",
"0": "",
"1": "",
"2": "",
"3": ""
"3": "",
"title": ""
},
"created": {
"title": "",
Expand Down Expand Up @@ -796,4 +798,4 @@
}
}
}
}
}
Loading

0 comments on commit d67680f

Please sign in to comment.