[Blotter-commits] r1122 - pkg/FinancialInstrument/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Aug 5 20:41:47 CEST 2012


Author: gsee
Date: 2012-08-05 20:41:47 +0200 (Sun, 05 Aug 2012)
New Revision: 1122

Modified:
   pkg/FinancialInstrument/R/CompareInstrumentFiles.R
Log:
 make language of messages more consistent.

Modified: pkg/FinancialInstrument/R/CompareInstrumentFiles.R
===================================================================
--- pkg/FinancialInstrument/R/CompareInstrumentFiles.R	2012-08-05 18:37:34 UTC (rev 1121)
+++ pkg/FinancialInstrument/R/CompareInstrumentFiles.R	2012-08-05 18:41:47 UTC (rev 1122)
@@ -54,9 +54,9 @@
     removed.instruments <- names(orig)[!names(orig) %in% names(new)]
     lni <- length(new.instruments)
     if (lni == 1L) { # grammar
-        message(paste("1 new instrument."))
+        message(paste("1 instrument added."))
     } else {
-        message(paste(lni, "new instruments."))
+        message(paste(lni, "instruments added."))
     }
     lri <- length(removed.instruments)
     if (lri == 1L) { #grammar



More information about the Blotter-commits mailing list