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 - I18N - %s used in bundle file instead of {0}
Summary: I18N - %s used in bundle file instead of {0}
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-04-07 17:29 UTC by Ken Frank
Modified: 2007-09-28 21:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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