fix: use plugin name even if it changes

This commit is contained in:
Anna 2022-08-29 20:25:13 -04:00
parent 4bd6891297
commit 2237d90bcb
3 changed files with 2003 additions and 1248 deletions

File diff suppressed because it is too large Load Diff

View File

@ -852,10 +852,10 @@
<value>All</value>
</data>
<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 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 name="Migration_Line3" xml:space="preserve">
<value>This may take a few minutes depending on the size of your chat database.</value>

View File

@ -216,8 +216,8 @@ internal class Store : IDisposable {
}
ImGui.PushTextWrapPos();
ImGui.TextUnformatted(Language.Migration_Line1);
ImGui.TextUnformatted(Language.Migration_Line2);
ImGui.TextUnformatted(string.Format(Language.Migration_Line1, Plugin.PluginName));
ImGui.TextUnformatted(string.Format(Language.Migration_Line2, Plugin.PluginName));
ImGui.TextUnformatted(Language.Migration_Line3);
ImGui.TextUnformatted(Language.Migration_Line4);
ImGui.PopTextWrapPos();