OSDN Git Service

[EXTERNALIZATION] This commit externalizes the strings of the DDMS plugin.
authorPablo Leite <wpl020@motorola.com>
Thu, 17 Feb 2011 15:20:36 +0000 (13:20 -0200)
committerPablo Leite <wpl020@motorola.com>
Fri, 27 May 2011 12:23:39 +0000 (09:23 -0300)
commitabba37979ef8647c0f36078dff6c3a774d4ce05f
tree4442760fb4adbeed536b107ebe603c16677621d9
parent3c75fc5a0daa7648642e8adb83d9850fc092c5a2
[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
15 files changed:
eclipse/plugins/com.android.ide.eclipse.ddms/META-INF/MANIFEST.MF
eclipse/plugins/com.android.ide.eclipse.ddms/build.properties
eclipse/plugins/com.android.ide.eclipse.ddms/plugin.properties [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.ddms/plugin.xml
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/DdmsPlugin.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/Perspective.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/Messages.java [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/messages.properties [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/LogCatPreferencePage.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/PreferencePage.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/DeviceView.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/EventLogView.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/FileExplorerView.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/LogCatView.java
eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/TableView.java