diff --git a/www/plugins/es/i18n/locale-en-GB.json b/www/plugins/es/i18n/locale-en-GB.json index 8ebf90a94106b8f54a87cfde46dd3ec5b496fa91..8a8715bab7a0482e0b155a39533feb119b4281f6 100644 --- a/www/plugins/es/i18n/locale-en-GB.json +++ b/www/plugins/es/i18n/locale-en-GB.json @@ -355,6 +355,7 @@ "DISTANCE_UNIT": "mi", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "SEARCH_HELP": "City, Country", + "PROFILE_POSITION": "Profile position", "MODAL": { "TITLE": "Search address", "SEARCH_HELP": "City, Country", diff --git a/www/plugins/es/i18n/locale-en.json b/www/plugins/es/i18n/locale-en.json index 8ebf90a94106b8f54a87cfde46dd3ec5b496fa91..8a8715bab7a0482e0b155a39533feb119b4281f6 100644 --- a/www/plugins/es/i18n/locale-en.json +++ b/www/plugins/es/i18n/locale-en.json @@ -355,6 +355,7 @@ "DISTANCE_UNIT": "mi", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "SEARCH_HELP": "City, Country", + "PROFILE_POSITION": "Profile position", "MODAL": { "TITLE": "Search address", "SEARCH_HELP": "City, Country", diff --git a/www/plugins/es/i18n/locale-es-ES.json b/www/plugins/es/i18n/locale-es-ES.json index 58d8b4f9f3baa24384bda8e865312ba4f1f609cc..49be7a99468121da776c1951e2ad340bcea5f13f 100644 --- a/www/plugins/es/i18n/locale-es-ES.json +++ b/www/plugins/es/i18n/locale-es-ES.json @@ -402,6 +402,7 @@ "DISTANCE_UNIT": "km", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "SEARCH_HELP": "Ciudad, PaÃs", + "PROFILE_POSITION": "Posición del perfil", "MODAL": { "TITLE": "Búsqueda de dirección", "SEARCH_HELP": "Ciudad, PaÃs", diff --git a/www/plugins/es/i18n/locale-fr-FR.json b/www/plugins/es/i18n/locale-fr-FR.json index 5e2ed5fd00fb6116b03967743f78e865377aeabb..40af49121e89f5b902bf7d60c30a601195ee72e8 100644 --- a/www/plugins/es/i18n/locale-fr-FR.json +++ b/www/plugins/es/i18n/locale-fr-FR.json @@ -406,6 +406,7 @@ "DISTANCE_UNIT": "km", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "SEARCH_HELP": "Code postal, Ville", + "PROFILE_POSITION": "Position du profil", "MODAL": { "TITLE": "Recherche de l'adresse", "SEARCH_HELP": "Ville, Code postal, Pays", diff --git a/www/plugins/es/js/controllers/registry-controllers.js b/www/plugins/es/js/controllers/registry-controllers.js index cd790cd43e9bf86d97fe87cf4e16cb79f97d92ff..b8e51d28ada0319bb1171a7c4c267b3fbb55add0 100644 --- a/www/plugins/es/js/controllers/registry-controllers.js +++ b/www/plugins/es/js/controllers/registry-controllers.js @@ -225,7 +225,7 @@ function ESRegistryLookupController($scope, $focus, $timeout, $filter, $controll }); } $scope.search.geoPoint = csWallet.data.profile.geoPoint; - $scope.search.location = csWallet.data.profile.city||(csWallet.data.profile.geoPoint ? 'profile position' : undefined); + $scope.search.location = csWallet.data.profile.city||(csWallet.data.profile.geoPoint ? $translate.instant('LOCATION.PROFILE_POSITION') : undefined); } }