docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
listlengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
'description': > The blocklist of clients: IP addresses, CIDRs, or client IDs.
<mask> 'items': <mask> 'type': 'string' <mask> 'type': 'array' <mask> 'disallowed_clients': <mask> 'description': 'Blocklist of clients.' <mask> 'items': <mask> 'type': 'string' <mask> 'type': 'array' <mask> 'blocked_host...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e08a64ebe4919579275130e5a0c2e3f7c7ff070e
openapi/openapi.yaml
'description': 'The blocklist of hosts.'
<mask> 'items': <mask> 'type': 'string' <mask> 'type': 'array' <mask> 'blocked_hosts': <mask> 'description': 'Blocklist of hosts.' <mask> 'items': <mask> 'type': 'string' <mask> 'type': 'array' <mask> 'type': 'object' <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e08a64ebe4919579275130e5a0c2e3f7c7ff070e
openapi/openapi.yaml
{"facebook", []string{"||facebook.com^", "||facebook.net^", "||fbcdn.net^", "||fb.me^", "||fb.com^", "||fbsbx.com^"}},
<mask> // client/src/helpers/constants.js <mask> // client/src/components/ui/Icons.js <mask> var serviceRulesArray = []svc{ <mask> {"whatsapp", []string{"||whatsapp.net^", "||whatsapp.com^"}}, <mask> {"facebook", []string{"||facebook.com^", "||facebook.net^", "||fbcdn.net^"}}, <mask> {"twitter", []string{"||tw...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e0be4e8801307bebce9e19057a1a8e6fb1a658c7
home/blocked_services.go
{"messenger", []string{"||fb.com^", "||facebook.com^", "||messenger.com^"}},
<mask> {"whatsapp", []string{"||whatsapp.net^", "||whatsapp.com^"}}, <mask> {"facebook", []string{"||facebook.com^", "||facebook.net^", "||fbcdn.net^"}}, <mask> {"twitter", []string{"||twitter.com^", "||t.co^", "||twimg.com^"}}, <mask> {"youtube", []string{"||youtube.com^", "||ytimg.com^", "||youtu.be^", "||goo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e0be4e8801307bebce9e19057a1a8e6fb1a658c7
home/blocked_services.go
{"instagram", []string{"||instagram.com^", "||cdninstagram.com^"}},
<mask> {"youtube", []string{"||youtube.com^", "||ytimg.com^", "||youtu.be^", "||googlevideo.com^", "||youtubei.googleapis.com^"}}, <mask> {"messenger", []string{"||fb.com^", "||facebook.com^"}}, <mask> {"twitch", []string{"||twitch.tv^", "||ttvnw.net^"}}, <mask> {"netflix", []string{"||nflxext.com^", "||netflix...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e0be4e8801307bebce9e19057a1a8e6fb1a658c7
home/blocked_services.go
"@babel/runtime": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.1.2.tgz", "integrity": "sha512-Y3SCjmhSupzFB6wcv1KmmFucH6gDVnI30WjOcicV10ju0cZjak3Jcs67YLIXBrmZYw1xCrVeJPbycFwrqNyxpg==", "requires": { "regenerator-runtime": "^0.12.0" },...
<mask> "dev": true <mask> }, <mask> "@babel/template": { <mask> "version": "7.0.0-beta.44", <mask> "resolved": "http://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.44.tgz", <mask> "integrity": "sha512-w750Sloq0UNifLx1rUqwfbnC6uSUk0mfwwgGRfdLiaUzfAOiH0tHJE6ILQIUi3KYkjiCD...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"create-react-context": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/create-react-context/-/create-react-context-0.2.3.tgz", "integrity": "sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag==", "requires": { "fbjs": "^0.8.0"...
<mask> "safe-buffer": "^5.0.1", <mask> "sha.js": "^2.4.8" <mask> } <mask> }, <mask> "cross-spawn": { <mask> "version": "5.1.0", <mask> "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", <mask> "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojV...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "ansi-regex": { <mask> "version": "2.1.1", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "aproba": { <mask> "version": "1.2.0", <mask> "bundled": true, <mask> "dev": true, </s> Translate...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "balanced-match": { <mask> "version": "1.0.0", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "brace-expansion": { <mask> "version": "1.1.11", <mask> "bundled": true, <mask> "dev": true, ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "brace-expansion": { <mask> "version": "1.1.11", <mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "balanced-match": "^1.0.0", <mask> "concat-map": "0.0.1" <mask> } <mask> }, <mask> "...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "code-point-at": { <mask> "version": "1.1.0", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "concat-map": { <mask> "version": "0.0.1", <mask> "bundled": true, <mask> "dev": true </s> Tra...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "concat-map": { <mask> "version": "0.0.1", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "console-control-strings": { <mask> "version": "1.1.0", <mask> "bundled": true, <mask> "dev": true...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "console-control-strings": { <mask> "version": "1.1.0", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "core-util-is": { <mask> "version": "1.0.2", <mask> "bundled": true, <mask> "dev": tr...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "inherits": { <mask> "version": "2.0.3", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "ini": { <mask> "version": "1.3.5", <mask> "bundled": true, <mask> "dev": true, </s> Translate dash...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "is-fullwidth-code-point": { <mask> "version": "1.0.0", <mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "number-is-nan": "^1.0.0" <mask> } <mask> }, </s> Translate dashboard to Vietnamese with i18n </s>...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "minimatch": { <mask> "version": "3.0.4", <mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "brace-expansion": "^1.1.7" <mask> } <mask> }, <mask> "minimist": { </s> Translate dashboard to Vietnam...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "minimist": { <mask> "version": "0.0.8", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "minipass": { <mask> "version": "2.2.4", <mask> "bundled": true, <mask> "dev": true, </s> Translate...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "version": "2.2.4", <mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "safe-buffer": "^5.1.1", <mask> "yallist": "^3.0.0" <mask> } <mask> }, </s> Translate dashboard to Vietnamese with i18n </s> remov...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "version": "0.5.1", <mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "minimist": "0.0.8" <mask> } <mask> }, <mask> "ms": { </s> Translate dashboard to Vietnamese with i18n </s> remove "dev": tr...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "number-is-nan": { <mask> "version": "1.0.1", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "object-assign": { <mask> "version": "4.1.1", <mask> "bundled": true, <mask> "dev": true, </s>...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "wrappy": "1" <mask> } <mask> }, <mask> "os-homedir": { </s> Translate dashboard to Vietnamese with i18n </s> remove "dev": true </s> add "dev": true, ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "safe-buffer": { <mask> "version": "5.1.1", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "safer-buffer": { <mask> "version": "2.1.2", <mask> "bundled": true, <mask> "dev": true, </s> Tr...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "version": "1.0.2", <mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "code-point-at": "^1.0.0", <mask> "is-fullwidth-code-point": "^1.0.0", <mask> "strip-ansi": "^3.0.0" <mask> } </s> Translate d...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"optional": true,
<mask> "version": "3.0.1", <mask> "bundled": true, <mask> "dev": true, <mask> "requires": { <mask> "ansi-regex": "^2.0.0" <mask> } <mask> }, <mask> "strip-json-comments": { <mask> "version": "2.0.1", </s> Translate dashboa...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "wrappy": { <mask> "version": "1.0.2", <mask> "bundled": true, <mask> "dev": true <mask> }, <mask> "yallist": { <mask> "version": "3.0.2", <mask> "bundled": true, <mask> "dev": true </s> Translate das...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"dev": true, "optional": true
<mask> }, <mask> "yallist": { <mask> "version": "3.0.2", <mask> "bundled": true, <mask> "dev": true <mask> } <mask> } <mask> }, <mask> "function-bind": { <mask> "version": "1.1.1", </s> Translate dashboard to Vietnamese with i18n </s> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"gud": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==" },
<mask> "dev": true <mask> }, <mask> "handle-thing": { <mask> "version": "1.2.5", <mask> "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-1.2.5.tgz", <mask> "integrity": "sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ=", </s> Translate dashboard to Vietnamese with i18n
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"html-parse-stringify2": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/html-parse-stringify2/-/html-parse-stringify2-2.0.1.tgz", "integrity": "sha1-3FZwtyksoVi3vJFsmmc1rIhyg0o=", "requires": { "void-elements": "^2.0.1" } },
<mask> "uglify-js": "3.4.x" <mask> } <mask> }, <mask> "html-tags": { <mask> "version": "2.0.0", <mask> "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-2.0.0.tgz", <mask> "integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=", </s> Translate dashboard to Vietnamese...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"i18next": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/i18next/-/i18next-12.0.0.tgz", "integrity": "sha512-Zy/nFpmBZxgmi6k9HkHbf+MwvAwiY5BDzNjNfvyLPKyalc2YBwwZtblESDlTKLDO8XSv23qYRY2uZcADDlRSjQ==" },
<mask> "dev": true <mask> }, <mask> "iconv-lite": { <mask> "version": "0.4.24", <mask> "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", <mask> "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"void-elements": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=" },
<mask> "indexof": "0.0.1" <mask> } <mask> }, <mask> "walker": { <mask> "version": "1.0.7", <mask> "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz", <mask> "integrity": "sha1-L3+bj9ENZ3JisYqITijRlhjgKPs=", <mask> "dev": true, <mask> "requires...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package-lock.json
"lint": "eslint frontend/", "start": "react-scripts start"
<mask> "scripts": { <mask> "build-dev": "NODE_ENV=development ./node_modules/.bin/webpack --config webpack.dev.js", <mask> "watch": "NODE_ENV=development ./node_modules/.bin/webpack --config webpack.dev.js --watch", <mask> "build-prod": "NODE_ENV=production ./node_modules/.bin/webpack --config webpack...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package.json
"i18next": "^12.0.0", "i18next-browser-languagedetector": "^2.2.3",
<mask> "classnames": "^2.2.6", <mask> "date-fns": "^1.29.0", <mask> "file-saver": "^1.3.8", <mask> "lodash": "^4.17.10", <mask> "nanoid": "^1.2.3", <mask> "prop-types": "^15.6.1", <mask> "react": "^16.4.0", </s> Translate dashboard to Vietnamese with i18n </s> remove "lint": "esl...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package.json
"react-i18next": "^8.1.1",
<mask> "react": "^16.4.0", <mask> "react-click-outside": "^3.0.1", <mask> "react-dom": "^16.4.0", <mask> "react-modal": "^3.4.5", <mask> "react-redux": "^5.0.7", <mask> "react-redux-loading-bar": "^4.0.7", <mask> "react-router-dom": "^4.2.2", <mask> "react-table": "^6.8.6", <mas...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/package.json
import { withNamespaces, Trans } from 'react-i18next';
<mask> import PropTypes from 'prop-types'; <mask> import map from 'lodash/map'; <mask> <mask> import Card from '../ui/Card'; <mask> import Cell from '../ui/Cell'; <mask> import Popover from '../ui/Popover'; <mask> </s> Translate dashboard to Vietnamese with i18n
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/BlockedDomains.js
Header: <Trans>Requests count</Trans>,
<mask> </div> <mask> ); <mask> }, <mask> }, { <mask> Header: 'Requests count', <mask> accessor: 'domain', <mask> maxWidth: 190, <mask> Cell: ({ value }) => { <mask> const { <mask> blockedFiltering, </s> Transl...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/BlockedDomains.js
const { t } = this.props;
<mask> }]; <mask> <mask> render() { <mask> return ( <mask> <Card title={ t('Top blocked domains') } subtitle={ t('for the last 24 hours') } bodyType="card-table" refresh={this.props.refreshButton}> <mask> <ReactTable <mask> data={map(this.props.top...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/BlockedDomains.js
<Card title={ t('Top blocked domains') } subtitle={ t('for the last 24 hours') } bodyType="card-table" refresh={this.props.refreshButton}>
<mask> }]; <mask> <mask> render() { <mask> return ( <mask> <Card title="Top blocked domains" subtitle="for the last 24 hours" bodyType="card-table" refresh={this.props.refreshButton}> <mask> <ReactTable <mask> data={map(this.props.topBlockedDomains...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/BlockedDomains.js
noDataText={ t('No domains found') }
<mask> { ip: prop, domain: value } <mask> ))} <mask> columns={this.columns} <mask> showPagination={false} <mask> noDataText="No domains found" <mask> minRows={6} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/BlockedDomains.js
t: PropTypes.func,
<mask> replacedSafebrowsing: PropTypes.number.isRequired, <mask> replacedParental: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default withNamespaces()(BlockedDomains); </s> Translate dashboard to Vietnamese with i18n </s> remove expor...
[ "keep", "keep", "add", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/BlockedDomains.js
export default withNamespaces()(BlockedDomains);
<mask> replacedParental: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default BlockedDomains; </s> Translate dashboard to Vietnamese with i18n </s> remove export default Clients; </s> add export default withNamespaces()(Clients); </s> remov...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/BlockedDomains.js
import { Trans, withNamespaces } from 'react-i18next';
<mask> import React, { Component } from 'react'; <mask> import ReactTable from 'react-table'; <mask> import PropTypes from 'prop-types'; <mask> import map from 'lodash/map'; <mask> <mask> import Card from '../ui/Card'; <mask> import Cell from '../ui/Cell'; <mask> <mask> import { getPercent } from '../../help...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Clients.js
Header: <Trans>Requests count</Trans>,
<mask> Header: 'IP', <mask> accessor: 'ip', <mask> Cell: ({ value }) => (<div className="logs__row logs__row--overflow"><span className="logs__text" title={value}>{value}</span></div>), <mask> }, { <mask> Header: 'Requests count', <mask> accessor: 'count', <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Clients.js
const { t } = this.props;
<mask> <mask> render() { <mask> return ( <mask> <Card title={ t('Top clients') } subtitle={ t('for the last 24 hours') } bodyType="card-table" refresh={this.props.refreshButton}> <mask> <ReactTable <mask> data={map(this.props.topClients, (value, prop) =...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Clients.js
<Card title={ t('Top clients') } subtitle={ t('for the last 24 hours') } bodyType="card-table" refresh={this.props.refreshButton}>
<mask> }]; <mask> <mask> render() { <mask> return ( <mask> <Card title="Top clients" subtitle="for the last 24 hours" bodyType="card-table" refresh={this.props.refreshButton}> <mask> <ReactTable <mask> data={map(this.props.topClients, (value, prop)...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Clients.js
noDataText={ t('No clients found') }
<mask> { ip: prop, count: value } <mask> ))} <mask> columns={this.columns} <mask> showPagination={false} <mask> noDataText="No clients found" <mask> minRows={6} <mask> c...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Clients.js
t: PropTypes.func,
<mask> topClients: PropTypes.object.isRequired, <mask> dnsQueries: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default withNamespaces()(Clients); </s> Translate dashboard to Vietnamese with i18n </s> remove export default Clients; </s...
[ "keep", "keep", "add", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Clients.js
export default withNamespaces()(Clients);
<mask> dnsQueries: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default Clients; </s> Translate dashboard to Vietnamese with i18n </s> remove export default QueriedDomains; </s> add export default withNamespaces()(QueriedDomains); </s> remo...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Clients.js
import { Trans, withNamespaces } from 'react-i18next';
<mask> import React from 'react'; <mask> import PropTypes from 'prop-types'; <mask> <mask> import Card from '../ui/Card'; <mask> import Tooltip from '../ui/Tooltip'; <mask> <mask> const tooltipType = 'tooltip-custom--narrow'; </s> Translate dashboard to Vietnamese with i18n
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
<Card title={ props.t('General statistics') } subtitle={ props.t('for the last 24 hours') } bodyType="card-table" refresh={props.refreshButton}>
<mask> <mask> const tooltipType = 'tooltip-custom--narrow'; <mask> <mask> const Counters = props => ( <mask> <Card title="General statistics" subtitle="for the last 24 hours" bodyType="card-table" refresh={props.refreshButton}> <mask> <table className="table card-table"> <mask> <tbody> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
<Trans>DNS Queries</Trans> <Tooltip text={ props.t('A number of DNS quieries processed for the last 24 hours') } type={tooltipType} />
<mask> <table className="table card-table"> <mask> <tbody> <mask> <tr> <mask> <td> <mask> DNS Queries <mask> <Tooltip text="A number of DNS quieries processed for the last 24 hours" type={tooltipType} /> <mask...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
<Trans>Blocked by</Trans> <a href="#filters"><Trans>Filters</Trans></a> <Tooltip text={ props.t('A number of DNS requests blocked by adblock filters and hosts blocklists') } type={tooltipType} />
<mask> </td> <mask> </tr> <mask> <tr> <mask> <td> <mask> Blocked by <a href="#filters">Filters</a> <mask> <Tooltip text="A number of DNS requests blocked by adblock filters and hosts blocklists"...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
<Trans>Blocked malware/phishing</Trans> <Tooltip text={ props.t('A number of DNS requests blocked by the AdGuard browsing security module') } type={tooltipType} />
<mask> </td> <mask> </tr> <mask> <tr> <mask> <td> <mask> Blocked malware/phishing <mask> <Tooltip text="A number of DNS requests blocked by the AdGuard browsing security module" type={tooltipTyp...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
<Trans>Blocked adult websites</Trans> <Tooltip text={ props.t('A number of adult websites blocked') } type={tooltipType} />
<mask> </td> <mask> </tr> <mask> <tr> <mask> <td> <mask> Blocked adult websites <mask> <Tooltip text="A number of adult websites blocked" type={tooltipType} /> <mask> </td> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
<Trans>Enforced safe search</Trans> <Tooltip text={ props.t('A number of DNS requests to search engines for which Safe Search was enforced') } type={tooltipType} />
<mask> </td> <mask> </tr> <mask> <tr> <mask> <td> <mask> Enforced safe search <mask> <Tooltip text="A number of DNS requests to search engines for which Safe Search was enforced" type={tooltipTy...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
<Trans>Average processing time</Trans> <Tooltip text={ props.t('Average time in milliseconds on processing a DNS request') } type={tooltipType} />
<mask> </td> <mask> </tr> <mask> <tr> <mask> <td> <mask> Average processing time <mask> <Tooltip text="Average time in milliseconds on processing a DNS request" type={tooltipType} /> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
t: PropTypes.func,
<mask> replacedSafesearch: PropTypes.number.isRequired, <mask> avgProcessingTime: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default withNamespaces()(Counters); </s> Translate dashboard to Vietnamese with i18n </s> remove export defau...
[ "keep", "keep", "add", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
export default withNamespaces()(Counters);
<mask> avgProcessingTime: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default Counters; </s> Translate dashboard to Vietnamese with i18n </s> remove export default Clients; </s> add export default withNamespaces()(Clients); </s> remove exp...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Counters.js
import { withNamespaces, Trans } from 'react-i18next';
<mask> import ReactTable from 'react-table'; <mask> import PropTypes from 'prop-types'; <mask> import map from 'lodash/map'; <mask> <mask> import Card from '../ui/Card'; <mask> import Cell from '../ui/Cell'; <mask> import Popover from '../ui/Popover'; <mask> </s> Translate dashboard to Vietnamese with i18n
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/QueriedDomains.js
Header: <Trans>Requests count</Trans>,
<mask> </div> <mask> ); <mask> }, <mask> }, { <mask> Header: 'Requests count', <mask> accessor: 'count', <mask> maxWidth: 190, <mask> Cell: ({ value }) => { <mask> const percent = getPercent(this.props.dnsQueries, value); <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/QueriedDomains.js
const { t } = this.props;
<mask> <mask> render() { <mask> return ( <mask> <Card title={ t('Top queried domains') } subtitle={ t('for the last 24 hours') } bodyType="card-table" refresh={this.props.refreshButton}> <mask> <ReactTable <mask> data={map(this.props.topQueriedDomains, ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/QueriedDomains.js
<Card title={ t('Top queried domains') } subtitle={ t('for the last 24 hours') } bodyType="card-table" refresh={this.props.refreshButton}>
<mask> }]; <mask> <mask> render() { <mask> return ( <mask> <Card title="Top queried domains" subtitle="for the last 24 hours" bodyType="card-table" refresh={this.props.refreshButton}> <mask> <ReactTable <mask> data={map(this.props.topQueriedDomains...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/QueriedDomains.js
noDataText={ t('No domains found') }
<mask> { ip: prop, count: value } <mask> ))} <mask> columns={this.columns} <mask> showPagination={false} <mask> noDataText="No domains found" <mask> minRows={6} <mask> c...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/QueriedDomains.js
t: PropTypes.func,
<mask> dnsQueries: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default withNamespaces()(QueriedDomains); </s> Translate dashboard to Vietnamese with i18n </s> remove export default QueriedDomains; </s> add export default withNamespaces()(Q...
[ "keep", "add", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/QueriedDomains.js
export default withNamespaces()(QueriedDomains);
<mask> dnsQueries: PropTypes.number.isRequired, <mask> refreshButton: PropTypes.node.isRequired, <mask> }; <mask> <mask> export default QueriedDomains; </s> Translate dashboard to Vietnamese with i18n </s> remove export default Clients; </s> add export default withNamespaces()(Clients); </s> remove expo...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/QueriedDomains.js
import { Trans } from 'react-i18next';
<mask> import React, { Component } from 'react'; <mask> import PropTypes from 'prop-types'; <mask> <mask> import Card from '../ui/Card'; <mask> import Line from '../ui/Line'; <mask> <mask> import { getPercent } from '../../helpers/helpers'; <mask> import { STATUS_COLORS } from '../../helpers/constants'; </s>...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Statistics.js
<Trans>DNS Queries</Trans>
<mask> <div className="card-value card-value-stats text-blue"> <mask> {dnsQueries} <mask> </div> <mask> <div className="card-title-stats"> <mask> DNS Queries <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Statistics.js
<Trans>Blocked by</Trans> <a href="#filters"><Trans>Filters</Trans></a>
<mask> <div className="card-value card-value-percent text-red"> <mask> {getPercent(dnsQueries, blockedFiltering)} <mask> </div> <mask> <div className="card-title-stats"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Statistics.js
<Trans>Blocked malware/phishing</Trans>
<mask> <div className="card-value card-value-percent text-green"> <mask> {getPercent(dnsQueries, replacedSafebrowsing)} <mask> </div> <mask> <div className="card-title-stats"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Statistics.js
<Trans>Blocked adult websites</Trans>
<mask> <div className="card-value card-value-percent text-yellow"> <mask> {getPercent(dnsQueries, replacedParental)} <mask> </div> <mask> <div className="card-title-stats"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/Statistics.js
import { Trans, withNamespaces } from 'react-i18next';
<mask> import PropTypes from 'prop-types'; <mask> import 'whatwg-fetch'; <mask> <mask> import Statistics from './Statistics'; <mask> import Counters from './Counters'; <mask> import Clients from './Clients'; </s> Translate dashboard to Vietnamese with i18n
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/index.js
<Trans>{buttonText} protection</Trans>
<mask> const buttonClass = protectionEnabled ? 'btn-gray' : 'btn-success'; <mask> <mask> return ( <mask> <button type="button" className={`btn btn-sm mr-2 ${buttonClass}`} onClick={() => this.props.toggleProtection(protectionEnabled)}> <mask> {buttonText} protection <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/index.js
const { dashboard, t } = this.props;
<mask> ); <mask> } <mask> <mask> render() { <mask> const { dashboard } = this.props; <mask> const dashboardProcessing = <mask> dashboard.processing || <mask> dashboard.processingStats || <mask> dashboard.processingStatsHistory || <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/index.js
const refreshFullButton = <button type="button" className="btn btn-outline-primary btn-sm" onClick={() => this.getAllStats()}><Trans>Refresh statistics</Trans></button>;
<mask> dashboard.processingStats || <mask> dashboard.processingStatsHistory || <mask> dashboard.processingTopStats; <mask> <mask> const refreshFullButton = <button type="button" className="btn btn-outline-primary btn-sm" onClick={() => this.getAllStats()}>Refresh statis...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/index.js
<PageTitle title={ t('Dashboard') }>
<mask> const refreshButton = <button type="button" className="btn btn-outline-primary btn-sm card-refresh" onClick={() => this.getAllStats()} />; <mask> <mask> return ( <mask> <Fragment> <mask> <PageTitle title="Dashboard"> <mask> <div className="pa...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/index.js
t: PropTypes.func,
<mask> dashboard: PropTypes.object, <mask> isCoreRunning: PropTypes.bool, <mask> getFiltering: PropTypes.func, <mask> toggleProtection: PropTypes.func, <mask> }; <mask> <mask> export default withNamespaces()(Dashboard); </s> Translate dashboard to Vietnamese with i18n </s> remove export default...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/index.js
export default withNamespaces()(Dashboard);
<mask> getFiltering: PropTypes.func, <mask> toggleProtection: PropTypes.func, <mask> }; <mask> <mask> export default Dashboard; </s> Translate dashboard to Vietnamese with i18n
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Dashboard/index.js
import { Trans } from 'react-i18next';
<mask> import { NavLink } from 'react-router-dom'; <mask> import PropTypes from 'prop-types'; <mask> import enhanceWithClickOutside from 'react-click-outside'; <mask> import classnames from 'classnames'; <mask> <mask> import { REPOSITORY } from '../../helpers/constants'; <mask> <mask> class Menu extends Compo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Menu.js
<Trans>Back</Trans>
<mask> <ul className="nav nav-tabs border-0 flex-column flex-lg-row"> <mask> <li className="nav-item border-bottom d-lg-none" onClick={this.toggleMenu}> <mask> <div className="nav-link nav-link--back"> <mask> <sv...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Menu.js
<Trans>Dashboard</Trans>
<mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/" exact={true} className="nav-link"> <mask> <svg className="nav-icon" fill="none" height="24" stroke="#9aa0ac" strokeLinecap="round" strokeLi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Menu.js
<Trans>Settings</Trans>
<mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/settings" className="nav-link"> <mask> <svg className="nav-icon" fill="none" height="24" strokeLinecap="round" strokeLinejoin="round" strokeW...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Menu.js
<Trans>Filters</Trans>
<mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/filters" className="nav-link"> <mask> <svg className="nav-icon" fill="none" height="24" strokeLinecap="round" strokeLinejoin="round" strokeWi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Menu.js
<Trans>Query Log</Trans>
<mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/logs" className="nav-link"> <mask> <svg className="nav-icon" fill="none" height="24" strokeLinecap="round" strokeLinejoin="round" strokeWidth...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Menu.js
<Trans>FAQ</Trans>
<mask> </li> <mask> <li className="nav-item"> <mask> <a href={`${REPOSITORY.URL}/wiki`} className="nav-link" target="_blank" rel="noopener noreferrer"> <mask> <svg className="nav-icon" xmlns="http://www.w3.or...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Menu.js
import { Trans } from 'react-i18next';
<mask> import React from 'react'; <mask> import PropTypes from 'prop-types'; <mask> <mask> export default function Version(props) { <mask> const { dnsVersion, dnsAddress, dnsPort } = props; <mask> return ( </s> Translate dashboard to Vietnamese with i18n </s> remove version: <span classN...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Version.js
<Trans>version</Trans>: <span className="nav-version__value">{dnsVersion}</span>
<mask> const { dnsVersion, dnsAddress, dnsPort } = props; <mask> return ( <mask> <div className="nav-version"> <mask> <div className="nav-version__text"> <mask> version: <span className="nav-version__value">{dnsVersion}</span> <mask> </div> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Version.js
<Trans>address</Trans>: <span className="nav-version__value">{dnsAddress}:{dnsPort}</span>
<mask> <div className="nav-version__text"> <mask> version: <span className="nav-version__value">{dnsVersion}</span> <mask> </div> <mask> <div className="nav-version__text"> <mask> address: <span className="nav-version__value">{dnsAddress}:{dnsPort...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/Version.js
import { Trans } from 'react-i18next';
<mask> import PropTypes from 'prop-types'; <mask> import classnames from 'classnames'; <mask> <mask> import Menu from './Menu'; <mask> import Version from './Version'; <mask> import logo from './logo.svg'; <mask> import './Header.css'; <mask> </s> Translate dashboard to Vietnamese with i18n </s> remove </s...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/index.js
<Trans>{dashboard.protectionEnabled ? 'ON' : 'OFF'}</Trans>
<mask> <img src={logo} alt="" className="header-brand-img" /> <mask> </Link> <mask> {!dashboard.proccessing && dashboard.isCoreRunning && <mask> <span className={badgeClass}> <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/Header/index.js
import { Trans } from 'react-i18next';
<mask> import React, { Component } from 'react'; <mask> import { REPOSITORY } from '../../helpers/constants'; <mask> <mask> class Footer extends Component { <mask> getYear = () => { <mask> const today = new Date(); <mask> return today.getFullYear(); </s> Translate dashboard to Vietnamese wi...
[ "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/ui/Footer.js
<a href={REPOSITORY.URL} target="_blank" rel="noopener noreferrer"><Trans>Homepage</Trans></a>
<mask> </div> <mask> <div className="col-auto"> <mask> <ul className="list-inline text-center mb-0"> <mask> <li className="list-inline-item"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/ui/Footer.js
<Trans>Report an issue</Trans>
<mask> </ul> <mask> </div> <mask> <div className="col-auto"> <mask> <a href={`${REPOSITORY.URL}/issues/new`} className="btn btn-outline-primary btn-sm" target="_blank" rel="noopene...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/components/ui/Footer.js
import './i18n';
<mask> import App from './containers/App'; <mask> import configureStore from './configureStore'; <mask> import reducers from './reducers'; <mask> <mask> const store = configureStore(reducers, {}); // set initial state <mask> ReactDOM.render( <mask> <Provider store={store}> <mask> <App /> </s> Tran...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e1069f6bd169d4bf41d6227bf2e6777d8515ccfb
client/src/index.js
"interval_6_hour": "6 hours",
<mask> "encryption_key_source_path": "Set a private key file", <mask> "encryption_key_source_content": "Paste the private key contents", <mask> "stats_params": "Statistics configuration", <mask> "config_successfully_saved": "Configuration successfully saved", <mask> "interval_24_hour": "24 hour...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
client/src/__locales/en.json
import { CheckboxField, renderRadioField, toFloatNumber } from '../../../helpers/form';
<mask> import { Field, reduxForm } from 'redux-form'; <mask> import { Trans, withTranslation } from 'react-i18next'; <mask> import flow from 'lodash/flow'; <mask> <mask> import { CheckboxField, renderRadioField, toNumber } from '../../../helpers/form'; <mask> import { FORM_NAME, QUERY_LOG_INTERVALS_DAYS } from '...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
client/src/components/Settings/LogsConfig/Form.js
const getIntervalTitle = (interval, t) => { switch (interval) { case 0.25: return t('interval_6_hour'); case 1: return t('interval_24_hour'); default: return t('interval_days', { count: interval }); } };
<mask> import { CheckboxField, renderRadioField, toNumber } from '../../../helpers/form'; <mask> import { FORM_NAME, QUERY_LOG_INTERVALS_DAYS } from '../../../helpers/constants'; <mask> import '../FormButton.css'; <mask> <mask> const getIntervalFields = (processing, t, toNumber) => QUERY_LOG_INTERVALS_DAYS.map((i...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
client/src/components/Settings/LogsConfig/Form.js
const getIntervalFields = (processing, t, toNumber) => QUERY_LOG_INTERVALS_DAYS.map((interval) => ( <Field key={interval} name="interval" type="radio" component={renderRadioField} value={interval} placeholder={getIntervalTitle(interval, t)} normalize={toNumber...
<mask> <mask> const getIntervalFields = (processing, t, toNumber) => QUERY_LOG_INTERVALS_DAYS.map((interval) => { <mask> const title = interval === 1 ? t('interval_24_hour') : t('interval_days', { count: interval }); <mask> <mask> return ( <mask> <Field <mask> key={interval} <mask>...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
client/src/components/Settings/LogsConfig/Form.js
{getIntervalFields(processing, t, toFloatNumber)}
<mask> <Trans>query_log_retention</Trans> <mask> </label> <mask> <div className="form__group form__group--settings"> <mask> <div className="custom-controls-stacked"> <mask> {getIntervalFields(processing, t, toNumber)} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
client/src/components/Settings/LogsConfig/Form.js
export const QUERY_LOG_INTERVALS_DAYS = [0.25, 1, 7, 30, 90];
<mask> export const NOT_FILTERED = 'NotFiltered'; <mask> <mask> export const STATS_INTERVALS_DAYS = [0, 1, 7, 30, 90]; <mask> <mask> export const QUERY_LOG_INTERVALS_DAYS = [1, 7, 30, 90]; <mask> <mask> export const FILTERS_INTERVALS_HOURS = [0, 1, 12, 24, 72, 168]; <mask> <mask> // Note that translation s...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
client/src/helpers/constants.js
/** * @param value {string} * @returns {*|number} */ export const toFloatNumber = (value) => value && parseFloat(value, 10);
<mask> */ <mask> export const toNumber = (value) => value && parseInt(value, 10); <mask> <mask> /** <mask> * @param value {string} <mask> * @returns {boolean} <mask> */ <mask> export const isValidAbsolutePath = (value) => R_WIN_ABSOLUTE_PATH.test(value) <mask> || R_UNIX_ABSOLUTE_PATH.test(value); </s...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
client/src/helpers/form.js
"time"
<mask> "net" <mask> "os" <mask> "path/filepath" <mask> "sync" <mask> <mask> "github.com/AdguardTeam/AdGuardHome/internal/dhcpd" <mask> "github.com/AdguardTeam/AdGuardHome/internal/dnsforward" <mask> "github.com/AdguardTeam/AdGuardHome/internal/filtering" <mask> "github.com/AdguardTeam/AdGuardHome/inte...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/e113b276e7db134f99f9f920c4c410467a698c92
internal/home/config.go