svn commit: r17291 - trunk/src/argouml-app/src/org/argouml/i18n/Translator.java
Linus Tolke <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: linus
Date: 2009-08-23 14:10:57-0700
New Revision: 17291
Modified:
trunk/src/argouml-app/src/org/argouml/i18n/Translator.java
Log:
Updated the Copyright year.
Fixed some spelling errors in the comments.
Modified: trunk/src/argouml-app/src/org/argouml/i18n/Translator.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/i18n/Translator.java?view=diff&pathrev=17291&r1=17290&r2=17291
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/i18n/Translator.java (original)
+++ trunk/src/argouml-app/src/org/argouml/i18n/Translator.java 2009-08-23 14:10:57-0700
@@ -1,5 +1,5 @@
// $Id$
-// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Copyright (c) 1996-2009 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, provided that the above copyright notice
@@ -42,6 +42,7 @@
* this class.
*
* @author Jean-Hugues de Raigniac
+ * @author Linus Tolke
*/
public final class Translator {
/**
@@ -66,7 +67,7 @@
new ArrayList<ClassLoader>();
/**
- * Used to make this class self-initialising when needed.
+ * Used to make this class self-initializing when needed.
*/
private static boolean initialized;
@@ -99,7 +100,7 @@
/**
- * Initialise the locale.
+ * Initialize the locale.
*
* @param locale a string with the locale
*/
@@ -230,7 +231,7 @@
* Add another class loader that the resource bundle could be located
* through.
*
- * @param cl The classloader to add.
+ * @param cl The ClassLoader to add.
*/
public static void addClassLoader(ClassLoader cl) {
classLoaders.add(cl);
@@ -296,7 +297,7 @@
/**
* Synonym for messageFormat to encourage developers to convert
- * existing uses of localize() + string concatentation to use
+ * existing uses of localize() + string concatenation to use
* this method instead.
* @see org.argouml.i18n.Translator#messageFormat(String, Object[])
*
@@ -354,7 +355,7 @@
* {@link MessageFormat}.
*
* @param key the key to localize
- * @param args the args as Objects, inserted in the localized String
+ * @param args the arguments as Objects, inserted in the localized String
* @return the localized String with inserted arguments
*/
public static String messageFormat(String key, Object[] args) {
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2386578
To unsubscribe from this discussion, e-mail: [[email protected]].