Don't use double quotes for things that don't need to be translated

This is our convention.

The only exceptions are double quotes for words in comments that give
them a special meaning (though beware that these quotes are not truly
necessary most of the time) and double quotes that need to be a part
of the output string.
This commit is contained in:
Marina Zhurakhinskaya
2010-05-13 15:46:04 -04:00
parent c7ec84eb33
commit 703b21cef0
28 changed files with 248 additions and 248 deletions

View File

@ -40,7 +40,7 @@ SearchResultDisplay.prototype = {
* The terms are useful for search match highlighting.
*/
renderResults: function(results, terms) {
throw new Error("not implemented");
throw new Error('Not implemented');
},
/**
@ -67,7 +67,7 @@ SearchResultDisplay.prototype = {
* Returns: The number of actors visible.
*/
getVisibleResultCount: function() {
throw new Error("not implemented");
throw new Error('Not implemented');
},
/**
@ -79,14 +79,14 @@ SearchResultDisplay.prototype = {
* available.
*/
selectIndex: function() {
throw new Error("not implemented");
throw new Error('Not implemented');
},
/**
* Activate the currently selected search result.
*/
activateSelected: function() {
throw new Error("not implemented");
throw new Error('Not implemented');
}
};
@ -127,7 +127,7 @@ SearchProvider.prototype = {
* or network queries.
*/
getInitialResultSet: function(terms) {
throw new Error("not implemented");
throw new Error('Not implemented');
},
/**
@ -144,7 +144,7 @@ SearchProvider.prototype = {
* result set, rather than possibly performing a full re-query.
*/
getSubsearchResultSet: function(previousResults, newTerms) {
throw new Error("not implemented");
throw new Error('Not implemented');
},
/**
@ -155,7 +155,7 @@ SearchProvider.prototype = {
* properties which describe the given search result.
*/
getResultMeta: function(id) {
throw new Error("not implemented");
throw new Error('Not implemented');
},
/**
@ -194,7 +194,7 @@ SearchProvider.prototype = {
* Called when the user chooses a given result.
*/
activateResult: function(id) {
throw new Error("not implemented");
throw new Error('Not implemented');
},
/**
@ -205,7 +205,7 @@ SearchProvider.prototype = {
* displaying search results for that item type.
*/
expandSearch: function(terms) {
throw new Error("not implemented");
throw new Error('Not implemented');
}
};
Signals.addSignalMethods(SearchProvider.prototype);
@ -238,7 +238,7 @@ SearchSystem.prototype = {
},
updateSearch: function(searchString) {
searchString = searchString.replace(/^\s+/g, "").replace(/\s+$/g, "");
searchString = searchString.replace(/^\s+/g, '').replace(/\s+$/g, '');
if (searchString == '')
return null;