Skip to content

Commit 0a5d1b4

Browse files
authored
Localization 284 (#111)
1 parent ebb43bb commit 0a5d1b4

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Localization/en-US/Advanced Combat Tracker.exe.FormActMain.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@
431431
<Control ControlPath="root\tc1\tpOptions\flpOptionControls\Options_DataCorrectionRedirect\tableLayoutPanel1" UniqueName="label96" Text="Abilty" />
432432
<Control ControlPath="root\tc1\tpOptions\tableLayoutPanel12" UniqueName="btnOptionSearchClear" Text="Clear" />
433433
<Control ControlPath="root\tc1" UniqueName="tpTriggers" Text="Custom Triggers" />
434-
<Control ControlPath="root\tc1\tpTriggers" UniqueName="btnOpenCtBenchmark" Text="Benchmark CTs..." />
435434
<Control ControlPath="root\tc1\tpTriggers\tcTriggers" UniqueName="tabPage0" Text="Triggers" />
435+
<Control ControlPath="root\tc1\tpTriggers\tcTriggers\tabPage0" UniqueName="btnOpenCtBenchmark" Text="Benchmark CTs..." />
436436
<Control ControlPath="root\tc1\tpTriggers\tcTriggers\tabPage0\tableLayoutPanel2" UniqueName="btnRemoveTrigger" Text="&amp;Remove" />
437437
<Control ControlPath="root\tc1\tpTriggers\tcTriggers\tabPage0\tableLayoutPanel2" UniqueName="btnAddTrigger" Text="Add/Edit" />
438438
<Control ControlPath="root\tc1\tpTriggers\tcTriggers\tabPage0\tableLayoutPanel2" UniqueName="btnSndTriggerBrowse" Text="..." />

Localization/en-US/Advanced Combat Tracker.exe.InternalStrings.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[assembly: AssemblyTitle("ActLocalization-InternalStrings")]
88
[assembly: AssemblyDescription("A sample of an ACT plugin that changes localization strings.")]
9-
[assembly: AssemblyVersion("281.0.0.0")]
9+
[assembly: AssemblyVersion("284.0.0.0")]
1010

1111
namespace ActLocalization
1212
{
@@ -377,6 +377,7 @@ internal static void EditLocalizations()
377377
TryEditLocalization("messageBoxText-getPluginsApplyFail", "The downloaded file did not contain a plugin that could be loaded."); //
378378
TryEditLocalization("messageBoxText-getPluginsUnknownFile", "The downloaded file was not of the expected type for a plugin."); //
379379
TryEditLocalization("messageBoxText-importAbort", "Do you wish to abort the import process?"); //
380+
TryEditLocalization("messageBoxText-noPluginPath", "The plugin file \"{0}\" cannot be found. Did you mean to use the Get Plugins dialog?"); //
380381
TryEditLocalization("messageBoxText-pluginInternetBlocked", "{0}\n\n---\n\nSuggestion: The plugin ({1}) may be blocked from loading because it is marked as from the Internet. Please right-click the file, select Properties and Unblock the file.\n\nIf this plugin came with any other files, unblock them as well."); //
381382
TryEditLocalization("messageBoxText-pluginWizParserAdded", "The parsing plugin has been added and started."); //
382383
TryEditLocalization("messageBoxText-restartAct", "You must restart ACT to apply changes."); //
@@ -432,6 +433,7 @@ internal static void EditLocalizations()
432433
TryEditLocalization("messageBoxTitle-loadError", "Load Error"); //
433434
TryEditLocalization("messageBoxTitle-localSecurityPolicy", "Security Exception"); //
434435
TryEditLocalization("messageBoxTitle-noFileFound", "File Not Found"); //
436+
TryEditLocalization("messageBoxTitle-noPluginPath", "Invalid Browse Path"); //
435437
TryEditLocalization("messageBoxTitle-odbcDropTables", "ACT ODBC database removal"); //
436438
TryEditLocalization("messageBoxTitle-odbcHackError", "Could not add OdbcHack"); //
437439
TryEditLocalization("messageBoxTitle-odbcQueryError", "ODBC Connection Query Failed"); //
@@ -476,6 +478,7 @@ internal static void EditLocalizations()
476478
TryEditLocalization("notifText-oldSslError", "This version of Windows cannot create a secure channel to download plugins/updates. You will need to download this file manually.\n\nWould you like to open your default browser to the file download?"); //
477479
TryEditLocalization("notifText-unknownAssembly", "The following assemblies were not recognized. If they are plugins or from plugins, they should be deleted or moved to another folder to avoid \"wrong version\" load issues.\n\n{0}"); //
478480
TryEditLocalization("notifText-UnzipError", "The following file could not be extracted: {0}"); //
481+
TryEditLocalization("notifText-windowOutOfBounds", "{0}({1}) was found out of bounds of all displays and could not be restored to its old location/size."); //
479482
TryEditLocalization("notifText-xmlShareAdded", "A ({0}) from ({1}) has been added to ACT."); //
480483
TryEditLocalization("notifText-xmlShareDetected", "A ({0}) from ({1}) has been detected in the log file.\n\nWould you like to import this to ACT?\n\n\n\n\n[Also in Options -> Configuration Import/Export -> XML Share Snippets]"); //
481484
TryEditLocalization("notifText-xmlSnippetError", "There was an unexpected error importing this XML snippet.\n\n{0}"); //
@@ -488,6 +491,7 @@ internal static void EditLocalizations()
488491
TryEditLocalization("notifTitle-UnzipError", "Unzip error"); //
489492
TryEditLocalization("notifTitle-webserverError", "Webserver error"); //
490493
TryEditLocalization("notifTitle-webserverException", "Webserver closed"); //
494+
TryEditLocalization("notifTitle-windowOutOfBounds", "Window Out of Bounds"); //
491495
TryEditLocalization("notifTitle-xmlShareAdded", "ACT XML Share"); //
492496
TryEditLocalization("notifTitle-xmlSnippetError", "XML Share error"); //
493497
TryEditLocalization("notifTitle-xmlSnippetIncomplete", "XML Share incomplete"); //

Localization/en-US/Advanced Combat Tracker.exe.InternalStrings.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@
463463
<string key="messageBoxText-getPluginsApplyFail" value="The downloaded file did not contain a plugin that could be loaded." />
464464
<string key="messageBoxText-getPluginsUnknownFile" value="The downloaded file was not of the expected type for a plugin." />
465465
<string key="messageBoxText-importAbort" value="Do you wish to abort the import process?" />
466+
<string key="messageBoxText-noPluginPath" value="The plugin file &quot;{0}&quot; cannot be found. Did you mean to use the Get Plugins dialog?" />
466467
<string key="messageBoxText-pluginInternetBlocked" value="{0}&#xA;&#xA;---&#xA;&#xA;Suggestion: The plugin ({1}) may be blocked from loading because it is marked as from the Internet. Please right-click the file, select Properties and Unblock the file.&#xA;&#xA;If this plugin came with any other files, unblock them as well." />
467468
<string key="messageBoxText-pluginWizParserAdded" value="The parsing plugin has been added and started." />
468469
<string key="messageBoxText-restartAct" value="You must restart ACT to apply changes." />
@@ -519,6 +520,7 @@
519520
<string key="messageBoxTitle-loadError" value="Load Error" />
520521
<string key="messageBoxTitle-localSecurityPolicy" value="Security Exception" />
521522
<string key="messageBoxTitle-noFileFound" value="File Not Found" />
523+
<string key="messageBoxTitle-noPluginPath" value="Invalid Browse Path" />
522524
<string key="messageBoxTitle-odbcDropTables" value="ACT ODBC database removal" />
523525
<string key="messageBoxTitle-odbcHackError" value="Could not add OdbcHack" />
524526
<string key="messageBoxTitle-odbcQueryError" value="ODBC Connection Query Failed" />
@@ -565,6 +567,7 @@
565567
<string key="notifText-oldSslError" value="This version of Windows cannot create a secure channel to download plugins/updates. You will need to download this file manually.&#xA;&#xA;Would you like to open your default browser to the file download?" />
566568
<string key="notifText-unknownAssembly" value="The following assemblies were not recognized. If they are plugins or from plugins, they should be deleted or moved to another folder to avoid &quot;wrong version&quot; load issues.&#xA;&#xA;{0}" />
567569
<string key="notifText-UnzipError" value="The following file could not be extracted: {0}" />
570+
<string key="notifText-windowOutOfBounds" value="{0}({1}) was found out of bounds of all displays and could not be restored to its old location/size." />
568571
<string key="notifText-xmlShareAdded" value="A ({0}) from ({1}) has been added to ACT." />
569572
<string key="notifText-xmlShareDetected" value="A ({0}) from ({1}) has been detected in the log file.&#xA;&#xA;Would you like to import this to ACT?&#xA;&#xA;&#xA;&#xA;&#xA;[Also in Options -&gt; Configuration Import/Export -&gt; XML Share Snippets]" />
570573
<string key="notifText-xmlSnippetError" value="There was an unexpected error importing this XML snippet.&#xA;&#xA;{0}" />
@@ -577,6 +580,7 @@
577580
<string key="notifTitle-UnzipError" value="Unzip error" />
578581
<string key="notifTitle-webserverError" value="Webserver error" />
579582
<string key="notifTitle-webserverException" value="Webserver closed" />
583+
<string key="notifTitle-windowOutOfBounds" value="Window Out of Bounds" />
580584
<string key="notifTitle-xmlShareAdded" value="ACT XML Share" />
581585
<string key="notifTitle-xmlSnippetError" value="XML Share error" />
582586
<string key="notifTitle-xmlSnippetIncomplete" value="XML Share incomplete" />

0 commit comments

Comments
 (0)