Skip to content

Commit

Permalink
Merge pull request fluffy-mods#184 from angelolocritani/patch-1
Browse files Browse the repository at this point in the history
Translation fixes
  • Loading branch information
Doomster14 committed Nov 12, 2023
2 parents 3fde93d + 2895793 commit d841340
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Languages/English/Keyed/Keyed-English.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
<WorkTab.24HourModeTip>Should times be shown in 12h (e.g. noon, 9p.m.) or 24h (e.g. 12:00, 21:00) mode?</WorkTab.24HourModeTip>
<WorkTab.MaxPriority>Levels of priority</WorkTab.MaxPriority>
<WorkTab.MaxPriorityTip>How many levels of priority should we use? (Limited to between 4 and 9)</WorkTab.MaxPriorityTip>
<WorkTab.DefaultPriority>Default priority</WorkTab.DefaultPriority>
<WorkTab.DefaultPriorityTip>Which level of priority is assigned by default?</WorkTab.DefaultPriorityTip>
<WorkTab.PlaySounds>Sounds</WorkTab.PlaySounds>
<WorkTab.PlaySoundsTip>Play sounds when a priority is changed?</WorkTab.PlaySoundsTip>
<WorkTab.PlayCrunch>Crunchy sounds</WorkTab.PlayCrunch>
Expand Down Expand Up @@ -77,4 +79,4 @@
<Fluffy.WorkTab.Priority.VeryLow>Very low priority</Fluffy.WorkTab.Priority.VeryLow>
<Fluffy.WorkTab.Priority.Lowest>Lowest priority</Fluffy.WorkTab.Priority.Lowest>

</LanguageData>
</LanguageData>
2 changes: 1 addition & 1 deletion Source/Favourites/FavouriteManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private static void LoadFavouriteFloatMenu(Pawn pawn) {
() => LoadFavourite(f.path, pawn)))
.ToList();
if (options.Count == 0) {
options.Add(new FloatMenuOption("Fluffy.WorkTab.NoStoredFavourites", null));
options.Add(new FloatMenuOption("Fluffy.WorkTab.NoStoredFavourites".Translate(), null));
}
Find.WindowStack.Add(new FloatMenu(options));
}
Expand Down

0 comments on commit d841340

Please sign in to comment.