diff options
author | Pablo Leite <wpl020@motorola.com> | 2011-02-17 13:20:36 -0200 |
---|---|---|
committer | Pablo Leite <wpl020@motorola.com> | 2011-05-27 09:23:39 -0300 |
commit | abba37979ef8647c0f36078dff6c3a774d4ce05f (patch) | |
tree | 4442760fb4adbeed536b107ebe603c16677621d9 /eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml | |
parent | 3c75fc5a0daa7648642e8adb83d9850fc092c5a2 (diff) | |
download | sdk-abba37979ef8647c0f36078dff6c3a774d4ce05f.zip sdk-abba37979ef8647c0f36078dff6c3a774d4ce05f.tar.gz sdk-abba37979ef8647c0f36078dff6c3a774d4ce05f.tar.bz2 |
[EXTERNALIZATION] This commit externalizes the strings of the DDMS plugin.
After applying it, please run the Eclipse's Externalize Wizard at “Source -> Externalize Strings…”. This ensure that hard-coded strings added between the time the patch was created and the time it was integrated will also be externalized.
From the time this patch is integrated on, each new string created in the plugin
should be added to the following files:
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/messages.properties
Example: JavaClassName_MessageID=<string value>
<string value> refers to the string itself.
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/Messages.java
Example: public static String JavaClassName_MessageID;
In the Java class, the new string should be referenced this way:
Messages.JavaClassName_MessageID
Related patches: All patches with the [EXTERNALIZATION] tag
Changes after review:
Code formatted according using android code formatter template
Merged Strings DeviceView_Unable_Create_HPROF_For_Application and DeviceView_Unable_Create_HPROF_For_Application.
Removed Motorola copyright notices.
Change-Id: Id889db593ef313760515f28b5973d3a9a8ad80d0
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml b/eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml index cc47384..805a952 100644 --- a/eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml +++ b/eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.2"?> <plugin> - <extension-point id="toolsLocator" name="Tools Locator" schema="schema/toolsLocator.exsd"/> - <extension-point id="debuggerConnector" name="Debugger Connector" schema="schema/debuggerConnector.exsd"/> - <extension-point id="sourceRevealer" name="Source Revealer" schema="schema/sourceRevealer.exsd"/> - <extension-point id="traceviewLauncher" name="TraceView Launcher" schema="schema/traceviewLauncher.exsd"/> + <extension-point id="toolsLocator" name="%extension-point.name.Tools_Locator" schema="schema/toolsLocator.exsd"/> + <extension-point id="debuggerConnector" name="%extension-point.name.Debugger_Connector" schema="schema/debuggerConnector.exsd"/> + <extension-point id="sourceRevealer" name="%extension-point.name.Source_Revealer" schema="schema/sourceRevealer.exsd"/> + <extension-point id="traceviewLauncher" name="%extension-point.name.TreeView_Laucher" schema="schema/traceviewLauncher.exsd"/> <extension point="org.eclipse.ui.views"> <category - name="Android" + name="%category.name" id="com.android.ide.eclipse.ddms.views.category"> </category> <view @@ -18,7 +18,7 @@ class="com.android.ide.eclipse.ddms.views.DeviceView" icon="icons/device.png" id="com.android.ide.eclipse.ddms.views.DeviceView" - name="Devices"> + name="%view.name.Devices"> </view> <view allowMultiple="false" @@ -26,7 +26,7 @@ class="com.android.ide.eclipse.ddms.views.LogCatView" icon="icons/android.png" id="com.android.ide.eclipse.ddms.views.LogCatView" - name="LogCat"/> + name="%view.name.LogCat"/> <!-- Disabled for now due to AWT/SWT bridge issue on Leopard. <view allowMultiple="false" @@ -41,35 +41,35 @@ class="com.android.ide.eclipse.ddms.views.ThreadView" icon="icons/thread.png" id="com.android.ide.eclipse.ddms.views.ThreadView" - name="Threads"/> + name="%view.name.Threads"/> <view allowMultiple="false" category="com.android.ide.eclipse.ddms.views.category" class="com.android.ide.eclipse.ddms.views.HeapView" icon="icons/heap.png" id="com.android.ide.eclipse.ddms.views.HeapView" - name="Heap"/> + name="%view.name.Heap"/> <view allowMultiple="false" category="com.android.ide.eclipse.ddms.views.category" class="com.android.ide.eclipse.ddms.views.FileExplorerView" icon="icons/android.png" id="com.android.ide.eclipse.ddms.views.FileExplorerView" - name="File Explorer"/> + name="%view.name.File_Explorer"/> <view allowMultiple="false" category="com.android.ide.eclipse.ddms.views.category" class="com.android.ide.eclipse.ddms.views.EmulatorControlView" icon="icons/emulator-16.png" id="com.android.ide.eclipse.ddms.views.EmulatorControlView" - name="Emulator Control"/> + name="%view.name.Emulator_Control"/> <view allowMultiple="false" category="com.android.ide.eclipse.ddms.views.category" class="com.android.ide.eclipse.ddms.views.AllocTrackerView" icon="icons/heap.png" id="com.android.ide.eclipse.ddms.views.AllocTrackerView" - name="Allocation Tracker"/> + name="%view.name.Allocation_Tracker"/> </extension> <extension point="org.eclipse.ui.perspectives"> @@ -77,7 +77,7 @@ class="com.android.ide.eclipse.ddms.Perspective" icon="icons/ddms-16.png" id="com.android.ide.eclipse.ddms.Perspective" - name="DDMS"/> + name="%perspective.name.DDMS"/> </extension> <extension point="org.eclipse.core.runtime.preferences"> @@ -104,11 +104,11 @@ category="com.android.ide.eclipse.preferences.main" class="com.android.ide.eclipse.ddms.preferences.PreferencePage" id="com.android.ide.eclipse.ddms.preferences.PreferencePage" - name="DDMS"/> + name="%page.name.DDMS"/> <page category="com.android.ide.eclipse.preferences.main" class="com.android.ide.eclipse.ddms.preferences.LogCatPreferencePage" id="com.android.ide.eclipse.ddms.preferences.LogCatPreferencePage" - name="LogCat"/> + name="%page.name.LogCat"/> </extension> </plugin> |