From d498bdbb01c58d14349ce04a542db7669db2437c Mon Sep 17 00:00:00 2001
From: angelolocritani <67960642+angelolocritani@users.noreply.github.com>
Date: Mon, 16 Aug 2021 19:38:01 +0200
Subject: [PATCH 1/2] Update FavouriteManager.cs
Fluffy.WorkTab.NoStoredFavourites was not translated
---
Source/Favourites/FavouriteManager.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Source/Favourites/FavouriteManager.cs b/Source/Favourites/FavouriteManager.cs
index ae256d9..f3890e9 100644
--- a/Source/Favourites/FavouriteManager.cs
+++ b/Source/Favourites/FavouriteManager.cs
@@ -179,7 +179,7 @@ private static void LoadFavouriteFloatMenu(Pawn 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));
}
@@ -191,4 +191,4 @@ public override void ExposeData()
Scribe_Collections.Look(ref _favourites, "FavouriteAssignments", LookMode.Reference, LookMode.Reference);
}
}
-}
\ No newline at end of file
+}
From 289579385fee91ffb446b5c7083c0d36e67d7c95 Mon Sep 17 00:00:00 2001
From: angelolocritani <67960642+angelolocritani@users.noreply.github.com>
Date: Tue, 17 Aug 2021 11:13:12 +0200
Subject: [PATCH 2/2] Default priority (+ tip) setting now transletable
Update Keyed-English.xml
---
Languages/English/Keyed/Keyed-English.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Languages/English/Keyed/Keyed-English.xml b/Languages/English/Keyed/Keyed-English.xml
index 1d18a97..0def170 100644
--- a/Languages/English/Keyed/Keyed-English.xml
+++ b/Languages/English/Keyed/Keyed-English.xml
@@ -21,6 +21,8 @@
Should times be shown in 12h (e.g. noon, 9p.m.) or 24h (e.g. 12:00, 21:00) mode?
Levels of priority
How many levels of priority should we use? (Limited to between 4 and 9)
+ Default priority
+ Which level of priority is assigned by default?
Sounds
Play sounds when a priority is changed?
Crunchy sounds
@@ -77,4 +79,4 @@
Very low priority
Lowest priority
-
\ No newline at end of file
+