Skip to content

Commit 4528c7d

Browse files
chrisruegerlaeubi
authored andcommitted
externalize strings in plugin.xml
rename variable
1 parent 23e2bda commit 4528c7d

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

ui/org.eclipse.pde.bnd.ui/META-INF/MANIFEST.MF

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Bundle-Name: Generic UI components related to BND
44
Bundle-SymbolicName: org.eclipse.pde.bnd.ui;singleton:=true
55
Bundle-Vendor: Eclipse.org
66
Bundle-Version: 1.2.200.qualifier
7+
Bundle-Localization: plugin
78
Export-Package: org.eclipse.pde.bnd.ui.autocomplete;version="1.0.0";x-friends:="org.eclipse.pde.ui",
89
org.eclipse.pde.bnd.ui.plugins;x-internal:=true,
910
org.eclipse.pde.bnd.ui.preferences;version="1.0.0";x-friends:="org.eclipse.pde.ui",

ui/org.eclipse.pde.bnd.ui/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ output.. = bin/
33
bin.includes = META-INF/,\
44
.,\
55
icons/,\
6+
plugin.properties,\
67
plugin.xml,\
78
about.html,\
89
OSGI-INF/
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
###############################################################################
2+
# Copyright (c) 2000, 2009 IBM Corporation and others.
3+
#
4+
# This program and the accompanying materials
5+
# are made available under the terms of the Eclipse Public License 2.0
6+
# which accompanies this distribution, and is available at
7+
# https://www.eclipse.org/legal/epl-2.0/
8+
#
9+
# SPDX-License-Identifier: EPL-2.0
10+
#
11+
# Contributors:
12+
# IBM Corporation - initial API and implementation
13+
# Christoph Rueger <[email protected]> - ongoing enhancements
14+
###############################################################################
15+
16+
#pde.bnd view related
17+
views.category.name = OSGi
18+
osgi.views.repositories.name = Bundle Repositories
19+
osgi.views.resolution.name = OSGi Resolution

ui/org.eclipse.pde.bnd.ui/plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
</propertyTester>
3030
</extension>
3131
<extension point="org.eclipse.ui.views">
32-
<category id="pde.bnd.ui.viewCategory" name="OSGi"></category>
32+
<category id="pde.bnd.ui.viewCategory" name="%views.category.name"></category>
3333
<view category="pde.bnd.ui.viewCategory"
3434
class="org.eclipse.pde.bnd.ui.views.repository.RepositoriesView"
3535
icon="icons/database.png" id="pde.bnd.ui.repositoriesView"
36-
name="Bundle Repositories" restorable="true">
36+
name="%osgi.views.repositories.name" restorable="true">
3737
</view>
3838

3939
<view category="pde.bnd.ui.viewCategory"
4040
class="org.eclipse.pde.bnd.ui.views.resolution.ResolutionView"
41-
icon="icons/webresources16.svg" id="pde.bnd.ui.impExpView" name="OSGi Resolution"
41+
icon="icons/webresources16.svg" id="pde.bnd.ui.impExpView" name="%osgi.views.resolution.name"
4242
restorable="true">
4343
</view>
4444
</extension>

0 commit comments

Comments
 (0)