From 5c577d36d72b060ee8da6cef72f86d0965b26657 Mon Sep 17 00:00:00 2001 From: "taeyoung2.son" Date: Wed, 16 Nov 2011 10:57:59 +0900 Subject: [PATCH] [Title] Modify About page's information setting properties [Type] Feature [Module] Main [Priority] Major [CQ#] [Redmine#] Work #3210 [Problem] [Cause] [Solution] --- .../META-INF/MANIFEST.MF | 4 +-- .../OSGI-INF/l10n/bundle.properties | 16 +++++++++ com.samsung.slp.common.branding/about.ini | 41 ++++++++++++++-------- com.samsung.slp.common.branding/about.mappings | 9 +++++ com.samsung.slp.common.branding/about.properties | 26 +++++--------- com.samsung.slp.common.branding/build.properties | 7 ++-- .../common_native_wac.product | 2 ++ com.samsung.slp.common.branding/plugin.properties | 8 ----- com.samsung.slp.common.branding/plugin.xml | 37 +++++++++++++++---- com.samsung.slp.common.feature/feature.xml | 2 +- 10 files changed, 101 insertions(+), 51 deletions(-) create mode 100644 com.samsung.slp.common.branding/OSGI-INF/l10n/bundle.properties create mode 100644 com.samsung.slp.common.branding/about.mappings delete mode 100644 com.samsung.slp.common.branding/plugin.properties diff --git a/com.samsung.slp.common.branding/META-INF/MANIFEST.MF b/com.samsung.slp.common.branding/META-INF/MANIFEST.MF index 37cc049..5846e92 100644 --- a/com.samsung.slp.common.branding/META-INF/MANIFEST.MF +++ b/com.samsung.slp.common.branding/META-INF/MANIFEST.MF @@ -1,10 +1,10 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: SLP SDK Branding +Bundle-Name: %Bundle-Name Bundle-SymbolicName: com.samsung.slp.common.branding;singleton:=true Bundle-Version: 1.0.0 Bundle-Activator: com.samsung.slp.common.branding.Activator -Bundle-Vendor: Samsung +Bundle-Vendor: %Bundle-Vendor Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, org.eclipse.ui.intro diff --git a/com.samsung.slp.common.branding/OSGI-INF/l10n/bundle.properties b/com.samsung.slp.common.branding/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..15360a6 --- /dev/null +++ b/com.samsung.slp.common.branding/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,16 @@ +#Properties file for com.samsung.linuxplatform.wac.branding +Bundle-Vendor = Samsung +Bundle-Name = SLP SDK Common + +perspective.name=SLP Applications +product.name=SLP IDE - Samsung Linux Platform IDE +product.provider=Samsung +product.description=\n\ +Samsung Linux Platform SDK\n\ + \n\ + Version: {0}.{1}.{2}\n\ + Build id: {3}\n\ + \n\ + Copyright (c) 2008-2009, Samsung Electronics Co., LTD. All rights reserved.\n\ + \n\ + Visit http://www.samsungmobile.com\n \ No newline at end of file diff --git a/com.samsung.slp.common.branding/about.ini b/com.samsung.slp.common.branding/about.ini index 075a6cc..4349ac6 100644 --- a/com.samsung.slp.common.branding/about.ini +++ b/com.samsung.slp.common.branding/about.ini @@ -1,20 +1,31 @@ -# ########################################################### -# todo : set parameter for About page -# reference site : http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fabout_customization.html -# ########################################################### +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%blurb + +# Property "aboutImage" contains path to product image (500x330 or 115x164) +# needed for primary features only aboutImage=%product.aboutImage -aboutText=\n\ -Samsung Linux Platform SDK\n\ -\n\ -Version: #.ir#.build#\n\ -\n\ -Copyright (c) 2008-2009, Samsung Electronics Co., LTD. All rights reserved.\n\ -\n\ -Visit http://www.samsungmobile.com\n + +# Property "windowImage" contains path to window icon (16x16) +# needed for primary features only #windowImage=%product.windowImages -featureImage=%product.featureImage -welcomePage= -welcomePerspective= + +# Property "featureImage" contains path to feature image (32x32) +featureImage=icons/branding/32_SLP_SDK_icon.png + +# Property "welcomePerspective" contains the id of the perspective in which the +# welcome page is to be opened. +# optional +#welcomePage= +#welcomePerspective= + +# Property "appName" contains name of the application (translated) +# needed for primary features only appName=%product.name + tipsAndTricksHref=http://www.samsungmobile.com \ No newline at end of file diff --git a/com.samsung.slp.common.branding/about.mappings b/com.samsung.slp.common.branding/about.mappings new file mode 100644 index 0000000..b2071dd --- /dev/null +++ b/com.samsung.slp.common.branding/about.mappings @@ -0,0 +1,9 @@ +# about.mappings +# contains fill-ins for about.properties +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file does not need to be translated. + +0=1 +1=ir# +2=build# +3=20111114 \ No newline at end of file diff --git a/com.samsung.slp.common.branding/about.properties b/com.samsung.slp.common.branding/about.properties index efb6bba..ec96f0e 100644 --- a/com.samsung.slp.common.branding/about.properties +++ b/com.samsung.slp.common.branding/about.properties @@ -4,15 +4,16 @@ # fill-ins are supplied by about.mappings # This file should be translated. -perspective.name=SLP Applications -product.name=SLP SDK -product.provider=Samsung Electronics -product.description=\n\ -Samsung Linux Platform SDK\n\ +#perspective.name=SLP Applications +#product.name=SLP IDE - Samsung Linux Platform IDE +#product.provider=Samsung Electronics + +blurb=Samsung Linux Platform SDK\n\ \n\ -Version: #.ir#.build#\n\ +Version: {0}.{1}.{2}\n\ +Build id: {3}\n\ \n\ -Copyright (c) 2008-2009, Samsung Electronics Co., LTD. All rights reserved.\n\ +Copyright (c) 2010-2011, Samsung Electronics Co., LTD. All rights reserved.\n\ \n\ Visit http://www.samsungmobile.com\n product.windowImages=icons/branding/16_SLP_SDK_icon.png,icons/branding/32_SLP_SDK_icon.png,icons/branding/48_SLP_SDK_icon.png,icons/branding/64_SLP_SDK_icon.png,icons/branding/128_SLP_SDK_icon.png,product.windowImages256=icons/branding/256_SLP_SDK_icon.png @@ -22,13 +23,4 @@ productIntroTitle = Welcome to Samsung Linux Platform SDK productIntroBrandingText = Samsung Electronics. introDescription-overview = The Eclipse Platform is a kind of universal tool platform - an open extensible IDE for anything and nothing in particular. introDescription-tutorials = Learn how to be productive using Eclipse by completing end-to-end tutorials that will guide you along the way. -introDescription-samples = Explore Eclipse by installing prefabricated samples (may require Internet connection). - -# SLP Presentation -SLPPresentation.themelabel = SLP Presentation -SLPPresentation.themedescription = Colors and fonts used by SLP -SLPPresentation.editorlabel = Editor -SLPPresentation.editordescription = This font is used by SLP's editors -SLPPresentation.fontlabel = SLP Font -SLPPresentation.fontdescription = This font is used by SLP - +introDescription-samples = Explore Eclipse by installing prefabricated samples (may require Internet connection). \ No newline at end of file diff --git a/com.samsung.slp.common.branding/build.properties b/com.samsung.slp.common.branding/build.properties index e45ae51..7e7e641 100644 --- a/com.samsung.slp.common.branding/build.properties +++ b/com.samsung.slp.common.branding/build.properties @@ -6,6 +6,9 @@ bin.includes = META-INF/,\ plugin.xml,\ plugin_customization.ini,\ plugin.properties,\ - about.properties,\ - about.ini + OSGI-INF/,\ + about.html,\ + about.ini,\ + about.mappings,\ + about.properties source.. = src/ diff --git a/com.samsung.slp.common.branding/common_native_wac.product b/com.samsung.slp.common.branding/common_native_wac.product index 82444eb..51a35f3 100644 --- a/com.samsung.slp.common.branding/common_native_wac.product +++ b/com.samsung.slp.common.branding/common_native_wac.product @@ -142,6 +142,8 @@ All brand names and product names mentioned in this document are trademarks or r + + diff --git a/com.samsung.slp.common.branding/plugin.properties b/com.samsung.slp.common.branding/plugin.properties deleted file mode 100644 index a23c622..0000000 --- a/com.samsung.slp.common.branding/plugin.properties +++ /dev/null @@ -1,8 +0,0 @@ -product.description=\n\ -Samsung Linux Platform SDK\n\ -\n\ -Version: #.ir#.build#\n\ -\n\ -Copyright (c) 2008-2009, Samsung Electronics Co., LTD. All rights reserved.\n\ -\n\ -Visit http://www.samsungmobile.com\n diff --git a/com.samsung.slp.common.branding/plugin.xml b/com.samsung.slp.common.branding/plugin.xml index ee36625..4e7eb73 100644 --- a/com.samsung.slp.common.branding/plugin.xml +++ b/com.samsung.slp.common.branding/plugin.xml @@ -33,6 +33,7 @@ point="org.eclipse.core.runtime.products"> + + + + + + + + + name="introBrandingImageText" + value="%productIntroBrandingText"> + name="introDescription-overview" + value="%introDescription-overview"> + name="introDescription-tutorials" + value="%introDescription-tutorials"> + + + + diff --git a/com.samsung.slp.common.feature/feature.xml b/com.samsung.slp.common.feature/feature.xml index 0ba39f2..a1bb4fe 100644 --- a/com.samsung.slp.common.feature/feature.xml +++ b/com.samsung.slp.common.feature/feature.xml @@ -4,7 +4,7 @@ label="SLP Common Tools" version="1.3.20" provider-name="Samsung" - plugin="com.samsung.slp.common"> + plugin="com.samsung.slp.common.branding"> Common library for Samsung Linux Platform SDK. -- 2.7.4