From dbcd362cf474e8a5cfb8788fa0654507e4370f81 Mon Sep 17 00:00:00 2001
From: peterdell <jac@wudsn.com>
Date: Sun, 12 Sep 2021 11:45:29 +0200
Subject: [PATCH] Fix localization for Pascal Source File

---
 com.wudsn.ide.pas/META-INF/MANIFEST.MF            | 4 ++--
 com.wudsn.ide.pas/OSGI-INF/l10n/bundle.properties | 2 ++
 com.wudsn.ide.pas/build.properties                | 5 ++++-
 com.wudsn.ide.pas/plugin.xml                      | 6 +++---
 4 files changed, 11 insertions(+), 6 deletions(-)
 create mode 100644 com.wudsn.ide.pas/OSGI-INF/l10n/bundle.properties

diff --git a/com.wudsn.ide.pas/META-INF/MANIFEST.MF b/com.wudsn.ide.pas/META-INF/MANIFEST.MF
index 1825d4d5..82b892f6 100644
--- a/com.wudsn.ide.pas/META-INF/MANIFEST.MF
+++ b/com.wudsn.ide.pas/META-INF/MANIFEST.MF
@@ -1,10 +1,10 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
-Bundle-Name: WUDSN IDE Pascal Plug-in
+Bundle-Name: Peter Dell
 Bundle-SymbolicName: com.wudsn.ide.pas;singleton:=true
 Bundle-Version: 1.7.2.qualifier
 Bundle-Activator: com.wudsn.ide.pas.Activator
-Bundle-Vendor: Peter Dell
+Bundle-Vendor: WUDSN IDE Pascal Plugin
 Require-Bundle: org.eclipse.core.resources,
  org.eclipse.core.runtime,
  org.eclipse.jface.text,
diff --git a/com.wudsn.ide.pas/OSGI-INF/l10n/bundle.properties b/com.wudsn.ide.pas/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 00000000..450afeec
--- /dev/null
+++ b/com.wudsn.ide.pas/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,2 @@
+#Properties file for com.wudsn.ide.pas
+com.wudsn.ide.pas.compiler.PascalSourceFile.name = Pascal Source File
\ No newline at end of file
diff --git a/com.wudsn.ide.pas/build.properties b/com.wudsn.ide.pas/build.properties
index 6f20375d..7b0b16de 100644
--- a/com.wudsn.ide.pas/build.properties
+++ b/com.wudsn.ide.pas/build.properties
@@ -2,4 +2,7 @@ source.. = src/
 output.. = bin/
 bin.includes = META-INF/,\
                .,\
-               plugin.xml
+               plugin.xml,\
+               OSGI-INF/
+               OSGI-INF/l10n/bundle.properties,\
+
diff --git a/com.wudsn.ide.pas/plugin.xml b/com.wudsn.ide.pas/plugin.xml
index 07071e71..760771d1 100644
--- a/com.wudsn.ide.pas/plugin.xml
+++ b/com.wudsn.ide.pas/plugin.xml
@@ -5,10 +5,10 @@
    <extension
          point="org.eclipse.core.contenttype.contentTypes">
       <content-type
-            file-extensions="pas"
             base-type="org.eclipse.core.runtime.text"
-            name="%com.wudsn.ide.pas.compiler.PascalSourceFile.name"
-            id="com.wudsn.ide.pas.compiler.PascalSourceFile">
+            file-extensions="pas"
+            id="com.wudsn.ide.pas.compiler.PascalSourceFile"
+            name="%com.wudsn.ide.pas.compiler.PascalSourceFile.name">
       </content-type>
    </extension>
    <extension