l10n: Spelling unification

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
master
Valdnet 2022-09-04 14:57:16 +02:00 committed by GitHub
parent 06eb7af5a5
commit 57e47630c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ app.controller('WeatherController', ['$scope', '$interval', '$timeout', '$compil
$scope.cityLoadNeedsAPIKey = false; $scope.cityLoadNeedsAPIKey = false;
} }
else if (r.status == 401) { else if (r.status == 401) {
$scope.cityLoadError = t('weather', 'Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration'); $scope.cityLoadError = t('weather', 'Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional settings of the Administration');
$scope.cityLoadNeedsAPIKey = true; $scope.cityLoadNeedsAPIKey = true;
} }
else { else {
@ -240,7 +240,7 @@ app.controller('WeatherController', ['$scope', '$interval', '$timeout', '$compil
}, },
function (r) { function (r) {
if (r.status == 401) { if (r.status == 401) {
$scope.addCityError = t('weather', 'Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration'); $scope.addCityError = t('weather', 'Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional settings of the Administration');
} }
else if (r.status == 404) { else if (r.status == 404) {
$scope.addCityError = t('weather', 'No city with this name found.'); $scope.addCityError = t('weather', 'No city with this name found.');