From 750b8695d27688ddbda3ef1c497dd3062222958c Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Sat, 15 Apr 2023 08:04:05 +0200 Subject: [PATCH] Issue #433: Fix all localization issues * enable PDE compiler check for missing localizations in all projects * unify PDE project settings for all plugin projects * fix missing tooltip * localize all remaining non-localized strings in plugin.xml * set translatable property in all own schemas where applicable * move all localization files to the default OSGi localization property location and remove the superfluous manifest headers --- docs/sitemap.xml | 30 ++++++++-------- .../.settings/org.eclipse.pde.core.prefs | 2 ++ .../.settings/org.eclipse.pde.prefs | 2 +- .../META-INF/MANIFEST.MF | 4 +-- .../OSGI-INF/l10n/bundle.properties | 3 ++ net.sf.eclipsecs.branding/build.properties | 3 +- .../.settings/org.eclipse.pde.core.prefs | 2 ++ .../.settings/org.eclipse.pde.prefs | 2 +- .../META-INF/MANIFEST.MF | 4 +-- .../OSGI-INF/l10n/bundle.properties | 3 ++ net.sf.eclipsecs.checkstyle/build.properties | 3 +- net.sf.eclipsecs.checkstyle/plugin.properties | 1 - .../.settings/org.eclipse.pde.core.prefs | 1 - .../.settings/org.eclipse.pde.prefs | 2 +- net.sf.eclipsecs.core/META-INF/MANIFEST.MF | 5 ++- .../l10n/bundle.properties} | 8 +++++ net.sf.eclipsecs.core/build.properties | 6 ++-- net.sf.eclipsecs.core/plugin.xml | 10 +++--- net.sf.eclipsecs.core/schema/configtypes.exsd | 3 ++ .../schema/configurations.exsd | 3 ++ net.sf.eclipsecs.core/schema/filters.exsd | 6 ++++ net.sf.eclipsecs.core/schema/saveFilters.exsd | 3 ++ .../.settings/org.eclipse.pde.core.prefs | 2 ++ .../.settings/org.eclipse.pde.prefs | 35 +++++++++++++++++++ net.sf.eclipsecs.doc/META-INF/MANIFEST.MF | 4 +-- .../OSGI-INF/l10n/bundle.properties | 3 ++ net.sf.eclipsecs.doc/build.properties | 3 +- .../.settings/org.eclipse.pde.core.prefs | 2 ++ .../.settings/org.eclipse.pde.prefs | 35 +++++++++++++++++++ net.sf.eclipsecs.sample/META-INF/MANIFEST.MF | 4 +-- .../OSGI-INF/l10n/bundle.properties | 7 ++++ net.sf.eclipsecs.sample/build.properties | 4 ++- net.sf.eclipsecs.sample/plugin.xml | 14 ++++---- .../.settings/org.eclipse.pde.core.prefs | 1 - .../.settings/org.eclipse.pde.prefs | 2 +- net.sf.eclipsecs.ui/META-INF/MANIFEST.MF | 5 ++- .../l10n/bundle.properties} | 13 ++++++- net.sf.eclipsecs.ui/build.properties | 4 +-- net.sf.eclipsecs.ui/plugin.xml | 24 ++++++------- net.sf.eclipsecs.ui/schema/configtypesui.exsd | 3 ++ net.sf.eclipsecs.ui/schema/filtereditors.exsd | 3 ++ 41 files changed, 203 insertions(+), 71 deletions(-) create mode 100644 net.sf.eclipsecs.branding/.settings/org.eclipse.pde.core.prefs create mode 100644 net.sf.eclipsecs.branding/OSGI-INF/l10n/bundle.properties create mode 100644 net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.core.prefs create mode 100644 net.sf.eclipsecs.checkstyle/OSGI-INF/l10n/bundle.properties delete mode 100644 net.sf.eclipsecs.checkstyle/plugin.properties rename net.sf.eclipsecs.core/{core.properties => OSGI-INF/l10n/bundle.properties} (82%) create mode 100644 net.sf.eclipsecs.doc/.settings/org.eclipse.pde.core.prefs create mode 100644 net.sf.eclipsecs.doc/.settings/org.eclipse.pde.prefs create mode 100644 net.sf.eclipsecs.doc/OSGI-INF/l10n/bundle.properties create mode 100644 net.sf.eclipsecs.sample/.settings/org.eclipse.pde.core.prefs create mode 100644 net.sf.eclipsecs.sample/.settings/org.eclipse.pde.prefs create mode 100644 net.sf.eclipsecs.sample/OSGI-INF/l10n/bundle.properties rename net.sf.eclipsecs.ui/{plugin.properties => OSGI-INF/l10n/bundle.properties} (79%) diff --git a/docs/sitemap.xml b/docs/sitemap.xml index cf2285d5b..d73346063 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -15,77 +15,77 @@ --> https://checkstyle.org/eclipse-cs/ - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/releasenotes - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/install - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/project-setup - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/custom-config - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/filters - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/configtypes - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/properties - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/filesets - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/preferences - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/extensions - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/custom-checks - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/builtin-config - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/custom-filters - 2023-04-08 + 2023-04-15 weekly https://checkstyle.org/eclipse-cs/#!/faq - 2023-04-08 + 2023-04-15 weekly diff --git a/net.sf.eclipsecs.branding/.settings/org.eclipse.pde.core.prefs b/net.sf.eclipsecs.branding/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/net.sf.eclipsecs.branding/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/net.sf.eclipsecs.branding/.settings/org.eclipse.pde.prefs b/net.sf.eclipsecs.branding/.settings/org.eclipse.pde.prefs index 593622103..64e10d92a 100644 --- a/net.sf.eclipsecs.branding/.settings/org.eclipse.pde.prefs +++ b/net.sf.eclipsecs.branding/.settings/org.eclipse.pde.prefs @@ -20,7 +20,7 @@ compilers.p.missing-version-import-package=2 compilers.p.missing-version-require-bundle=2 compilers.p.no-required-att=0 compilers.p.no.automatic.module=0 -compilers.p.not-externalized-att=2 +compilers.p.not-externalized-att=0 compilers.p.service.component.without.lazyactivation=0 compilers.p.unknown-attribute=0 compilers.p.unknown-class=0 diff --git a/net.sf.eclipsecs.branding/META-INF/MANIFEST.MF b/net.sf.eclipsecs.branding/META-INF/MANIFEST.MF index e1475ec5e..902470e63 100644 --- a/net.sf.eclipsecs.branding/META-INF/MANIFEST.MF +++ b/net.sf.eclipsecs.branding/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Eclipse Checkstyle +Bundle-Name: %Bundle-Name Bundle-SymbolicName: net.sf.eclipsecs.branding Bundle-Version: 10.6.0.qualifier -Bundle-Vendor: Eclipse Checkstyle Project +Bundle-Vendor: %Bundle-Vendor Automatic-Module-Name: net.sf.eclipsecs.branding diff --git a/net.sf.eclipsecs.branding/OSGI-INF/l10n/bundle.properties b/net.sf.eclipsecs.branding/OSGI-INF/l10n/bundle.properties new file mode 100644 index 000000000..3cfdc9699 --- /dev/null +++ b/net.sf.eclipsecs.branding/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for net.sf.eclipsecs.branding +Bundle-Name = Eclipse Checkstyle +Bundle-Vendor = Eclipse Checkstyle Project \ No newline at end of file diff --git a/net.sf.eclipsecs.branding/build.properties b/net.sf.eclipsecs.branding/build.properties index 6acb806a7..191a238bb 100644 --- a/net.sf.eclipsecs.branding/build.properties +++ b/net.sf.eclipsecs.branding/build.properties @@ -1,4 +1,5 @@ bin.includes = META-INF/,\ about.ini,\ about.properties,\ - checkstyle_small.png + checkstyle_small.png,\ + OSGI-INF/ diff --git a/net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.core.prefs b/net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.prefs b/net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.prefs index 593622103..64e10d92a 100644 --- a/net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.prefs +++ b/net.sf.eclipsecs.checkstyle/.settings/org.eclipse.pde.prefs @@ -20,7 +20,7 @@ compilers.p.missing-version-import-package=2 compilers.p.missing-version-require-bundle=2 compilers.p.no-required-att=0 compilers.p.no.automatic.module=0 -compilers.p.not-externalized-att=2 +compilers.p.not-externalized-att=0 compilers.p.service.component.without.lazyactivation=0 compilers.p.unknown-attribute=0 compilers.p.unknown-class=0 diff --git a/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF b/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF index ab750e6f7..98452b98c 100644 --- a/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF +++ b/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF @@ -1,9 +1,9 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Checkstyle Library +Bundle-Name: %Bundle-Name Bundle-SymbolicName: net.sf.eclipsecs.checkstyle Bundle-Version: 10.6.0.qualifier -Bundle-Vendor: Eclipse Checkstyle Project +Bundle-Vendor: %Bundle-Vendor Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-11 Export-Package: ., diff --git a/net.sf.eclipsecs.checkstyle/OSGI-INF/l10n/bundle.properties b/net.sf.eclipsecs.checkstyle/OSGI-INF/l10n/bundle.properties new file mode 100644 index 000000000..acf561645 --- /dev/null +++ b/net.sf.eclipsecs.checkstyle/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for net.sf.eclipsecs.checkstyle +Bundle-Name = Checkstyle Library +Bundle-Vendor = Eclipse Checkstyle Project \ No newline at end of file diff --git a/net.sf.eclipsecs.checkstyle/build.properties b/net.sf.eclipsecs.checkstyle/build.properties index d4a332714..50a3a6da2 100644 --- a/net.sf.eclipsecs.checkstyle/build.properties +++ b/net.sf.eclipsecs.checkstyle/build.properties @@ -1,7 +1,8 @@ bin.includes = META-INF/,\ .,\ license/,\ - checkstyle-10.6.0-all.jar + checkstyle-10.6.0-all.jar,\ + OSGI-INF/ jars.compile.order = . source.. = metadata/ javacDefaultEncoding.. = UTF-8 diff --git a/net.sf.eclipsecs.checkstyle/plugin.properties b/net.sf.eclipsecs.checkstyle/plugin.properties deleted file mode 100644 index 096815311..000000000 --- a/net.sf.eclipsecs.checkstyle/plugin.properties +++ /dev/null @@ -1 +0,0 @@ -# empty file, just to avoid tycho-source-plugin complaining \ No newline at end of file diff --git a/net.sf.eclipsecs.core/.settings/org.eclipse.pde.core.prefs b/net.sf.eclipsecs.core/.settings/org.eclipse.pde.core.prefs index e73a5adc7..923c37fb8 100644 --- a/net.sf.eclipsecs.core/.settings/org.eclipse.pde.core.prefs +++ b/net.sf.eclipsecs.core/.settings/org.eclipse.pde.core.prefs @@ -1,3 +1,2 @@ -#Tue Oct 04 19:15:04 CEST 2011 eclipse.preferences.version=1 resolve.requirebundle=false diff --git a/net.sf.eclipsecs.core/.settings/org.eclipse.pde.prefs b/net.sf.eclipsecs.core/.settings/org.eclipse.pde.prefs index 593622103..64e10d92a 100644 --- a/net.sf.eclipsecs.core/.settings/org.eclipse.pde.prefs +++ b/net.sf.eclipsecs.core/.settings/org.eclipse.pde.prefs @@ -20,7 +20,7 @@ compilers.p.missing-version-import-package=2 compilers.p.missing-version-require-bundle=2 compilers.p.no-required-att=0 compilers.p.no.automatic.module=0 -compilers.p.not-externalized-att=2 +compilers.p.not-externalized-att=0 compilers.p.service.component.without.lazyactivation=0 compilers.p.unknown-attribute=0 compilers.p.unknown-class=0 diff --git a/net.sf.eclipsecs.core/META-INF/MANIFEST.MF b/net.sf.eclipsecs.core/META-INF/MANIFEST.MF index 06a35e467..f91a23760 100644 --- a/net.sf.eclipsecs.core/META-INF/MANIFEST.MF +++ b/net.sf.eclipsecs.core/META-INF/MANIFEST.MF @@ -1,5 +1,5 @@ Manifest-Version: 1.0 -Bundle-Name: Eclipse Checkstyle +Bundle-Name: %Bundle-Name Bundle-ManifestVersion: 2 Bundle-SymbolicName: net.sf.eclipsecs.core;singleton:=true Bundle-Version: 10.6.0.qualifier @@ -8,10 +8,9 @@ Bundle-ClassPath: ., lib/checkstyle-10.6.0-all.jar Bundle-Activator: net.sf.eclipsecs.core.CheckstylePlugin Bundle-ActivationPolicy: lazy -Bundle-Vendor: Eclipse Checkstyle Project +Bundle-Vendor: %Bundle-Vendor Require-Bundle: net.sf.eclipsecs.checkstyle;visibility:=reexport Eclipse-BuddyPolicy: registered -Bundle-Localization: core Export-Package: net.sf.eclipsecs.core, net.sf.eclipsecs.core.builder, net.sf.eclipsecs.core.config, diff --git a/net.sf.eclipsecs.core/core.properties b/net.sf.eclipsecs.core/OSGI-INF/l10n/bundle.properties similarity index 82% rename from net.sf.eclipsecs.core/core.properties rename to net.sf.eclipsecs.core/OSGI-INF/l10n/bundle.properties index fb0805ddd..5b472a282 100644 --- a/net.sf.eclipsecs.core/core.properties +++ b/net.sf.eclipsecs.core/OSGI-INF/l10n/bundle.properties @@ -37,3 +37,11 @@ DerivedFilesFilter.label = derived (generated) files FilesOlderThanOneDayFilter.description = Exclude all files that are older than one day. FilesOlderThanOneDayFilter.label = files older than one day + +Bundle-Name = Eclipse Checkstyle +Bundle-Vendor = Eclipse Checkstyle Project +extension-point.addon-provider.name = Checkstyle Addon provider +extension-point.configuration-types.name = Checkstyle configuration types +extension-point.configurations.name = Checkstyle configurations +extension-point.filters.name = Checkstyle filters +extension-point.save-filters.name = Checkstyle configuration save filters \ No newline at end of file diff --git a/net.sf.eclipsecs.core/build.properties b/net.sf.eclipsecs.core/build.properties index ce76cebe3..470b0b9fb 100644 --- a/net.sf.eclipsecs.core/build.properties +++ b/net.sf.eclipsecs.core/build.properties @@ -6,8 +6,6 @@ bin.includes = .,\ license/,\ plugin.xml,\ schema/,\ - core.properties,\ - lib/checkstyle-10.6.0-all.jar - + lib/checkstyle-10.6.0-all.jar,\ + OSGI-INF/ javacDefaultEncoding.. = UTF-8 - diff --git a/net.sf.eclipsecs.core/plugin.xml b/net.sf.eclipsecs.core/plugin.xml index 789a7a830..835ac70e7 100644 --- a/net.sf.eclipsecs.core/plugin.xml +++ b/net.sf.eclipsecs.core/plugin.xml @@ -3,20 +3,20 @@ - - + - + - + - + diff --git a/net.sf.eclipsecs.core/schema/configtypes.exsd b/net.sf.eclipsecs.core/schema/configtypes.exsd index 8c735f72a..e98de4e45 100644 --- a/net.sf.eclipsecs.core/schema/configtypes.exsd +++ b/net.sf.eclipsecs.core/schema/configtypes.exsd @@ -40,6 +40,9 @@ The id is used to identify the specific filter set. The human readable name of this extension. + + + diff --git a/net.sf.eclipsecs.core/schema/configurations.exsd b/net.sf.eclipsecs.core/schema/configurations.exsd index 2c3b41c1f..66168bf19 100644 --- a/net.sf.eclipsecs.core/schema/configurations.exsd +++ b/net.sf.eclipsecs.core/schema/configurations.exsd @@ -40,6 +40,9 @@ The id is used to identify the specific filter set. The human readable name of this extension. + + + diff --git a/net.sf.eclipsecs.core/schema/filters.exsd b/net.sf.eclipsecs.core/schema/filters.exsd index 64e56bada..b1958526b 100644 --- a/net.sf.eclipsecs.core/schema/filters.exsd +++ b/net.sf.eclipsecs.core/schema/filters.exsd @@ -40,6 +40,9 @@ The id is used to identify the specific filter set. The human readable name of this extension. + + + @@ -75,6 +78,9 @@ The filter class must implement <code>net.sf.eclipsecs.core.filters.IFilte The human readable name of this filter. + + + diff --git a/net.sf.eclipsecs.core/schema/saveFilters.exsd b/net.sf.eclipsecs.core/schema/saveFilters.exsd index 808dcb8f6..0bc8a6e02 100644 --- a/net.sf.eclipsecs.core/schema/saveFilters.exsd +++ b/net.sf.eclipsecs.core/schema/saveFilters.exsd @@ -40,6 +40,9 @@ A save filter can modify the order of modules, add modules required in a certain The human readable name of this extension. + + + diff --git a/net.sf.eclipsecs.doc/.settings/org.eclipse.pde.core.prefs b/net.sf.eclipsecs.doc/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/net.sf.eclipsecs.doc/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/net.sf.eclipsecs.doc/.settings/org.eclipse.pde.prefs b/net.sf.eclipsecs.doc/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..64e10d92a --- /dev/null +++ b/net.sf.eclipsecs.doc/.settings/org.eclipse.pde.prefs @@ -0,0 +1,35 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=0 +compilers.p.build=0 +compilers.p.build.bin.includes=0 +compilers.p.build.encodings=0 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=0 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=0 +compilers.p.build.source.library=0 +compilers.p.build.src.includes=0 +compilers.p.deprecated=2 +compilers.p.discouraged-class=0 +compilers.p.exec-env-too-low=1 +compilers.p.internal=0 +compilers.p.missing-packages=2 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.no.automatic.module=0 +compilers.p.not-externalized-att=0 +compilers.p.service.component.without.lazyactivation=0 +compilers.p.unknown-attribute=0 +compilers.p.unknown-class=0 +compilers.p.unknown-element=0 +compilers.p.unknown-identifier=0 +compilers.p.unknown-resource=0 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/net.sf.eclipsecs.doc/META-INF/MANIFEST.MF b/net.sf.eclipsecs.doc/META-INF/MANIFEST.MF index ca36d8b9a..df0488d16 100644 --- a/net.sf.eclipsecs.doc/META-INF/MANIFEST.MF +++ b/net.sf.eclipsecs.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Eclipse Checkstyle Documentation +Bundle-Name: %Bundle-Name Bundle-SymbolicName: net.sf.eclipsecs.doc;singleton:=true Bundle-Version: 10.6.0.qualifier -Bundle-Vendor: Eclipse Checkstyle Project +Bundle-Vendor: %Bundle-Vendor Automatic-Module-Name: net.sf.eclipsecs.doc diff --git a/net.sf.eclipsecs.doc/OSGI-INF/l10n/bundle.properties b/net.sf.eclipsecs.doc/OSGI-INF/l10n/bundle.properties new file mode 100644 index 000000000..ae089bd9f --- /dev/null +++ b/net.sf.eclipsecs.doc/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for net.sf.eclipsecs.doc +Bundle-Name = Eclipse Checkstyle Documentation +Bundle-Vendor = Eclipse Checkstyle Project \ No newline at end of file diff --git a/net.sf.eclipsecs.doc/build.properties b/net.sf.eclipsecs.doc/build.properties index 706c9b600..b2f0d1fdd 100644 --- a/net.sf.eclipsecs.doc/build.properties +++ b/net.sf.eclipsecs.doc/build.properties @@ -1,5 +1,6 @@ bin.includes = META-INF/,\ docs/,\ toc.xml,\ - plugin.xml + plugin.xml,\ + OSGI-INF/ generateSourceBundle=false diff --git a/net.sf.eclipsecs.sample/.settings/org.eclipse.pde.core.prefs b/net.sf.eclipsecs.sample/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/net.sf.eclipsecs.sample/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/net.sf.eclipsecs.sample/.settings/org.eclipse.pde.prefs b/net.sf.eclipsecs.sample/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..64e10d92a --- /dev/null +++ b/net.sf.eclipsecs.sample/.settings/org.eclipse.pde.prefs @@ -0,0 +1,35 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=0 +compilers.p.build=0 +compilers.p.build.bin.includes=0 +compilers.p.build.encodings=0 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=0 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=0 +compilers.p.build.source.library=0 +compilers.p.build.src.includes=0 +compilers.p.deprecated=2 +compilers.p.discouraged-class=0 +compilers.p.exec-env-too-low=1 +compilers.p.internal=0 +compilers.p.missing-packages=2 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.no.automatic.module=0 +compilers.p.not-externalized-att=0 +compilers.p.service.component.without.lazyactivation=0 +compilers.p.unknown-attribute=0 +compilers.p.unknown-class=0 +compilers.p.unknown-element=0 +compilers.p.unknown-identifier=0 +compilers.p.unknown-resource=0 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/net.sf.eclipsecs.sample/META-INF/MANIFEST.MF b/net.sf.eclipsecs.sample/META-INF/MANIFEST.MF index da1ff54c0..cbf71dab0 100644 --- a/net.sf.eclipsecs.sample/META-INF/MANIFEST.MF +++ b/net.sf.eclipsecs.sample/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Eclipse Checkstyle Extension Sample +Bundle-Name: %Bundle-Name Bundle-SymbolicName: net.sf.eclipsecs.sample;singleton:=true Bundle-Version: 10.6.0.qualifier Require-Bundle: net.sf.eclipsecs.checkstyle, @@ -8,7 +8,7 @@ Require-Bundle: net.sf.eclipsecs.checkstyle, net.sf.eclipsecs.ui Bundle-RequiredExecutionEnvironment: JavaSE-11 Bundle-ActivationPolicy: lazy -Bundle-Vendor: Eclipse Checkstyle Project +Bundle-Vendor: %Bundle-Vendor Import-Package: org.eclipse.core.resources, org.eclipse.jdt.core.dom, org.eclipse.jface.resource, diff --git a/net.sf.eclipsecs.sample/OSGI-INF/l10n/bundle.properties b/net.sf.eclipsecs.sample/OSGI-INF/l10n/bundle.properties new file mode 100644 index 000000000..12b94b327 --- /dev/null +++ b/net.sf.eclipsecs.sample/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,7 @@ +#Properties file for net.sf.eclipsecs.sample +Bundle-Name = Eclipse Checkstyle Extension Sample +Bundle-Vendor = Eclipse Checkstyle Project +check-configuration.name = Sample Builtin Checks +check-configuration.description = Sample Built-in configuration +filter.name = Sample Filter +filter.description = Sample Filter (doing nothing) \ No newline at end of file diff --git a/net.sf.eclipsecs.sample/build.properties b/net.sf.eclipsecs.sample/build.properties index 0fe470fc4..1469faa03 100644 --- a/net.sf.eclipsecs.sample/build.properties +++ b/net.sf.eclipsecs.sample/build.properties @@ -3,4 +3,6 @@ bin.includes = META-INF/,\ .,\ plugin.xml,\ sample_checks.xml,\ - java.header + java.header,\ + OSGI-INF/ +javacDefaultEncoding.. = UTF-8 diff --git a/net.sf.eclipsecs.sample/plugin.xml b/net.sf.eclipsecs.sample/plugin.xml index 6270ae2b6..8316d0dd8 100644 --- a/net.sf.eclipsecs.sample/plugin.xml +++ b/net.sf.eclipsecs.sample/plugin.xml @@ -6,37 +6,37 @@ - + - - diff --git a/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.core.prefs b/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.core.prefs index 5d4a5e994..923c37fb8 100644 --- a/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.core.prefs +++ b/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.core.prefs @@ -1,3 +1,2 @@ -#Tue Oct 04 19:33:19 CEST 2011 eclipse.preferences.version=1 resolve.requirebundle=false diff --git a/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.prefs b/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.prefs index 593622103..64e10d92a 100644 --- a/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.prefs +++ b/net.sf.eclipsecs.ui/.settings/org.eclipse.pde.prefs @@ -20,7 +20,7 @@ compilers.p.missing-version-import-package=2 compilers.p.missing-version-require-bundle=2 compilers.p.no-required-att=0 compilers.p.no.automatic.module=0 -compilers.p.not-externalized-att=2 +compilers.p.not-externalized-att=0 compilers.p.service.component.without.lazyactivation=0 compilers.p.unknown-attribute=0 compilers.p.unknown-class=0 diff --git a/net.sf.eclipsecs.ui/META-INF/MANIFEST.MF b/net.sf.eclipsecs.ui/META-INF/MANIFEST.MF index 0d7a56019..b969cdb31 100644 --- a/net.sf.eclipsecs.ui/META-INF/MANIFEST.MF +++ b/net.sf.eclipsecs.ui/META-INF/MANIFEST.MF @@ -1,9 +1,9 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Eclipse Checkstyle UI +Bundle-Name: %Bundle-Name Bundle-SymbolicName: net.sf.eclipsecs.ui;singleton:=true Bundle-Version: 10.6.0.qualifier -Bundle-Vendor: Eclipse Checkstyle Project +Bundle-Vendor: %Bundle-Vendor Bundle-Activator: net.sf.eclipsecs.ui.CheckstyleUIPlugin Bundle-ActivationPolicy: lazy Require-Bundle: net.sf.eclipsecs.core, @@ -11,7 +11,6 @@ Require-Bundle: net.sf.eclipsecs.core, org.eclipse.ui.workbench, org.eclipse.jface Bundle-RequiredExecutionEnvironment: JavaSE-11 -Bundle-Localization: plugin Export-Package: net.sf.eclipsecs.ui, net.sf.eclipsecs.ui.properties.filter, net.sf.eclipsecs.ui.quickfixes diff --git a/net.sf.eclipsecs.ui/plugin.properties b/net.sf.eclipsecs.ui/OSGI-INF/l10n/bundle.properties similarity index 79% rename from net.sf.eclipsecs.ui/plugin.properties rename to net.sf.eclipsecs.ui/OSGI-INF/l10n/bundle.properties index ff43c7927..5128d435a 100644 --- a/net.sf.eclipsecs.ui/plugin.properties +++ b/net.sf.eclipsecs.ui/OSGI-INF/l10n/bundle.properties @@ -43,4 +43,15 @@ CheckstylePreferenceTransfer.name = Checkstyle settings CheckstylePreferenceTransfer.description = Copies the workspace configuration for the Eclipse Checkstyle Plugin PurgeCaches.label = Purge Checkstyle caches -PurgeCaches.tooltip = Purges internal Checkstyle caches to force reloading of auxiliary configuration files (e.g. suppression.xml) \ No newline at end of file +PurgeCaches.tooltip = Purges internal Checkstyle caches to force reloading of auxiliary configuration files (e.g. suppression.xml) +Bundle-Name = Eclipse Checkstyle UI +Bundle-Vendor = Eclipse Checkstyle Project +annotation.error.label = Checkstyle error +annotation.warning.label = Checkstyle warning +annotation.info.label = Checkstyle info +views.category.name = Checkstyle +commands.category.name = Checkstyle +actionSet.label = Checkstyle +extension-point.quickfix-provider.name = Checkstyle Quickfix provider +extension-point.filter-editor.name = Checkstyle filter editors +extension-point.config-types-ui.name = Checkstyle configuration type editors \ No newline at end of file diff --git a/net.sf.eclipsecs.ui/build.properties b/net.sf.eclipsecs.ui/build.properties index af8146f53..3d675d28d 100644 --- a/net.sf.eclipsecs.ui/build.properties +++ b/net.sf.eclipsecs.ui/build.properties @@ -3,8 +3,8 @@ bin.includes = icons/,\ plugin.xml,\ schema/,\ META-INF/,\ - plugin.properties,\ - . + .,\ + OSGI-INF/ jars.compile.order = . source.. = src/ additional.bundles = org.eclipse.jdt.core,\ diff --git a/net.sf.eclipsecs.ui/plugin.xml b/net.sf.eclipsecs.ui/plugin.xml index d4d387389..acfd66dfd 100644 --- a/net.sf.eclipsecs.ui/plugin.xml +++ b/net.sf.eclipsecs.ui/plugin.xml @@ -5,19 +5,19 @@ @@ -160,7 +160,7 @@ annotationType="net.sf.eclipsecs.error" annotationImageProvider="net.sf.eclipsecs.ui.CheckstyleMarkerImageProvider" presentationLayer="5" - label="Checkstyle error" + label="%annotation.error.label" verticalRulerPreferenceKey="net.sf.eclipsecs.error.verticalruler" verticalRulerPreferenceValue="true" overviewRulerPreferenceKey="net.sf.eclipsecs.error.overviewruler" @@ -184,7 +184,7 @@ annotationType="net.sf.eclipsecs.warning" annotationImageProvider="net.sf.eclipsecs.ui.CheckstyleMarkerImageProvider" presentationLayer="4" - label="Checkstyle warning" + label="%annotation.warning.label" verticalRulerPreferenceKey="net.sf.eclipsecs.warning.verticalruler" verticalRulerPreferenceValue="true" overviewRulerPreferenceKey="net.sf.eclipsecs.warning.overviewruler" @@ -208,7 +208,7 @@ annotationType="net.sf.eclipsecs.info" annotationImageProvider="net.sf.eclipsecs.ui.CheckstyleMarkerImageProvider" presentationLayer="3" - label="Checkstyle info" + label="%annotation.info.label" verticalRulerPreferenceKey="net.sf.eclipsecs.info.verticalruler" verticalRulerPreferenceValue="true" overviewRulerPreferenceKey="net.sf.eclipsecs.info.overviewruler" @@ -233,7 +233,7 @@ - + @@ -462,12 +462,12 @@ tooltip="%CheckSelectedFilesAction.tooltip"/> - + - + The human readable name of this extension. + + + diff --git a/net.sf.eclipsecs.ui/schema/filtereditors.exsd b/net.sf.eclipsecs.ui/schema/filtereditors.exsd index 5eab2e333..f771b626f 100644 --- a/net.sf.eclipsecs.ui/schema/filtereditors.exsd +++ b/net.sf.eclipsecs.ui/schema/filtereditors.exsd @@ -40,6 +40,9 @@ The id is used to identify the specific filter set. The human readable name of this extension. + + +