Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
5aa6b0c
Merge branch 'Development' into 224-multi-language-translation
Hirogen Jul 7, 2025
7c9673d
resources.de
Hirogen Jul 7, 2025
7b57073
resources to program.cs added
Hirogen Jul 7, 2025
485c166
highlight dialog and proxy
Hirogen Jul 7, 2025
71b92c9
resources
Hirogen Jul 7, 2025
fa3eb1a
logWindow resources
Hirogen Jul 8, 2025
5f56cb4
Zerman Translation
Hirogen Jul 8, 2025
a5cbc4a
Update src/LogExpert.Resources/Resources.resx
Hirogen Jul 8, 2025
87148b8
Update src/LogExpert.Resources/Resources.resx
Hirogen Jul 8, 2025
a78c3c7
Update src/LogExpert.UI/Entities/PaintHelper.cs
Hirogen Jul 8, 2025
c5ac440
resources more resources
Hirogen Jul 9, 2025
9e7f8aa
Merge branch '224-multi-language-translation' of https://github.com/L…
Hirogen Jul 9, 2025
07a8efb
bug
Hirogen Jul 9, 2025
b8f76c4
missing n
Hirogen Jul 9, 2025
2c3b362
german
Hirogen Jul 9, 2025
f62fd99
Update src/LogExpert/Config/ConfigManager.cs
Hirogen Jul 9, 2025
3b59bfa
added comment
Hirogen Jul 9, 2025
8ad20fb
settings dialog finished
Hirogen Jul 9, 2025
acf05e4
prepare for language change
Hirogen Jul 9, 2025
9f79247
default language
Hirogen Jul 9, 2025
c68cdc0
move
Hirogen Jul 9, 2025
5f8baff
fix exception
Hirogen Jul 9, 2025
0972920
eminus resources and about box
Hirogen Jul 10, 2025
70bfd26
Merge branch 'Development' into 224-multi-language-translation
Hirogen Jul 10, 2025
98e96af
Update src/LogExpert.Resources/Resources.resx
Hirogen Jul 10, 2025
f6eb5d5
better resource management
Hirogen Jul 10, 2025
c477f53
resource loading through reflection
Hirogen Jul 10, 2025
9e337ff
small things
Hirogen Jul 10, 2025
7fe6502
DateTimeDragControl resources
Hirogen Jul 10, 2025
07c7e37
translation and bugfix
Hirogen Jul 11, 2025
eca91d2
Merge branch 'Development' into 224-multi-language-translation
Hirogen Jul 15, 2025
21e7103
more resources
Hirogen Jul 16, 2025
d1713de
resources
Hirogen Jul 16, 2025
f139564
logtab window resources
Hirogen Jul 17, 2025
a0ac4d5
more german translations
Hirogen Jul 17, 2025
5ccd2e9
Update src/LogExpert.UI/Dialogs/HighlightDialog.cs
Hirogen Jul 17, 2025
816fe5b
Update src/LogExpert.UI/Dialogs/HighlightDialog.cs
Hirogen Jul 17, 2025
b489828
update resources
Hirogen Jul 21, 2025
ee2c022
Merge branch '224-multi-language-translation' of https://github.com/L…
Hirogen Jul 21, 2025
97b0944
readded logger strings, because they dont need to be localised
Hirogen Sep 7, 2025
37473de
small optimizations
Hirogen Sep 7, 2025
3e1a0ae
applying resources as well
Hirogen Sep 7, 2025
3d997ca
ChooseIconDialog
Hirogen Sep 10, 2025
759339a
Merge branch 'Development' into 224-multi-language-translation
Hirogen Sep 26, 2025
6fa6ee2
Merge branch 'Development' into 224-multi-language-translation
Hirogen Nov 8, 2025
ba36109
fixes after merge
Hirogen Nov 8, 2025
1f72c3e
missing helpfile
Hirogen Nov 12, 2025
8c3575b
update aboutbox, AllowOnlyOneInstanceErrorDialog, HighlightDialog, Op…
Hirogen Nov 12, 2025
801180c
update bookmarkWindow, GotoLineDialog, SettingsDialog
Hirogen Nov 12, 2025
3f647cd
more dialogs
Hirogen Nov 12, 2025
c85cac6
update BookmarkCommentDlg, ExceptionWindow
Hirogen Nov 12, 2025
edd13de
update LogWindow, PatternWindow, TimeSpreadigControl, DateTimeDragCon…
Hirogen Nov 12, 2025
f2d85ad
update FilterColumnChooser, FilterSelectorForm, MultiFileMaskDialog, …
Hirogen Nov 12, 2025
766bcf0
update ImportSettingsDialog
Hirogen Nov 12, 2025
855f180
update KeywordActionDlg
Hirogen Nov 12, 2025
59069f7
update MultiLoadRequestDialog
Hirogen Nov 12, 2025
9302011
update SearchProgressDialog
Hirogen Nov 12, 2025
c27c620
update plugins for localization support
Hirogen Nov 12, 2025
eab5e73
removed unused region
Hirogen Nov 12, 2025
ad038e3
update ToolsArgsDialog
Hirogen Nov 12, 2025
710e6fc
update ParamRequesterDialog
Hirogen Nov 12, 2025
4401725
update solution file
Hirogen Nov 12, 2025
d60cfaa
Update src/ColumnizerLib/ColumnizerLib.nuspec
Hirogen Nov 12, 2025
d23f18f
small ui fix
Nov 13, 2025
7534a30
update Resources LogTabWindow menus
Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions TODOs.txt

This file was deleted.

22 changes: 11 additions & 11 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ partial class Build : NukeBuild
/// - JetBrains Rider https://nuke.build/rider
/// - Microsoft VisualStudio https://nuke.build/visualstudio
/// - Microsoft VSCode https://nuke.build/vscode
public static int Main() => Execute<Build>(x => x.Test);
public static int Main () => Execute<Build>(x => x.Test);

[Parameter("Configuration to build - Default is 'Debug' (local) or 'Release' (server)")]
readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release;
Expand Down Expand Up @@ -78,7 +78,7 @@ Version Version
patch = AppVeyor.Instance.BuildNumber;
}

return new Version(1, 12, 0, patch);
return new Version(1, 20, 0, patch);
}
}

Expand Down Expand Up @@ -119,7 +119,7 @@ Version Version
ChocolateyDirectory / $"logexpert.{VersionString}.nupkg"
];

protected override void OnBuildInitialized()
protected override void OnBuildInitialized ()
{
SetVariable("DOTNET_CLI_TELEMETRY_OPTOUT", "1");

Expand Down Expand Up @@ -479,7 +479,7 @@ protected override void OnBuildInitialized()
logExpertDocuments.DeleteDirectory();
});

private void ExecuteInnoSetup(AbsolutePath innoPath)
private void ExecuteInnoSetup (AbsolutePath innoPath)
{
Process proc = new();

Expand All @@ -501,12 +501,12 @@ private void ExecuteInnoSetup(AbsolutePath innoPath)
}
}

private string ReplaceVersionMatch(Match match, string replacement)
private string ReplaceVersionMatch (Match match, string replacement)
{
return $"{match.Groups[1]}{replacement}{match.Groups[3]}";
}

private void TransformTemplateFile(AbsolutePath path, bool deleteTemplate)
private void TransformTemplateFile (AbsolutePath path, bool deleteTemplate)
{
string text = path.ReadAllText();
text = text.Replace("##version##", VersionString);
Expand All @@ -520,17 +520,17 @@ private void TransformTemplateFile(AbsolutePath path, bool deleteTemplate)
}

[GeneratedRegex(@"(\[assembly: AssemblyInformationalVersion\("")([^""]*)(""\)\])")]
private static partial Regex AssemblyInformationalVersion();
private static partial Regex AssemblyInformationalVersion ();

[GeneratedRegex(@"(\[assembly: AssemblyVersion\("")([^""]*)(""\)\])")]
private static partial Regex AssemblyVersion();
private static partial Regex AssemblyVersion ();

[GeneratedRegex(@"(\[assembly: AssemblyConfiguration\()(""[^""]*"")(\)\])")]
private static partial Regex AssemblyConfiguration();
private static partial Regex AssemblyConfiguration ();

[GeneratedRegex(@"(\[assembly: AssemblyFileVersion\("")([^""]*)(""\)\])")]
private static partial Regex AssemblyFileVersion();
private static partial Regex AssemblyFileVersion ();

[GeneratedRegex(@"\w\w{2}[_]p?[tso]?[erzliasx]+[_rhe]{5}", RegexOptions.IgnoreCase, "en-GB")]
private static partial Regex SFTPPlugin();
private static partial Regex SFTPPlugin ();
}
11 changes: 8 additions & 3 deletions src/ColumnizerLib/ColumnizerLib.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@
<title>LogExpert ColumnizerLib</title>
<authors>Zarunbal, Hagen Raab, Hirogen, RandallFlagg and others</authors>
<owners>Zarunbal, Hirogen</owners>
<license>MIT</license>
<projectUrl>https://github.com/LogExperts/LogExpert</projectUrl>
<license type="MIT"></license>
<projectUrl url="https://github.com/LogExperts/LogExpert">https://github.com/LogExperts/LogExpert</projectUrl>
<repository type="git" url="https://github.com/LogExperts/LogExpert"></repository>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<bugTrackerUrl>https://github.com/LogExperts/LogExpert/issues</bugTrackerUrl>
<releaseNotes>https://github.com/LogExperts/LogExpert/releases/tag/v$version$</releaseNotes>
<releaseNotes>https://github.com/LogExperts/LogExpert/releases/tag/v.$version$</releaseNotes>
<description>Columnizer Lib for Logexpert plugins</description>
<readme>docs\README.md</readme>
<copyright>Copyright 2025</copyright>
<tags>LogExpert Columnizer</tags>
</metadata>
<files>
<file src="..\..\README.md" target="docs\"></file>
</files>
</package>
15 changes: 6 additions & 9 deletions src/ColumnizerLib/IContextMenuEntry.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Collections.Generic;


namespace LogExpert;

/// <summary>
Expand All @@ -21,7 +18,7 @@ public interface IContextMenuEntry
/// Your implementation can control whether LogExpert will show a menu entry by returning
/// an appropriate value.<br></br>
/// </summary>
/// <param name="lines">A list containing all selected line numbers.</param>
/// <param name="loglines">A list containing all selected line numbers.</param>
/// <param name="columnizer">The currently selected Columnizer. You can use it to split log lines,
/// if necessary.</param>
/// <param name="callback">The callback interface implemented by LogExpert. You can use the functions
Expand All @@ -35,23 +32,23 @@ public interface IContextMenuEntry
/// <li>null: No menu entry is displayed.</li>
/// </ul>
/// </returns>
string GetMenuText(IList<int> lines, ILogLineColumnizer columnizer, ILogExpertCallback callback);
string GetMenuText (IList<int> loglines, ILogLineColumnizer columnizer, ILogExpertCallback callback);

string GetMenuText(int linesCount, ILogLineColumnizer columnizer, ILogLine line);
string GetMenuText (int linesCount, ILogLineColumnizer columnizer, ILogLine logline);


/// <summary>
/// This function is called from LogExpert if the menu entry is choosen by the user. <br></br>
/// Note that this function is called from the GUI thread. So try to avoid time consuming operations.
/// </summary>
/// <param name="lines">A list containing all selected line numbers.</param>
/// <param name="loglines">A list containing all selected line numbers.</param>
/// <param name="columnizer">The currently selected Columnizer. You can use it to split log lines,
/// if necessary.</param>
/// <param name="callback">The callback interface implemented by LogExpert. You can use the functions
/// for retrieving log lines or pass it along to functions of the Columnizer if needed.</param>
void MenuSelected(IList<int> lines, ILogLineColumnizer columnizer, ILogExpertCallback callback);
void MenuSelected (IList<int> loglines, ILogLineColumnizer columnizer, ILogExpertCallback callback);

void MenuSelected(int linesCount, ILogLineColumnizer columnizer, ILogLine line);
void MenuSelected (int linesCount, ILogLineColumnizer columnizer, ILogLine logline);

#endregion
}
20 changes: 20 additions & 0 deletions src/CsvColumnizer/CsvColumnizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,24 @@
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<CustomToolNamespace>CsvColumnizer</CustomToolNamespace>
</EmbeddedResource>

<EmbeddedResource Update="Resources.de.resx">
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<Compile Update="Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>

</Project>
32 changes: 23 additions & 9 deletions src/CsvColumnizer/CsvColumnizerConfigDlg.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Drawing;
using System.Windows.Forms;

namespace CsvColumnizer;

public partial class CsvColumnizerConfigDlg : Form
Expand All @@ -14,23 +10,41 @@ public partial class CsvColumnizerConfigDlg : Form

#region cTor

public CsvColumnizerConfigDlg(CsvColumnizerConfig config)
public CsvColumnizerConfigDlg (CsvColumnizerConfig config)
{
SuspendLayout();
AutoScaleDimensions = new SizeF(96F, 96F);
AutoScaleMode = AutoScaleMode.Dpi;

_config = config;
InitializeComponent();

ApplyResources();

FillValues();
ResumeLayout();
}

private void ApplyResources ()
{
Text = Resources.CsvColumnizerConfigDlg_UI_Title;
label1.Text = Resources.CsvColumnizerConfigDlg_UI_Label_DelimiterChar;
labelQuoteChar.Text = Resources.CsvColumnizerConfigDlg_UI_Label_QuoteChar;
labelEscapeChar.Text = Resources.CsvColumnizerConfigDlg_UI_Label_EscapeChar;
checkBoxEscape.Text = Resources.CsvColumnizerConfigDlg_UI_CheckBox_UseEscapeChars;
labelCommentChar.Text = Resources.CsvColumnizerConfigDlg_UI_Label_CommentChar;
labelMinColumns.Text = Resources.CsvColumnizerConfigDlg_UI_Label_MinColumns;
labelMinColumnsNoCheck.Text = Resources.CsvColumnizerConfigDlg_UI_Label_MinColumnsInfo;
checkBoxFieldNames.Text = Resources.CsvColumnizerConfigDlg_UI_CheckBox_FirstLineFieldNames;
okButton.Text = Resources.CsvColumnizerConfigDlg_UI_Button_OK;
cancelButton.Text = Resources.CsvColumnizerConfigDlg_UI_Button_Cancel;
}

#endregion

#region Private Methods

private void FillValues()
private void FillValues ()
{
delimiterTextBox.Text = _config.DelimiterChar;
textBoxQuoteChar.Text = _config.QuoteChar.ToString();
Expand All @@ -42,7 +56,7 @@ private void FillValues()
numericUpDownMinColumns.Value = _config.MinColumns;
}

private void RetrieveValues()
private void RetrieveValues ()
{
_config.DelimiterChar = delimiterTextBox.Text;
_config.QuoteChar = textBoxQuoteChar.Text[0];
Expand All @@ -56,12 +70,12 @@ private void RetrieveValues()

#region Events handler

private void OnOkButtonClick(object sender, EventArgs e)
private void OnOkButtonClick (object sender, EventArgs e)
{
RetrieveValues();
}

private void OnEscapeCheckBoxCheckedChanged(object sender, EventArgs e)
private void OnEscapeCheckBoxCheckedChanged (object sender, EventArgs e)
{
textboxEscapeChar.Enabled = checkBoxEscape.Checked;
}
Expand Down
Loading
Loading