Skip to content

Commit

Permalink
Dont lowercase unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Aug 13, 2024
1 parent 9d0197d commit 1b15b2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lang/Jailbreak.English/SpecialDay/SoloDayLocale.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ public virtual IView BeginsIn(int seconds) {

public IView GenerateStartMessage() {
var result = new SimpleView {
PREFIX,
{ "Today is a" + (Name.ToLower()[0].IsVowel() ? "n" : ""), Name, "day!" }
PREFIX, { "Today is a" + (Name[0].IsVowel() ? "n" : ""), Name, "day!" }
};

if (description.Length == 0) return result;
Expand Down
3 changes: 1 addition & 2 deletions lang/Jailbreak.English/SpecialDay/TeamDayLocale.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public virtual IView BeginsIn(int seconds) {

public IView GenerateStartMessage() {
var result = new SimpleView {
PREFIX,
{ "Today is a" + (Name.ToLower()[0].IsVowel() ? "n" : ""), Name, "day!" }
PREFIX, { "Today is a" + (Name[0].IsVowel() ? "n" : ""), Name, "day!" }
};

if (description.Length == 0) return result;
Expand Down

0 comments on commit 1b15b2a

Please sign in to comment.