Permalink
Browse files

Fixes #1525

  • Loading branch information...
matt
matt committed Jul 30, 2010
1 parent 35ac2bd commit ac783a695c3f28fde93efbafed90f230a2cf3fb3
Showing with 2 additions and 2 deletions.
  1. +1 −1 core/API/Proxy.php
  2. +1 −1 lang/en.php
View
@@ -219,7 +219,7 @@ private function getRequestParametersArray( $requiredParameters, $parametersRequ
}
}
} catch(Exception $e) {
- throw new Exception(Piwik_TranslateException('General_ExceptionVariableNotFound', array($name)));
+ throw new Exception(Piwik_TranslateException('General_PleaseSpecifyValue', array($name)));
}
$finalParameters[] = $requestValue;
}
View
@@ -175,7 +175,7 @@
'General_ExceptionFilesizeMismatch' => 'File size mismatch: %1$s (expected length: %2$s, found: %3$s)',
'General_ExceptionFileIntegrity' => 'Integrity check failed: %s',
'General_ExceptionNonceMismatch' => 'Could not verify the security token on this form.',
- 'General_ExceptionVariableNotFound' => 'The required variable \'%s\' is not correct or has not been found in the API Request.',
+ 'General_PleaseSpecifyValue' => 'Please specify a value for \'%s\'.',
'General_ExceptionMethodNotFound' => 'The method \'%s\' does not exist or is not available in the module \'%s\'.',
'General_ExceptionSubtableNotFoundInArchive' => 'You are requesting a precise subTable but there is not such data in the Archive.',
'General_ExceptionInvalidRendererFormat' => 'Renderer format \'%s\' not valid. Try any of the following instead: %s.',

0 comments on commit ac783a6

Please sign in to comment.