Permalink
Browse files

asynctypes-685526: Change key names for l10n

Localizers need changed key names so they know to re-translate. We
changed some values without changing the keys names, so this patch
just updates the key names.

Signed-off-by: Joe Walker <jwalker@mozilla.com>
  • Loading branch information...
1 parent dc57e83 commit 0fc25e6c02a6bd5ea7c754c70720dd57ff5ffa46 @joewalker joewalker committed Feb 28, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/gcli/nls/strings.js
  2. +1 −1 lib/gcli/types/basic.js
View
@@ -83,7 +83,7 @@ var i18n = {
// When the command line is passed a number, but the number has a decimal
// part and floats are not allowed.
- typesNumberNotInt: 'Can\'t convert "%S" to an integer.',
+ typesNumberNotInt2: 'Can\'t convert "%S" to an integer.',
// When the command line is passed an option with a limited number of
// correct values, but the passed value is not one of them, this error
View
@@ -144,7 +144,7 @@ NumberType.prototype.parse = function(arg) {
}
if (!this._allowFloat && (arg.text.indexOf('.') !== -1)) {
- var message = l10n.lookupFormat('typesNumberNotInt', [ arg.text ]);
+ var message = l10n.lookupFormat('typesNumberNotInt2', [ arg.text ]);
return Promise.resolve(new Conversion(undefined, arg, Status.ERROR, message));
}

0 comments on commit 0fc25e6

Please sign in to comment.