locbundlecheck command
Milos Kleint <[email protected]> Mon, 21 Jul 2003 18:01:38 +0800
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
hello, i've introduced a new command to the command-line interface of the cvslibrary. it utilizes the cvs annotate command and should help the localizators of Bundle files, by telling them which Bundle files were added/removed and which keys in the Bundle files were updated/added/removed. the syntax is: locbundlecheck -i <localization> [<other annotate switches>] [files/dirs...] the feature can be accessed from the command-line only now. 1. compile the latest trunk 2. java -cp cvslib.jar org.netbeans.lib.cvsclient.commandLine.CVSCommand locbundlecheck -i zh Bundle.properties Currently the command requires all your bundle files to reside in the same folder and doesn't work properly on multi-line bundle keys.. the command will print something like that: File Bundle.properties Property "OpenIDE-Module-Name" was updated in the original file. Property "LBL_Row" was updated in the original file. Property "LBL_Owner" was updated in the original file. Property "LBL_Column" was updated in the original file. Property "AbstractOpenSupport.LBL_Discard" doesnt exist in localized file. Property "AbstractOpenSupport.TITLE_Save" doesnt exist in localized file. Property "LBL_LastModifiedDate" was updated in the original file. Property "OpenIDE-Module-Display-Category" was updated in the original file. Property "LBL_Attributes" was updated in the original file. Property "LBL_PasteAllAction" was updated in the original file. Property "LBL_Editing" was updated in the original file. Property "AbstractOpenSupport.LBL_Save" doesnt exist in localized file. Property "LBL_ErrorMessage" was updated in the original file. Property "LBL_CreationDate" was updated in the original file. Property "LBL_AttributeNotValid" was updated in the original file. Property "LBL_Values" was updated in the original file. Property "OpenIDE-Module-Short-Description" was updated in the original file. Property "LBL_RemoveTheEntireRow" was updated in the original file. Comments welcome. Milos