Skip to content

Commit 326ab66

Browse files
committed
chore(translations): add spanish translations for network nodes
Also fix some texts keys
1 parent aae72cc commit 326ab66

5 files changed

Lines changed: 54 additions & 10 deletions

File tree

i18n/generic.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
"confirm_6556b3a6": "Confirm",
2929
"confirm_location_2fe5ae11": "confirm location",
3030
"congratulations_ffe43bf9": "Congratulations",
31+
"connected_howmany_228826ea": "Connected (%{howMany})",
32+
"connected_nodes_4b7e6f49": "Connected Nodes",
3133
"count_days_de0c6a32": {
3234
"one": "1 days",
3335
"other": "%{count} days"
@@ -48,11 +50,19 @@
4850
"one": "1 seconds",
4951
"other": "%{count} seconds"
5052
},
53+
"count_selected_nodes_19bbd632": {
54+
"one": "1 selected-nodes",
55+
"other": "%{count} selected-nodes"
56+
},
5157
"create_network_d229d642": "Create network",
5258
"create_new_network_28805f92": "Create new network",
5359
"create_session_ad54bdb6": "Create Session",
5460
"currently_your_node_has_version_1c26984b": "Currently your node has version:",
61+
"delete_a6efa79d": "Delete",
62+
"delete_nodes_f63ec0d5": "Delete Nodes",
5563
"device_95d26d94": "Device",
64+
"disconnected_howmany_10fc7bd5": "Disconnected (%{howMany})",
65+
"disconnected_nodes_88f80d1e": "Disconnected Nodes",
5666
"don_t_show_this_message_again_9950c20": "Don't show this message again",
5767
"download_c7ffdfb9": "Download",
5868
"downloading_1e41f805": "Downloading",
@@ -64,12 +74,16 @@
6474
"from_fdd4956d": "From",
6575
"full_path_metrics_2859608f": "Full path metrics",
6676
"go_64ecd1fd": "Go!",
77+
"go_to_community_view_d12b8d67": "Go to Community View",
78+
"go_to_delete_nodes_1203128b": "Go to Delete Nodes",
79+
"go_to_node_view_26ba929d": "Go to Node View",
6780
"ground_routing_12ab04c9": "Ground Routing",
6881
"ground_routing_configuration_3f4fa9c1": "Ground Routing configuration",
6982
"hide_community_773b3f33": "hide community",
7083
"hide_console_9bbb309e": "Hide Console",
7184
"host_name_d865cef3": "Host name",
7285
"i_don_t_know_the_shared_password_336b198": "I don't know the shared password",
86+
"if_some_of_these_nodes_no_longer_belong_to_the_net_a75d316f": "If some of these nodes no longer belong to the network you can delete them from Delete Nodes.",
7387
"interface_177dac54": "Interface",
7488
"internet_connection_fda60ffa": "Internet connection",
7589
"ip_addresses_440ac240": "IP Addresses",
@@ -93,6 +107,7 @@
93107
"most_active_2d5a3cae": "Most Active",
94108
"must_select_a_network_and_a_valid_hostname_ea82e72c": "Must select a network and a valid hostname",
95109
"network_configuration_ea7f4215": "Network Configuration",
110+
"network_nodes_4368eb67": "Network Nodes",
96111
"no_network_found_try_realigning_your_node_and_resc_176a9b3e": "No network found, try realigning your node and rescanning.",
97112
"node_configuration_7342e6f5": "Node Configuration",
98113
"notes_c42e0fd5": "Notes",
@@ -132,6 +147,7 @@
132147
"select_file_71aa4113": "Select file",
133148
"select_new_node_5b2e9165": "Select new node",
134149
"select_one_b647b384": "Select one",
150+
"select_the_nodes_which_no_longer_belong_to_the_net_8ed27f05": "Select the nodes which no longer belong to the network and delete them from the list of disconnected nodes",
135151
"set_network_bcd0ea96": "Set network",
136152
"setting_network_21ebac51": "Setting network",
137153
"setting_up_new_password_4daf8f1c": "Setting up new password",
@@ -144,6 +160,7 @@
144160
"size_b30e1077": "Size",
145161
"station_name_7d67417c": "Station name",
146162
"status_e7fdbe06": "Status",
163+
"successfully_deleted_23ce0a20": "Successfully deleted",
147164
"system_55b0ca91": "System",
148165
"the_are_not_mesh_interfaces_available_4055abd7": "The are not mesh interfaces available",
149166
"the_download_failed_130e1274": "The download failed",
@@ -153,9 +170,12 @@
153170
"the_selected_image_is_not_valid_for_the_target_dev_cea9b494": "The selected image is not valid for the target device",
154171
"the_shared_password_has_been_chosen_by_the_communi_f9d30a92": "The shared password has been chosen by the community when the network was created. You can ask other community members for it.",
155172
"the_upgrade_should_be_done_d66854": "The upgrade should be done",
173+
"there_are_no_left_discconected_nodes_cd78852e": "There are no left discconected nodes",
156174
"there_s_an_active_remote_support_session_4a40a8bb": "There's an active remote support session",
157175
"there_s_no_open_session_for_remote_support_click_a_efd0d415": "There's no open session for remote support. Click at Create Session to begin one",
158176
"these_are_the_nodes_associated_on_this_radio_3d302167": "These are the nodes associated on this radio",
177+
"these_are_the_nodes_with_which_you_do_not_have_con_ef5cc209": "These are the nodes with which you do not have connectivity, it is possible that they are not turned on or a link to reach them is down.",
178+
"these_are_the_nodes_with_which_you_have_connectivi_ef11819b": "These are the nodes with which you have connectivity, i.e. there is a working path from your node to each of them.",
159179
"this_device_does_not_support_secure_rollback_to_pr_1c167a2c": "This device does not support secure rollback to previous version if something goes wrong",
160180
"this_device_supports_secure_rollback_to_previous_v_a60ddbcb": "This device supports secure rollback to previous version if something goes wrong",
161181
"this_node_is_the_gateway_1e20aaff": "This node is the gateway",

i18n/translations/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@
5959
"zero": "No one has joined yet.",
6060
"one": "One person has joined.",
6161
"other": "%{count} people have joined."
62+
},
63+
"count_selected_nodes_19bbd632": {
64+
"one": "node selected",
65+
"other": "nodes selected"
6266
}
6367
}

i18n/translations/es.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,26 @@
191191
"select_another_node_and_use_the_limeapp_as_you_wer_d189728": "Selecciona el nodo que quieras visitar y usa la LimeApp como si estuvieras ahí",
192192
"visit_a_neighboring_node_4116be4": "Visitar un nodo vecino",
193193
"select_new_node_5b2e9165": "Selecciona el nodo",
194-
"visit_864b4060": "Visitar"
194+
"visit_864b4060": "Visitar",
195+
"connected_howmany_228826ea": "Conectados (%{howMany})",
196+
"connected_nodes_4b7e6f49": "Nodos Conectados",
197+
"delete_a6efa79d": "Eliminar",
198+
"delete_nodes_f63ec0d5": "Eliminar Nodos",
199+
"disconnected_howmany_10fc7bd5": "Desconectados (%{howMany})",
200+
"disconnected_nodes_88f80d1e": "Nodos Desconectados",
201+
"go_to_community_view_d12b8d67": "Ir a Vista de Comunidad",
202+
"go_to_delete_nodes_1203128b": "Ir a Eliminar Nodos",
203+
"go_to_node_view_26ba929d": "Ir a Vista de Nodo",
204+
"network_nodes_4368eb67": "Nodos de la Red",
205+
"count_selected_nodes_19bbd632": {
206+
"one": "nodo seleccionado",
207+
"other": "nodos seleccionados"
208+
},
209+
"successfully_deleted_23ce0a20": "Eliminado/s correctamente",
210+
"there_are_no_left_discconected_nodes_cd78852e": "No hay nodos desconectados",
211+
"these_are_the_nodes_with_which_you_do_not_have_con_ef5cc209": "Son los nodos con los que no tienes conectividad, es posible que no estén encendidos o que algún enlace para llegar a ellos esté caído.",
212+
"these_are_the_nodes_with_which_you_have_connectivi_ef11819b": "Son los nodos con los que tienes conectividad, es decir que hay un camino funcionando entre tu nodo y cada uno de ellos.",
213+
"if_some_of_these_nodes_no_longer_belong_to_the_net_a75d316f": "Si alguno de estos nodos no pertence más a la red puedes eliminarlo desde Eliminar Nodos.",
214+
"select_the_nodes_which_no_longer_belong_to_the_net_8ed27f05": "Selecciona los nodos que ya no pertenecen a la red y elimínalos de la lista de nodos desconectados"
195215
}
196216

plugins/lime-plugin-network-nodes/src/containers/deleteNodesPage/deleteNodesPage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export const DeleteNodesPage_ = ({ nodes, onDelete, isSubmitting, isSuccess }) =
2828
<div class="d-flex flex-column flex-grow-1 overflow-auto container container-padded">
2929
<h4>{I18n.t("Delete Nodes")}</h4>
3030
{disconnectedNodes.length > 0 &&
31-
<p>{I18n.t("Select the nodes which no longer belong to the network and \
32-
delete them from the list of disconnected nodes")}</p>
31+
<p>{I18n.t("Select the nodes which no longer belong to the network and "
32+
+ "delete them from the list of disconnected nodes")}</p>
3333
}
3434
{disconnectedNodes.length === 0 &&
3535
<p>{I18n.t("There are no left discconected nodes")}</p>
@@ -50,7 +50,7 @@ export const DeleteNodesPage_ = ({ nodes, onDelete, isSubmitting, isSuccess }) =
5050
<div class={style.bottomAction}>
5151
<span>
5252
{[selectedNodes.size,
53-
I18n.t('Selected Nodes', { count: selectedNodes.size })
53+
I18n.t('selected-nodes', { count: selectedNodes.size })
5454
].join(' ')}
5555
</span>
5656
{!isSubmitting &&

plugins/lime-plugin-network-nodes/src/networkNodesPage.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import I18n from 'i18n-js';
1010

1111
const DeleteNodesLegend = () => (
1212
<div class={style.deleteNodesLegend}>
13-
<div>{I18n.t("If some of these nodes no longer belong\
14-
to the network you can delete them from Delete Nodes.")}</div>
13+
<div>{I18n.t("If some of these nodes no longer belong " +
14+
"to the network you can delete them from Delete Nodes.")}</div>
1515
<div><a href="/delete-nodes">{I18n.t("Go to Delete Nodes")}</a></div>
1616
</div>
1717
)
@@ -20,13 +20,13 @@ const PageHelp = () => (
2020
<div>
2121
<p>
2222
<h5>{I18n.t("Connected Nodes")}</h5>
23-
{I18n.t("These are the nodes with which you have connectivity, " +
24-
"i.e. there is a working path from your node to each of them.")}
23+
{I18n.t("These are the nodes with which you have connectivity, " +
24+
"i.e. there is a working path from your node to each of them.")}
2525
</p>
2626
<p>
2727
<h5>{I18n.t("Disconnected Nodes")}</h5>
28-
{I18n.t("These are the nodes with which you do not have connectivity, " +
29-
"it is possible that they are not turned on or a link to reach them is down.")}
28+
{I18n.t("These are the nodes with which you do not have connectivity, " +
29+
"it is possible that they are not turned on or a link to reach them is down.")}
3030
</p>
3131
</div>
3232
);

0 commit comments

Comments
 (0)