Skip to content

Commit

Permalink
Adjust English translation based on Mr. Nforth's contribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
qing3962 committed Oct 18, 2023
1 parent 0234c5d commit c7fbd11
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
30 changes: 15 additions & 15 deletions langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
"open_password_protection": "Lock password protection",
"password_protection_opened": "Password protection is locked!",
"password_protection_closed": "Password protection is unlocked!",
"notice_set_password": "Please firstly set password in the setting of Password Protection plugin!",
"setting_folder_name": "The folder need to be protected",
"setting_folder_desc": "With relative path, the '/' is the root path of vault folder",
"notice_set_password": "Please set the password in the settings page for the Password Protection Plugin first!",
"setting_folder_name": "Protected Folder",
"setting_folder_desc": "With relative paths, the '/' is the root path of the vault",
"place_holder_enter_path": "Enter path",
"setting_toggle_name": "Enable/Disable protection with password.",
"setting_toggle_desc": "Enable the protection you need to set password, disable it need to verify your password.",
"setting_toggle_name": "Enable/Disable password protection",
"setting_toggle_desc": "Enable the protection you need to use the password, to disable it need to verify your password.",
"hint_enter_in_both_boxes": "Please enter your password in both boxes.",
"hint_password_must_match": "Passwords must match.",
"hint_password_length": "Password must be valid characters and contains 1~20 characters.",
"hint_password_valid_character": "Password is valid characters.",
"hint_password_length": "Password must contain valid characters and must be 1-20 characters long.",
"hint_password_valid_character": "Password has invalid characters.",
"set_password_title": "Set a password to protect a folder",
"place_holder_enter_password": "Enter password, 1~20 characters",
"place_holder_enter_password": "Enter password, 1~20 characters long",
"confirm_password": "Confirm your password",
"verify_password": "Verify password",
"enter_password": "Enter your password",
"enter_password_to_verify": "Please enter your password to verify.",
"password_is_empty": "Password is empty.",
"password_not_match": "Password isn't match.",
"password_is_right": "Password is right.",
"auto_lock_interval_name": "The interval for auto-lock password protection",
"auto_lock_interval_desc": "The interval from the last time to current that protection closed or the protected file was opened, the unit is minute.",
"forbid_close_verify_modal_name": "Prohibit closing the password verify box as soon as the password isn't right",
"forbid_close_verify_modal_desc": "This will protect more privacy, but if you forgot password, you may not be able to enter the Obsidian.",
"before_open_protection": "Turn on the switch below, and the settings above cannot be modified anymore."
"password_not_match": "Password doesn't match.",
"password_is_right": "Password is correct.",
"auto_lock_interval_name": "Auto-lock",
"auto_lock_interval_desc": "The number of minutes to wait before auto-locking, since the protected file was opened.",
"forbid_close_verify_modal_name": "Disable closing the password verify box if the password isn't correct",
"forbid_close_verify_modal_desc": "This will allow more privacy, but if you forgot your password, you may not be able to view your notes.",
"before_open_protection": "Turn on the switch below to enable password protection, and disable the options above."
}
30 changes: 15 additions & 15 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,30 +503,30 @@ var en_default = {
open_password_protection: "Lock password protection",
password_protection_opened: "Password protection is locked!",
password_protection_closed: "Password protection is unlocked!",
notice_set_password: "Please firstly set password in the setting of Password Protection plugin!",
setting_folder_name: "The folder need to be protected",
setting_folder_desc: "With relative path, the '/' is the root path of vault folder",
notice_set_password: "Please set the password in the settings page for the Password Protection Plugin first!",
setting_folder_name: "Protected Folder",
setting_folder_desc: "With relative paths, the '/' is the root path of the vault",
place_holder_enter_path: "Enter path",
setting_toggle_name: "Enable/Disable protection with password.",
setting_toggle_desc: "Enable the protection you need to set password, disable it need to verify your password.",
setting_toggle_name: "Enable/Disable password protection",
setting_toggle_desc: "Enable the protection you need to use the password, to disable it need to verify your password.",
hint_enter_in_both_boxes: "Please enter your password in both boxes.",
hint_password_must_match: "Passwords must match.",
hint_password_length: "Password must be valid characters and contains 1~20 characters.",
hint_password_valid_character: "Password is valid characters.",
hint_password_length: "Password must contain valid characters and must be 1-20 characters long.",
hint_password_valid_character: "Password has invalid characters.",
set_password_title: "Set a password to protect a folder",
place_holder_enter_password: "Enter password, 1~20 characters",
place_holder_enter_password: "Enter password, 1~20 characters long",
confirm_password: "Confirm your password",
verify_password: "Verify password",
enter_password: "Enter your password",
enter_password_to_verify: "Please enter your password to verify.",
password_is_empty: "Password is empty.",
password_not_match: "Password isn't match.",
password_is_right: "Password is right.",
auto_lock_interval_name: "The interval for auto-lock password protection",
auto_lock_interval_desc: "The interval from the last time to current that protection closed or the protected file was opened, the unit is minute.",
forbid_close_verify_modal_name: "Prohibit closing the password verify box as soon as the password isn't right",
forbid_close_verify_modal_desc: "This will protect more privacy, but if you forgot password, you may not be able to enter the Obsidian.",
before_open_protection: "Turn on the switch below, and the settings above cannot be modified anymore."
password_not_match: "Password doesn't match.",
password_is_right: "Password is correct.",
auto_lock_interval_name: "Auto-lock",
auto_lock_interval_desc: "The number of minutes to wait before auto-locking, since the protected file was opened.",
forbid_close_verify_modal_name: "Disable closing the password verify box if the password isn't correct",
forbid_close_verify_modal_desc: "This will allow more privacy, but if you forgot your password, you may not be able to view your notes.",
before_open_protection: "Turn on the switch below to enable password protection, and disable the options above."
};

// langs/zh_cn.json
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "password-protection",
"name": "Password Protection",
"version": "1.1.18",
"version": "1.1.19",
"minAppVersion": "0.15.0",
"description": "Protect your private notes and diary with a password, no encrypt, no decrypt.",
"author": "Qing Li",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "password-protection",
"version": "1.1.18",
"version": "1.1.19",
"description": "Protect your private notes and diary with a password, no encrypt, no decrypt.",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit c7fbd11

Please sign in to comment.