Skip to content

Commit

Permalink
Crowdin
Browse files Browse the repository at this point in the history
  • Loading branch information
bibi-reden committed Aug 12, 2024
1 parent d32245c commit bebc908
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files:
- source: /src/main/resources/assets/playerex/lang/en_us.json
translation: /src/main/resources/assets/playerex/lang/%locale%.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ class AttributeListEntryComponent(
text(
Component.translatable(attribute.descriptionId)
.append(": ")
.append(Component.literal(
DataAttributesAPI.getValue(attribute, player).map { formattingPredicate(it) }
.orElse("N/A")).withStyle { it.withColor(Colors.GOLD) }
.append(Component.literal(DataAttributesAPI.getValue(attribute, player).map(formattingPredicate)
.orElse("N/A")).withStyle { it.withColor(Colors.GOLD) }
)
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/playerex/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{"index": 0},
{"text": " (", "color": "#757575"},
{"index": 1, "color": "#757575", "italic": true, "underline": true },
{"text": " XP until the next level)", "color": "#757575", "italic": true }
{"text": " XP required until the next level)", "color": "#757575", "italic": true }
],
"playerex.ui.level_button": [
{"text": "", "color": "#F0C25E"},
Expand Down

0 comments on commit bebc908

Please sign in to comment.