fix: use plugin name even if it changes

This commit is contained in:
Anna committed 2022-08-29 20:25:42 -04:00
1 parent 4bd6891297
commit 2237d90bcb
3 files changed
+2003 -1248

No files matched your search

+1999 -1244
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -852,10 +852,10 @@
<value>All</value> <value>All</value>
</data> </data>
<data name="Migration_Line1" xml:space="preserve"> <data name="Migration_Line1" xml:space="preserve">
<value>Chat 2 is performing a database migration.</value> <value>{0} is performing a database migration.</value>
</data> </data>
<data name="Migration_Line2" xml:space="preserve"> <data name="Migration_Line2" xml:space="preserve">
<value>Chat 2 and the plugin installer will be unavailable until it is complete.</value> <value>{0} and the plugin installer will be unavailable until it is complete.</value>
</data> </data>
<data name="Migration_Line3" xml:space="preserve"> <data name="Migration_Line3" xml:space="preserve">
<value>This may take a few minutes depending on the size of your chat database.</value> <value>This may take a few minutes depending on the size of your chat database.</value>
+2 -2
View File
@@ -216,8 +216,8 @@ internal class Store : IDisposable {
} }
ImGui.PushTextWrapPos(); ImGui.PushTextWrapPos();
ImGui.TextUnformatted(Language.Migration_Line1); ImGui.TextUnformatted(string.Format(Language.Migration_Line1, Plugin.PluginName));
ImGui.TextUnformatted(Language.Migration_Line2); ImGui.TextUnformatted(string.Format(Language.Migration_Line2, Plugin.PluginName));
ImGui.TextUnformatted(Language.Migration_Line3); ImGui.TextUnformatted(Language.Migration_Line3);
ImGui.TextUnformatted(Language.Migration_Line4); ImGui.TextUnformatted(Language.Migration_Line4);
ImGui.PopTextWrapPos(); ImGui.PopTextWrapPos();