1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

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 <guillaumeroux123@gmail.com>
This commit is contained in:
Erik Marks 2023-02-28 10:21:33 -08:00 committed by GitHub
parent 656b6d1963
commit 90ae4980b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 40 additions and 40 deletions

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Details ansehen", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Hinzugefügt am", "message": "Hinzugefügt am",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Verbinden Sie sich mit dem $1-Snap.", "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": { "permission_cronjob": {
"message": "Regelmäßige Transaktionen planen und ausführen.", "message": "Regelmäßige Transaktionen planen und ausführen.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Προβολή λεπτομερειών", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Προστέθηκε στις", "message": "Προστέθηκε στις",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Συνδεθείτε στο Snap $1.", "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": { "permission_cronjob": {
"message": "Προγραμματισμός και εκτέλεση περιοδικών ενεργειών.", "message": "Προγραμματισμός και εκτέλεση περιοδικών ενεργειών.",

View File

@ -1368,7 +1368,7 @@
"message": "View on Etherscan" "message": "View on Etherscan"
}, },
"expandExperience": { "expandExperience": {
"message": "Expand your web3 experience" "message": "Expand your web3 experience with MetaMask Snaps"
}, },
"expandView": { "expandView": {
"message": "Expand view" "message": "Expand view"
@ -1410,7 +1410,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "See details", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Added on", "message": "Added on",
@ -2010,7 +2010,7 @@
"message": "Malformed data" "message": "Malformed data"
}, },
"manageSnaps": { "manageSnaps": {
"message": "Manage your installed Snaps" "message": "Manage your installed snaps"
}, },
"max": { "max": {
"message": "Max" "message": "Max"
@ -2771,15 +2771,15 @@
}, },
"permission_accessNamedSnap": { "permission_accessNamedSnap": {
"message": "Connect to $1.", "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": { "permission_accessNetwork": {
"message": "Access the internet.", "message": "Access the internet.",
"description": "The description of the `endowment:network-access` permission." "description": "The description of the `endowment:network-access` permission."
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Connect to the $1 Snap.", "message": "Connect to the $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": { "permission_cronjob": {
"message": "Schedule and execute periodic actions.", "message": "Schedule and execute periodic actions.",
@ -3016,7 +3016,7 @@
"message": "NFT was successfully removed!" "message": "NFT was successfully removed!"
}, },
"removeSnap": { "removeSnap": {
"message": "Remove Snap" "message": "Remove snap"
}, },
"removeSnapConfirmation": { "removeSnapConfirmation": {
"message": "Are you sure you want to remove $1?", "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." "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": { "snapInstall": {
"message": "Install Snap" "message": "Install snap"
}, },
"snapInstallWarningCheck": { "snapInstallWarningCheck": {
"message": "To confirm that you understand, check the box." "message": "To confirm that you understand, check the box."
@ -3441,7 +3441,7 @@
"message": "This snap is requesting the following permissions:" "message": "This snap is requesting the following permissions:"
}, },
"snapUpdate": { "snapUpdate": {
"message": "Update Snap" "message": "Update snap"
}, },
"snapUpdateExplanation": { "snapUpdateExplanation": {
"message": "$1 needs a newer version of your snap.", "message": "$1 needs a newer version of your snap.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Ver detalles", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Añadido el", "message": "Añadido el",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Conéctese al complemento de $1.", "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": { "permission_cronjob": {
"message": "Programar y ejecutar acciones periódicas.", "message": "Programar y ejecutar acciones periódicas.",

View File

@ -893,7 +893,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Ver detalles", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Añadido el", "message": "Añadido el",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Voir les détails", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Ajouté le", "message": "Ajouté le",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Connexion au Snap $1.", "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": { "permission_cronjob": {
"message": "Planifiez et exécutez des actions périodiques.", "message": "Planifiez et exécutez des actions périodiques.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "विवरण देखें", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "जोड़ा गया", "message": "जोड़ा गया",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "$1 स्नैप से कनेक्ट करें।", "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": { "permission_cronjob": {
"message": "समय-समय पर आने वाले क्रियाओं को शेड्यूल और निष्पादित करें।", "message": "समय-समय पर आने वाले क्रियाओं को शेड्यूल और निष्पादित करें।",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Lihat detailnya", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Ditambahkan di", "message": "Ditambahkan di",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Hubungkan ke Snap $1.", "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": { "permission_cronjob": {
"message": "Jadwalkan dan lakukan tindakan berkala.", "message": "Jadwalkan dan lakukan tindakan berkala.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "詳細を表示", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "追加日", "message": "追加日",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "$1 スナップに接続します。", "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": { "permission_cronjob": {
"message": "定期的なアクションのスケジュール設定と実行。", "message": "定期的なアクションのスケジュール設定と実行。",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "세부 정보 보기", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "추가하기", "message": "추가하기",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "$1 스냅에 연결합니다.", "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": { "permission_cronjob": {
"message": "정기적 활동 예약 및 실행", "message": "정기적 활동 예약 및 실행",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Ver detalhes", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Adicionado em", "message": "Adicionado em",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Conecte-se ao snap $1.", "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": { "permission_cronjob": {
"message": "Agende e execute ações periódicas.", "message": "Agende e execute ações periódicas.",

View File

@ -893,7 +893,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Ver detalhes", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Adicionado em", "message": "Adicionado em",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "См. подробности", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Добавлена", "message": "Добавлена",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Подключение к спапу $1.", "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": { "permission_cronjob": {
"message": "Планируйте и выполняйте периодические действия.", "message": "Планируйте и выполняйте периодические действия.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Tingnan ang mga detalye", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Dinagdag sa", "message": "Dinagdag sa",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Kumonekta sa $1 Snap.", "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": { "permission_cronjob": {
"message": "Mag-iskedyul at magsagawa ng mga pana-panahong mga aksyon.", "message": "Mag-iskedyul at magsagawa ng mga pana-panahong mga aksyon.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Ayrıntıları gör", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Şu tarihte eklendi:", "message": "Şu tarihte eklendi:",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "$1 Snap'e bağlan.", "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": { "permission_cronjob": {
"message": "Periyodik eylemleri planla ve gerçekleştir.", "message": "Periyodik eylemleri planla ve gerçekleştir.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "Xem chi tiết", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "Đã thêm vào", "message": "Đã thêm vào",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "Kết nối với Snap $1.", "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": { "permission_cronjob": {
"message": "Lên lịch và thực hiện các hành động theo định kỳ.", "message": "Lên lịch và thực hiện các hành động theo định kỳ.",

View File

@ -1276,7 +1276,7 @@
}, },
"flaskSnapSettingsCardButtonCta": { "flaskSnapSettingsCardButtonCta": {
"message": "查看详细信息", "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": { "flaskSnapSettingsCardDateAddedOn": {
"message": "添加于", "message": "添加于",
@ -2573,7 +2573,7 @@
}, },
"permission_accessSnap": { "permission_accessSnap": {
"message": "连接$1的Snap。", "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": { "permission_cronjob": {
"message": "规划并执行定期操作。", "message": "规划并执行定期操作。",

View File

@ -140,7 +140,7 @@ describe('Test Snap Management', function () {
await driver.delay(1000); await driver.delay(1000);
// try to remove snap // try to remove snap
await driver.clickElement({ text: 'Remove Snap', tag: 'button' }); await driver.clickElement({ text: 'Remove snap', tag: 'button' });
await driver.delay(1000); await driver.delay(1000);
// try to click remove on popover // try to click remove on popover