diff --git a/README.md b/README.md index 3241c78..ee0c68f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ ### RegexRenamer -Fork from http://regexrenamer.sourceforge.net/. Because SourceForge is bloated with adware in nowadays, I put it on GitHub. \ No newline at end of file +Fork from http://regexrenamer.sourceforge.net/. Because SourceForge is bloated with adware in nowadays, I put it on GitHub and added a German version. Right now you can either download the German or the English version, there is no language chooser. \ No newline at end of file diff --git a/RegexRenamer/About.Designer.cs b/RegexRenamer/About.Designer.cs index 5e28db3..8ca7c7b 100644 --- a/RegexRenamer/About.Designer.cs +++ b/RegexRenamer/About.Designer.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free @@ -93,7 +93,7 @@ private void InitializeComponent() this.linkHomepage.Size = new System.Drawing.Size( 184, 13 ); this.linkHomepage.TabIndex = 3; this.linkHomepage.TabStop = true; - this.linkHomepage.Text = "http://regexrenamer.sourceforge.net/"; + this.linkHomepage.Text = "https://github.com/Sukram21/RegexRenamer/"; this.linkHomepage.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler( this.linkHomepage_LinkClicked ); // // linkEmail @@ -105,7 +105,7 @@ private void InitializeComponent() this.linkEmail.Size = new System.Drawing.Size( 110, 13 ); this.linkEmail.TabIndex = 4; this.linkEmail.TabStop = true; - this.linkEmail.Text = "xiperware@gmail.com"; + this.linkEmail.Text = "sukram.mueller@gmail.com"; this.linkEmail.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler( this.linkEmail_LinkClicked ); // // lblStats diff --git a/RegexRenamer/About.cs b/RegexRenamer/About.cs index d92893a..2343d6f 100644 --- a/RegexRenamer/About.cs +++ b/RegexRenamer/About.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free @@ -46,7 +46,7 @@ private void linkHomepage_LinkClicked( object sender, LinkLabelLinkClickedEventA { try { - Process.Start( "http://regexrenamer.sourceforge.net/" ); + Process.Start( "https://github.com/Sukram21/RegexRenamer/" ); } catch( Exception e ) { @@ -57,7 +57,7 @@ private void linkEmail_LinkClicked( object sender, LinkLabelLinkClickedEventArgs { try { - Process.Start( "mailto:xiperware@gmail.com" ); + Process.Start( "mailto:sukram.mueller@gmail.com" ); } catch( Exception e ) { diff --git a/RegexRenamer/Classes.cs b/RegexRenamer/Classes.cs index ec3e59b..64f6205 100644 --- a/RegexRenamer/Classes.cs +++ b/RegexRenamer/Classes.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free @@ -179,9 +179,9 @@ public void ReportError( string oldname, string newname, string error ) public void ShowErrorDialog( string strFile ) { int countTotal = countSuccess + countErrors; - errorDialog.Message = "The following " + ( countErrors == 1 ? "error" : "errors" ) - + " occured during the batch rename.\n" + countSuccess + " of " + countTotal + " " + strFile - + ( countTotal == 1 ? " was" : "s were" ) + " renamed successfully."; + errorDialog.Message = ( countErrors == 1 ? "Der folgende Fehler" : "Die folgenden Fehler" ) + + " traten während der Stapel-Umbenennung auf.\n" + countSuccess + " von " + countTotal + " " + strFile + + ( countTotal == 1 ? " wurde" : " wurden" ) + " erfolgreich umbenannt."; errorDialog.AutoSizeColumns(); errorDialog.ShowDialog(); } diff --git a/RegexRenamer/MainForm.Designer.cs b/RegexRenamer/MainForm.Designer.cs index 6376e0b..6f8296f 100644 --- a/RegexRenamer/MainForm.Designer.cs +++ b/RegexRenamer/MainForm.Designer.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free @@ -231,54 +231,54 @@ private void InitializeComponent() this.miRegexMatchMatchNonDigit, this.miRegexMatchMatchNonAlpha, this.miRegexMatchMatchNonSpace} ); - this.miRegexMatchMatch.Text = "Match"; + this.miRegexMatchMatch.Text = "Finden"; // // miRegexMatchMatchSingleChar // this.miRegexMatchMatchSingleChar.Index = 0; - this.miRegexMatchMatchSingleChar.Text = "Single character\t."; + this.miRegexMatchMatchSingleChar.Text = "Einzelnes Zeichen\t."; this.miRegexMatchMatchSingleChar.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchMatchDigit // this.miRegexMatchMatchDigit.Index = 1; - this.miRegexMatchMatchDigit.Text = "Digit\t\\d"; + this.miRegexMatchMatchDigit.Text = "Ziffer\t\\d"; this.miRegexMatchMatchDigit.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchMatchAlpha // this.miRegexMatchMatchAlpha.Index = 2; - this.miRegexMatchMatchAlpha.Text = "Alphanumeric\t\\w"; + this.miRegexMatchMatchAlpha.Text = "Alphanumerisch\t\\w"; this.miRegexMatchMatchAlpha.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchMatchSpace // this.miRegexMatchMatchSpace.Index = 3; - this.miRegexMatchMatchSpace.Text = "Space\t\\s"; + this.miRegexMatchMatchSpace.Text = "Leerzeichen\t\\s"; this.miRegexMatchMatchSpace.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchMatchMultiChar // this.miRegexMatchMatchMultiChar.Index = 4; - this.miRegexMatchMatchMultiChar.Text = "Multiple characters\t.*"; + this.miRegexMatchMatchMultiChar.Text = "Mehrere Zeichen\t.*"; this.miRegexMatchMatchMultiChar.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchMatchNonDigit // this.miRegexMatchMatchNonDigit.Index = 5; - this.miRegexMatchMatchNonDigit.Text = "Non-digit\t\\D"; + this.miRegexMatchMatchNonDigit.Text = "Nicht-Ziffer\t\\D"; this.miRegexMatchMatchNonDigit.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchMatchNonAlpha // this.miRegexMatchMatchNonAlpha.Index = 6; - this.miRegexMatchMatchNonAlpha.Text = "Non-alphanumeric\t\\W"; + this.miRegexMatchMatchNonAlpha.Text = "Nicht-alphanumerisch\t\\W"; this.miRegexMatchMatchNonAlpha.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchMatchNonSpace // this.miRegexMatchMatchNonSpace.Index = 7; - this.miRegexMatchMatchNonSpace.Text = "Non-space\t\\S"; + this.miRegexMatchMatchNonSpace.Text = "Nicht-Leerzeichen\t\\S"; this.miRegexMatchMatchNonSpace.Click += new System.EventHandler( this.InsertRegexFragment ); // // gbFilter @@ -307,7 +307,7 @@ private void InitializeComponent() this.cbFilterExclude.Name = "cbFilterExclude"; this.cbFilterExclude.Size = new System.Drawing.Size( 12, 20 ); this.cbFilterExclude.TabIndex = 2; - this.toolTip.SetToolTip( this.cbFilterExclude, "Exclude (invert filter)" ); + this.toolTip.SetToolTip( this.cbFilterExclude, "Ausschließen (Filter invertieren)" ); this.cbFilterExclude.UseVisualStyleBackColor = true; this.cbFilterExclude.CheckedChanged += new System.EventHandler( this.cbFilterExclude_CheckedChanged ); // @@ -320,7 +320,7 @@ private void InitializeComponent() this.txtFilter.Size = new System.Drawing.Size( 60, 20 ); this.txtFilter.TabIndex = 1; this.txtFilter.Text = "*.*"; - this.toolTip.SetToolTip( this.txtFilter, "Press ENTER to apply filter" ); + this.toolTip.SetToolTip( this.txtFilter, "ENTER drücken, um Filter anzuwenden" ); this.txtFilter.TextChanged += new System.EventHandler( this.txtFilter_TextChanged ); this.txtFilter.KeyDown += new System.Windows.Forms.KeyEventHandler( this.txtFilter_KeyDown ); this.txtFilter.Leave += new System.EventHandler( this.txtFilter_Leave ); @@ -376,7 +376,7 @@ private void InitializeComponent() this.lblStatsHidden.Name = "lblStatsHidden"; this.lblStatsHidden.Size = new System.Drawing.Size( 85, 12 ); this.lblStatsHidden.TabIndex = 4; - this.lblStatsHidden.Text = "0 hidden"; + this.lblStatsHidden.Text = "0 versteckt"; // // lblStatsShown // @@ -385,7 +385,7 @@ private void InitializeComponent() this.lblStatsShown.Name = "lblStatsShown"; this.lblStatsShown.Size = new System.Drawing.Size( 85, 12 ); this.lblStatsShown.TabIndex = 3; - this.lblStatsShown.Text = "0 shown"; + this.lblStatsShown.Text = "0 gezeigt"; // // lblStatsFiltered // @@ -394,7 +394,7 @@ private void InitializeComponent() this.lblStatsFiltered.Name = "lblStatsFiltered"; this.lblStatsFiltered.Size = new System.Drawing.Size( 85, 12 ); this.lblStatsFiltered.TabIndex = 2; - this.lblStatsFiltered.Text = "0 filtered"; + this.lblStatsFiltered.Text = "0 gefiltert"; // // lblStatsTotal // @@ -403,7 +403,7 @@ private void InitializeComponent() this.lblStatsTotal.Name = "lblStatsTotal"; this.lblStatsTotal.Size = new System.Drawing.Size( 85, 12 ); this.lblStatsTotal.TabIndex = 1; - this.lblStatsTotal.Text = "0 total"; + this.lblStatsTotal.Text = "0 insgesamt"; // // lblStats // @@ -414,7 +414,7 @@ private void InitializeComponent() this.lblStats.Name = "lblStats"; this.lblStats.Size = new System.Drawing.Size( 31, 13 ); this.lblStats.TabIndex = 4; - this.lblStats.Text = "Stats"; + this.lblStats.Text = "Statistiken"; this.lblStats.MouseEnter += new System.EventHandler( this.lblStats_MouseEnter ); this.lblStats.MouseLeave += new System.EventHandler( this.lblStats_MouseLeave ); // @@ -425,7 +425,7 @@ private void InitializeComponent() this.lblMatch.Name = "lblMatch"; this.lblMatch.Size = new System.Drawing.Size( 40, 13 ); this.lblMatch.TabIndex = 0; - this.lblMatch.Text = "Match:"; + this.lblMatch.Text = "Finden:"; // // lblReplace // @@ -434,7 +434,7 @@ private void InitializeComponent() this.lblReplace.Name = "lblReplace"; this.lblReplace.Size = new System.Drawing.Size( 50, 13 ); this.lblReplace.TabIndex = 0; - this.lblReplace.Text = "Replace:"; + this.lblReplace.Text = "Ersetzen:"; // // cbModifierI // @@ -446,7 +446,7 @@ private void InitializeComponent() this.cbModifierI.TabIndex = 3; this.cbModifierI.Tag = false; this.cbModifierI.Text = "/i"; - this.toolTip.SetToolTip( this.cbModifierI, "Ignore case" ); + this.toolTip.SetToolTip( this.cbModifierI, "Groß- und Kleinschreibung ignorieren" ); this.cbModifierI.UseVisualStyleBackColor = true; this.cbModifierI.CheckedChanged += new System.EventHandler( this.cbModifierI_CheckedChanged ); // @@ -460,7 +460,7 @@ private void InitializeComponent() this.cbModifierG.TabIndex = 4; this.cbModifierG.Tag = false; this.cbModifierG.Text = "/g"; - this.toolTip.SetToolTip( this.cbModifierG, "Global (match as many times as possible)" ); + this.toolTip.SetToolTip( this.cbModifierG, "Global (finde so viele Übereinstimmungen wie möglich)" ); this.cbModifierG.UseVisualStyleBackColor = true; this.cbModifierG.CheckedChanged += new System.EventHandler( this.cbModifierG_CheckedChanged ); // @@ -474,7 +474,7 @@ private void InitializeComponent() this.cbModifierX.TabIndex = 5; this.cbModifierX.Tag = false; this.cbModifierX.Text = "/x"; - this.toolTip.SetToolTip( this.cbModifierX, "Extended regex (ignore unescaped spaces)" ); + this.toolTip.SetToolTip( this.cbModifierX, "Erweitertes regex (ignoriere unmaskierte Leerzeichen)" ); this.cbModifierX.UseVisualStyleBackColor = true; this.cbModifierX.CheckedChanged += new System.EventHandler( this.cbModifierX_CheckedChanged ); // @@ -486,7 +486,7 @@ private void InitializeComponent() this.txtReplace.Name = "txtReplace"; this.txtReplace.Size = new System.Drawing.Size( 247, 20 ); this.txtReplace.TabIndex = 2; - this.toolTip.SetToolTip( this.txtReplace, "Use $1, $2, ... to insert captured text" ); + this.toolTip.SetToolTip( this.txtReplace, "Nutzen Sie $1, $2, ... um gefangenen Text einzufügen" ); this.txtReplace.TextChanged += new System.EventHandler( this.txtReplace_TextChanged ); this.txtReplace.KeyDown += new System.Windows.Forms.KeyEventHandler( this.txtReplace_KeyDown ); this.txtReplace.Leave += new System.EventHandler( this.txtReplace_Leave ); @@ -501,7 +501,7 @@ private void InitializeComponent() this.btnNetwork.Name = "btnNetwork"; this.btnNetwork.Size = new System.Drawing.Size( 36, 24 ); this.btnNetwork.TabIndex = 3; - this.toolTip.SetToolTip( this.btnNetwork, "Browse network" ); + this.toolTip.SetToolTip( this.btnNetwork, "Netzwerk durchsuchen" ); this.btnNetwork.UseVisualStyleBackColor = true; this.btnNetwork.Click += new System.EventHandler( this.btnNetwork_Click ); // @@ -513,7 +513,7 @@ private void InitializeComponent() this.txtPath.Name = "txtPath"; this.txtPath.Size = new System.Drawing.Size( 225, 20 ); this.txtPath.TabIndex = 2; - this.toolTip.SetToolTip( this.txtPath, "Press ENTER to apply path" ); + this.toolTip.SetToolTip( this.txtPath, "ENTER drücken, um Pfad anzunehmen" ); this.txtPath.Enter += new System.EventHandler( this.txtPath_Enter ); this.txtPath.KeyDown += new System.Windows.Forms.KeyEventHandler( this.txtPath_KeyDown ); this.txtPath.Leave += new System.EventHandler( this.txtPath_Leave ); @@ -529,7 +529,7 @@ private void InitializeComponent() this.lblNumMatched.TabIndex = 4; this.lblNumMatched.Text = "0"; this.lblNumMatched.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.toolTip.SetToolTip( this.lblNumMatched, "Number of matches" ); + this.toolTip.SetToolTip( this.lblNumMatched, "Anzahl der Übereinstimmungen" ); // // lblNumConflict // @@ -542,7 +542,7 @@ private void InitializeComponent() this.lblNumConflict.TabIndex = 5; this.lblNumConflict.Text = "0"; this.lblNumConflict.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.toolTip.SetToolTip( this.lblNumConflict, "Number of conflicts" ); + this.toolTip.SetToolTip( this.lblNumConflict, "Anzahl der Konflikte" ); // // cmbMatch // @@ -552,7 +552,7 @@ private void InitializeComponent() this.cmbMatch.Name = "cmbMatch"; this.cmbMatch.Size = new System.Drawing.Size( 247, 22 ); this.cmbMatch.TabIndex = 1; - this.toolTip.SetToolTip( this.cmbMatch, "Shift+rightclick for a menu of regex elements" ); + this.toolTip.SetToolTip( this.cmbMatch, "Shift+Rechtsklick, um ein Menü der regex Elemente anzuzeigen" ); this.cmbMatch.SelectedIndexChanged += new System.EventHandler( this.cmbMatch_SelectedIndexChanged ); this.cmbMatch.TextChanged += new System.EventHandler( this.cmbMatch_TextChanged ); this.cmbMatch.Enter += new System.EventHandler( this.cmbMatch_Enter ); @@ -596,9 +596,9 @@ private void InitializeComponent() this.mnuChangeCase.Name = "mnuChangeCase"; this.mnuChangeCase.Padding = new System.Windows.Forms.Padding( 0, 0, 8, 0 ); this.mnuChangeCase.Size = new System.Drawing.Size( 92, 17 ); - this.mnuChangeCase.Text = "Change Case"; + this.mnuChangeCase.Text = "Ändere Groß- und Kleinschreibung"; this.mnuChangeCase.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.mnuChangeCase.ToolTipText = "Only the matched portion of the filename will have its case changed"; + this.mnuChangeCase.ToolTipText = "Nur der übereinstimmende Teil des Dateinamens wird in der Groß- und Kleinschreibung geändert."; this.mnuChangeCase.MouseDown += new System.Windows.Forms.MouseEventHandler( this.mnuChangeCase_MouseDown ); // // itmChangeCaseNoChange @@ -608,7 +608,7 @@ private void InitializeComponent() this.itmChangeCaseNoChange.Font = new System.Drawing.Font( "Tahoma", 8.25F ); this.itmChangeCaseNoChange.Name = "itmChangeCaseNoChange"; this.itmChangeCaseNoChange.Size = new System.Drawing.Size( 125, 22 ); - this.itmChangeCaseNoChange.Text = "No change"; + this.itmChangeCaseNoChange.Text = "Keine Änderung"; this.itmChangeCaseNoChange.Click += new System.EventHandler( this.itmChangeCaseNoChange_Click ); // // itmChangeCaseSep @@ -621,7 +621,7 @@ private void InitializeComponent() this.itmChangeCaseUppercase.Font = new System.Drawing.Font( "Tahoma", 8.25F ); this.itmChangeCaseUppercase.Name = "itmChangeCaseUppercase"; this.itmChangeCaseUppercase.Size = new System.Drawing.Size( 125, 22 ); - this.itmChangeCaseUppercase.Text = "Uppercase"; + this.itmChangeCaseUppercase.Text = "Alles groß"; this.itmChangeCaseUppercase.Click += new System.EventHandler( this.itmChangeCaseUppercase_Click ); // // itmChangeCaseLowercase @@ -629,7 +629,7 @@ private void InitializeComponent() this.itmChangeCaseLowercase.Font = new System.Drawing.Font( "Tahoma", 8.25F ); this.itmChangeCaseLowercase.Name = "itmChangeCaseLowercase"; this.itmChangeCaseLowercase.Size = new System.Drawing.Size( 125, 22 ); - this.itmChangeCaseLowercase.Text = "Lowercase"; + this.itmChangeCaseLowercase.Text = "Alles klein"; this.itmChangeCaseLowercase.Click += new System.EventHandler( this.itmChangeCaseLowercase_Click ); // // itmChangeCaseTitlecase @@ -653,9 +653,9 @@ private void InitializeComponent() this.mnuNumbering.Padding = new System.Windows.Forms.Padding( 0, 0, 21, 0 ); this.mnuNumbering.Size = new System.Drawing.Size( 92, 17 ); this.mnuNumbering.Tag = "mnuNumbering"; - this.mnuNumbering.Text = "Numbering"; + this.mnuNumbering.Text = "Nummerierung"; this.mnuNumbering.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.mnuNumbering.ToolTipText = "Enter \"$#\" in the replace field to insert a number sequence"; + this.mnuNumbering.ToolTipText = "Geben Sie \"$#\" im Ersetzen-Feld an, um eine Zählsequenz einzufügen."; this.mnuNumbering.MouseDown += new System.Windows.Forms.MouseEventHandler( this.mnuNumbering_MouseDown ); // // txtNumberingStart @@ -666,7 +666,7 @@ private void InitializeComponent() this.txtNumberingStart.Tag = true; this.txtNumberingStart.Text = "1"; this.txtNumberingStart.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.txtNumberingStart.ToolTipText = "Starting number (or letter)"; + this.txtNumberingStart.ToolTipText = "Startzähler (oder -buchstabe)"; this.txtNumberingStart.TextChanged += new System.EventHandler( this.txtNumberingStart_TextChanged ); // // txtNumberingPad @@ -677,7 +677,7 @@ private void InitializeComponent() this.txtNumberingPad.Tag = true; this.txtNumberingPad.Text = "000"; this.txtNumberingPad.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.txtNumberingPad.ToolTipText = "Eg: \"0000\" means 14 => 0014"; + this.txtNumberingPad.ToolTipText = "Beispiel: \"0000\" bewirkt, dass 14 => 0014"; this.txtNumberingPad.TextChanged += new System.EventHandler( this.txtNumberingPad_TextChanged ); // // txtNumberingInc @@ -688,7 +688,7 @@ private void InitializeComponent() this.txtNumberingInc.Tag = true; this.txtNumberingInc.Text = "1"; this.txtNumberingInc.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.txtNumberingInc.ToolTipText = "Increment by x each file (may be negative)"; + this.txtNumberingInc.ToolTipText = "Erhöhe den Zähler bei jeder Datei um x (kann auch negativ sein)"; this.txtNumberingInc.TextChanged += new System.EventHandler( this.txtNumberingInc_TextChanged ); // // txtNumberingReset @@ -699,7 +699,7 @@ private void InitializeComponent() this.txtNumberingReset.Tag = true; this.txtNumberingReset.Text = "0"; this.txtNumberingReset.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.txtNumberingReset.ToolTipText = "Reset to starting number every x files"; + this.txtNumberingReset.ToolTipText = "Setze alle x Dateien auf den Startzählen zurück"; this.txtNumberingReset.TextChanged += new System.EventHandler( this.txtNumberingReset_TextChanged ); // // mnuMoveCopy @@ -716,7 +716,7 @@ private void InitializeComponent() this.mnuMoveCopy.Name = "mnuMoveCopy"; this.mnuMoveCopy.Padding = new System.Windows.Forms.Padding( 0, 0, 17, 0 ); this.mnuMoveCopy.Size = new System.Drawing.Size( 92, 17 ); - this.mnuMoveCopy.Text = "Move/Copy"; + this.mnuMoveCopy.Text = "Verschieben/Kopieren"; this.mnuMoveCopy.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.mnuMoveCopy.MouseDown += new System.Windows.Forms.MouseEventHandler( this.mnuMoveCopy_MouseDown ); // @@ -727,7 +727,7 @@ private void InitializeComponent() this.itmOutputRenameInPlace.Font = new System.Drawing.Font( "Tahoma", 8.25F ); this.itmOutputRenameInPlace.Name = "itmOutputRenameInPlace"; this.itmOutputRenameInPlace.Size = new System.Drawing.Size( 152, 22 ); - this.itmOutputRenameInPlace.Text = "Rename in place"; + this.itmOutputRenameInPlace.Text = "Umbennen am selben Ort"; this.itmOutputRenameInPlace.Click += new System.EventHandler( this.itmOutputRenameInPlace_Click ); // // itmOutputSep @@ -740,8 +740,8 @@ private void InitializeComponent() this.itmOutputMoveTo.Font = new System.Drawing.Font( "Tahoma", 8.25F ); this.itmOutputMoveTo.Name = "itmOutputMoveTo"; this.itmOutputMoveTo.Size = new System.Drawing.Size( 152, 22 ); - this.itmOutputMoveTo.Text = "Move to..."; - this.itmOutputMoveTo.ToolTipText = "Files that match are moved and renamed"; + this.itmOutputMoveTo.Text = "Verschiebe nach..."; + this.itmOutputMoveTo.ToolTipText = "Dateien, auf die das Find-Muster zutrifft, werden verschoben und umbenannt."; this.itmOutputMoveTo.Click += new System.EventHandler( this.itmOutputMoveTo_Click ); // // itmOutputCopyTo @@ -749,8 +749,8 @@ private void InitializeComponent() this.itmOutputCopyTo.Font = new System.Drawing.Font( "Tahoma", 8.25F ); this.itmOutputCopyTo.Name = "itmOutputCopyTo"; this.itmOutputCopyTo.Size = new System.Drawing.Size( 152, 22 ); - this.itmOutputCopyTo.Text = "Copy to..."; - this.itmOutputCopyTo.ToolTipText = "Files that match are copied and the copies are renamed"; + this.itmOutputCopyTo.Text = "Kopieren nach..."; + this.itmOutputCopyTo.ToolTipText = "Dateien, auf die das Find-Muster zutrifft, werden kopiert. Die Kopien werden umbenannt."; this.itmOutputCopyTo.Click += new System.EventHandler( this.itmOutputCopyTo_Click ); // // itmOutputBackupTo @@ -758,18 +758,18 @@ private void InitializeComponent() this.itmOutputBackupTo.Font = new System.Drawing.Font( "Tahoma", 8.25F ); this.itmOutputBackupTo.Name = "itmOutputBackupTo"; this.itmOutputBackupTo.Size = new System.Drawing.Size( 152, 22 ); - this.itmOutputBackupTo.Text = "Backup to..."; - this.itmOutputBackupTo.ToolTipText = "Files that match are copied and the originals are renamed"; + this.itmOutputBackupTo.Text = "Backup nach..."; + this.itmOutputBackupTo.ToolTipText = "Dateien, auf die das Find-Muster zutrifft, werden kopiert. Die Originale werden umbenannt."; this.itmOutputBackupTo.Click += new System.EventHandler( this.itmOutputBackupTo_Click ); // // ttPreviewError // this.ttPreviewError.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Error; - this.ttPreviewError.ToolTipTitle = "Preview validation error"; + this.ttPreviewError.ToolTipTitle = "Vorschau Validierungsfehler"; // // fbdNetwork // - this.fbdNetwork.Description = "\r\n Select a network share or subfolder:"; + this.fbdNetwork.Description = "\r\n Wählen Sie einen Netzwerkordner oder einen Unterordner aus:"; this.fbdNetwork.ShowNewFolderButton = false; // // cmRegexMatch @@ -799,31 +799,31 @@ private void InitializeComponent() // miRegexMatchAnchorStart // this.miRegexMatchAnchorStart.Index = 0; - this.miRegexMatchAnchorStart.Text = "Start\t^"; + this.miRegexMatchAnchorStart.Text = "Beginn\t^"; this.miRegexMatchAnchorStart.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchAnchorEnd // this.miRegexMatchAnchorEnd.Index = 1; - this.miRegexMatchAnchorEnd.Text = "End\t$"; + this.miRegexMatchAnchorEnd.Text = "Ende\t$"; this.miRegexMatchAnchorEnd.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchAnchorStartEnd // this.miRegexMatchAnchorStartEnd.Index = 2; - this.miRegexMatchAnchorStartEnd.Text = "Start and End\t^(...)$"; + this.miRegexMatchAnchorStartEnd.Text = "Beginn und Ende\t^(...)$"; this.miRegexMatchAnchorStartEnd.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchAnchorBound // this.miRegexMatchAnchorBound.Index = 3; - this.miRegexMatchAnchorBound.Text = "Word boundary\t\\b"; + this.miRegexMatchAnchorBound.Text = "Wortgrenze\t\\b"; this.miRegexMatchAnchorBound.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchAnchorNonBound // this.miRegexMatchAnchorNonBound.Index = 4; - this.miRegexMatchAnchorNonBound.Text = "Non-word boundary\t\\B"; + this.miRegexMatchAnchorNonBound.Text = "Keine Wortgrenzen\t\\B"; this.miRegexMatchAnchorNonBound.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchGroup @@ -833,18 +833,18 @@ private void InitializeComponent() this.miRegexMatchGroupCapt, this.miRegexMatchGroupNonCapt, this.miRegexMatchGroupAlt} ); - this.miRegexMatchGroup.Text = "Group"; + this.miRegexMatchGroup.Text = "Gruppe"; // // miRegexMatchGroupCapt // this.miRegexMatchGroupCapt.Index = 0; - this.miRegexMatchGroupCapt.Text = "With capture\t(...)"; + this.miRegexMatchGroupCapt.Text = "Mit Fangen\t(...)"; this.miRegexMatchGroupCapt.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchGroupNonCapt // this.miRegexMatchGroupNonCapt.Index = 1; - this.miRegexMatchGroupNonCapt.Text = "Without capture\t(?:...)"; + this.miRegexMatchGroupNonCapt.Text = "Ohne Fangen\t(?:...)"; this.miRegexMatchGroupNonCapt.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchGroupAlt @@ -871,90 +871,90 @@ private void InitializeComponent() this.miRegexMatchQuantExactL, this.miRegexMatchQuantAtLeastL, this.miRegexMatchQuantBetweenL} ); - this.miRegexMatchQuant.Text = "Quantifiers"; + this.miRegexMatchQuant.Text = "Gewichtung"; // // miRegexMatchQuantGreedy // this.miRegexMatchQuantGreedy.Enabled = false; this.miRegexMatchQuantGreedy.Index = 0; - this.miRegexMatchQuantGreedy.Text = "Match as much as possible"; + this.miRegexMatchQuantGreedy.Text = "Finde so viele wie möglich"; // // miRegexMatchQuantZeroOneG // this.miRegexMatchQuantZeroOneG.Index = 1; - this.miRegexMatchQuantZeroOneG.Text = "Zero or one times\t?"; + this.miRegexMatchQuantZeroOneG.Text = "Null oder einmal\t?"; this.miRegexMatchQuantZeroOneG.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantOneMoreG // this.miRegexMatchQuantOneMoreG.Index = 2; - this.miRegexMatchQuantOneMoreG.Text = "One or more times\t+"; + this.miRegexMatchQuantOneMoreG.Text = "Eins oder mehrere Male\t+"; this.miRegexMatchQuantOneMoreG.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantZeroMoreG // this.miRegexMatchQuantZeroMoreG.Index = 3; - this.miRegexMatchQuantZeroMoreG.Text = "Zero or more times\t*"; + this.miRegexMatchQuantZeroMoreG.Text = "Null oder mehrere Male\t*"; this.miRegexMatchQuantZeroMoreG.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantExactG // this.miRegexMatchQuantExactG.Index = 4; - this.miRegexMatchQuantExactG.Text = "Exactly n times\t{n}"; + this.miRegexMatchQuantExactG.Text = "Exakt n Mal\t{n}"; this.miRegexMatchQuantExactG.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantAtLeastG // this.miRegexMatchQuantAtLeastG.Index = 5; - this.miRegexMatchQuantAtLeastG.Text = "At least n times\t{n,}"; + this.miRegexMatchQuantAtLeastG.Text = "Mindestens n Mal\t{n,}"; this.miRegexMatchQuantAtLeastG.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantBetweenG // this.miRegexMatchQuantBetweenG.Index = 6; - this.miRegexMatchQuantBetweenG.Text = "Between n to m times\t{n,m}"; + this.miRegexMatchQuantBetweenG.Text = "Zwischen n und m Mal\t{n,m}"; this.miRegexMatchQuantBetweenG.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantLazy // this.miRegexMatchQuantLazy.Enabled = false; this.miRegexMatchQuantLazy.Index = 7; - this.miRegexMatchQuantLazy.Text = "Match as little as possible"; + this.miRegexMatchQuantLazy.Text = "So wenige wie möglich finden"; // // miRegexMatchQuantZeroOneL // this.miRegexMatchQuantZeroOneL.Index = 8; - this.miRegexMatchQuantZeroOneL.Text = "Zero or one times\t??"; + this.miRegexMatchQuantZeroOneL.Text = "Null oder ein Mal\t??"; this.miRegexMatchQuantZeroOneL.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantOneMoreL // this.miRegexMatchQuantOneMoreL.Index = 9; - this.miRegexMatchQuantOneMoreL.Text = "One or more times\t+?"; + this.miRegexMatchQuantOneMoreL.Text = "Ein oder mehr Male\t+?"; this.miRegexMatchQuantOneMoreL.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantZeroMoreL // this.miRegexMatchQuantZeroMoreL.Index = 10; - this.miRegexMatchQuantZeroMoreL.Text = "Zero or more times\t*?"; + this.miRegexMatchQuantZeroMoreL.Text = "Null oder mehr Male\t*?"; this.miRegexMatchQuantZeroMoreL.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantExactL // this.miRegexMatchQuantExactL.Index = 11; - this.miRegexMatchQuantExactL.Text = "Exactly n times\t{n}?"; + this.miRegexMatchQuantExactL.Text = "Exakt n Mal\t{n}?"; this.miRegexMatchQuantExactL.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantAtLeastL // this.miRegexMatchQuantAtLeastL.Index = 12; - this.miRegexMatchQuantAtLeastL.Text = "At least n times\t{n,}?"; + this.miRegexMatchQuantAtLeastL.Text = "Mindestens n Mal\t{n,}?"; this.miRegexMatchQuantAtLeastL.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchQuantBetweenL // this.miRegexMatchQuantBetweenL.Index = 13; - this.miRegexMatchQuantBetweenL.Text = "Between n to m times\t{n,m}?"; + this.miRegexMatchQuantBetweenL.Text = "Zwischen n und m Mal\t{n,m}?"; this.miRegexMatchQuantBetweenL.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchClass @@ -965,30 +965,30 @@ private void InitializeComponent() this.miRegexMatchClassNeg, this.miRegexMatchClassLower, this.miRegexMatchClassUpper} ); - this.miRegexMatchClass.Text = "Character class"; + this.miRegexMatchClass.Text = "Buchstaben-Klasse"; // // miRegexMatchClassPos // this.miRegexMatchClassPos.Index = 0; - this.miRegexMatchClassPos.Text = "Positive class\t[...]"; + this.miRegexMatchClassPos.Text = "Positive Klasse\t[...]"; this.miRegexMatchClassPos.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchClassNeg // this.miRegexMatchClassNeg.Index = 1; - this.miRegexMatchClassNeg.Text = "Negative class\t[^...]"; + this.miRegexMatchClassNeg.Text = "Negative Klasse\t[^...]"; this.miRegexMatchClassNeg.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchClassLower // this.miRegexMatchClassLower.Index = 2; - this.miRegexMatchClassLower.Text = "Lowercase\t[a-z]"; + this.miRegexMatchClassLower.Text = "Kleinschreibung\t[a-z]"; this.miRegexMatchClassLower.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchClassUpper // this.miRegexMatchClassUpper.Index = 3; - this.miRegexMatchClassUpper.Text = "Uppercase\t[A-Z]"; + this.miRegexMatchClassUpper.Text = "Großschreibung\t[A-Z]"; this.miRegexMatchClassUpper.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchCapt @@ -999,30 +999,30 @@ private void InitializeComponent() this.miRegexMatchCaptMatchUnnamed, this.miRegexMatchCaptCreateNamed, this.miRegexMatchCaptMatchNamed} ); - this.miRegexMatchCapt.Text = "Captures"; + this.miRegexMatchCapt.Text = "Fänge"; // // miRegexMatchCaptCreateUnnamed // this.miRegexMatchCaptCreateUnnamed.Index = 0; - this.miRegexMatchCaptCreateUnnamed.Text = "Create unnamed capture\t(...)"; + this.miRegexMatchCaptCreateUnnamed.Text = "Einen unbenannten Fang erstellen\t(...)"; this.miRegexMatchCaptCreateUnnamed.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchCaptMatchUnnamed // this.miRegexMatchCaptMatchUnnamed.Index = 1; - this.miRegexMatchCaptMatchUnnamed.Text = "Match unnamed capture\t\\n"; + this.miRegexMatchCaptMatchUnnamed.Text = "Auf einen unbenannten Fang zutreffen\t\\n"; this.miRegexMatchCaptMatchUnnamed.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchCaptCreateNamed // this.miRegexMatchCaptCreateNamed.Index = 2; - this.miRegexMatchCaptCreateNamed.Text = "Create named capture\t(?...)"; + this.miRegexMatchCaptCreateNamed.Text = "Benannten Fang erstellen\t(?...)"; this.miRegexMatchCaptCreateNamed.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchCaptMatchNamed // this.miRegexMatchCaptMatchNamed.Index = 3; - this.miRegexMatchCaptMatchNamed.Text = "Match named capture\t\\"; + this.miRegexMatchCaptMatchNamed.Text = "Auf einen benannten Fang zutreffen\t\\"; this.miRegexMatchCaptMatchNamed.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchLook @@ -1038,25 +1038,25 @@ private void InitializeComponent() // miRegexMatchLookPosAhead // this.miRegexMatchLookPosAhead.Index = 0; - this.miRegexMatchLookPosAhead.Text = "Positive lookahead\t(?=...)"; + this.miRegexMatchLookPosAhead.Text = "Positiver lookahead\t(?=...)"; this.miRegexMatchLookPosAhead.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchLookNegAhead // this.miRegexMatchLookNegAhead.Index = 1; - this.miRegexMatchLookNegAhead.Text = "Negative lookahead\t(?!...)"; + this.miRegexMatchLookNegAhead.Text = "Negativer lookahead\t(?!...)"; this.miRegexMatchLookNegAhead.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchLookPosBehind // this.miRegexMatchLookPosBehind.Index = 2; - this.miRegexMatchLookPosBehind.Text = "Positive lookbehind\t(?<=...)"; + this.miRegexMatchLookPosBehind.Text = "Positiver lookbehind\t(?<=...)"; this.miRegexMatchLookPosBehind.Click += new System.EventHandler( this.InsertRegexFragment ); // // miRegexMatchLookNegBehind // this.miRegexMatchLookNegBehind.Index = 3; - this.miRegexMatchLookNegBehind.Text = "Negative lookbehind\t(? "folder" - string oldFile = renameFolders ? "file" : "folder"; - string oldFilename = renameFolders ? "filename" : "folder name"; - string oldCapFile = renameFolders ? "File" : "Folder"; + string oldFile = renameFolders ? "Datei" : "Ordner"; + string oldFilename = renameFolders ? "Dateiname" : "Ordnername"; + string oldCapFile = renameFolders ? "Datei" : "Ordner"; mnuChangeCase.ToolTipText = mnuChangeCase.ToolTipText.Replace( oldFilename, strFilename ); txtNumberingInc.ToolTipText = txtNumberingInc.ToolTipText.Replace( oldFile, strFile ); txtNumberingReset.ToolTipText = txtNumberingReset.ToolTipText.Replace( oldFile, strFile ); itmOutputMoveTo.ToolTipText = itmOutputMoveTo.ToolTipText.Replace( oldCapFile, strCapFile ); - itmOutputCopyTo.ToolTipText = renameFolders ? "Unavailable during folder rename" : "Files that match are copied and the copies are renamed"; - itmOutputBackupTo.ToolTipText = renameFolders ? "Unavailable during folder rename" : "Files that match are copied and the originals are renamed"; + itmOutputCopyTo.ToolTipText = renameFolders ? "Nicht verfügbar während Ordner-Umbenennung" : "Dateien, die übereinstimmen, werden kopiert und die Kopien umbenannt"; + itmOutputBackupTo.ToolTipText = renameFolders ? "Nicht verfügbar während Ordner-Umbenennung" : "Dateien, die übereinstimmen, werden kopiert und die Originale werden umbenannt"; miRegexReplaceOrigAll.Text = miRegexReplaceOrigAll.Text.Replace( oldFilename, strFilename ); itmOptionsShowHidden.Text = itmOptionsShowHidden.Text.Replace( oldFile, strFile ); colFilename.HeaderText = strCapFilename; @@ -148,28 +148,28 @@ private string strFile { get { - return RenameFolders ? "folder" : "file"; + return RenameFolders ? "Ordner" : "Datei"; } } private string strFilename { get { - return RenameFolders ? "folder name" : "filename"; + return RenameFolders ? "Ordnername" : "Dateiname"; } } private string strCapFile { get { - return RenameFolders ? "Folder" : "File"; + return RenameFolders ? "Ordner" : "Datei"; } } private string strCapFilename { get { - return RenameFolders ? "Folder name" : "Filename"; + return RenameFolders ? "Ordnername" : "Dateiname"; } } @@ -2075,14 +2075,14 @@ private void OutputMenuItem( object sender ) // update dialog text if( clickedMenuItem == itmOutputMoveTo ) - fbdMoveCopy.Description = "During the rename operation, " + strFile + "s that match the current regex will be " - + "moved to the selected folder and renamed (if necessary)."; + fbdMoveCopy.Description = "Während der Umbenennungsaktion werden Dateien, die mit dem aktuellen regex übereinstimmen, " + + "in den ausgwählten Ordner verschoben und umbenannt (falls nötig)."; else if( clickedMenuItem == itmOutputCopyTo ) - fbdMoveCopy.Description = "During the rename operation, files that match the current regex will be " - + "copied to the selected folder and the copies renamed (if necessary)."; + fbdMoveCopy.Description = "Während the Umbenennungsaktion werden Dateien, die mit dem aktuellen regex übereinstimmen, " + + "in den ausgewählten Ordner kopiert und ihre Kopien umbenannt (falls nötig)."; else if( clickedMenuItem == itmOutputBackupTo ) - fbdMoveCopy.Description = "During the rename operation, files that match the current regex will be " - + "copied to the selected folder and the originals renamed (if necessary)."; + fbdMoveCopy.Description = "Während the Umbenennungsaktion werden Dateien, die mit dem aktuellen regex übereinstimmen, " + + "in den ausgewählten Ordner kopiert und die Originale umbenannt (falls nötig)."; // show dialog, ignore if cancelled @@ -2108,13 +2108,13 @@ private void OutputMenuItem( object sender ) if( fbdMoveCopy.SelectedPath == activePath ) { - string errorMessage = "This '"; - if( clickedMenuItem == itmOutputMoveTo ) errorMessage += "Move to"; - else if( clickedMenuItem == itmOutputCopyTo ) errorMessage += "Copy to"; - else if( clickedMenuItem == itmOutputBackupTo ) errorMessage += "Backup to"; - errorMessage += "' folder is the same as the currently selected folder.\r\n"; + string errorMessage = "Dieser '"; + if( clickedMenuItem == itmOutputMoveTo ) errorMessage += "Verschieben nach"; + else if( clickedMenuItem == itmOutputCopyTo ) errorMessage += "Kopieren nach"; + else if( clickedMenuItem == itmOutputBackupTo ) errorMessage += "Backup nach"; + errorMessage += "' Ordner ist der selbe wie der aktuell ausgewählte Ordner.\r\n"; - MessageBox.Show( errorMessage, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning ); + MessageBox.Show( errorMessage, "Warnung", MessageBoxButtons.OK, MessageBoxIcon.Warning ); } } @@ -2344,7 +2344,7 @@ private void tvwFolders_AfterSelect( object sender, TreeViewEventArgs e ) if( !EnableUpdates ) return; if( tvwFolders.Tag != null && tvwFolders.SelectedNode == (TreeNode)tvwFolders.Tag ) // My Network Places - toolTip.Show( "Click to browse the network", btnNetwork, 0, btnNetwork.Height, 5000 ); + toolTip.Show( "Hier Klicken, um das Netzwerk zu durchsuchen", btnNetwork, 0, btnNetwork.Height, 5000 ); activePath = tvwFolders.GetSelectedNodePath(); UpdateFileList(); @@ -2372,7 +2372,7 @@ private string ValidatePath() if( !Directory.Exists( normPath ) ) { - errorMessage = "Path does not exist."; + errorMessage = "Pfad existiert nicht."; } else if( normPath != txtPath.Text ) { @@ -2559,7 +2559,7 @@ private void dgvFiles_CellValidating( object sender, DataGridViewCellValidatingE string errorMessage = ValidateFilename( newFilename, false ); if( errorMessage != null ) { - MessageBox.Show( errorMessage, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( errorMessage, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); dgvFiles.CancelEdit(); return; } @@ -2567,10 +2567,10 @@ private void dgvFiles_CellValidating( object sender, DataGridViewCellValidatingE Regex regex = new Regex( "^[ .]" ); if( regex.IsMatch( newFilename ) && !regex.IsMatch( activeFiles[afi].Filename ) ) // now starts with [ .] { - errorMessage = "This " + strFilename + " begins with a space or a dot. While this is technically possible, Windows\n" - + "normally won't let you do this as it may cause problems with other programs.\n" + errorMessage = "Dieser " + strFilename + " beginnt mit einem Leerzeichen oder Punkt. Das ist zwar technisch möglich, Windows\n" + + "lässt dies aber normalerweise nicht zu, weil es zu Problemen mit anderen Programmen führen könnte.\n" + "\n" - + "Are you sure you want to continue?"; + + "Sie Sie sicher, dass Sie fortfahren möchten?"; if( MessageBox.Show( errorMessage, "Warning", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning ) == DialogResult.Cancel ) @@ -2592,7 +2592,7 @@ private void dgvFiles_CellValidating( object sender, DataGridViewCellValidatingE } catch( Exception exception ) { - MessageBox.Show( exception.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( exception.Message, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); dgvFiles.CancelEdit(); return; } @@ -2672,7 +2672,7 @@ private void dgvFiles_CellDoubleClick( object sender, DataGridViewCellEventArgs } catch( Exception ex ) { - MessageBox.Show( ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( ex.Message, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); } } @@ -2742,7 +2742,7 @@ private void itmOptionsAddContextMenu_Click( object sender, EventArgs e ) { if( key != null ) { - key.SetValue( "", "Rename using RegexRenamer" ); + key.SetValue( "", "Umbenennen mit RegexRenamer" ); key.Close(); } } @@ -2771,7 +2771,7 @@ private void itmOptionsAddContextMenu_Click( object sender, EventArgs e ) } catch( Exception ex ) { - MessageBox.Show( ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( ex.Message, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); } } @@ -2788,11 +2788,11 @@ private void itmHelpEmailAuthor_Click( object sender, EventArgs e ) { try { - Process.Start( "mailto:xiperware@gmail.com" ); + Process.Start( "mailto:sukram.mueller@gmail.com" ); } catch( Exception ex ) { - MessageBox.Show( ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( ex.Message, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); } } private void itmHelpReportBug_Click( object sender, EventArgs e ) @@ -2803,18 +2803,18 @@ private void itmHelpReportBug_Click( object sender, EventArgs e ) } catch( Exception ex ) { - MessageBox.Show( ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( ex.Message, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); } } private void itmHelpHomepage_Click( object sender, EventArgs e ) { try { - Process.Start( "http://regexrenamer.sourceforge.net/" ); + Process.Start( "https://github.com/Sukram21/RegexRenamer/" ); } catch( Exception ex ) { - MessageBox.Show( ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( ex.Message, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); } } private void itmHelpAbout_Click( object sender, EventArgs e ) @@ -2856,7 +2856,7 @@ private void btnRename_Click( object sender, EventArgs e ) // invalid match regex - if( !validMatch ) errorMessage = "The match regular expression in invalid."; + if( !validMatch ) errorMessage = "Der reguläre Ausdruck in 'Finden' ist nicht gültig."; // preview errors exist @@ -2871,7 +2871,7 @@ private void btnRename_Click( object sender, EventArgs e ) if( row.Cells[2].Tag != null ) { - errorMessage = "Can't rename while errors exist (highlighted in red)."; + errorMessage = "Umbennen, während Fehler existieren, nicht möglich (rot markiert)."; break; } } @@ -2894,7 +2894,7 @@ private void btnRename_Click( object sender, EventArgs e ) filesToRename++; } - if( filesToRename == 0 ) errorMessage = "There are no " + strFile + "s to rename."; + if( filesToRename == 0 ) errorMessage = "Es gibt keine " + strFile + " umzubenennen."; } @@ -2902,9 +2902,9 @@ private void btnRename_Click( object sender, EventArgs e ) if( errorMessage == null && !itmOutputRenameInPlace.Checked && !Directory.Exists( fbdMoveCopy.SelectedPath ) ) { - if( itmOutputMoveTo.Checked ) errorMessage = "'Move to' folder '" + fbdMoveCopy.SelectedPath + "' is not a valid path."; - else if( itmOutputCopyTo.Checked ) errorMessage = "'Copy to' folder '" + fbdMoveCopy.SelectedPath + "' is not a valid path."; - else if( itmOutputBackupTo.Checked ) errorMessage = "'Backup to' folder '" + fbdMoveCopy.SelectedPath + "' is not a valid path."; + if( itmOutputMoveTo.Checked ) errorMessage = "'Verschieben nach' Ordner '" + fbdMoveCopy.SelectedPath + "' ist kein gültiger Pfad."; + else if( itmOutputCopyTo.Checked ) errorMessage = "'Kopieren nach' Ordner '" + fbdMoveCopy.SelectedPath + "' ist kein gültiger Pfad."; + else if( itmOutputBackupTo.Checked ) errorMessage = "'Backup nach' Ordner '" + fbdMoveCopy.SelectedPath + "' ist kein gültiger Pfad."; } @@ -2912,9 +2912,9 @@ private void btnRename_Click( object sender, EventArgs e ) if( errorMessage == null && !itmOutputRenameInPlace.Checked && fbdMoveCopy.SelectedPath == activePath ) { - if( itmOutputMoveTo.Checked ) errorMessage = "'Move to' folder is the same as the currently selected folder."; - else if( itmOutputCopyTo.Checked ) errorMessage = "'Copy to' folder is the same as the currently selected folder."; - else if( itmOutputBackupTo.Checked ) errorMessage = "'Backup to' folder is the same as the currently selected folder."; + if( itmOutputMoveTo.Checked ) errorMessage = "'Verschieben nach' Ordner ist der selbe wie der aktuell ausgewählte Ordner."; + else if( itmOutputCopyTo.Checked ) errorMessage = "'Kopieren nach' Ordner ist der selbe wie der aktuell ausgewählte Ordner."; + else if( itmOutputBackupTo.Checked ) errorMessage = "'Backup nach' Ordner ist der selbe wie der aktuell ausgewählte Ordner."; } @@ -2922,7 +2922,7 @@ private void btnRename_Click( object sender, EventArgs e ) if( errorMessage != null ) { - MessageBox.Show( errorMessage, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); + MessageBox.Show( errorMessage, "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error ); return; } @@ -2952,12 +2952,12 @@ private void btnRename_Click( object sender, EventArgs e ) if( beginWithInvalidChars ) { - errorMessage = "One or more " + strFilename + "s begin with a space or a dot. While this is technically possible, Windows\n" - + "normally won't let you do this as it may cause problems with other programs.\n" + errorMessage = "Einer oder mehrere " + strFilename + " beginnen mit einem Leerzeichen oder Punkt. Das ist zwar technisch möglich, Windows\n" + + "lässt dies aber normalerweise nicht zu, weil es zu Problemen mit anderen Programmen führen könnte.\n" + "\n" - + "Are you sure you want to continue?"; + + "Sie Sie sicher, dass Sie fortfahren möchten?"; - if( MessageBox.Show( errorMessage, "Warning", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning ) + if( MessageBox.Show( errorMessage, "Warnung", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning ) == DialogResult.Cancel ) return; } @@ -3002,7 +3002,7 @@ private void btnRename_Click( object sender, EventArgs e ) private void btnCancel_Click( object sender, EventArgs e ) { btnCancel.Enabled = false; - btnCancel.Text = "Cancelling..."; + btnCancel.Text = "Abbrechen..."; bgwRename.CancelAsync(); } @@ -3076,7 +3076,7 @@ private void bgwRename_DoWork( object sender, DoWorkEventArgs e ) { result.ReportError( activeFiles[afi].Name, activeFiles[afi].Preview, - "Create folder '" + newDirectory + "' failed: " + ex.Message ); + "Ordnererstellung '" + newDirectory + "' fehlgeschlagen: " + ex.Message ); continue; } } @@ -3164,7 +3164,7 @@ private void bgwRename_RunWorkerCompleted( object sender, RunWorkerCompletedEven btnRename.Visible = true; btnCancel.Enabled = false; btnRename.Enabled = true; - btnCancel.Text = "&Cancel"; // reset text + btnCancel.Text = "&Abbrechen"; // reset text // hide progress bar diff --git a/RegexRenamer/Program.cs b/RegexRenamer/Program.cs index 3fd8c6a..74602c7 100644 --- a/RegexRenamer/Program.cs +++ b/RegexRenamer/Program.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free @@ -79,7 +79,7 @@ static void Application_ThreadException( object sender, ThreadExceptionEventArgs static void UnhandledException( Exception ex ) { MessageBox.Show( "Congratulations, you've made RegexRenamer crash! :)\n\nCould you please press Ctrl+C " - + "to copy this information and paste it in an email to xiperware@gmail.com\nalong with " + + "to copy this information and paste it in an email to sukram.mueller@gmail.com\nalong with " + "what you were doing at the time. This will help the developer to identify and fix " + "the problem.\n\n\n" + ex, "Unhandled exception (RegexRenamer v" + Application.ProductVersion + ")", MessageBoxButtons.OK, MessageBoxIcon.Error ); diff --git a/RegexRenamer/Properties/AssemblyInfo.cs b/RegexRenamer/Properties/AssemblyInfo.cs index 2ce9750..4eef8d0 100644 --- a/RegexRenamer/Properties/AssemblyInfo.cs +++ b/RegexRenamer/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free diff --git a/RegexRenamer/RegexRenamer.csproj b/RegexRenamer/RegexRenamer.csproj index 8fd33fd..e7cf312 100644 --- a/RegexRenamer/RegexRenamer.csproj +++ b/RegexRenamer/RegexRenamer.csproj @@ -15,8 +15,8 @@ true - CFEFBDA896C2BB01B239E8B08AA721CB5F4ED8C5 - Xiperware.pfx + 1FE51E14C62448C5AC39F87D91BE94684A1D61D8 + RegexRenamer_TemporaryKey.pfx true false icon.ico @@ -109,9 +109,7 @@ About.cs - - Component - + Component @@ -178,6 +176,7 @@ + diff --git a/RegexRenamer/RenameErrorDialog.Designer.cs b/RegexRenamer/RenameErrorDialog.Designer.cs index ee40b17..c8ebc65 100644 --- a/RegexRenamer/RenameErrorDialog.Designer.cs +++ b/RegexRenamer/RenameErrorDialog.Designer.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free diff --git a/RegexRenamer/RenameErrorDialog.cs b/RegexRenamer/RenameErrorDialog.cs index d8dbf2b..9cdd56a 100644 --- a/RegexRenamer/RenameErrorDialog.cs +++ b/RegexRenamer/RenameErrorDialog.cs @@ -1,6 +1,6 @@ /* ============================================================================= * RegexRenamer Copyright (c) 2011 Xiperware - * http://regexrenamer.sourceforge.net/ xiperware@gmail.com + * https://github.com/Sukram21/RegexRenamer/ sukram.mueller@gmail.com * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License v2, as published by the Free