Skip to content
Snippets Groups Projects
Commit 0b99d7df authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Fix missing i18N on profile position

parent ea8df827
No related branches found
No related tags found
No related merge requests found
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"DISTANCE_UNIT": "mi", "DISTANCE_UNIT": "mi",
"DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}",
"SEARCH_HELP": "City, Country", "SEARCH_HELP": "City, Country",
"PROFILE_POSITION": "Profile position",
"MODAL": { "MODAL": {
"TITLE": "Search address", "TITLE": "Search address",
"SEARCH_HELP": "City, Country", "SEARCH_HELP": "City, Country",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"DISTANCE_UNIT": "mi", "DISTANCE_UNIT": "mi",
"DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}",
"SEARCH_HELP": "City, Country", "SEARCH_HELP": "City, Country",
"PROFILE_POSITION": "Profile position",
"MODAL": { "MODAL": {
"TITLE": "Search address", "TITLE": "Search address",
"SEARCH_HELP": "City, Country", "SEARCH_HELP": "City, Country",
......
...@@ -402,6 +402,7 @@ ...@@ -402,6 +402,7 @@
"DISTANCE_UNIT": "km", "DISTANCE_UNIT": "km",
"DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}",
"SEARCH_HELP": "Ciudad, País", "SEARCH_HELP": "Ciudad, País",
"PROFILE_POSITION": "Posición del perfil",
"MODAL": { "MODAL": {
"TITLE": "Búsqueda de dirección", "TITLE": "Búsqueda de dirección",
"SEARCH_HELP": "Ciudad, País", "SEARCH_HELP": "Ciudad, País",
......
...@@ -406,6 +406,7 @@ ...@@ -406,6 +406,7 @@
"DISTANCE_UNIT": "km", "DISTANCE_UNIT": "km",
"DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}", "DISTANCE_OPTION": "{{value}} {{'LOCATION.DISTANCE_UNIT'|translate}}",
"SEARCH_HELP": "Code postal, Ville", "SEARCH_HELP": "Code postal, Ville",
"PROFILE_POSITION": "Position du profil",
"MODAL": { "MODAL": {
"TITLE": "Recherche de l'adresse", "TITLE": "Recherche de l'adresse",
"SEARCH_HELP": "Ville, Code postal, Pays", "SEARCH_HELP": "Ville, Code postal, Pays",
......
...@@ -225,7 +225,7 @@ function ESRegistryLookupController($scope, $focus, $timeout, $filter, $controll ...@@ -225,7 +225,7 @@ function ESRegistryLookupController($scope, $focus, $timeout, $filter, $controll
}); });
} }
$scope.search.geoPoint = csWallet.data.profile.geoPoint; $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);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment