This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23a4808
commit 889bee9
Showing
2 changed files
with
271 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,270 @@ | ||
{ | ||
"nano_d_ui_group": { | ||
"message": "User interface", | ||
"description": "Group 'User interface' of settings tab" | ||
}, | ||
"nano_d_line_wrap_e": { | ||
"message": "Soft wrap long lines in filter editor", | ||
"description": "English: Soft wrap long lines in filter editor" | ||
}, | ||
"nano_d_line_wrap_v": { | ||
"message": "Soft wrap long lines in filter viewer", | ||
"description": "English: Soft wrap long lines in filter viewer" | ||
}, | ||
"nano_d_recompile_filters": { | ||
"message": "Force recompile filters", | ||
"description": "Button in advanced settings to recompile filters" | ||
}, | ||
"nano_d_resources_links": { | ||
"message": "Nano comes with two sets of resources, <a href='https://github.com/gorhill/uBlock/wiki/Resources-Library'>uBlock Origin Resources</a> and <a href='https://github.com/NanoAdblocker/NanoCore2/blob/master/src/snippets.js'>Nano Extra Resources</a>.", | ||
"description": "Resources reference links, 'Resources' and 'Extra Resources' should be translated" | ||
}, | ||
"nano_d_ace_help": { | ||
"message": "Nano Filter Editor is powered by Ace and most shortcut keys works the same.", | ||
"description": "[Not Used] Explain the similarity between Nano Filter Editor and Ace in terms of shortcut keys" | ||
}, | ||
"nano_d_about_based_on": { | ||
"message": "Based on {{@data}}", | ||
"description": "English: Based on {{@data}}" | ||
}, | ||
"nano_v_title": { | ||
"message": "Nano — Filter Viewer", | ||
"description": "Title of the filter viewer" | ||
}, | ||
"nano_v_read_error": { | ||
"message": "Could not load content, please refresh.", | ||
"description": "Message when filter content could not be loaded" | ||
}, | ||
"nano_p_cache_control": { | ||
"message": "cache control", | ||
"description": "The cache control strip name, can be at most 20 English characters wide" | ||
}, | ||
"nano_p_open_firewall_pane": { | ||
"message": "Toggle the overview panel", | ||
"description": "Tooltip for toggle firewall details (sometimes called overview panel) button" | ||
}, | ||
"nano_p_refresh_button": { | ||
"message": "Click to refresh this page.\n\nCtrl+click to refresh this page while bypassing cache.", | ||
"description": "English: Click to refresh this page.\n\nCtrl+click to refresh this page while bypassing cache." | ||
}, | ||
"nano_p_force_scroll": { | ||
"message": "(beta) Enter force scroll mode (will break layout)", | ||
"description": "Tooltip for force scroll button" | ||
}, | ||
"nano_p_bug_reporter": { | ||
"message": "(beta) Open the bug reporter", | ||
"description": "Tooltip for bug reporter button" | ||
}, | ||
"nano_l_whitelist_aborted_w": { | ||
"message": "Nano did not scan the rest of the whitelists for warnings because there are too many warnings.", | ||
"description": "Warning when too many warnings in whitelists" | ||
}, | ||
"nano_l_whitelist_suspecious_re": { | ||
"message": "This line is treated as a regular expression, is that intended?", | ||
"description": "Warning when parsed as regular expression but is unlikely the intention of user" | ||
}, | ||
"nano_l_whitelist_aborted_e": { | ||
"message": "Nano did not scan the rest of the whitelists for errors because there are too many errors.", | ||
"description": "Error when too many errors in whitelists" | ||
}, | ||
"nano_l_whitelist_invalid_hostname": { | ||
"message": "This hostname is not valid.", | ||
"description": "Error when hostname not valid" | ||
}, | ||
"nano_l_whitelist_invalid_re": { | ||
"message": "This regular expression has syntax errors.", | ||
"description": "Error when regular expression has syntax errors" | ||
}, | ||
"nano_l_whitelist_invalid_url": { | ||
"message": "This URL is not valid.", | ||
"description": "Error when a URL not valid" | ||
}, | ||
"nano_l_filter_aborted_w": { | ||
"message": "Nano did not scan the rest of the filter rules for warnings because there are too many warnings.", | ||
"description": "Warning when too many warnings in filter rules" | ||
}, | ||
"nano_l_filter_script_snippet_double_exception": { | ||
"message": "Nano discarded a negated domain because it cannot be used in a script snippet exception rule.", | ||
"description": "Warning when negated domain used with script snippet exception" | ||
}, | ||
"nano_l_filter_converted_to_exception": { | ||
"message": "Nano converted this rule to an exception rule because it only contain negated domains.", | ||
"description": "Warning when a rule is convered to exception because all negated domains" | ||
}, | ||
"nano_l_filter_negated_html_filtering": { | ||
"message": "Negated domains are not yet supported for HTML filtering.", | ||
"description": "Warning when negated domains used with HTML filtering" | ||
}, | ||
"nano_l_filter_discarded_non_negatable_type": { | ||
"message": "Nano discarded the type option '{{type}}' because it cannot be negated.", | ||
"description": "[Not Used] English: Nano discarded the type option '{{type}}' because it cannot be negated." | ||
}, | ||
"nano_l_filter_expanded_mp4_option": { | ||
"message": "Nano replaced the option 'mp4' with 'media,redirect=noop-1s.mp4'.", | ||
"description": "Warning when 'mp4' is replaced" | ||
}, | ||
"nano_l_filter_unsupported_type_ignored": { | ||
"message": "Nano discarded type options that are not yet supported.", | ||
"description": "Warning when unsupported types discarded but not entire rule" | ||
}, | ||
"nano_l_filter_resource_not_found": { | ||
"message": "The resource '{{res}}' could not be found, is it spelled correctly?", | ||
"description": "Warning when resource not found" | ||
}, | ||
"nano_l_filter_resource_not_redirectable": { | ||
"message": "The resource '{{res}}' cannot be used as a redirect target.", | ||
"description": "Warning when resource not redirectable" | ||
}, | ||
"nano_l_filter_resource_not_injectable": { | ||
"message": "The resource '{{res}}' cannot be injected as a script snippet.", | ||
"description": "Warning when resource not injectable" | ||
}, | ||
"nano_l_filter_resource_alias_used": { | ||
"message": "'{{alias}}' is the alias of '{{res}}', consider using the real name instead.", | ||
"description": "Warning when resource alias used" | ||
}, | ||
"nano_l_html_filtering_not_supported": { | ||
"message": "HTML filtering is not supported by your browser.", | ||
"description": "Warning when HTML filtering is used on unsupported platforms" | ||
}, | ||
"nano_l_filter_comment_bracket": { | ||
"message": "Using '[' to denote comment is deprecated, use '!' instead.", | ||
"description": "Deprecation when '[' used for comments" | ||
}, | ||
"nano_l_filter_inline_comment": { | ||
"message": "Inline comments are deprecated.", | ||
"description": "Deprecation when inline comments" | ||
}, | ||
"nano_l_filter_script_contains": { | ||
"message": "'##script:contains(...)' is deprecated, use '##^script:has-text(...)' instead.", | ||
"description": "Deprecation when 'script:contains' is used" | ||
}, | ||
"nano_l_filter_mp4_option": { | ||
"message": "The use of the option 'mp4' is deprecated, write out the full options instead.", | ||
"description": "Deprecation when 'mp4'" | ||
}, | ||
"nano_l_filter_aborted_e": { | ||
"message": "Nano did not scan the rest of the filter rules for errors because there are too many errors.", | ||
"description": "Error when too many errors in filter rules" | ||
}, | ||
"nano_l_filter_ag_js_injection": { | ||
"message": "Raw JavaScript injection is not allowed due to security concerns.", | ||
"description": "Error when raw JavaScript injection" | ||
}, | ||
"nano_l_filter_bad_selector": { | ||
"message": "The selector in this rule has syntax errors.", | ||
"description": "Error when selector has syntax errors" | ||
}, | ||
"nano_l_filter_too_expensive": { | ||
"message": "This rule cannot be generic.", | ||
"description": "Error when expensive rule is generic" | ||
}, | ||
"nano_l_filter_style_injection_syntax_error": { | ||
"message": "This CSS injection rule has syntax errors.", | ||
"description": "Error when CSS injection has syntax errors" | ||
}, | ||
"nano_l_filter_assets_access_violation": { | ||
"message": "Unprivileged filters may not reference privileged resources.", | ||
"description": "Error when unprivileged filter references a privileged resources" | ||
}, | ||
"nano_l_filter_localhost_entry": { | ||
"message": "This host file entry is discarded because it is localhost declaration.", | ||
"description": "Error when localhost declaration" | ||
}, | ||
"nano_l_filter_ag_element_remove": { | ||
"message": "Element remove rules with AdGuard syntax are not yet supported, use '##^' instead.", | ||
"description": "Error when AdGuard style element remove rule" | ||
}, | ||
"nano_l_filter_negated_generichide": { | ||
"message": "The options 'generichide', 'ghide', and 'elemhide' cannot be negated.", | ||
"description": "Error when 'generichide' is negated" | ||
}, | ||
"nano_l_filter_bad_domain_option_arguments": { | ||
"message": "The option 'domain=...' has invalid arguments.", | ||
"description": "Error when 'domain=' has invalid arguments" | ||
}, | ||
"nano_l_filter_bad_denyallow_option_arguments": { | ||
"message": "The option 'denyallow=...' has invalid arguments.", | ||
"description": "Error when 'denyallow=' has invalid arguments" | ||
}, | ||
"nano_l_filter_bad_csp_option_arguments": { | ||
"message": "The option 'csp=...' has no arguments or has invalid arguments.", | ||
"description": "Error when 'csp=' has no arguments or has invalid arguments" | ||
}, | ||
"nano_l_filter_unknown_option": { | ||
"message": "The option '{{option}}' is not recognized.", | ||
"description": "English: The option '{{option}}' is not recognized." | ||
}, | ||
"nano_l_filter_only_unsupported_type": { | ||
"message": "This filter rule selected only unsupported type options.", | ||
"description": "Error when filter rule selected only unsupported types" | ||
}, | ||
"nano_l_filter_no_type": { | ||
"message": "This filter rule explicitly selected no type options.", | ||
"description": "Error when filter rule explicitly selected no types" | ||
}, | ||
"nano_l_filter_bad_re": { | ||
"message": "This network rule has regular expression syntax errors.", | ||
"description": "Error when network rule has regular expression syntax errors" | ||
}, | ||
"nano_l_filter_too_short": { | ||
"message": "This network rule is too short.", | ||
"description": "Error when network rule is too short" | ||
}, | ||
"nano_l_filter_matcher_too_long": { | ||
"message": "The matcher of this network rule is too long.", | ||
"description": "Error when network matcher is too long" | ||
}, | ||
"nano_l_filter_generic_js_in_block": { | ||
"message": "Script injection syntax that selects all resources can only be used in exception filters.", | ||
"description": "Error when '##+js()' is used" | ||
}, | ||
"nano_l_filter_intervention_smed79": { | ||
"message": "The domain anchor may not be immediately followed by '^'.", | ||
"description": "Error when the bad rule from SMed79 is discarded" | ||
}, | ||
"nano_r_no_type": { | ||
"message": "Nano discarded the redirect portion of this rule because it must select a type option.", | ||
"description": "Warning when redirect selected no types" | ||
}, | ||
"nano_r_too_many_types": { | ||
"message": "Nano discarded the redirect portion of this rule because it selected too many type options.", | ||
"description": "Warning when redirect selected too many types" | ||
}, | ||
"nano_r_no_resource_token": { | ||
"message": "Nano discarded the redirect portion of this rule because it has no arguments.", | ||
"description": "Warning when redirect has no arguments" | ||
}, | ||
"nano_r_no_supported_type": { | ||
"message": "Nano discarded the redirect portion of this rule because it did not select any supported type options.", | ||
"description": "Warning when redirect selected no supported type" | ||
}, | ||
"nano_r_negated_domain": { | ||
"message": "Nano discarded part of the redirect portion of this rule because negated domains cannot be used with redirect.", | ||
"description": "Warning when negated domain used with redirect" | ||
}, | ||
"nano_r_no_destination": { | ||
"message": "Nano discarded the redirect portion of this rule because it has no valid destination domain.", | ||
"description": "Warning when redirect has no destination" | ||
}, | ||
"nano_r_does_not_match_re": { | ||
"message": "Nano discarded the redirect portion of this rule because this network rule does not match this regular expression: {{regexp}}", | ||
"description": "Warning when redirect failed initial test, use '{{regexp}}' to denote the tester if needed" | ||
}, | ||
"nano_r_simplified_to_star": { | ||
"message": "Nano simplified the matcher of this rule to '*'.", | ||
"description": "Warning when the '*/*' workaround is simplified" | ||
}, | ||
"nano_r_redirect_in_exception": { | ||
"message": "Redirect rules cannot be exceptions.", | ||
"description": "Error when redirect used in exception" | ||
}, | ||
"nano_r_redirected_twice": { | ||
"message": "Redirect rules can only contain one redirect directive.", | ||
"description": "Error when two redirects in one rule" | ||
}, | ||
"nano_b_cosmetic_filter_passed_through": { | ||
"message": "This rule is rejected for now. More information: https://github.com/NanoAdblocker/NanoCore/issues/77", | ||
"description": "https://github.com/NanoAdblocker/NanoCore/issues/77" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters