Skip to content

Commit

Permalink
[enh] Separate i18n used by location controller+templates
Browse files Browse the repository at this point in the history
  • Loading branch information
blavenie committed Nov 4, 2017
1 parent 9c40d1c commit e1234ef
Show file tree
Hide file tree
Showing 8 changed files with 233 additions and 238 deletions.
74 changes: 36 additions & 38 deletions www/plugins/es/i18n/locale-en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
"NO_RESULT": "No notification",
"SHOW_ALL": "Show all",
"LOAD_NOTIFICATIONS_FAILED": "Could not load notifications"
},
"GEO": {
"DISTANCE": "Maximum distance around the city",
"DISTANCE_OPTION": "{{value}} km"
},
"ERROR": {
"REQUIRED_FOR_LOCATION": "Required field to appear on the map",
"INVALID_FOR_LOCATION": "Unknown address"
}
},
"MENU": {
Expand Down Expand Up @@ -121,7 +113,11 @@
"REPLY_TO_LINK": "In response to ",
"REPLY_TO_DELETED_COMMENT": "In response to a deleted comment",
"REPLY_COUNT": "{{replyCount}} responses",
"DELETED_COMMENT": "Comment deleted"
"DELETED_COMMENT": "Comment deleted",
"ERROR": {
"FAILED_SAVE_COMMENT": "Saving comment failed",
"FAILED_REMOVE_COMMENT": "Deleting comment failed"
}
},
"MESSAGE": {
"REPLY_TITLE_PREFIX": "Re: ",
Expand Down Expand Up @@ -281,8 +277,6 @@
"REMOVE_RECORD_FAILED": "Deleting failed",
"SAVE_RECORD_FAILED": "Saving failed",
"RECORD_NOT_EXISTS": "Record not found",
"FAILED_SAVE_COMMENT": "Saving comment failed",
"FAILED_REMOVE_COMMENT": "Deleting comment failed",
"GEO_LOCATION_NOT_FOUND": "City or zip code not found"
},
"INFO": {
Expand All @@ -296,26 +290,14 @@
"NO_PROFILE_DEFINED": "No Cesium+ profile",
"BTN_ADD": "Create my profile",
"BTN_EDIT": "Edit my profile",
"BTN_GEOLOC_ADDRESS": "Find my address on the map",
"USE_GEO_POINT": "Appear on {{'COMMON.APP_NAME'|translate}} maps?",
"LOADING_LOCATION": "Searching address...",
"UID": "Pseudonym",
"TITLE": "Lastname, FirstName",
"TITLE_HELP": "Name",
"DESCRIPTION": "About me",
"DESCRIPTION_HELP": "About me...",
"ADDRESS": "Address",
"ADDRESS_HELP": "Address (optional)",
"CITY": "City",
"CITY_HELP": "City, Country",
"SOCIAL_HELP": "http://...",
"GENERAL_DIVIDER": "General data",
"LOCATION_DIVIDER": "Localisation",
"SOCIAL_NETWORKS_DIVIDER": "Social networks and web site",
"LATITUDE": "Latitude",
"LATITUDE_HELP": "Latitude",
"LONGITUDE": "Longitude",
"LONGITUDE_HELP": "Longitude",
"TECHNICAL_DIVIDER": "Technical data",
"MODAL_AVATAR": {
"TITLE": "Avatar",
Expand All @@ -324,19 +306,11 @@
"RESIZE_HELP": "<b>Re-crop the image</b> if necessary. A click on the image allows to move it. Click on the area at the bottom left to zoom in.",
"RESULT_HELP": "<b>Here is the result</b> as seen on your profile:"
},
"MODAL_LOCATION": {
"TITLE": "Search position",
"SEARCH_HELP": "City, Country",
"ALTERNATIVE_RESULT_DIVIDER": "Alternative results for <b>{{address}}</b>:",
"POSITION": "lat/lon : {{lat}} {{lon}}"
},
"ERROR": {
"LOAD_PROFILE_FAILED": "Could not load user profile.",
"SAVE_PROFILE_FAILED": "Saving profile failed",
"INVALID_SOCIAL_NETWORK_FORMAT": "Invalid format: please fill a valid Internet address.<br/><br/>Examples :<ul><li>- A Facebook page (https://www.facebook.com/user)</li><li>- A web page (http://www.domain.com)</li><li>- An email address ([email protected])</li></ul>",
"IMAGE_RESIZE_FAILED": "Error while resizing picture",
"GEO_LOCATION_FAILED": "Unable to retrieve your current position. Please use the search button.",
"ADDRESS_LOCATION_FAILED": "Unable to retrieve the address position"
"IMAGE_RESIZE_FAILED": "Error while resizing picture"
},
"INFO": {
"PROFILE_SAVED": "Profile saved"
Expand All @@ -345,6 +319,30 @@
"WARNING_PUBLIC_DATA": "Please note that the information published here <b>is public</b>: visible including by <b>not logged in people</b>.<br/>{{'PROFILE.PROFILE_DIVIDER_HELP'|translate}}"
}
},
"LOCATION": {
"BTN_GEOLOC_ADDRESS": "Find my address on the map",
"USE_GEO_POINT": "Appear on {{'COMMON.APP_NAME'|translate}} maps?",
"LOADING_LOCATION": "Searching address...",
"LOCATION_DIVIDER": "Localisation",
"ADDRESS": "Address",
"ADDRESS_HELP": "Address (optional)",
"CITY": "City",
"CITY_HELP": "City, Country",
"DISTANCE": "Maximum distance around the city",
"DISTANCE_OPTION": "{{value}} km",
"MODAL": {
"TITLE": "Search address",
"SEARCH_HELP": "City, Country",
"ALTERNATIVE_RESULT_DIVIDER": "Alternative results for <b>{{address}}</b>:",
"POSITION": "lat/lon : {{lat}} {{lon}}"
},
"ERROR": {
"REQUIRED_FOR_LOCATION": "Required field to appear on the map",
"INVALID_FOR_LOCATION": "Unknown address",
"GEO_LOCATION_FAILED": "Unable to retrieve your current position. Please use the search button.",
"ADDRESS_LOCATION_FAILED": "Unable to retrieve the address position"
}
},
"SUBSCRIPTION": {
"SUBSCRIPTION_DIVIDER": "Online services",
"SUBSCRIPTION_DIVIDER_HELP": "Online services offer optional additional services, delegated to a third party.",
Expand Down Expand Up @@ -432,12 +430,12 @@
"UPDATE_COMMENT": "<span ng-class=\"{'gray': !notification.uid, 'positive':notification.uid }\"><i class=\"icon\" ng-class=\"{'ion-person': notification.uid, 'ion-key': !notification.uid}\"></i>&thinsp;{{name||uid||params[1]}}</span> has modified his comment on your referencing: <b>{{params[2]}}</b>",
"NEW_REPLY_COMMENT": "<span ng-class=\"{'gray': !notification.uid, 'positive':notification.uid }\"><i class=\"icon\" ng-class=\"{'ion-person': notification.uid, 'ion-key': !notification.uid}\"></i>&thinsp;{{name||uid||params[1]}}</span> has replied to your comment on the referencing: <b>{{params[2]}}</b>",
"UPDATE_REPLY_COMMENT": "<span ng-class=\"{'gray': !notification.uid, 'positive':notification.uid }\"><i class=\"icon\" ng-class=\"{'ion-person': notification.uid, 'ion-key': !notification.uid}\"></i>&thinsp;{{name||uid||params[1]}}</span> has modified his answer to your comment, on the referencing: <b>{{params[2]}}</b>"
},
"CONFIRM": {
"ES_USE_FALLBACK_NODE": "Data node <b>{{old}}</b> unreachable or invalid address.<br/><br/>Do you want to temporarily use the data node <b>{{new}}</b>?"
},
"ERROR": {
"ES_CONNECTION_ERROR": "Data node <b>{{server}}</b> unreachable or invalid address.<br/><br/>Cesium will continue to work, <b>without the Cesium+</b> extension (user profiles, private messages, maps and graphics).<br/><br/>Check your Internet connection, or change data node in <a class=\"positive\" ng-click=\"doQuickFix('settings')\">extension settings</a>."
}
},
"CONFIRM": {
"ES_USE_FALLBACK_NODE": "Data node <b>{{old}}</b> unreachable or invalid address.<br/><br/>Do you want to temporarily use the data node <b>{{new}}</b>?"
},
"ERROR": {
"ES_CONNECTION_ERROR": "Data node <b>{{server}}</b> unreachable or invalid address.<br/><br/>Cesium will continue to work, <b>without the Cesium+</b> extension (user profiles, private messages, maps and graphics).<br/><br/>Check your Internet connection, or change data node in <a class=\"positive\" ng-click=\"doQuickFix('settings')\">extension settings</a>."
}
}
74 changes: 36 additions & 38 deletions www/plugins/es/i18n/locale-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
"NO_RESULT": "No notification",
"SHOW_ALL": "Show all",
"LOAD_NOTIFICATIONS_FAILED": "Could not load notifications"
},
"GEO": {
"DISTANCE": "Maximum distance around the city",
"DISTANCE_OPTION": "{{value}} km"
},
"ERROR": {
"REQUIRED_FOR_LOCATION": "Required field to appear on the map",
"INVALID_FOR_LOCATION": "Unknown address"
}
},
"MENU": {
Expand Down Expand Up @@ -121,7 +113,11 @@
"REPLY_TO_LINK": "In response to ",
"REPLY_TO_DELETED_COMMENT": "In response to a deleted comment",
"REPLY_COUNT": "{{replyCount}} responses",
"DELETED_COMMENT": "Comment deleted"
"DELETED_COMMENT": "Comment deleted",
"ERROR": {
"FAILED_SAVE_COMMENT": "Saving comment failed",
"FAILED_REMOVE_COMMENT": "Deleting comment failed"
}
},
"MESSAGE": {
"REPLY_TITLE_PREFIX": "Re: ",
Expand Down Expand Up @@ -281,8 +277,6 @@
"REMOVE_RECORD_FAILED": "Deleting failed",
"SAVE_RECORD_FAILED": "Saving failed",
"RECORD_NOT_EXISTS": "Record not found",
"FAILED_SAVE_COMMENT": "Saving comment failed",
"FAILED_REMOVE_COMMENT": "Deleting comment failed",
"GEO_LOCATION_NOT_FOUND": "City or zip code not found"
},
"INFO": {
Expand All @@ -296,26 +290,14 @@
"NO_PROFILE_DEFINED": "No Cesium+ profile",
"BTN_ADD": "Create my profile",
"BTN_EDIT": "Edit my profile",
"BTN_GEOLOC_ADDRESS": "Find my address on the map",
"USE_GEO_POINT": "Appear on {{'COMMON.APP_NAME'|translate}} maps?",
"LOADING_LOCATION": "Searching address...",
"UID": "Pseudonym",
"TITLE": "Lastname, FirstName",
"TITLE_HELP": "Name",
"DESCRIPTION": "About me",
"DESCRIPTION_HELP": "About me...",
"ADDRESS": "Address",
"ADDRESS_HELP": "Address (optional)",
"CITY": "City",
"CITY_HELP": "City, Country",
"SOCIAL_HELP": "http://...",
"GENERAL_DIVIDER": "General data",
"LOCATION_DIVIDER": "Localisation",
"SOCIAL_NETWORKS_DIVIDER": "Social networks and web site",
"LATITUDE": "Latitude",
"LATITUDE_HELP": "Latitude",
"LONGITUDE": "Longitude",
"LONGITUDE_HELP": "Longitude",
"TECHNICAL_DIVIDER": "Technical data",
"MODAL_AVATAR": {
"TITLE": "Avatar",
Expand All @@ -324,19 +306,11 @@
"RESIZE_HELP": "<b>Re-crop the image</b> if necessary. A click on the image allows to move it. Click on the area at the bottom left to zoom in.",
"RESULT_HELP": "<b>Here is the result</b> as seen on your profile:"
},
"MODAL_LOCATION": {
"TITLE": "Search position",
"SEARCH_HELP": "City, Country",
"ALTERNATIVE_RESULT_DIVIDER": "Alternative results for <b>{{address}}</b>:",
"POSITION": "lat/lon : {{lat}} {{lon}}"
},
"ERROR": {
"LOAD_PROFILE_FAILED": "Could not load user profile.",
"SAVE_PROFILE_FAILED": "Saving profile failed",
"INVALID_SOCIAL_NETWORK_FORMAT": "Invalid format: please fill a valid Internet address.<br/><br/>Examples :<ul><li>- A Facebook page (https://www.facebook.com/user)</li><li>- A web page (http://www.domain.com)</li><li>- An email address ([email protected])</li></ul>",
"IMAGE_RESIZE_FAILED": "Error while resizing picture",
"GEO_LOCATION_FAILED": "Unable to retrieve your current position. Please use the search button.",
"ADDRESS_LOCATION_FAILED": "Unable to retrieve the address position"
"IMAGE_RESIZE_FAILED": "Error while resizing picture"
},
"INFO": {
"PROFILE_SAVED": "Profile saved"
Expand All @@ -345,6 +319,30 @@
"WARNING_PUBLIC_DATA": "Please note that the information published here <b>is public</b>: visible including by <b>not logged in people</b>.<br/>{{'PROFILE.PROFILE_DIVIDER_HELP'|translate}}"
}
},
"LOCATION": {
"BTN_GEOLOC_ADDRESS": "Find my address on the map",
"USE_GEO_POINT": "Appear on {{'COMMON.APP_NAME'|translate}} maps?",
"LOADING_LOCATION": "Searching address...",
"LOCATION_DIVIDER": "Localisation",
"ADDRESS": "Address",
"ADDRESS_HELP": "Address (optional)",
"CITY": "City",
"CITY_HELP": "City, Country",
"DISTANCE": "Maximum distance around the city",
"DISTANCE_OPTION": "{{value}} km",
"MODAL": {
"TITLE": "Search address",
"SEARCH_HELP": "City, Country",
"ALTERNATIVE_RESULT_DIVIDER": "Alternative results for <b>{{address}}</b>:",
"POSITION": "lat/lon : {{lat}} {{lon}}"
},
"ERROR": {
"REQUIRED_FOR_LOCATION": "Required field to appear on the map",
"INVALID_FOR_LOCATION": "Unknown address",
"GEO_LOCATION_FAILED": "Unable to retrieve your current position. Please use the search button.",
"ADDRESS_LOCATION_FAILED": "Unable to retrieve the address position"
}
},
"SUBSCRIPTION": {
"SUBSCRIPTION_DIVIDER": "Online services",
"SUBSCRIPTION_DIVIDER_HELP": "Online services offer optional additional services, delegated to a third party.",
Expand Down Expand Up @@ -432,12 +430,12 @@
"UPDATE_COMMENT": "<span ng-class=\"{'gray': !notification.uid, 'positive':notification.uid }\"><i class=\"icon\" ng-class=\"{'ion-person': notification.uid, 'ion-key': !notification.uid}\"></i>&thinsp;{{name||uid||params[1]}}</span> has modified his comment on your referencing: <b>{{params[2]}}</b>",
"NEW_REPLY_COMMENT": "<span ng-class=\"{'gray': !notification.uid, 'positive':notification.uid }\"><i class=\"icon\" ng-class=\"{'ion-person': notification.uid, 'ion-key': !notification.uid}\"></i>&thinsp;{{name||uid||params[1]}}</span> has replied to your comment on the referencing: <b>{{params[2]}}</b>",
"UPDATE_REPLY_COMMENT": "<span ng-class=\"{'gray': !notification.uid, 'positive':notification.uid }\"><i class=\"icon\" ng-class=\"{'ion-person': notification.uid, 'ion-key': !notification.uid}\"></i>&thinsp;{{name||uid||params[1]}}</span> has modified his answer to your comment, on the referencing: <b>{{params[2]}}</b>"
},
"CONFIRM": {
"ES_USE_FALLBACK_NODE": "Data node <b>{{old}}</b> unreachable or invalid address.<br/><br/>Do you want to temporarily use the data node <b>{{new}}</b>?"
},
"ERROR": {
"ES_CONNECTION_ERROR": "Data node <b>{{server}}</b> unreachable or invalid address.<br/><br/>Cesium will continue to work, <b>without the Cesium+</b> extension (user profiles, private messages, maps and graphics).<br/><br/>Check your Internet connection, or change data node in <a class=\"positive\" ng-click=\"doQuickFix('settings')\">extension settings</a>."
}
},
"CONFIRM": {
"ES_USE_FALLBACK_NODE": "Data node <b>{{old}}</b> unreachable or invalid address.<br/><br/>Do you want to temporarily use the data node <b>{{new}}</b>?"
},
"ERROR": {
"ES_CONNECTION_ERROR": "Data node <b>{{server}}</b> unreachable or invalid address.<br/><br/>Cesium will continue to work, <b>without the Cesium+</b> extension (user profiles, private messages, maps and graphics).<br/><br/>Check your Internet connection, or change data node in <a class=\"positive\" ng-click=\"doQuickFix('settings')\">extension settings</a>."
}
}
63 changes: 35 additions & 28 deletions www/plugins/es/i18n/locale-es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
"NO_RESULT": "Ningúna notificación",
"SHOW_ALL": "Ver todo",
"LOAD_NOTIFICATIONS_FAILED": "Fracaso en la carga de las notificaciónes"
},
"ERROR": {
"REQUIRED_FOR_LOCATION": "Campo obligatorio para aparecer en el mapa",
"INVALID_FOR_LOCATION": "Dirección desconocida"
}
},
"MENU": {
Expand Down Expand Up @@ -117,7 +113,11 @@
"REPLY_TO_LINK": "En repuesta a ",
"REPLY_TO_DELETED_COMMENT": "En repuesta a un comentario suprimido",
"REPLY_COUNT": "{{replyCount}} repuestas",
"DELETED_COMMENT": "Comentario suprimido"
"DELETED_COMMENT": "Comentario suprimido",
"ERROR": {
"FAILED_SAVE_COMMENT": "Fracaso durante el respaldo del comentario",
"FAILED_REMOVE_COMMENT": "Fracaso durante la supresión del comentario"
}
},
"MESSAGE": {
"REPLY_TITLE_PREFIX": "Rep: ",
Expand Down Expand Up @@ -264,6 +264,10 @@
"LOCATION_DIVIDER": "Dirección",
"SOCIAL_NETWORKS_DIVIDER": "Redes sociales y sitio web",
"TECHNICAL_DIVIDER": "Informaciónes técnicas",
"BTN_SHOW_WOT": "Personas",
"BTN_SHOW_WOT_HELP": "Buscar personas",
"BTN_SHOW_PAGES": "Páginas",
"BTN_SHOW_PAGES_HELP": "Búsqueda de páginas",
"BTN_NEW": "Creer una página",
"MY_PAGES": "Mis páginas",
"NO_PAGE": "Sin página",
Expand Down Expand Up @@ -324,8 +328,7 @@
"REMOVE_RECORD_FAILED": "Fracaso en la supresión de la página",
"SAVE_RECORD_FAILED": "Fracaso durante el respaldo",
"RECORD_NOT_EXISTS": "Página inexistente",
"FAILED_SAVE_COMMENT": "Fracaso durante el respaldo del comentario",
"FAILED_REMOVE_COMMENT": "Fracaso durante la supresión del comentario",
"GEO_LOCATION_NOT_FOUND": "Ciudad o código postal no encontrado"
},
"INFO": {
"RECORD_REMOVED" : "Página suprimida",
Expand All @@ -338,26 +341,14 @@
"NO_PROFILE_DEFINED": "Ningún perfil Cesium+",
"BTN_ADD": "Ingresar mi perfil",
"BTN_EDIT": "Editar mi perfil",
"BTN_GEOLOC_ADDRESS": "Actualizar desde la dirección",
"USE_GEO_POINT": "Aparecer en la tarjeta {{'COMMON.APP_NAME'|translate}} ?",
"LOADING_LOCATION": "Encontrar la dirección ...",
"UID": "Seudónimo",
"TITLE": "Nombre, Apellido",
"TITLE_HELP": "Nombre, Apellido",
"DESCRIPTION": "A propósito de yo",
"DESCRIPTION_HELP": "A propósito de yo...",
"ADDRESS": "Calle",
"ADDRESS_HELP": "Calle, complemento de dirección...",
"CITY": "Ciudad",
"CITY_HELP": "Ciudad, País",
"SOCIAL_HELP": "http://...",
"GENERAL_DIVIDER": "Informaciónes generales",
"LOCATION_DIVIDER": "Dirección",
"SOCIAL_NETWORKS_DIVIDER": "Redes sociales, sitios web",
"LATITUDE": "Latitud",
"LATITUDE_HELP": "Latitud",
"LONGITUDE": "Longitud",
"LONGITUDE_HELP": "Longitud",
"TECHNICAL_DIVIDER": "Informaciónes técnicas",
"MODAL_AVATAR": {
"TITLE": "Foto de perfil",
Expand All @@ -366,19 +357,11 @@
"RESIZE_HELP": "<b>Encuadra la imagen</b>, si es necesario. Un clic mantenido sobre la imagen permite desplazarla. Hace un clic sobre la zona abajo a la izquierda para hacer zoom.",
"RESULT_HELP": "<b>Aquí está el resultado</b> tal como está visible sobre su perfil :"
},
"MODAL_LOCATION": {
"TITLE": "Búsqueda de dirección",
"SEARCH_HELP": "Ciudad, País",
"ALTERNATIVE_RESULT_DIVIDER": "Resultados alternativos para <b>{{address}}</b> :",
"POSITION": "Latitud/Longitud : {{lat}} {{lon}}"
},
"ERROR": {
"LOAD_PROFILE_FAILED": "Fracaso en la carga del perfil usuario.",
"SAVE_PROFILE_FAILED": "Fracaso durante el respaldo",
"INVALID_SOCIAL_NETWORK_FORMAT": "Formato no tomado en cuenta : por favor, indica una dirección válida.<br/><br/>Ejemplos :<ul><li>- Una página Facebook (https://www.facebook.com/user)</li><li>- Una página web (http://www.misitio.es)</li><li>- Una dirección email ([email protected])</li></ul>",
"IMAGE_RESIZE_FAILED": "Fracaso durante el redimensionamiento de la imagen",
"GEO_LOCATION_FAILED": "No se puede obtener de su ubicación",
"ADDRESS_LOCATION_FAILED": "No se puede recuperar la posición de la dirección"
"IMAGE_RESIZE_FAILED": "Fracaso durante el redimensionamiento de la imagen"
},
"INFO": {
"PROFILE_SAVED": "Perfil respaldado"
Expand All @@ -387,6 +370,30 @@
"WARNING_PUBLIC_DATA": "Las informaciónes informadas en su perfil <b>están públicas</b> : visibles también por personas <b>no conectadas</b>.<br/>{{'PROFILE.PROFILE_DIVIDER_HELP'|translate}}"
}
},
"LOCATION": {
"BTN_GEOLOC_ADDRESS": "Actualizar desde la dirección",
"USE_GEO_POINT": "Aparecer en la tarjeta {{'COMMON.APP_NAME'|translate}} ?",
"LOADING_LOCATION": "Encontrar la dirección ...",
"LOCATION_DIVIDER": "Dirección",
"ADDRESS": "Calle",
"ADDRESS_HELP": "Calle, complemento de dirección...",
"CITY": "Ciudad",
"CITY_HELP": "Ciudad, País",
"DISTANCE": "Distancia máxima alrededor de la ciudad",
"DISTANCE_OPTION": "{{value}} km",
"MODAL": {
"TITLE": "Búsqueda de dirección",
"SEARCH_HELP": "Ciudad, País",
"ALTERNATIVE_RESULT_DIVIDER": "Resultados alternativos para <b>{{address}}</b> :",
"POSITION": "Latitud/Longitud : {{lat}} {{lon}}"
},
"ERROR": {
"REQUIRED_FOR_LOCATION": "Campo obligatorio para aparecer en el mapa",
"INVALID_FOR_LOCATION": "Dirección desconocida",
"GEO_LOCATION_FAILED": "No se puede recuperar su ubicación Por favor usa el botón de búsqueda.",
"ADDRESS_LOCATION_FAILED": "No se puede recuperar la posición de la dirección."
}
},
"SUBSCRIPTION": {
"SUBSCRIPTION_DIVIDER": "Servicios en línea",
"SUBSCRIPTION_DIVIDER_HELP": "Los servicios en línea ofrecen servicios adicionales opcionales, delegados a un tercero.",
Expand Down
Loading

0 comments on commit e1234ef

Please sign in to comment.