Rename mailserver to history nodes on settings screen, changed en.json to reflect changes.

Signed-off-by: shivekkhurana <shivek@status.im>
This commit is contained in:
shivekkhurana 2020-11-20 12:31:13 +05:30
parent d260ea9e03
commit a55dd51064
No known key found for this signature in database
GPG Key ID: 9BEB56E6E62968C7
4 changed files with 17 additions and 20 deletions

View File

@ -471,6 +471,7 @@
:help-center :help-center
:hide-content-when-switching-apps :hide-content-when-switching-apps
:history :history
:history-nodes
:hold-card :hold-card
:home :home
:hooks :hooks
@ -667,8 +668,6 @@
:notify :notify
:off :off
:offline :offline
:offline-messaging
:offline-messaging-settings
:ok :ok
:ok-continue :ok-continue
:ok-got-it :ok-got-it

View File

@ -52,7 +52,7 @@
{:keys [use-mailservers?]} [:multiaccount]] {:keys [use-mailservers?]} [:multiaccount]]
[react/view {:style styles/wrapper} [react/view {:style styles/wrapper}
[topbar/topbar [topbar/topbar
{:title (i18n/label :t/offline-messaging-settings) {:title (i18n/label :t/history-nodes)
:right-accessories :right-accessories
[{:icon :main-icons/add-circle [{:icon :main-icons/add-circle
:on-press #(re-frame/dispatch [:mailserver.ui/add-pressed])}]}] :on-press #(re-frame/dispatch [:mailserver.ui/add-pressed])}]}]

View File

@ -28,7 +28,7 @@
(i18n/label :t/mobile-network-use-wifi))}] (i18n/label :t/mobile-network-use-wifi))}]
[quo/list-item {:size :small [quo/list-item {:size :small
:accessibility-label :offline-messages-settings-button :accessibility-label :offline-messages-settings-button
:title (i18n/label :t/offline-messaging) :title (i18n/label :t/history-nodes)
:on-press #(re-frame/dispatch [:navigate-to :offline-messaging-settings]) :on-press #(re-frame/dispatch [:navigate-to :offline-messaging-settings])
:accessory :text :accessory :text
:accessory-text (when use-mailservers? :accessory-text (when use-mailservers?

View File

@ -23,7 +23,7 @@
"add-bootnode": "Add bootnode", "add-bootnode": "Add bootnode",
"add-contact": "Add contact", "add-contact": "Add contact",
"add-custom-token": "Add custom token", "add-custom-token": "Add custom token",
"add-mailserver": "Add mailserver", "add-mailserver": "Add history node",
"add-members": "Add members", "add-members": "Add members",
"add-network": "Add network", "add-network": "Add network",
"add-to-contacts": "Add to contacts", "add-to-contacts": "Add to contacts",
@ -324,9 +324,9 @@
"delete-chat": "Delete chat", "delete-chat": "Delete chat",
"delete-chat-confirmation": "Are you sure you want to delete this chat?", "delete-chat-confirmation": "Are you sure you want to delete this chat?",
"delete-confirmation": "Delete?", "delete-confirmation": "Delete?",
"delete-mailserver": "Delete mailserver", "delete-mailserver": "Delete history node",
"delete-mailserver-are-you-sure": "Are you sure you want to delete this mailserver?", "delete-mailserver-are-you-sure": "Are you sure you want to delete this history node?",
"delete-mailserver-title": "Delete mailserver", "delete-mailserver-title": "Delete history node",
"delete-message": "Delete message", "delete-message": "Delete message",
"delete-my-account": "Delete my account", "delete-my-account": "Delete my account",
"delete-network-confirmation": "Are you sure you want to delete this network?", "delete-network-confirmation": "Are you sure you want to delete this network?",
@ -689,19 +689,19 @@
"logout-title": "Log out?", "logout-title": "Log out?",
"looking-for-cards": "Looking for cards...", "looking-for-cards": "Looking for cards...",
"lost-connection": "Lost connection", "lost-connection": "Lost connection",
"mailserver-address": "Mailserver address", "mailserver-address": "History node address",
"mailserver-automatic": "Automatic selection", "mailserver-automatic": "Automatic selection",
"mailserver-automatic-switch-explanation": "Choose the fastest history node available", "mailserver-automatic-switch-explanation": "Choose the fastest history node available",
"mailserver-connection-error": "Could not connect to mailserver", "mailserver-connection-error": "Could not connect to history node",
"mailserver-details": "Mailserver details", "mailserver-details": "History node details",
"mailserver-error-content": "The mailserver you selected couldn't be reached.", "mailserver-error-content": "The history node you selected couldn't be reached.",
"mailserver-error-title": "Error connecting to mailserver", "mailserver-error-title": "Error connecting to history node",
"mailserver-format": "enode://{enode-id}:{password}@{ip-address}:{port}", "mailserver-format": "enode://{enode-id}:{password}@{ip-address}:{port}",
"mailserver-pick-another": "Pick another mailserver", "mailserver-pick-another": "Pick another history node",
"mailserver-reconnect": "Could not connect to mailserver. Tap to reconnect", "mailserver-reconnect": "Could not connect to history node. Tap to reconnect",
"mailserver-request-error-content": "The following error was returned by the mailserver: {{error}}", "mailserver-request-error-content": "The following error was returned by the history node: {{error}}",
"mailserver-request-error-status": "An error occured while fetching history, check the logs for details", "mailserver-request-error-status": "An error occured while fetching history, check the logs for details",
"mailserver-request-error-title": "Mailserver request error", "mailserver-request-error-title": "History node request error",
"mailserver-request-retry": "Retry request", "mailserver-request-retry": "Retry request",
"mailserver-retry": "Retry", "mailserver-retry": "Retry",
"main-currency": "Main currency", "main-currency": "Main currency",
@ -765,7 +765,7 @@
"chat-name-content": "Three random words, derived algorithmically from your chat key and used as your default alias in chat. Chat names are completely unique; no other user can have the same three words.", "chat-name-content": "Three random words, derived algorithmically from your chat key and used as your default alias in chat. Chat names are completely unique; no other user can have the same three words.",
"ens-name-title": "ENS Name", "ens-name-title": "ENS Name",
"ens-name-content": "Custom alias for your chat key that you can register using the Ethereum Name Service. ENS names are decentralized usernames.", "ens-name-content": "Custom alias for your chat key that you can register using the Ethereum Name Service. ENS names are decentralized usernames.",
"mailserver-title": "Mailserver", "mailserver-title": "History node",
"mailserver-content": "A node in the Status network that routes and stores messages, for up to 30 days.", "mailserver-content": "A node in the Status network that routes and stores messages, for up to 30 days.",
"peer-title": "Peer", "peer-title": "Peer",
"peer-content": "A device connected to the Status chat network. Each user can represent one or more peers, depending on their number of devices.", "peer-content": "A device connected to the Status chat network. Each user can represent one or more peers, depending on their number of devices.",
@ -832,8 +832,6 @@
"notify": "Notify", "notify": "Notify",
"off": "Off", "off": "Off",
"offline": "Offline", "offline": "Offline",
"offline-messaging": "Mailserver",
"offline-messaging-settings": "History nodes",
"offline-messaging-use-history-nodes": "Use history nodes", "offline-messaging-use-history-nodes": "Use history nodes",
"offline-messaging-use-history-explanation": "Enable history nodes to fetch messages that were sent while the app was closed. When enabled, a history node gets your IP address. When disabled you will not receive messages when the app is closed and will not see them when you open the app later.", "offline-messaging-use-history-explanation": "Enable history nodes to fetch messages that were sent while the app was closed. When enabled, a history node gets your IP address. When disabled you will not receive messages when the app is closed and will not see them when you open the app later.",
"ok": "OK", "ok": "OK",