From 88e84cef2aceb3c7e098b37b6636e686b30acaab Mon Sep 17 00:00:00 2001 From: wellnesscookie <46493763+wellnesscookie@users.noreply.github.com> Date: Sat, 4 May 2019 18:01:44 +0200 Subject: [PATCH] Color extends on further locale text (#112) * Update ReadMe. * Remove # symbol from development build name * Color extends on further locale text If a Friendly Name of a challenge is colored, it's color will pass on to all words after it. Resetting it's color and setting it back after [level] will fix this. Not really a relevant PR, but I've asked @BONNe on Discord if it's okay with him if I change this and he confirmed. --- pom.xml | 2 +- src/main/resources/locales/en-US.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 7798513..436efc6 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,7 @@ - -#${env.BUILD_NUMBER} + -#${env.BUILD_NUMBER} diff --git a/src/main/resources/locales/en-US.yml b/src/main/resources/locales/en-US.yml index 2f2af6f..0d09812 100755 --- a/src/main/resources/locales/en-US.yml +++ b/src/main/resources/locales/en-US.yml @@ -320,11 +320,11 @@ challenges: hit-things: 'Hit things to add them to the list of things required. Right click when done.' you-added: 'You added one [thing] to the challenge' challenge-created: '[challenge] created!' - you-completed-challenge: '&2You completed the [value] challenge!' - you-repeated-challenge: '&2You repeated the [value] challenge!' - you-completed-level: '&2You completed the [value] level!' - name-has-completed-challenge: '&5[name] has completed the [value] challenge!' - name-has-completed-level: '&5[name] has completed the [value] level!' + you-completed-challenge: '&2You completed the [value] &r&2challenge!' + you-repeated-challenge: '&2You repeated the [value] &r&2challenge!' + you-completed-level: '&2You completed the [value] &r&2level!' + name-has-completed-challenge: '&5[name] has completed the [value] &r&5challenge!' + name-has-completed-level: '&5[name] has completed the [value] &r&5level!' import-levels: 'Start importing Levels' import-challenges: 'Start importing Challenges' no-levels: 'Warning: No levels defined in challenges.yml'