Skip to content

Commit e57a7a1

Browse files
authored
Merge pull request #1149 from openrails/release/1.6
Merge pull request #1142 from SteelFill/light_hierarchy_correction
2 parents 6dd0947 + 978a9b7 commit e57a7a1

File tree

12 files changed

+2131
-1830
lines changed

12 files changed

+2131
-1830
lines changed

Source/Contrib/ContentManager/ContentManagerGUI.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ void searchBox_TextChanged(object sender, EventArgs e)
286286
finds.Add(new SearchResult(content, path));
287287

288288
foreach (var child in ((ContentType[])Enum.GetValues(typeof(ContentType))).SelectMany(ct => content.Get(ct)))
289-
pending.Add(path + " / " + child.Name, child);
289+
if (!pending.ContainsKey(path + " / " + child.Name))
290+
pending.Add(path + " / " + child.Name, child);
290291

291292
foreach (var child in ContentLink.Matches(ContentInfo.GetText(content)).Cast<Match>().Select(linkMatch => content.Get(linkMatch.Groups[1].Value, (ContentType)Enum.Parse(typeof(ContentType), linkMatch.Groups[2].Value))).Where(linkContent => linkContent != null))
292293
if (!pending.ContainsKey(path + " -> " + child.Name))

Source/Locales/Contrib/es.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: \n"
4-
"POT-Creation-Date: 2024-11-29 18:44:39+0000\n"
5-
"PO-Revision-Date: 2024-12-02 18:04+0100\n"
4+
"POT-Creation-Date: 2025-07-22 20:54:33+0100\n"
5+
"PO-Revision-Date: 2025-07-25 18:15+0200\n"
66
"Last-Translator: \n"
77
"Language-Team: \n"
88
"Language: es\n"
@@ -637,11 +637,11 @@ msgstr "Cancelar"
637637
msgid "&Finish"
638638
msgstr "&Final"
639639

640-
#: ../../Contrib/ContentManager/ContentManagerGUI.cs:92
640+
#: ../../Contrib/ContentManager/ContentManagerGUI.cs:103
641641
msgid "Loading..."
642642
msgstr "Cargando..."
643643

644-
#: ../../Contrib/ContentManager/ContentManagerGUI.Designer.cs:115
644+
#: ../../Contrib/ContentManager/ContentManagerGUI.Designer.cs:116
645645
msgid "Open Rails Content Manager"
646646
msgstr "Administrador Contenido Open Rails"
647647

0 commit comments

Comments
 (0)