Skip to content

Commit

Permalink
Revert "Update 13 09 2024 remove - after color"
Browse files Browse the repository at this point in the history
This reverts commit f1521c0.
  • Loading branch information
romaniac01 committed Sep 13, 2024
1 parent f1521c0 commit 3a6bcbb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion db/shared/convert-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function translateEn(id: number, fallback?: string) {

export function cleanFormat(translation: string) {
return translation ?
translation.replace(/\\n/g, "\n").replace(/<color="(.*?)">(.*?)<\/color>/g, "$2").replace(/<color=(.*?)>/g, "").replace(/<\/color>/g,""):
translation.replace(/\\n/g, "\n").replace(/<color="(.*?)">(.*?)<\/color>/g, "$2").replace(/<color=(.*?)>/g, "- ").replace(/<\/color>/g,""):
translation
}

Expand Down
2 changes: 1 addition & 1 deletion src/assets/db/blueprints.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assets/db/consumables.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assets/db/designs.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assets/db/items.json

Large diffs are not rendered by default.

0 comments on commit 3a6bcbb

Please sign in to comment.