Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix(i18n): remove hardcoded string from connection details view
Browse files Browse the repository at this point in the history
address '"or" on the Connect screen during the onboarding' issue in #3045
  • Loading branch information
bolatovumar committed Oct 26, 2019
1 parent 01563df commit e876168
Show file tree
Hide file tree
Showing 36 changed files with 38 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ class ConnectionDetailsString extends React.Component {
<Box mb={2}>
<FormattedMessage {...messages.connection_uri_lndconnect_description} />
</Box>
<Box mb={2}>- or -</Box>
<Box mb={2}>
<FormattedMessage {...messages.connection_options_separator} />
</Box>
<Box>
<FormattedMessage {...messages.connection_uri_btcpay_description} />
</Box>
Expand Down
1 change: 1 addition & 0 deletions renderer/components/Onboarding/Steps/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,5 @@ export default defineMessages({
backup_path_description: 'Channel backups will be stored here',
backup_dir_not_exist: 'Directory does not exist',
backup_skip_error: 'An error has occurred',
connection_options_separator: '- or -',
})
1 change: 1 addition & 0 deletions translations/af-ZA.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/ar-SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/bg-BG.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Ръчна настройка",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/ca-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "Podrobnosti o připojení",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Vlastní",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "Řetězec připojení",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "Neplatný řetězec připojení",
"components.Onboarding.Steps.connection_string_label": "Řetězec připojení",
"components.Onboarding.Steps.connection_string_placeholder": "BTCPay Server řetězec připojení",
Expand Down
1 change: 1 addition & 0 deletions translations/da-DK.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "Forbindelses detaljerne",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Brugerdefinerede",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "Forbindelsesstreng",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "Forbindelsesstreng",
"components.Onboarding.Steps.connection_string_placeholder": "BTCPay Server Forbindelsesstreng",
Expand Down
1 change: 1 addition & 0 deletions translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "Verbindungsdetails",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Benutzerdefiniert",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "Zeichenfolge der Verbindung",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "Ungültiger Verbindungsstring",
"components.Onboarding.Steps.connection_string_label": "Zeichenfolge der Verbindung",
"components.Onboarding.Steps.connection_string_placeholder": "Verbindungszeichenfolge des BTCPay Server",
Expand Down
1 change: 1 addition & 0 deletions translations/el-GR.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Προσαρμοσμένη",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "Connection details",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Files",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "Connection String",
"components.Onboarding.Steps.connection_options_separator": "- or -",
"components.Onboarding.Steps.connection_string_invalid": "Invalid Connection String",
"components.Onboarding.Steps.connection_string_label": "Connection String",
"components.Onboarding.Steps.connection_string_placeholder": "BTCPay Server Connection String",
Expand Down
1 change: 1 addition & 0 deletions translations/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "Detalles de conexión",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Personalizado",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "Cadena de conexión",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "Cadena de Conexión Invalida",
"components.Onboarding.Steps.connection_string_label": "Detalles de conexión al servidor de BTCPay",
"components.Onboarding.Steps.connection_string_placeholder": "¿Como desea conectarse al red de Lightning?",
Expand Down
1 change: 1 addition & 0 deletions translations/fi-FI.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "Détails de la connexion",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Personnalisé",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "Chaîne de connexion",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "Chaîne de connexion invalide",
"components.Onboarding.Steps.connection_string_label": "Chaîne de connexion",
"components.Onboarding.Steps.connection_string_placeholder": "Chaîne de connexion BTCPay Server",
Expand Down
1 change: 1 addition & 0 deletions translations/ga-IE.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Saincheaptha",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "String Ceangal",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "String Ceangal",
"components.Onboarding.Steps.connection_string_placeholder": "String Ceangal Freastalaí BTCPay",
Expand Down
1 change: 1 addition & 0 deletions translations/he-IL.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/hr-HR.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "Detalji veze",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Prilagođeno",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "String veze",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "Nevaljana instrukcija spajanja",
"components.Onboarding.Steps.connection_string_label": "String veze",
"components.Onboarding.Steps.connection_string_placeholder": "BTCPay Server string veze",
Expand Down
1 change: 1 addition & 0 deletions translations/hu-HU.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "カスタム",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/nl-NL.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Aangepast",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/no-NO.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Filer",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/pl-PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Personalizado",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/ro-RO.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Пользовательские",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "Строка подключения",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "Неверная строка подключения",
"components.Onboarding.Steps.connection_string_label": "Строка подключения",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/sr-SP.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/sv-SE.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Anpassad",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/tr-TR.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Özel",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "Вибрані вручну",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/vi-VN.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "自定义",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down
1 change: 1 addition & 0 deletions translations/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"components.Onboarding.Steps.connection_details_custom_title": "",
"components.Onboarding.Steps.connection_details_tab_custom_paths": "",
"components.Onboarding.Steps.connection_details_tab_lndconnect": "",
"components.Onboarding.Steps.connection_options_separator": "",
"components.Onboarding.Steps.connection_string_invalid": "",
"components.Onboarding.Steps.connection_string_label": "",
"components.Onboarding.Steps.connection_string_placeholder": "",
Expand Down

0 comments on commit e876168

Please sign in to comment.