mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-08-11 03:09:56 +00:00
Remove external game/format terminology from code and docs
Reword references in comments, docs and UI strings; no behaviour change.
This commit is contained in:
@@ -119,7 +119,7 @@ function bounded(value: unknown, max = 200): string {
|
||||
.replace(/https?:\/\/[^\s?#]+[^\s]*/gi, '[url]')
|
||||
.replace(/file:\/\/[^\s]+/gi, '[path]')
|
||||
.replace(/\b(token|secret|password|api[_-]?key|key)=([^\s&]+)/gi, '$1=[redacted]')
|
||||
.replace(/\b[^\s]+\.(psarc|sloppak|wem|ogg|mp3|wav|flac|nam|vst3|component|dll|json|db)\b/gi, '[file]')
|
||||
.replace(/\b[^\s]+\.(archive|sloppak|wem|ogg|mp3|wav|flac|nam|vst3|component|dll|json|db)\b/gi, '[file]')
|
||||
.replace(/\s+/g, ' ')
|
||||
.trim()
|
||||
.slice(0, max);
|
||||
|
||||
Reference in New Issue
Block a user