This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 100294

Summary: I18N - %s used in bundle file instead of {0}
Product: java Reporter: Ken Frank <kfrank>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: VERIFIED FIXED    
Severity: blocker Keywords: I18N
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ken Frank 2007-04-07 17:29:55 UTC
in org-netbeans-modules-java-source is  a bundle file that uses %s as arguments
instead of java way {0}

MSG_Scannig=Scanning %s
MSG_BackgroundCompile=Compiling %s
MSG_Analyzing=Indexing %s
Comment 1 Jan Lahoda 2007-07-24 09:21:35 UTC
Hm, the strings are used in java.lang.String.format(). Is it really necessary to change this?
Comment 2 Ken Frank 2007-07-24 15:51:06 UTC
I think its just to be clear to translators who are used to the {} notation.
but some comment line near those msgs could be ok.

ken.frank@sun.com
Comment 3 Tomas Zezula 2007-07-24 16:26:32 UTC
Checking in org/netbeans/modules/java/source/usages/BinaryAnalyser.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/BinaryAnalyser.java,v  <--  BinaryAnalyser.java
new revision: 1.15; previous revision: 1.14
done
Checking in org/netbeans/modules/java/source/usages/Bundle.properties;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/Bundle.properties,v  <--  Bundle.properties
new revision: 1.4; previous revision: 1.3
done
Checking in org/netbeans/modules/java/source/usages/RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v  <--  RepositoryUpdater.java
new revision: 1.69; previous revision: 1.68
done
Comment 4 Ken Frank 2007-09-28 21:38:39 UTC
v