[Title] Removed hard-coding strings in plugin.xml
authordonghyuk.yang <donghyuk.yang@samsung.com>
Thu, 31 Jan 2013 06:44:32 +0000 (15:44 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Thu, 31 Jan 2013 06:44:32 +0000 (15:44 +0900)
org.tizen.nativeplatform/OSGI-INF/l10n/bundle.properties
org.tizen.nativeplatform/plugin.xml

index 3eacc6b..058dfe4 100644 (file)
@@ -1,11 +1,54 @@
 Bundle-Vendor = Samsung Electronics
 
-org.tizen.nativeplatform.gitconfig.label=Site Configuration
-org.tizen.nativeplatform.proxyconfig.label=HTTP Proxy
-org.tizen.nativeplatform.password.label=Password
-org.tizen.nativeplatform.page.name=Platform
-
-view.rootstrap = Rootstrap View
+# Preferences
+Gitconfig.label=Site Configuration
+Platform.page.name=Platform
 
 ## New CDT project model - property pages names
-CDTBuildProperty.name=Settings
\ No newline at end of file
+CDTBuildProperty.name=Settings
+
+## Tizen build settings
+GBSoption.settings=GBS Options
+
+## Rootstrap view
+view.rootstrap=Rootstrap View
+Rootstrap.select=Select
+Rootstrap.export=Export
+Rootstrap.remove=Remove
+Rootstrap.manage.pkgs=Manage Packages
+
+## Context menu
+Buildpackage.label=Build Package
+
+## Launch shorcut
+Platformlaunch.run=Tizen Platform Project
+Platformlaunch.run.desc=Runs a Tizen Platform Project
+Platformlaunch.debug.desc=Debugs a Tizen Platform Project
+Platformlaunch.debug.attach=Tizen Platform Project - Attach
+Platformlaunch.debug.attach.desc=Attach Debugs a Tizen Platform Project
+
+## Launch configuration tabs
+Platformlaunch.conf.tab=Tizen Platform Project Main Tab
+
+## Wizard
+Platform.proj.name=Tizen Platform Project
+
+## Build configurations
+Platform.buildconf.emulator=Tizen-Emulator
+Platform.buildconf.device=Tizen-Device
+
+## Project converter
+Platform.proj.converter=Upgrade Tizen Platform Project, GCC-4.5
+
+## Project toolchain
+Platform.proj.toolchain=Tizen Platform Toolchain
+
+## Project builder
+Platform.proj.builder=Tizen Platform Builder
+
+## Project debug
+Platform.debug.command.factory=Tizen Platform Command Set
+
+## Build tools
+Compiler.gbs.option=Tizen Platform GBS Options
+
index a4b91e3..ba12547 100644 (file)
@@ -19,7 +19,7 @@
             debuggerID="org.tizen.nativecommon.launch.TizenDebugger"
             id="org.tizen.nativeplatform.launch.PlatformCommandFactory"
             miVersions="mi,mi1,mi2"
-            name="Tizen Platform Command Set"
+            name="%Platform.debug.command.factory"
             platforms="*"/>
        </extension>
     
@@ -94,7 +94,7 @@
             configurationEnvironmentSupplier="org.tizen.nativeplatform.build.PlatformConfigurationEnvVarSupplier"
             id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base"
             isAbstract="false"
-            name="Tizen Platform Toolchain"
+            name="%Platform.proj.toolchain"
             osList="linux"
             superClass="org.tizen.nativeide.toolchain.sbi.gnu.base">
             <builder
                 commandLauncher="org.tizen.nativeplatform.build.PlatformBuildCommandLauncher"
                 id="org.tizen.nativeide.target.sbi.gcc45.platform.builder"
                 incrementalBuildTarget="build"
-                name="Tizen Platform Builder">
+                name="%Platform.proj.builder">
             </builder>
                <tool
                id="org.tizen.nativeide.tool.sbi.gnu.archiver.platform.base"                    
                        superClass="org.tizen.nativeide.tool.sbi.gnu.cpp.compiler.base">
                                <option
                                        id="sbi.gnu.cpp.compiler.option.gbs.platform"
-                                       name="Tizen Platform GBS Options"
+                                       name="%Compiler.gbs.option"
                                        valueType="stringList">
                                </option>
                        <enablement
                 cleanCommand="rm -f"
                 errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
                 id="org.tizen.nativeide.config.sbi.gcc45.platform.emulator"
-                name="Tizen-Emulator">
+                name="%Platform.buildconf.emulator">
                 <toolChain
                     id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.emulator"
                     superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
                 cleanCommand="rm -f"
                 errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
                 id="org.tizen.nativeide.config.sbi.gcc45.platform.device"
-                name="Tizen-Device">
+                name="%Platform.buildconf.device">
                 <toolChain
                     id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.device"
                     superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
           point="org.eclipse.cdt.managedbuilder.core.buildProperties">
        <propertyValue
              id="org.tizen.nativeide.buildArtefactType.platform"
-             name="Tizen Platform Project"
+             name="%Platform.proj.name"
              property="org.eclipse.cdt.build.core.buildArtefactType">
        </propertyValue>
     </extension>    
             fromId="com.samsung.slp.nativebuild.target.sbi.gcc45sbox2.cdeb"
             id="org.tizen.nativeapp.converter.platform"
             mbsVersion="4.0.0"
-            name="Upgrade Tizen Platform Project, GCC-4.5"
+            name="%Platform.proj.converter"
             toId="org.tizen.nativebuild.target.sbi.gcc45.platform">
         </converter>
     </extension>
             finalPerspective="org.tizen.nativeplatform.perspective"
             icon="icons/newc_app.gif"
             id="org.tizen.nativeapp.newCategory.customWizard"
-            name="Tizen Platform Project"
+            name="%Platform.proj.name"
             preferredPerspectives="org.tizen.nativeplatform.perspective"
             project="true">
         </wizard>
         <launchConfigurationType
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationType"
-            name="Tizen Platform Project"
+            name="%Platformlaunch.run"
             public="true"/>
 
         <launchConfigurationType
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForAttach"
-            name="Tizen Platform Project - Attach"
+            name="%Platformlaunch.debug.attach"
             public="true"/>
                <!--
         <launchConfigurationType
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"
             modes="run,debug"
-            name="Tizen Platform Project"
+            name="%Platformlaunch.run"
             delegateDescription="The Tizen Platform Project Launcher supports running Tizen application on device"
             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
             sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
             delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"
             modes="debug"
-            name="Tizen Platform Project - Attach"
+            name="%Platformlaunch.debug.attach"
             delegateDescription="The Tizen Platform Project Launcher supports attach debugging Tizen process on device"
             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
             sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
         <tab
             id="org.tizen.nativeplatform.launch.ui.TizenDebianMainTab"
             group="org.tizen.nativeplatform.launch.ui.TizenDebianLaunchConfigurationTabGroup"
-            name="Tizen Platform Project Main Tab"
+            name="%Platformlaunch.conf.tab"
             class="org.tizen.nativeplatform.launch.ui.TizenDebianMainTab">
             <associatedDelegate delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegate"/>
         </tab>
         <tab
             id="org.tizen.nativeplatform.launch.ui.TizenDebianMainAttachTab"
             group="org.tizen.nativeplatform.launch.ui.TizenDebianLaunchConfigurationForAttachTabGroup"
-            name="Tizen Platform Project Main Tab"
+            name="%Platformlaunch.conf.tab"
             class="org.tizen.nativeplatform.launch.ui.TizenDebianMainAttachTab">
             <associatedDelegate delegate="org.tizen.nativeplatform.launch.TizenDebianLaunchDelegateForAttach"/>
         </tab>
     <extension
         point="org.eclipse.debug.ui.launchShortcuts">
         <shortcut
-            label="Tizen Platform Project"
+            label="%Platformlaunch.run"
             icon="icons/Tizen_Custom_Debian_ConfigurationType_Image.gif"
             modes="run,debug"
             class="org.tizen.nativeplatform.launch.ui.shortcut.TizenDebianProjectLaunchShortcut"
         </contextualLaunch>
         <description
             mode="run"
-            description="Runs a Tizen Platform Project"/>
+            description="%Platformlaunch.run.desc"/>
         <description
             mode="debug"
-            description="Debugs a Tizen Platform Project"/>
+            description="%Platformlaunch.debug.desc"/>
         <configurationType
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationType">
         </configurationType>
         </shortcut>
 
         <shortcut
-            label="Tizen Platform Project - Attach"
+            label="%Platformlaunch.debug.attach"
             icon="icons/Tizen_Custom_Debian_ConfigurationType_Image_Attach.gif"
             modes="debug"
             class="org.tizen.nativeplatform.launch.ui.shortcut.TizenDebianProjectAttachLaunchShortcut"
         </contextualLaunch>
         <description
             mode="debug"
-            description="Attach Debugs a Tizen Platform Project"/>
+            description="%Platformlaunch.debug.attach.desc"/>
         <configurationType
             id="org.tizen.nativeplatform.launch.TizenDebianLaunchConfigurationTypeForAttach">
         </configurationType>
                   class="org.tizen.nativeplatform.build.PlatformBuildPackageObjectAction"
                   enablesFor="+"
                   id="org.tizen.nativeplatform.buildPackage.deb"
-                  label="Build Package"
+                  label="%Buildpackage.label"
                   menubarPath="buildGroup">
             </action>
             <enablement>
                        category="org.tizen.common.preferences.tizencommon"
                        class="org.tizen.nativeplatform.preferences.ui.PlatformPreferencePage"
                        id="org.tizen.nativeplatform.preferences"
-                       name="%org.tizen.nativeplatform.page.name">
+                       name="%Platform.page.name">
                </page>
        </extension>
       
                        category="org.tizen.nativeplatform.preferences"
                        class="org.tizen.nativeplatform.preferences.ui.SiteConfigurationPreferencePage"
                        id="org.tizen.nativeplatform.gitconfig"
-                       name="%org.tizen.nativeplatform.gitconfig.label">
+                       name="%Gitconfig.label">
                </page>
        </extension>
        
          point="org.eclipse.ui.contexts">
       <context
             id="org.tizen.common.rootstrap.setdefault.context"
-            name="Select"
+            name="%Rootstrap.select"
             parentId="org.eclipse.ui.contexts.window">
       </context>    
       <context
             id="org.tizen.common.rootstrap.lauchpkgmgr.context"
-            name="Manage packages"
+            name="%Rootstrap.manage.pkgs"
             parentId="org.eclipse.ui.contexts.window">
       </context>
             <context
             id="org.tizen.common.rootstrap.remove.context"
-            name="Remove"
+            name="%Rootstrap.remove"
             parentId="org.eclipse.ui.contexts.window">
       </context>            
       <context
             id="org.tizen.common.rootstrap.export.context"
-            name="Export"
+            name="%Rootstrap.export"
             parentId="org.eclipse.ui.contexts.window">
       </context>
        </extension>
                point="org.eclipse.cdt.ui.cPropertyTab">
                <tab
                        class="org.tizen.nativeplatform.build.ui.GBSBuildConfigurationTab"
-                       name="GBS Options"
+                       name="%GBSoption.settings"
                        parent="org.tizen.nativecommon.build.ui.TizenSettingsPage"
                        weight="20">
                </tab>