blob: a6a76d6726d834012d01ab80a9d1e78d2537f6fa [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
function getStrings(locale) {
return {
'Destination': 'Destination',
destination: function(n) {
return 'Destination ' + n;
},
DirectionsStatus: {
NOT_FOUND: 'Location not found',
ZERO_RESULTS: 'No route to destination',
MAX_WAYPOINTS_EXCEEDED: 'Maximum number of waypoints exceeded',
OVER_QUERY_LIMIT: 'Request rate exceeded',
REQUEST_DENIED: 'Request denied',
UNKNOWN_ERROR: 'Server error'
},
'Origin': 'Origin',
'Travel Planner': 'Travel Planner',
'Unknown error': 'Unknown error'
};
}
getStrings.currentLocale = getStrings();
module.exports = getStrings;