Browse Source

Add back accidentally deleted resource string.

pull/6/merge
Daniel Grunwald 13 years ago
parent
commit
f22f0bab38
  1. 3
      data/resources/StringResources.cz.resx
  2. 48
      data/resources/StringResources.de.resx
  3. 3
      data/resources/StringResources.es-mx.resx
  4. 3
      data/resources/StringResources.es.resx
  5. 3
      data/resources/StringResources.fr.resx
  6. 3
      data/resources/StringResources.hu.resx
  7. 3
      data/resources/StringResources.it.resx
  8. 3
      data/resources/StringResources.kr.resx
  9. 3
      data/resources/StringResources.nl.resx
  10. 3
      data/resources/StringResources.no.resx
  11. 3
      data/resources/StringResources.pl.resx
  12. 3
      data/resources/StringResources.pt-br.resx
  13. 3
      data/resources/StringResources.pt.resx
  14. 3
      data/resources/StringResources.resx
  15. 3
      data/resources/StringResources.ro.resx
  16. 3
      data/resources/StringResources.ru.resx
  17. 9
      src/Tools/StringResourceTool/MainForm.cs

3
data/resources/StringResources.cz.resx

@ -1499,6 +1499,9 @@ Chcete přidat nový soubor do projektu ${CurrentProjectName}?</value> @@ -1499,6 +1499,9 @@ Chcete přidat nový soubor do projektu ${CurrentProjectName}?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.ShowErrorListPadCheckBox" xml:space="preserve">
<value>Zobrazovat seznam chyb, pokud skončí sestavení chybou</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Aktuální jazyk UI:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Klepněte na ikonu pro výběr jazyka.</value>
</data>

48
data/resources/StringResources.de.resx

@ -1988,6 +1988,9 @@ Wollen Sie die neue Datei zum Projekt ${CurrentProjectName} hinzufügen?</value> @@ -1988,6 +1988,9 @@ Wollen Sie die neue Datei zum Projekt ${CurrentProjectName} hinzufügen?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Erstelle alle Projekte</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Aktuelle Oberflächensprache:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Auf Icon klicken, um neue Sprache zu wählen.</value>
</data>
@ -4997,21 +5000,57 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension< @@ -4997,21 +5000,57 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension<
<data name="MainWindow.Windows.Debug.LocalVariables.StaticMembers" xml:space="preserve">
<value>Statische Mitglieder</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad" xml:space="preserve">
<value>Speicher</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.AddressNotFound" xml:space="preserve">
<value>Speicheradresse {0} nicht gefunden!</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.ByteSize" xml:space="preserve">
<value>Byte-Größe der Ansicht:</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.JumpTo" xml:space="preserve">
<value>Zu Adresse springen:</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.NextAddress" xml:space="preserve">
<value>Nächste virtuelle Adressen</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.NoMappings" xml:space="preserve">
<value>Keine Zuordnungen von Speicheradressen vorhanden!</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.NotDebuggingOrProcessRunning" xml:space="preserve">
<value>Debugging nicht aktiv oder der Prozess ist nicht angehalten!</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.PreviousAddress" xml:space="preserve">
<value>Vorherige virtuelle Adressen</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.ReadingFromFormat" xml:space="preserve">
<value>Lese von {0} bis {1} - Größe {2}.</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.Refresh" xml:space="preserve">
<value>Adressen aktualisieren</value>
</data>
<data name="MainWindow.Windows.Debug.MemoryPad.UnableToReadFormat" xml:space="preserve">
<value>Konnte keinen Block der Größe {1} an Adresse {0} lesen.</value>
</data>
<data name="MainWindow.Windows.Debug.Modules" xml:space="preserve">
<value>Module</value>
</data>
<data name="MainWindow.Windows.Debug.Modules.AddressColumn" xml:space="preserve">
<value>Adresse</value>
</data>
<data name="MainWindow.Windows.Debug.Modules.DynamicModule" xml:space="preserve">
<value>(dynamisch)</value>
</data>
<data name="MainWindow.Windows.Debug.Modules.HasNoSymbols" xml:space="preserve">
<value>Keine Symbole geladen.</value>
</data>
<data name="MainWindow.Windows.Debug.Modules.HasSymbols" xml:space="preserve">
<value>Symbole geladen.</value>
</data>
<data name="MainWindow.Windows.Debug.Modules.InMemoryModule" xml:space="preserve">
<value>(im Speicher)</value>
</data>
<data name="MainWindow.Windows.Debug.Modules.OrderColumn" xml:space="preserve">
<value>Reihenfolge</value>
</data>
@ -5030,12 +5069,18 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension< @@ -5030,12 +5069,18 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension<
<data name="MainWindow.Windows.Debug.ObjectGraph" xml:space="preserve">
<value>Objektgraph</value>
</data>
<data name="MainWindow.Windows.Debug.ParallelStack" xml:space="preserve">
<value>Parallele Aufrufstacks</value>
</data>
<data name="MainWindow.Windows.Debug.RunToCursor" xml:space="preserve">
<value>Bis zum Cursor ausführen</value>
</data>
<data name="MainWindow.Windows.Debug.SetCurrentStatement" xml:space="preserve">
<value>Aktive Anweisung festlegen</value>
</data>
<data name="MainWindow.Windows.Debug.StopDebugging.Message" xml:space="preserve">
<value>Wollen Sie das Debuggen beenden?</value>
</data>
<data name="MainWindow.Windows.Debug.StopProcessDialog.Message" xml:space="preserve">
<value>Soll der Debugger vom Prozess getrennt werden oder der Prozess beendet werden?</value>
</data>
@ -5084,6 +5129,9 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension< @@ -5084,6 +5129,9 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension<
<data name="MainWindow.Windows.Debug.Threads.ThreadSwitch" xml:space="preserve">
<value>Thread-Wechsel</value>
</data>
<data name="MainWindow.Windows.Debug.ToggleMethodView" xml:space="preserve">
<value>Methodenansicht umschalten</value>
</data>
<data name="MainWindow.Windows.Debug.Watch" xml:space="preserve">
<value>Überwachen</value>
</data>

3
data/resources/StringResources.es-mx.resx

@ -1986,6 +1986,9 @@ Ejemplo: "120", "MainClass", "Main.cs, 120".</value> @@ -1986,6 +1986,9 @@ Ejemplo: "120", "MainClass", "Main.cs, 120".</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Generar todos los proyectos</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Idioma Actual de la Interfaz:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Haga clic en un icono para seleccionar el idioma.</value>
</data>

3
data/resources/StringResources.es.resx

@ -1967,6 +1967,9 @@ Para crear/manipular un objeto ActiveX/COM, arrastre una clase de un Control/Bib @@ -1967,6 +1967,9 @@ Para crear/manipular un objeto ActiveX/COM, arrastre una clase de un Control/Bib
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Generar todos los proyectos</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Idioma Actual de la Interfaz:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Clic en un icono para seleccionar el lenguaje.</value>
</data>

3
data/resources/StringResources.fr.resx

@ -1982,6 +1982,9 @@ Voulez-vous ajouter le nouveau fichier au projet ${CurrentProjectName}?</value> @@ -1982,6 +1982,9 @@ Voulez-vous ajouter le nouveau fichier au projet ${CurrentProjectName}?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Construire tous les projets</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Langue en cours:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Cliquer sur une icône pour sélectionner la langue.</value>
</data>

3
data/resources/StringResources.hu.resx

@ -1082,6 +1082,9 @@ Hozzáadja az új fáljt a ${CurrentProjectName} projekthez?</value> @@ -1082,6 +1082,9 @@ Hozzáadja az új fáljt a ${CurrentProjectName} projekthez?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.ShowErrorListPadCheckBox" xml:space="preserve">
<value>Mutassa a hibalistát ha a szerkesztés hibával ér véget</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Pillanatnyi UI nyelv:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>A nyelv kiválasztásához kattintson egy ikonon.</value>
</data>

3
data/resources/StringResources.it.resx

@ -1980,6 +1980,9 @@ Vuoi aggiungere il nuovo file al progetto ${CurrentProjectName}?</value> @@ -1980,6 +1980,9 @@ Vuoi aggiungere il nuovo file al progetto ${CurrentProjectName}?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Compila tutti i progetti</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Linguaggio IU corrente:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Clicca su una icona per scegliere la llingua.
</value>

3
data/resources/StringResources.kr.resx

@ -1457,6 +1457,9 @@ ${CurrentProjectName} 프로젝트에 이 새 파일을 더하겠습니까?</val @@ -1457,6 +1457,9 @@ ${CurrentProjectName} 프로젝트에 이 새 파일을 더하겠습니까?</val
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>모든 프로젝트를 빌드</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>현재 사용자 인터페이스 언어:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>언어를 선택하려면 아이콘을 클릭하십시오.</value>
</data>

3
data/resources/StringResources.nl.resx

@ -1991,6 +1991,9 @@ Wilt u het nieuwe bestand toevoegen aan project ${CurrentProjectName}?</value> @@ -1991,6 +1991,9 @@ Wilt u het nieuwe bestand toevoegen aan project ${CurrentProjectName}?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Bouw alle projecten.</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Huidige UI taal:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Selecteer een pictogram om een taal te selecteren.</value>
</data>

3
data/resources/StringResources.no.resx

@ -1920,6 +1920,9 @@ Eksempler: "120", "MainClass", "Main.cs, 120".</value> @@ -1920,6 +1920,9 @@ Eksempler: "120", "MainClass", "Main.cs, 120".</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Bygg alle prosjekter</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Nåværende UI-språk:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Klikk på et ikon for å endre språk.</value>
</data>

3
data/resources/StringResources.pl.resx

@ -1344,6 +1344,9 @@ Czy chcesz dodać nowy plik do projektu ${CurrentProjectName}?</value> @@ -1344,6 +1344,9 @@ Czy chcesz dodać nowy plik do projektu ${CurrentProjectName}?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.ShowErrorListPadCheckBox" xml:space="preserve">
<value>Pokaż zakładkę listy błędów jeśli budowanie zakończy się z błędami</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Aktualny język interfejsu użytkownika:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Kliknij na ikonę aby wybrać język.</value>
</data>

3
data/resources/StringResources.pt-br.resx

@ -1971,6 +1971,9 @@ Para criar/manipular um objeto ActiveX/COM, arraste uma classe contida em um Typ @@ -1971,6 +1971,9 @@ Para criar/manipular um objeto ActiveX/COM, arraste uma classe contida em um Typ
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Compilar todos projetos</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Idioma atual da interface:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Clique em um ícone para escolher o idioma.</value>
</data>

3
data/resources/StringResources.pt.resx

@ -1447,6 +1447,9 @@ Exemplos:"120", "MainClass", "Main.cs, 120".</value> @@ -1447,6 +1447,9 @@ Exemplos:"120", "MainClass", "Main.cs, 120".</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.ShowErrorListPadCheckBox" xml:space="preserve">
<value>Mostrar pad de lista de erros no caso da compilação terminar com erros</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Língua da interface actual:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Clique no ícone para escolher a língua</value>
</data>

3
data/resources/StringResources.resx

@ -2059,6 +2059,9 @@ system. I don't think that it needs translation.</comment> @@ -2059,6 +2059,9 @@ system. I don't think that it needs translation.</comment>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Build all projects</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Current UI language:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Click on an icon to choose language.</value>
</data>

3
data/resources/StringResources.ro.resx

@ -774,6 +774,9 @@ Doriţi adăugarea noului fişier la proiectul ${CurrentProjectName}?</value> @@ -774,6 +774,9 @@ Doriţi adăugarea noului fişier la proiectul ${CurrentProjectName}?</value>
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.SettingsGroupBox" xml:space="preserve">
<value>Configurări</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Limbajul UI curent:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Selectaţi pictograma corespunzătoare limbajului.</value>
</data>

3
data/resources/StringResources.ru.resx

@ -1766,6 +1766,9 @@ @@ -1766,6 +1766,9 @@
<data name="Dialog.Options.IDEOptions.ProjectAndSolutionOptions.WhenRunning.RegularBuild" xml:space="preserve">
<value>Построить все проекты</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.CurrentUILanguageLabel" xml:space="preserve">
<value>Текущий язык интерфейса:</value>
</data>
<data name="Dialog.Options.IDEOptions.SelectCulture.DescriptionText" xml:space="preserve">
<value>Щелкните по значку для выбора языка.</value>
</data>

9
src/Tools/StringResourceTool/MainForm.cs

@ -282,7 +282,7 @@ namespace StringResourceTool @@ -282,7 +282,7 @@ namespace StringResourceTool
FindUsedStrings(fileName, t, resourceService);
break;
case ".xaml":
FindUsedStrings(fileName, t, xamlLocalize);
FindUsedStrings(fileName, t, xamlLocalize, xamlLocalizeElementSyntax);
break;
case ".resx":
case ".resources":
@ -291,7 +291,7 @@ namespace StringResourceTool @@ -291,7 +291,7 @@ namespace StringResourceTool
case ".pdb":
break;
default:
FindUsedStrings(fileName, t, null);
FindUsedStrings(fileName, t);
break;
}
}
@ -302,8 +302,9 @@ namespace StringResourceTool @@ -302,8 +302,9 @@ namespace StringResourceTool
readonly static Regex pattern = new Regex(@"\$\{res:(" + resourceNameRegex + @")\}", RegexOptions.Compiled);
readonly static Regex resourceService = new Regex(@"ResourceService.GetString\(\""(" + resourceNameRegex + @")\""\)", RegexOptions.Compiled);
readonly static Regex xamlLocalize = new Regex(@"\{\w+:Localize\s+(" + resourceNameRegex + @")\}", RegexOptions.Compiled);
readonly static Regex xamlLocalizeElementSyntax = new Regex(@"\<\w+:LocalizeExtension\s+Key\s*=\s*[""'](" + resourceNameRegex + @")[""']", RegexOptions.Compiled);
void FindUsedStrings(string fileName, HashSet<string> t, Regex extraPattern)
void FindUsedStrings(string fileName, HashSet<string> t, params Regex[] extraPatterns)
{
StreamReader sr = File.OpenText(fileName);
string content = sr.ReadToEnd();
@ -312,7 +313,7 @@ namespace StringResourceTool @@ -312,7 +313,7 @@ namespace StringResourceTool
//Debug.WriteLine(fileName);
t.Add(m.Groups[1].Captures[0].Value);
}
if (extraPattern != null) {
foreach (var extraPattern in extraPatterns) {
foreach (Match m in extraPattern.Matches(content)) {
//Debug.WriteLine(fileName);
t.Add(m.Groups[1].Captures[0].Value);

Loading…
Cancel
Save