From 25f469efd730fc07fdb1f04607e8215c87f89334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20Rio?= Date: Mon, 12 Nov 2018 08:32:49 +0700 Subject: [PATCH] Fix minor mistake --- client/src/__locales/en.js | 2 +- client/src/__locales/vi.js | 2 +- client/src/components/Logs/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/__locales/en.js b/client/src/__locales/en.js index 47331802..e5bd5fd4 100644 --- a/client/src/__locales/en.js +++ b/client/src/__locales/en.js @@ -98,7 +98,7 @@ export default { dns_test_ok_toast: 'Specified DNS servers are working correctly', dns_test_not_ok_toast: 'Server "{{key}}": could not be used, please check that you\'ve written it correctly', // Logs - ublock_btn: 'Unblock', + unblock_btn: 'Unblock', block_btn: 'Block', time_table_header: 'Time', domain_name_table_header: 'Domain name', diff --git a/client/src/__locales/vi.js b/client/src/__locales/vi.js index 9dfb6d5f..0d9388dc 100644 --- a/client/src/__locales/vi.js +++ b/client/src/__locales/vi.js @@ -98,7 +98,7 @@ export default { dns_test_ok_toast: 'Máy chủ DNS có thể sử dụng', dns_test_not_ok_toast: 'Máy chủ "{{key}}": không thể sử dụng, vui lòng kiểm tra bạn đã điền chính xác', // Logs - ublock_btn: 'Bỏ chặn', + unblock_btn: 'Bỏ chặn', block_btn: 'Chặn', time_table_header: 'Thời gian', domain_name_table_header: 'Tên miền', diff --git a/client/src/components/Logs/index.js b/client/src/components/Logs/index.js index 8f55a982..f420a3f4 100644 --- a/client/src/components/Logs/index.js +++ b/client/src/components/Logs/index.js @@ -68,7 +68,7 @@ class Logs extends Component { renderBlockingButton(isFiltered, domain) { const buttonClass = isFiltered ? 'btn-outline-secondary' : 'btn-outline-danger'; - const buttonText = isFiltered ? 'ublock_btn' : 'block_btn'; + const buttonText = isFiltered ? 'unblock_btn' : 'block_btn'; return (