From 90ae4980b3aca3f2610a24ade06cf7e6db928209 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 28 Feb 2023 10:21:33 -0800 Subject: [PATCH] Update snaps locale messages for casing and content (#17915) * Update snaps locale messages for casing and content * Fix non-English locales * udpate e2e test --------- Co-authored-by: Guillaume Roux --- app/_locales/de/messages.json | 4 ++-- app/_locales/el/messages.json | 4 ++-- app/_locales/en/messages.json | 18 +++++++++--------- app/_locales/es/messages.json | 4 ++-- app/_locales/es_419/messages.json | 2 +- app/_locales/fr/messages.json | 4 ++-- app/_locales/hi/messages.json | 4 ++-- app/_locales/id/messages.json | 4 ++-- app/_locales/ja/messages.json | 4 ++-- app/_locales/ko/messages.json | 4 ++-- app/_locales/pt/messages.json | 4 ++-- app/_locales/pt_BR/messages.json | 2 +- app/_locales/ru/messages.json | 4 ++-- app/_locales/tl/messages.json | 4 ++-- app/_locales/tr/messages.json | 4 ++-- app/_locales/vi/messages.json | 4 ++-- app/_locales/zh_CN/messages.json | 4 ++-- test/e2e/snaps/test-snap-management.spec.js | 2 +- 18 files changed, 40 insertions(+), 40 deletions(-) diff --git a/app/_locales/de/messages.json b/app/_locales/de/messages.json index 2c4eb3e1e..e44c433ec 100644 --- a/app/_locales/de/messages.json +++ b/app/_locales/de/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Details ansehen", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Hinzugefügt am", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Verbinden Sie sich mit dem $1-Snap.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Regelmäßige Transaktionen planen und ausführen.", diff --git a/app/_locales/el/messages.json b/app/_locales/el/messages.json index 021bca9e2..1fc07474b 100644 --- a/app/_locales/el/messages.json +++ b/app/_locales/el/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Προβολή λεπτομερειών", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Προστέθηκε στις", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Συνδεθείτε στο Snap $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Προγραμματισμός και εκτέλεση περιοδικών ενεργειών.", diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index f7845b79b..34dd0cb36 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -1368,7 +1368,7 @@ "message": "View on Etherscan" }, "expandExperience": { - "message": "Expand your web3 experience" + "message": "Expand your web3 experience with MetaMask Snaps" }, "expandView": { "message": "Expand view" @@ -1410,7 +1410,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "See details", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Added on", @@ -2010,7 +2010,7 @@ "message": "Malformed data" }, "manageSnaps": { - "message": "Manage your installed Snaps" + "message": "Manage your installed snaps" }, "max": { "message": "Max" @@ -2771,15 +2771,15 @@ }, "permission_accessNamedSnap": { "message": "Connect to $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the human-readable name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the human-readable name of the snap." }, "permission_accessNetwork": { "message": "Access the internet.", "description": "The description of the `endowment:network-access` permission." }, "permission_accessSnap": { - "message": "Connect to the $1 Snap.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "message": "Connect to the $1 snap.", + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Schedule and execute periodic actions.", @@ -3016,7 +3016,7 @@ "message": "NFT was successfully removed!" }, "removeSnap": { - "message": "Remove Snap" + "message": "Remove snap" }, "removeSnapConfirmation": { "message": "Are you sure you want to remove $1?", @@ -3425,7 +3425,7 @@ "description": "This is shown when a snap encounters an error. $1 is the error message from the snap, and $2 is the error code." }, "snapInstall": { - "message": "Install Snap" + "message": "Install snap" }, "snapInstallWarningCheck": { "message": "To confirm that you understand, check the box." @@ -3441,7 +3441,7 @@ "message": "This snap is requesting the following permissions:" }, "snapUpdate": { - "message": "Update Snap" + "message": "Update snap" }, "snapUpdateExplanation": { "message": "$1 needs a newer version of your snap.", diff --git a/app/_locales/es/messages.json b/app/_locales/es/messages.json index 0f9c3e87b..607a55e1a 100644 --- a/app/_locales/es/messages.json +++ b/app/_locales/es/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Ver detalles", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Añadido el", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Conéctese al complemento de $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Programar y ejecutar acciones periódicas.", diff --git a/app/_locales/es_419/messages.json b/app/_locales/es_419/messages.json index 31ff1565d..cd34633d5 100644 --- a/app/_locales/es_419/messages.json +++ b/app/_locales/es_419/messages.json @@ -893,7 +893,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Ver detalles", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Añadido el", diff --git a/app/_locales/fr/messages.json b/app/_locales/fr/messages.json index d30cbd4d7..b23d498d9 100644 --- a/app/_locales/fr/messages.json +++ b/app/_locales/fr/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Voir les détails", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Ajouté le", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Connexion au Snap $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Planifiez et exécutez des actions périodiques.", diff --git a/app/_locales/hi/messages.json b/app/_locales/hi/messages.json index 019bc2bfa..437b9876e 100644 --- a/app/_locales/hi/messages.json +++ b/app/_locales/hi/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "विवरण देखें", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "जोड़ा गया", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "$1 स्नैप से कनेक्ट करें।", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "समय-समय पर आने वाले क्रियाओं को शेड्यूल और निष्पादित करें।", diff --git a/app/_locales/id/messages.json b/app/_locales/id/messages.json index 3a136c207..cd057e434 100644 --- a/app/_locales/id/messages.json +++ b/app/_locales/id/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Lihat detailnya", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Ditambahkan di", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Hubungkan ke Snap $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Jadwalkan dan lakukan tindakan berkala.", diff --git a/app/_locales/ja/messages.json b/app/_locales/ja/messages.json index 47d58c951..1739957a7 100644 --- a/app/_locales/ja/messages.json +++ b/app/_locales/ja/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "詳細を表示", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "追加日", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "$1 スナップに接続します。", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "定期的なアクションのスケジュール設定と実行。", diff --git a/app/_locales/ko/messages.json b/app/_locales/ko/messages.json index 42f3c8dd8..64ec8d941 100644 --- a/app/_locales/ko/messages.json +++ b/app/_locales/ko/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "세부 정보 보기", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "추가하기", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "$1 스냅에 연결합니다.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "정기적 활동 예약 및 실행", diff --git a/app/_locales/pt/messages.json b/app/_locales/pt/messages.json index 185a4a129..0b40cef5f 100644 --- a/app/_locales/pt/messages.json +++ b/app/_locales/pt/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Ver detalhes", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Adicionado em", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Conecte-se ao snap $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Agende e execute ações periódicas.", diff --git a/app/_locales/pt_BR/messages.json b/app/_locales/pt_BR/messages.json index 3b53778c2..d35b302c2 100644 --- a/app/_locales/pt_BR/messages.json +++ b/app/_locales/pt_BR/messages.json @@ -893,7 +893,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Ver detalhes", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Adicionado em", diff --git a/app/_locales/ru/messages.json b/app/_locales/ru/messages.json index 70f47fda8..1874fc415 100644 --- a/app/_locales/ru/messages.json +++ b/app/_locales/ru/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "См. подробности", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Добавлена", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Подключение к спапу $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Планируйте и выполняйте периодические действия.", diff --git a/app/_locales/tl/messages.json b/app/_locales/tl/messages.json index 453324c80..5aab2fe6e 100644 --- a/app/_locales/tl/messages.json +++ b/app/_locales/tl/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Tingnan ang mga detalye", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Dinagdag sa", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Kumonekta sa $1 Snap.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Mag-iskedyul at magsagawa ng mga pana-panahong mga aksyon.", diff --git a/app/_locales/tr/messages.json b/app/_locales/tr/messages.json index 88cc092be..180558fc6 100644 --- a/app/_locales/tr/messages.json +++ b/app/_locales/tr/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Ayrıntıları gör", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Şu tarihte eklendi:", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "$1 Snap'e bağlan.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Periyodik eylemleri planla ve gerçekleştir.", diff --git a/app/_locales/vi/messages.json b/app/_locales/vi/messages.json index 6d2ed796a..17e6d2331 100644 --- a/app/_locales/vi/messages.json +++ b/app/_locales/vi/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "Xem chi tiết", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "Đã thêm vào", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "Kết nối với Snap $1.", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "Lên lịch và thực hiện các hành động theo định kỳ.", diff --git a/app/_locales/zh_CN/messages.json b/app/_locales/zh_CN/messages.json index f1b9c8f0d..cf7a16cd7 100644 --- a/app/_locales/zh_CN/messages.json +++ b/app/_locales/zh_CN/messages.json @@ -1276,7 +1276,7 @@ }, "flaskSnapSettingsCardButtonCta": { "message": "查看详细信息", - "description": "Call to action a user can take to see more information about the Snap that is installed" + "description": "Call to action a user can take to see more information about the snap that is installed" }, "flaskSnapSettingsCardDateAddedOn": { "message": "添加于", @@ -2573,7 +2573,7 @@ }, "permission_accessSnap": { "message": "连接$1的Snap。", - "description": "The description for the `wallet_snap_*` permission. $1 is the name of the Snap." + "description": "The description for the `wallet_snap_*` permission. $1 is the name of the snap." }, "permission_cronjob": { "message": "规划并执行定期操作。", diff --git a/test/e2e/snaps/test-snap-management.spec.js b/test/e2e/snaps/test-snap-management.spec.js index 8286e534c..049cbd22f 100644 --- a/test/e2e/snaps/test-snap-management.spec.js +++ b/test/e2e/snaps/test-snap-management.spec.js @@ -140,7 +140,7 @@ describe('Test Snap Management', function () { await driver.delay(1000); // try to remove snap - await driver.clickElement({ text: 'Remove Snap', tag: 'button' }); + await driver.clickElement({ text: 'Remove snap', tag: 'button' }); await driver.delay(1000); // try to click remove on popover