Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Apr 7, 2024
1 parent 44d350e commit bd70dc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions BoosterManager/Boosters/BoosterQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ internal string GetStatus() {
if (GetNumBoosters(BoosterType.OneTime) > 0) {
Booster? lastOneTimeBooster = GetNextCraftableBooster(BoosterType.OneTime, getLast: true);
if (lastOneTimeBooster != null) {
responses.Add(String.Format(Strings.QueueStatusOneTimeBoosters, GetNumBoosters(BoosterType.OneTime, wasCrafted: true), GetNumBoosters(BoosterType.OneTime), String.Format("~{0:t}", lastOneTimeBooster.GetAvailableAtTime(BoosterDelay)), String.Format("{0:N0}", GetGemsNeeded(BoosterType.OneTime, wasCrafted: false))));
responses.Add(String.Format(Strings.QueueStatusOneTimeBoosterList, String.Join(", ", GetBoosterIDs(BoosterType.OneTime, wasCrafted: false))));
responses.Add(String.Format(Strings.QueueStatusLimitedBoosters, GetNumBoosters(BoosterType.OneTime, wasCrafted: true), GetNumBoosters(BoosterType.OneTime), String.Format("~{0:t}", lastOneTimeBooster.GetAvailableAtTime(BoosterDelay)), String.Format("{0:N0}", GetGemsNeeded(BoosterType.OneTime, wasCrafted: false))));
responses.Add(String.Format(Strings.QueueStatusLimitedBoosterList, String.Join(", ", GetBoosterIDs(BoosterType.OneTime, wasCrafted: false))));
}
}
if (GetNumBoosters(BoosterType.Permanent) > 0) {
Expand Down
8 changes: 4 additions & 4 deletions BoosterManager/Localization/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,12 @@
<value>Need {0} more gems to finish all boosters!</value>
<comment>{0} will be replaced by a number of gems</comment>
</data>
<data name="QueueStatusOneTimeBoosters" xml:space="preserve">
<value>Crafted {0}/{1} one-time boosters. Crafting will finish at {2}, and will use {3} gems.</value>
<data name="QueueStatusLimitedBoosters" xml:space="preserve">
<value>Crafted {0}/{1} boosters. Crafting will finish at {2}, and will use {3} gems.</value>
<comment>{0} will be replaced by a number of boosters, {1} will be replaced by a number of boosters, {2} will be replaced by a time, {3} will be replaced by a number of gems</comment>
</data>
<data name="QueueStatusOneTimeBoosterList" xml:space="preserve">
<value>One-time boosters waiting to be crafted: {0}</value>
<data name="QueueStatusLimitedBoosterList" xml:space="preserve">
<value>Boosters waiting to be crafted: {0}</value>
<comment>{0} will be replaced by a list of appIDs</comment>
</data>
<data name="QueueStatusPermanentBoosters" xml:space="preserve">
Expand Down

0 comments on commit bd70dc3

Please sign in to comment.