Bug 60940

Summary: (Plat) Remove unused .properties strings
Product: z_Archived Reporter: Curtis d'Entremont <curtispd>
Component: HyadesAssignee: Terry Fountoulakis <tfoun>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P2 Keywords: PII
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
unused strings in hyades none

Description Curtis d'Entremont CLA 2004-05-04 13:49:54 EDT
I have a feeling that there are many strings in our .properties files 
(especially trace.ui) that are no longer used. Since this creates a burden on 
the translations, we should eventually clean these out.
Comment 1 Java Zhao CLA 2005-01-26 14:13:45 EST
Created attachment 17485 [details]
unused strings in hyades

unused strings in hyades
Comment 2 Curtis d'Entremont CLA 2005-02-03 19:55:23 EST
I don't think it makes sense to do this for both 3.3 and 4.0 because the 
plugin structures have changed in 4.0, and the attached patches are no longer 
useful.. and it then becomes a manual step (a rather long one at that). I will 
run my scripts on the 4.0 stream after the plugin structure is finalized and 
we have a stable i1 driver, and then regen the list of unused strings for 4.0. 

It would probably be easier to write a small script/program to go through all 
the properties file, rather than doing this manually.
Comment 3 Valentina Popescu CLA 2005-02-04 09:59:45 EST
Agree
Did you applied this patch on the 3.3 strea ?
Comment 4 Eugene Chan CLA 2005-02-04 10:00:47 EST
not yet.
Comment 5 Valentina Popescu CLA 2005-02-04 10:55:34 EST
Please create a script to run against all plugin.properties files and identify 
all strings not used in java or plugin.xml files
Comment 6 Eugene Chan CLA 2005-04-20 16:28:13 EDT
This is PII impact, and need to be finalized on the properties file before per
PII drop. 
First drop of PII is April 22.
Comment 7 Curtis d'Entremont CLA 2005-04-20 17:14:31 EDT
Does it actually affect translation ? We'll only be removing strings that 
aren't used.. I think it's ok if only the english files have these removed, 
they will get picked up by translation next time around. Unless I'm missing 
something..
Comment 8 Eugene Chan CLA 2005-04-20 17:16:44 EDT
I am trying to make sure we drop the actual file, and not burden the TVT cost on
unused string.
Comment 9 Curtis d'Entremont CLA 2005-04-20 17:19:29 EDT
Ah I get it. Makes sense.
Comment 10 Eugene Chan CLA 2005-04-22 11:08:08 EDT
unused string of plugin.properties in following plugins are removed:
org.eclipse.hyades.log.ui
org.eclipse.hyades.logging.parsers
org.eclipse.hyades.perfmon
org.eclipse.hyades.sd.logc
org.eclipse.hyades.sdb
org.eclipse.hyades.security
org.eclipse.hyades.statistical.ui
org.eclipse.hyades.trace.ui
org.eclipse.hyades.trace.views
org.eclipse.hyades.ui.sample
org.eclipse.hyades.ui
Comment 11 Curtis d'Entremont CLA 2005-04-25 16:29:42 EDT
Verified. Closing bug.