{"action":"closed","issue":{"url":"https://api.github.com/repos/tarampampam/nod32-update-mirror/issues/11","labels_url":"https://api.github.com/repos/tarampampam/nod32-update-mirror/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/tarampampam/nod32-update-mirror/issues/11/comments","events_url":"https://api.github.com/repos/tarampampam/nod32-update-mirror/issues/11/events","html_url":"https://github.com/tarampampam/nod32-update-mirror/issues/11","id":46845994,"number":11,"title":"Языки","user":{"login":"GOSEF","id":7315784,"avatar_url":"https://avatars.githubusercontent.com/u/7315784?v=3","gravatar_id":"","url":"https://api.github.com/users/GOSEF","html_url":"https://github.com/GOSEF","followers_url":"https://api.github.com/users/GOSEF/followers","following_url":"https://api.github.com/users/GOSEF/following{/other_user}","gists_url":"https://api.github.com/users/GOSEF/gists{/gist_id}","starred_url":"https://api.github.com/users/GOSEF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GOSEF/subscriptions","organizations_url":"https://api.github.com/users/GOSEF/orgs","repos_url":"https://api.github.com/users/GOSEF/repos","events_url":"https://api.github.com/users/GOSEF/events{/privacy}","received_events_url":"https://api.github.com/users/GOSEF/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tarampampam/nod32-update-mirror/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-10-26T15:40:06Z","updated_at":"2015-02-06T07:14:02Z","closed_at":"2015-02-06T07:14:02Z","body":"При установках закачки обновлений к себе - качает ВСЕ обновления для ВСЕХ языков. Можно ли добавить переменную для указания определённых языков (rus, eng)?\r\nЧто-то типа:\r\n-= settings.cfg =-\r\n32bit = 1\r\n64bit = 1\r\nlanguages = rus, eng\r\n-= settings.cfg =-\r\n\r\nif($this->CONFIG['32bit'] == true)\r\n        \t{\r\n                $language = $this->GetUpdateLanguage($this->CONFIG['languages']);\r\n                $tpl[] = \"em([0-9]{3})_32_(n|l)([0-9]{1,2}).nup\"; \r\n                $tpl[] = \"(nt32)_($language).nup\";    \r\n        \t}\r\n            \r\nif($this->CONFIG['64bit'] == true)\r\n        \t{\r\n                $language = $this->GetUpdateLanguage($this->CONFIG['languages']);\r\n                $tpl[] = \"em([0-9]{3})_64_(n|l)([0-9]{1,2}).nup\";\r\n                $tpl[] = \"(nt64)_($language).nup\";}\r\n"}}