WME Validator

This script validates a map area in Waze Map Editor, highlights issues and generates a very detailed report with wiki references and solutions

当前为 2025-01-22 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name WME Validator
  3. // @version 2025.01.22
  4. // @description This script validates a map area in Waze Map Editor, highlights issues and generates a very detailed report with wiki references and solutions
  5. // @match https://beta.waze.com/*editor*
  6. // @match https://www.waze.com/*editor*
  7. // @exclude https://www.waze.com/*user/*editor/*
  8. // @exclude https://www.waze.com/discuss/*
  9. // @grant none
  10. // @icon https://raw.githubusercontent.com/WMEValidator/release/master/img/WV-icon96.png
  11. // @namespace a
  12. // @homepage https://www.waze.com/forum/viewtopic.php?f=819&t=76488
  13. // @author Andriy Berestovskyy <berestovskyy@gmail.com>
  14. // @copyright 2013-2018 Andriy Berestovskyy
  15. // @license GPLv3
  16. // @contributor justins83
  17. // @contributor davidakachaos
  18. // @contributor jangliss
  19. // @contributor Glodenox
  20. // @contributor DaveAcincy
  21. // ==/UserScript==
  22. /*
  23. * WME Validator uses Open Source GPLv3 license, i.e. you may copy,
  24. * distribute and modify the software as long as you track changes/dates
  25. * in source files. Any modifications to or software including
  26. * (via compiler) GPL-licensed code must also be made available under
  27. * the GPL along with build & install instructions.
  28. *
  29. * WME Validator source code is available on GitHub:
  30. * https://github.com/WMEValidator/
  31. *
  32. * For questions please use official forum:
  33. * https://www.waze.com/forum/viewtopic.php?f=819&t=76488
  34. *
  35. * Report bugs on GitHub Issues Tracker:
  36. * https://github.com/WMEValidator/validator/issues
  37. */
  38.  
  39. (function() {
  40. var WV_VERSION = '2025.01.22';
  41. var AS_PASSWORD = 'v1';
  42. var WV_WHATSNEW = `v2025.01.22:
  43. - fix the build.
  44.  
  45. v2025.01.20:
  46. - DaveAcincy: fix for #78 (2 seg loop) and some others.
  47. - DaveAcincy: updates for discuss forum.
  48. - DaveAcincy: remove some console warnings for deprecated function calls.
  49. - DaveAcincy: update US and default wiki links.
  50.  
  51. v2024.01.26:
  52. - DaveAcincy: fixes for extension version (#109)
  53.  
  54. v2024.01.16:
  55. - DaveAcincy: updates for latest WME/WME beta
  56. - DaveAcincy: fix checks of rest areas in US (#257 and #258)
  57.  
  58. v2023.11.28:
  59. - DaveAcincy: updates for latest WME
  60.  
  61. v2023.8.14:
  62. - DaveAcincy: updates for latest WME
  63.  
  64. v2023.5.17:
  65. - DaveAcincy: change severity of #54 and #55
  66. - DaveAcincy: use new API to add script tab
  67.  
  68. v2023.3.8:
  69. - justins83: Minor fixes in #29 to match USA naming guidance
  70.  
  71. v2023.2.13:
  72. - DaveAcincy: New checks for US:
  73. * #54 "No city on segment with HNs"
  74. * #55 "No city on named segment"
  75.  
  76. Please report any issues/suggestions on the forum:
  77. https://www.waze.com/forum/viewtopic.php?t=76488
  78.  
  79. See the full Change Log:
  80. https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=787161#p787161`;
  81. var WV_LICENSE_VERSION = '1';
  82. var WV_LICENSE = `LICENSE:
  83. WME Validator uses Open Source GPLv3 license,
  84. i.e. you may copy, distribute and modify the software
  85. as long as you track changes/dates in source files.
  86. Any modifications to or software including (via compiler)
  87. GPL-licensed code must also be made available
  88. under the GPL along with build & install instructions.
  89.  
  90. WME Validator source code is available on GitHub:
  91. https://github.com/WMEValidator/
  92.  
  93. For questions please use official forum:
  94. https://www.waze.com/forum/viewtopic.php?f=819&t=76488
  95.  
  96. Report bugs on GitHub Issues Tracker:
  97. https://github.com/WMEValidator/validator/issues
  98.  
  99. Note: WME Validator uses local storage to remember
  100. your choices and preferences.`;
  101. var GA_FORLEVEL = 1;
  102. var GA_FORUSER = '!Dekis,*';
  103. var GA_FORCOUNTRY = '';
  104. var GA_FORCITY = '!Kraków,*';
  105. var LIMIT_TOTAL = 2E4;
  106. var MAX_CHECKS = 310;
  107. var PFX_WIKI = 'https://www.waze.com/wiki/';
  108. var PFX_PEDIA = 'https://wazeopedia.waze.com/wiki/';
  109. var PFX_FORUM = 'https://www.waze.com/forum/viewtopic.php?';
  110. var PFX_DISCUSS = 'https://www.waze.com/discuss/';
  111. var FORUM_HOME = 't=76488';
  112. var FORUM_FAQ = 't=76488&p=666476#p666476';
  113. var FORUM_LOCAL = 't=76488&p=661300#p661185';
  114. var FORUM_CUSTOM = 't=76488&p=749456#p749456';
  115. var DISCUSS_HOME = 't/script-wme-validator/44877';
  116. var DISCUSS_FAQ = 't/script-wme-validator/44877/88';
  117. var DISCUSS_LOCAL = 't/script-wme-validator/44877';
  118. var DISCUSS_CUSTOM = 't/script-wme-validator/44877/667';
  119. var _translations = {
  120. 'EN': {
  121. '.codeISO': 'EN',
  122. 'city.consider': 'consider this city name:',
  123. 'city.1': 'city name is too short',
  124. 'city.2': 'expand the abbreviation',
  125. 'city.3': 'complete short name',
  126. 'city.4': 'complete city name',
  127. 'city.5': 'correct letter case',
  128. 'city.6': 'check word order',
  129. 'city.7': 'check abbreviations',
  130. 'city.8a': 'add county name',
  131. 'city.8r': 'remove county name',
  132. 'city.9': 'check county name',
  133. 'city.10a': 'add a word',
  134. 'city.10r': 'remove a word',
  135. 'city.11': 'add county code',
  136. 'city.12': 'identical names, but different city IDs',
  137. 'city.13a': 'add a space',
  138. 'city.13r': 'remove a space',
  139. 'city.14': 'check the number',
  140. 'props.skipped.title': 'The segment is not checked',
  141. 'props.skipped.problem': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  142. 'err.regexp': 'Error parsing option for check #${n}:',
  143. 'props.disabled': 'WME Validator is disabled',
  144. 'props.limit.title': 'Too many issues reported',
  145. 'props.limit.problem': 'There are too many issues reported, so some of them might not be shown',
  146. 'props.limit.solution': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  147. 'props.reports': 'reports',
  148. 'props.noneditable': 'You cannot edit this segment',
  149. 'report.save': 'Save this report',
  150. 'report.list.andUp': 'and up',
  151. 'report.list.severity': 'Severity:',
  152. 'report.list.reportOnly': 'only in report',
  153. 'report.list.forEditors': 'For editors level:',
  154. 'report.list.forCountries': 'For countries:',
  155. 'report.list.forStates': 'For states:',
  156. 'report.list.forCities': 'For cities:',
  157. 'report.list.params': 'Params to configure in localization pack:',
  158. 'report.list.params.set': 'Current configuration for ${country}:',
  159. 'report.list.enabled': '${n} checks are enabled for',
  160. 'report.list.disabled': '${n} checks are disabled for',
  161. 'report.list.total': 'There are ${n} checks available',
  162. 'report.list.title': 'Complete List of Checks for',
  163. 'report.list.see': 'See',
  164. 'report.list.checks': 'Settings->About->Available checks',
  165. 'report.list.fallback': 'Localization Fallback Rules:',
  166. 'report.and': 'and',
  167. 'report.segments': 'Total number of segments checked:',
  168. 'report.customs': 'Custom checks matched (green/blue):',
  169. 'report.reported': 'Reported',
  170. 'report.errors': 'errors',
  171. 'report.warnings': 'warnings',
  172. 'report.notes': 'notes',
  173. 'report.link.wiki': 'wiki',
  174. 'report.link.forum': 'forum',
  175. 'report.link.other': 'link',
  176. 'report.contents': 'Contents:',
  177. 'report.summary': 'Summary',
  178. 'report.title': 'WME Validator Report',
  179. 'report.share': 'to Share',
  180. 'report.generated.by': 'generated by',
  181. 'report.generated.on': 'on',
  182. 'report.source': 'Report source:',
  183. 'report.filter.duplicate': 'duplicate segments',
  184. 'report.filter.places': 'Places',
  185. 'report.filter.streets': 'Streets and Service Roads',
  186. 'report.filter.other': 'Other drivable and Non-drivable',
  187. 'report.filter.noneditable': 'non-editable segments',
  188. 'report.filter.notes': 'notes',
  189. 'report.filter.title': 'Filter:',
  190. 'report.filter.excluded': 'are excluded from this report.',
  191. 'report.search.updated.by': 'updated by',
  192. 'report.search.updated.since': 'updated since',
  193. 'report.search.city': 'from',
  194. 'report.search.reported': 'reported as',
  195. 'report.search.title': 'Search:',
  196. 'report.search.only': 'only segments',
  197. 'report.search.included': 'are included into the report.',
  198. 'report.beta.warning': 'WME Beta Warning!',
  199. 'report.beta.text': 'This report is generated in beta WME with beta permalinks.',
  200. 'report.beta.share': 'Please do not share those permalinks!',
  201. 'report.size.warning': '<b>Warning!</b><br>The report is ${n}' +
  202. ' characters long' +
  203. ' so <b>it will not fit</b> into a single forum or private message.' +
  204. '\n<br>Please add <b>more filters</b> to reduce the size of the report.',
  205. 'report.note.limit': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  206. 'report.forum': 'To motivate further development please leave your comment on the',
  207. 'report.forum.link': 'Waze forum thread.',
  208. 'report.thanks': 'Thank you for using WME Validator!',
  209. 'msg.limit.segments': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  210. 'msg.limit.segments.continue': 'click \'▶\' (Play) to continue.',
  211. 'msg.limit.segments.clear': 'click \'✘\' (Clear) to clear the report.',
  212. 'msg.pan.text': 'Pan around to validate the map',
  213. 'msg.zoomout.text': 'Zoom out to start WME Validator',
  214. 'msg.click.text': 'Click \'▶\' (Play) to validate visible map area',
  215. 'msg.autopaused': 'autopaused',
  216. 'msg.autopaused.text': 'Auto paused! Click \'▶\' (Play) to continue.',
  217. 'msg.autopaused.tip': 'WME Validator automatically paused on map drag or window size change',
  218. 'msg.finished.text': 'Click <b>\'Show report\'</b> to review map issues',
  219. 'msg.finished.tip': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  220. 'msg.noissues.text': 'Finished! No issues found!',
  221. 'msg.noissues.tip': 'Try to uncheck some filter options or start WME Validator over another map area!',
  222. 'msg.scanning.text': 'Scanning! Finishing in ~ ${n} min',
  223. 'msg.scanning.text.soon': 'Scanning! Finishing in a minute!',
  224. 'msg.scanning.tip': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  225. 'msg.starting.text': 'Starting! Layers are off to scan faster!',
  226. 'msg.starting.tip': 'Use \'Pause\' button to pause or \'■\' button to stop',
  227. 'msg.paused.text': 'On pause! Click \'▶\' (Play) button to continue.',
  228. 'msg.paused.tip': 'To view the report click \'Show report\' button (if available)',
  229. 'msg.continuing.text': 'Continuing!',
  230. 'msg.continuing.tip': 'WME Validator will continue from the location it was paused',
  231. 'msg.settings.text': 'Click <b>\'Back\'</b> to return to main view',
  232. 'msg.settings.tip': 'Click \'Reset defaults\' button to reset all settings in one click!',
  233. 'msg.reset.text': 'All filter options and settings have been reset to their defaults',
  234. 'msg.reset.tip': 'Click \'Back\' button to return to main view',
  235. 'msg.textarea.pack':
  236. 'This is a Greasemonkey/Tampermonkey script. You can copy and paste the text below into a <b>new .user.js file</b><br>or <b>paste it directly</b> into the Greasemonkey/Tampermonkey',
  237. 'msg.textarea': 'Please copy the text below and then paste it into your forum post or private message',
  238. 'noaccess.text':
  239. '<b>Sorry,</b><br>You cannot use WME Validator over here.<br>Please check <a target=\'_blank\' href=\'' + PFX_DISCUSS + DISCUSS_HOME + '\'>the forum thread</a><br>for more information.',
  240. 'noaccess.tip': 'Please check the forum thread for more information!',
  241. 'tab.switch.tip.on': 'Click to switch highlighting on (Alt+V)',
  242. 'tab.switch.tip.off': 'Click to switch highlighting off (Alt+V)',
  243. 'tab.filter.text': 'filter',
  244. 'tab.filter.tip': 'Options to filter the report and highlighted segments',
  245. 'tab.search.text': 'search',
  246. 'tab.search.tip': 'Advanced filter options to include only specific segments',
  247. 'tab.help.text': 'help',
  248. 'tab.help.tip': 'Need help?',
  249. 'filter.places.text': '<span style=\'color:#c00000\'><b>BETA:</b> Enable <b>Places</b> checks</span>',
  250. 'filter.places.tip': 'Do not run places checks',
  251. 'filter.noneditables.reverted':
  252. 'The \'Exclude non-editable objects\' filter option has been removed because the area you just scanned has no editable objects.\n\nNow just click \'Show report\' to view the report!',
  253. 'filter.noneditables.text': 'Exclude <b>non-editable</b> objects',
  254. 'filter.noneditables.tip': 'Do not report locked objects or\nobjects outside of your editable areas',
  255. 'filter.duplicates.text': 'Exclude <b>duplicate</b> objects',
  256. 'filter.duplicates.tip': 'Do not show the same object in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  257. 'filter.streets.text': 'Exclude <b>Streets and Service Roads</b>',
  258. 'filter.streets.tip': 'Do not report Streets and Service Roads',
  259. 'filter.other.text': 'Exclude <b>Other drivable and Non-drivable</b>',
  260. 'filter.other.tip': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  261. 'filter.notes.text': 'Exclude <b>notes</b>',
  262. 'filter.notes.tip': 'Report only warnings and errors',
  263. 'search.youredits.text': 'Include <b>only your edits</b>',
  264. 'search.youredits.tip': 'Include only segments edited by you',
  265. 'search.updatedby.text': '<b>Updated by*:</b>',
  266. 'search.updatedby.tip': 'Include only segments updated by the specified editor' +
  267. '\n* Note: this option is available for country managers only' +
  268. '\nThis field supports:' +
  269. '\n - lists: me, otherEditor' +
  270. '\n - wildcards: world*' +
  271. '\n - negation: !me, *' +
  272. '\n* Note: you may use \'me\' to match yourself',
  273. 'search.updatedby.example': 'Example: me',
  274. 'search.updatedsince.text': '<b>Updated since:</b>',
  275. 'search.updatedsince.tip': 'Include only segments edited since the date specified' +
  276. '\nFirefox date format: YYYY-MM-DD',
  277. 'search.updatedsince.example': 'YYYY-MM-DD',
  278. 'search.city.text': '<b>City name:</b>',
  279. 'search.city.tip': 'Include only segments with specified city name' +
  280. '\nThis field supports:' +
  281. '\n - lists: Paris, Meudon' +
  282. '\n - wildcards: Greater * Area' +
  283. '\n - negation: !Paris, *',
  284. 'search.city.example': 'Example: !Paris, *',
  285. 'search.checks.text': '<b>Reported as:</b>',
  286. 'search.checks.tip': 'Include only segments reported as specified' +
  287. '\nThis field matches:' +
  288. '\n - severities: error|warning|note|custom1|custom2' +
  289. '\n - check names: New road' +
  290. '\n - check IDs: 200' +
  291. '\nThis field supports:' +
  292. '\n - lists: 36, 37' +
  293. '\n - wildcards: *roundabout*' +
  294. '\n - negation: !unconfirmed*, *',
  295. 'search.checks.example': 'Example: reverse*',
  296. 'help.text': '<b>Help Topics:</b>' +
  297. '<br><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_FAQ + '">F.A.Q.</a>' +
  298. '<br><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_HOME + '">Ask your question on the forum</a>' +
  299. '<br><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_LOCAL + '">How to adjust Validator for your country</a>' +
  300. '<br><a target="_blank" href="' + PFX_DISCUSS + 't/script-wme-validator/44877/58">About the "Might be Incorrect City Name"</a>',
  301. 'help.tip': 'Open in a new browser tab',
  302. 'button.scan.tip': 'Start scanning current map area\n* Note: this might take few minutes',
  303. 'button.scan.tip.NA': 'Zoom out to start scanning current map area',
  304. 'button.pause.tip': 'Pause scanning',
  305. 'button.continue.tip': 'Continue scanning the map area',
  306. 'button.stop.tip': 'Stop scanning and return to the start position',
  307. 'button.clear.tip': 'Clear report and segment cache',
  308. 'button.clear.tip.red': 'There are too many reported segments:\n 1. Click \'Show report\' to generate the report.\n 2. Click this button to clear the report and start over.',
  309. 'button.report.text': 'Show report',
  310. 'button.report.tip': 'Apply the filter and generate HTML report in a new tab',
  311. 'button.BBreport.tip': 'Share the report on Waze forum or in a private message',
  312. 'button.settings.tip': 'Configure settings',
  313. 'tab.custom.text': 'custom',
  314. 'tab.custom.tip': 'User-defined custom checks settings',
  315. 'tab.settings.text': 'Settings',
  316. 'tab.scanner.text': 'scanner',
  317. 'tab.scanner.tip': 'Map scanner settings',
  318. 'tab.about.text': 'about</span>',
  319. 'tab.about.tip': 'About WME Validator',
  320. 'scanner.sounds.text': 'Enable sounds',
  321. 'scanner.sounds.tip': 'Bleeps and the bloops while scanning',
  322. 'scanner.sounds.NA': 'Your browser does not support AudioContext',
  323. 'scanner.highlight.text': 'Highlight issues on the map',
  324. 'scanner.highlight.tip': 'Highlight reported issues on the map',
  325. 'scanner.slow.text': 'Enable "slow" checks',
  326. 'scanner.slow.tip': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  327. 'scanner.ext.text': 'Report external highlights',
  328. 'scanner.ext.tip': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  329. 'advanced.atbottom.text': 'At the bottom',
  330. 'advanced.atbottom.tip': 'Put WME Validator at the bottom of the page',
  331. 'custom.template.text': '<a target=\'_blank\' href=\'' + PFX_DISCUSS + DISCUSS_CUSTOM + '\'>Custom template</a>',
  332. 'custom.template.tip': 'User-defined custom check expandable template.' +
  333. '\n\nYou may use the following expandable variables:' +
  334. '\nAddress:' +
  335. '\n ${country}, ${state}, ${city}, ${street},' +
  336. '\n ${altCity[index or delimeter]}, ${altStreet[index or delimeter]}' +
  337. '\nSegment properties:' +
  338. '\n ${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},' +
  339. '\n ${length}, ${ID}, ${speedLimit}, ${speedLimitAB}, ${speedLimitBA}' +
  340. '\nHelpers:' +
  341. '\n ${drivable}, ${roundabout}, ${hasHNs},' +
  342. '\n ${Uturn}, ${deadEnd}, ${softTurns},' +
  343. '\n ${deadEndA}, ${partialA},' +
  344. '\n ${deadEndB}, ${partialB},' +
  345. '\n ${checkSpeedLimit}' +
  346. '\nConnectivity:' +
  347. '\n ${segmentsA}, ${inA}, ${outA}, ${UturnA},' +
  348. '\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  349. 'custom.template.example': 'Example: ${street}',
  350. 'custom.regexp.text': 'Custom <a target=\'_blank\' href=\'' + PFX_DISCUSS + DISCUSS_CUSTOM + '\'>RegExp</a>',
  351. 'custom.regexp.tip': 'User-defined custom check regular expression to match the template.' +
  352. '\n\nCase-insensitive match: /regexp/i' +
  353. '\nNegation (do not match): !/regexp/' +
  354. '\nLog debug information on console: D/regexp/',
  355. 'custom.regexp.example': 'Example: !/.+/',
  356. 'about.tip': 'Open link in a new tab',
  357. 'button.reset.text': 'Reset defaults',
  358. 'button.reset.tip': 'Revert filter options and settings to their defaults',
  359. 'button.list.text': 'Available checks...',
  360. 'button.list.tip': 'Show a list of checks available in WME Validator',
  361. 'button.wizard.tip': 'Create localization package',
  362. 'button.back.text': 'Back',
  363. 'button.back.tip': 'Close settings and return to main view',
  364. '23.enabled': true,
  365. '23.title': 'Unconfirmed road',
  366. '23.problem': 'Each segment must minimally have the Country and State information',
  367. '23.problemLink': 'P:Global/Map_Editing_Quick-start_Guide#Creating_a_road',
  368. '23.solution': 'Confirm the road by updating its details',
  369. '23.solutionLink': 'P:Global/Road_names/USA',
  370. '24.enabled': true,
  371. '24.severity': 'W',
  372. '24.reportOnly': true,
  373. '24.title': 'Might be incorrect city name (only available in the report)',
  374. '24.problem': 'The segment might have incorrect city name',
  375. '24.problemLink': 'P:Global/Smudged_city',
  376. '24.solution': 'Consider suggested city name and use this form to rename the city',
  377. '24.solutionLink': 'D:t/city-name-change-form/38729',
  378. '25.enabled': true,
  379. '25.severity': 'W',
  380. '25.title': 'Unknown direction of drivable road',
  381. '25.problem': '\'Unknown\' road direction will not prevent routing on the road',
  382. '25.problemLink': 'W:How_to_handle_road_closures#NOTES_for_all_durations',
  383. '25.solution': 'Set the road direction',
  384. '27.title': 'City name on Railroad',
  385. '27.problem': 'City name on the Railroad may cause a city smudge',
  386. '27.problemLink': 'P:Global/Smudged_city',
  387. '27.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  388. '27.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  389. '28.enabled': true,
  390. '28.severity': 'W',
  391. '28.title': 'Street name on two-way Ramp',
  392. '28.problem': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  393. '28.problemLink': 'P:Global/Junction_Style_Guide/Interchanges#Ramp-ramp_forks',
  394. '28.solution': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  395. '28.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  396. '29.enabled': true,
  397. '29.severity': 'W',
  398. '29.title': 'Street name on roundabout',
  399. '29.problem': 'In Waze, we do not name roundabout segments',
  400. '29.problemLink': 'P:Global/Roundabouts/USA#Creating_a_roundabout_from_an_intersection',
  401. '29.solution': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' and then add \'Junction\' landmark to name the roundabout',
  402. '29.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  403. '34.enabled': true,
  404. '34.title': 'Empty alternate street',
  405. '34.problem': 'Alternate street name is empty',
  406. '34.solution': 'Remove empty alternate street name',
  407. '35.enabled': true,
  408. '35.severity': 'W',
  409. '35.title': 'Unterminated drivable road',
  410. '35.problem': 'Waze will not route from the unterminated segment',
  411. '35.solution': 'Move the segment a bit so the terminating node will be added automatically',
  412. '36.enabled': false,
  413. '36.title': 'Node A: Unneeded (slow)',
  414. '36.problem': 'Adjacent segments at node A are identical',
  415. '36.problemLink': 'P:Global/Creating_and_editing_road_segments#Removing_junctions_with_only_two_segments',
  416. '36.solution': 'Select node A and press Delete key to join the segments',
  417. '36.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Deleting_a_junction',
  418. '37.enabled': false,
  419. '37.title': 'Node B: Unneeded (slow)',
  420. '37.problem': 'Adjacent segments at node B are identical',
  421. '37.problemLink': 'P:Global/Creating_and_editing_road_segments#Removing_junctions_with_only_two_segments',
  422. '37.solution': 'Select node B and press Delete key to join the segments',
  423. '37.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Deleting_a_junction',
  424. '38.enabled': true,
  425. '38.title': 'Expired segment restriction (slow)',
  426. '38.problem': 'The segment has an expired restriction',
  427. '38.problemLink': 'P:Global/Partial_restrictions#Segments',
  428. '38.solution': 'Click \'Edit restrictions\' and delete the expired restriction',
  429. '39.enabled': true,
  430. '39.title': 'Expired turn restriction (slow)',
  431. '39.problem': 'The segment has a turn with an expired restriction',
  432. '39.problemLink': 'P:Global/Partial_restrictions#Turns',
  433. '39.solution': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  434. '41.enabled': true,
  435. '41.title': 'Node A: Reverse connectivity of drivable road',
  436. '41.problem': 'There is a turn which goes against the directionality of the segment at node A',
  437. '41.problemLink': 'P:Global/Reverse_connectivity',
  438. '41.solution': 'Make the segment \'Two-way\', restrict all the turns at node A and then make the segment \'One way (A→B)\' again',
  439. '42.enabled': true,
  440. '42.title': 'Node B: Reverse connectivity of drivable road',
  441. '42.problem': 'There is a turn which goes against the directionality of the segment at node B',
  442. '42.problemLink': 'P:Global/Reverse_connectivity',
  443. '42.solution': 'Make the segment \'Two-way\', restrict all the turns at node B and then make the segment \'One way (B→A)\' again',
  444. '43.enabled': true,
  445. '43.severity': 'E',
  446. '43.title': 'Self connectivity',
  447. '43.problem': 'The segment is connected back to itself',
  448. '43.problemLink': 'P:Global/Glossary#SelfCon',
  449. '43.solution': 'Split the segment into THREE pieces',
  450. '43.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Cutting_a_segment',
  451. '44.enabled': false,
  452. '44.severity': 'E',
  453. '44.title': 'No outward connectivity',
  454. '44.problem': 'The drivable segment has no single outward turn enabled',
  455. '44.solution': 'Enable at least one outward turn from the segment',
  456. '44.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  457. '45.enabled': false,
  458. '45.severity': 'E',
  459. '45.title': 'No inward connectivity',
  460. '45.problem': 'The drivable non-private segment has no single inward turn enabled',
  461. '45.solution': 'Select an adjacent segment and enable at least one turn to the segment',
  462. '45.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  463. '46.enabled': true,
  464. '46.severity': 'W',
  465. '46.title': 'Node A: No inward connectivity of drivable road (slow)',
  466. '46.problem': 'The drivable non-private segment has no single inward turn enabled at node A',
  467. '46.solution': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  468. '46.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  469. '47.enabled': true,
  470. '47.severity': 'W',
  471. '47.title': 'Node B: No inward connectivity of drivable road (slow)',
  472. '47.problem': 'The drivable non-private segment has no single inward turn enabled at node B',
  473. '47.solution': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  474. '47.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  475. '48.enabled': true,
  476. '48.severity': 'E',
  477. '48.title': 'Two-way drivable roundabout segment',
  478. '48.problem': 'The drivable roundabout segment is bidirectional',
  479. '48.solution': 'Redo the roundabout',
  480. '48.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  481. '50.enabled': false,
  482. '50.severity': 'E',
  483. '50.title': 'No connectivity on roundabout (slow)',
  484. '50.problem': 'The drivable roundabout segment has no connectivity with adjacent roundabout segment',
  485. '50.solution': 'Enable a turn to the adjacent segment or redo the roundabout',
  486. '50.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  487. '52.title': 'Too long street name',
  488. '52.problem': 'The name of the drivable segment is more than ${n} letters long and it is not a Ramp',
  489. '52.solution': 'Consider an abbreviation for the street name',
  490. '52.params': {'n.title': '{number} maximum street name length', 'n': 30},
  491. '54.severity': 'W',
  492. '54.title': 'No city on segment with HNs',
  493. '54.problem': 'Address search will fail with no city name',
  494. '54.solution': 'Make sure the primary or alt names have a city',
  495. '54.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  496. '55.title': 'No city on named segment',
  497. '55.problem': 'Address search will fail with no city name',
  498. '55.solution': 'Make sure the primary or alt names have a city',
  499. '55.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  500. '57.severity': 'W',
  501. '57.title': 'City name on named Ramp',
  502. '57.problem': 'City name on the named Ramp may affect search results',
  503. '57.problemLink': 'D:t/freeways-on-off-ramps-include-city-name/67570',
  504. '57.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  505. '57.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  506. '59.title': 'City name on Freeway',
  507. '59.problem': 'City name on the Freeway may cause a city smudge',
  508. '59.problemLink': 'P:Global/Smudged_city',
  509. '59.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  510. '59.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  511. '69.title': 'No city name on Freeway',
  512. '69.problem': 'The Freeway has no city name set',
  513. '69.solution': 'Set the city name',
  514. '73.title': 'Too short street name',
  515. '73.problem': 'The street name is less than ${n} letters long and it is not a highway',
  516. '73.solution': 'Correct the street name',
  517. '73.params': {'n.title': '{number} minimum street name length', 'n': 3},
  518. '74.enabled': false,
  519. '74.severity': 'W',
  520. '74.title': 'Node A: Multiple segments connected at roundabout',
  521. '74.problem': 'The drivable roundabout node A has more than one segment connected',
  522. '74.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  523. '74.solution': 'Redo the roundabout',
  524. '74.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  525. '77.enabled': false,
  526. '77.severity': 'W',
  527. '77.title': 'Dead-end U-turn',
  528. '77.problem': 'The drivable dead-end road has a U-turn enabled',
  529. '77.problemLink': 'P:Global/Map_Editing_Quick-start_Guide#U-turns_at_the_end_of_dead-end-streets',
  530. '77.solution': 'Disable U-turn',
  531. '78.enabled': true,
  532. '78.severity': 'W',
  533. '78.title': 'Same endpoints (2 segment loop)',
  534. '78.problem': 'Two drivable segments share the same two endpoints',
  535. '78.problemLink': 'P:Global/Junction_Style_Guide#Two-segment_loops',
  536. '78.solution': 'Split the segment. You might also remove one of the segments if they are identical',
  537. '78.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Cutting_a_segment',
  538. '79.enabled': false,
  539. '79.severity': 'W',
  540. '79.title': 'Too short U-turn connector (slow)',
  541. '79.problem': 'The length of the segment is less than 15m long so U-turn is not possible here',
  542. '79.problemLink': 'P:Global/Classification_of_crossings',
  543. '79.solution': 'Increase the length of the segment',
  544. '87.enabled': true,
  545. '87.severity': 'E',
  546. '87.title': 'Node A: Multiple outgoing segments at roundabout',
  547. '87.problem': 'The drivable roundabout node A has more than one outgoing segment connected',
  548. '87.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  549. '87.solution': 'Redo the roundabout',
  550. '87.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  551. '90.severity': 'W',
  552. '90.title': 'Two-way Freeway segment',
  553. '90.problem': 'Most of the Freeways are split into two one-way roads, so this two-way segment might be a mistake',
  554. '90.solution': 'Check Freeway direction',
  555. '91.severity': 'W',
  556. '91.title': 'Two-way Ramp segment',
  557. '91.problem': 'Most of the Ramps are one-way roads, so this two-way segment might be a mistake',
  558. '91.solution': 'Check Ramp direction',
  559. '95.severity': 'W',
  560. '95.title': 'Street name with a dot',
  561. '95.problem': 'There is a dot in the street name (excluding Ramps)',
  562. '95.solution': 'Expand the abbreviation or remove the dot',
  563. '99.enabled': true,
  564. '99.severity': 'W',
  565. '99.title': 'U-turn at roundabout entrance (slow)',
  566. '99.problem': 'The roundabout entrance segment has a U-turn enabled',
  567. '99.problemLink': 'P:Global/Map_Editing_Quick-start_Guide#U-turns_at_the_end_of_dead-end-streets',
  568. '99.solution': 'Disable U-turn',
  569. '101.enabled': true,
  570. '101.severity': 'E',
  571. '101.reportOnly': true,
  572. '101.title': 'Closed road (only available in the report)',
  573. '101.problem': 'The segment is marked as closed',
  574. '101.problemLink': 'W:How_to_handle_road_closures',
  575. '101.solution': 'If the construction is done, restore the segment connectivity and remove the suffix',
  576. '101.solutionLink': 'P:Global/Road_names/USA#Construction_zones_and_closed_roads',
  577. '101.params': {'regexp.title': '{string} regular expression to match closed road', 'regexp': '/(^|\\b)closed(\\b|$)/i'},
  578. '102.enabled': true,
  579. '102.severity': 'W',
  580. '102.title': 'Node A: No outward connectivity of drivable road (slow)',
  581. '102.problem': 'The drivable segment has no single outward turn enabled at node A',
  582. '102.solution': 'Enable at least one outward turn from the segment at node A',
  583. '102.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  584. '103.enabled': true,
  585. '103.severity': 'W',
  586. '103.title': 'Node B: No outward connectivity of drivable road (slow)',
  587. '103.problem': 'The drivable segment has no single outward turn enabled at node B',
  588. '103.solution': 'Enable at least one outward turn from the segment at node B',
  589. '103.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  590. '104.enabled': true,
  591. '104.title': 'Railroad used for comments',
  592. '104.problem': 'The Railroad segment is probably used as a map comment',
  593. '104.problemLink': 'D:t/regarding-railroads/44330',
  594. '104.solution': 'Remove the comment as Railroads will be added to the client display',
  595. '105.title': 'Walking Trail instead of a Railroad',
  596. '105.problem': 'The Walking Trail segment with elevation -5 is probably used instead of a Railroad',
  597. '105.problemLink': 'D:t/regarding-railroads/44330',
  598. '105.solution': 'Change road type to Railroad as Railroads will be added to the client display',
  599. '106.title': 'No state name selected',
  600. '106.problem': 'The segment has no state name selected',
  601. '106.solution': 'Select a state for the segment and apply the changes',
  602. '106.solutionLink': 'P:Global/Creating_and_editing_road_segments#Confirm_the_road_by_updating_details',
  603. '107.enabled': true,
  604. '107.severity': 'E',
  605. '107.title': 'Node A: No connection (slow)',
  606. '107.problem': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  607. '107.solution': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  608. '108.enabled': true,
  609. '108.severity': 'E',
  610. '108.title': 'Node B: No connection (slow)',
  611. '108.problem': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  612. '108.solution': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  613. '109.enabled': true,
  614. '109.severity': 'W',
  615. '109.title': 'Too short segment',
  616. '109.problem': 'The drivable non-terminal segment is less than ${n}m long so it is hard to see it on the map and it can cause routing problems',
  617. '109.problemLink': 'P:Global/Segment_length',
  618. '109.solution': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  619. '109.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Deleting_a_junction',
  620. '109.params': {'n.title': '{number} minimum segment length', 'n': 5},
  621. '110.title': 'Incorrect Freeway elevation',
  622. '110.problem': 'The elevation of the Freeway segment is not a ground',
  623. '110.problemLink': 'P:Germany/Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#.C3.9Cber-_und_Unterf.C3.BChrungen',
  624. '110.solution': 'Set the Freeway elevation to ground',
  625. '112.enabled': true,
  626. '112.severity': 'W',
  627. '112.title': 'Too long Ramp name',
  628. '112.problem': 'The Ramp name is more than ${n} letters long',
  629. '112.solution': 'Shorten the Ramp name',
  630. '112.params': {'n.title': '{number} maximum Ramp name length', 'n': 55},
  631. '114.enabled': false,
  632. '114.severity': 'W',
  633. '114.title': 'Node A: Non-drivable connected to drivable (slow)',
  634. '114.problem': 'The non-drivable segment makes a junction with a drivable at node A',
  635. '114.problemLink': 'P:USA/Road_types#Non-drivable_roads',
  636. '114.solution': 'Disconnect node A from all of the drivable segments',
  637. '115.enabled': false,
  638. '115.severity': 'W',
  639. '115.title': 'Node B: Non-drivable connected to drivable (slow)',
  640. '115.problem': 'The non-drivable segment makes a junction with a drivable at node B',
  641. '115.problemLink': 'P:USA/Road_types#Non-drivable_roads',
  642. '115.solution': 'Disconnect node B from all of the drivable segments',
  643. '116.enabled': true,
  644. '116.severity': 'W',
  645. '116.title': 'Out of range elevation',
  646. '116.problem': 'The segment elevation is out of range',
  647. '116.solution': 'Correct the elevation',
  648. '117.enabled': true,
  649. '117.severity': 'W',
  650. '117.title': 'Obsolete CONST ZN marker',
  651. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  652. '117.solution': 'Change CONST ZN to (closed)',
  653. '117.solutionLink': 'P:Global/Road_names/USA#Construction_zones_and_closed_roads',
  654. '118.enabled': true,
  655. '118.severity': 'E',
  656. '118.title': 'Node A: Overlapping segments (slow)',
  657. '118.problem': 'The segment is overlapping with the adjacent segment at node A',
  658. '118.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  659. '119.enabled': true,
  660. '119.severity': 'E',
  661. '119.title': 'Node B: Overlapping segments (slow)',
  662. '119.problem': 'The segment is overlapping with the adjacent segment at node B',
  663. '119.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  664. '120.enabled': true,
  665. '120.severity': 'W',
  666. '120.title': 'Node A: Too sharp turn (slow)',
  667. '120.problem': 'The drivable segment has a very acute turn at node A',
  668. '120.solution': 'Disable the sharp turn at node A or spread the segments at 30°',
  669. '121.enabled': true,
  670. '121.severity': 'W',
  671. '121.title': 'Node B: Too sharp turn (slow)',
  672. '121.problem': 'The drivable segment has a very acute turn at node B',
  673. '121.solution': 'Disable the sharp turn at node B or spread the segments at 30°',
  674. '128.enabled': true,
  675. '128.severity': '1',
  676. '128.title': 'User-defined custom check (green)',
  677. '128.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  678. '128.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  679. '128.solution': 'Solve the issue',
  680. '128.params': {},
  681. '129.enabled': true,
  682. '129.severity': '2',
  683. '129.title': 'User-defined custom check (blue)',
  684. '129.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  685. '129.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  686. '129.solution': 'Solve the issue',
  687. '129.params': {},
  688. '169.severity': 'W',
  689. '169.title': 'Incorrectly named street',
  690. '169.problem': 'The street named incorrectly, illegal chars or words used',
  691. '169.solution': 'Rename the segment in accordance with the guidelines',
  692. '169.params': {'regexp.title': '{string} regular expression to match incorrect street name', 'regexp': '!/^[a-zA-Z0-9\\. :"\'(/)-]+$/'},
  693. '170.severity': 'W',
  694. '170.title': 'Lowercase street name',
  695. '170.problem': 'The street name starts with a lowercase word',
  696. '170.solution': 'Correct lettercase in the street name',
  697. '170.params': {'regexp.title': '{string} regular expression to match a lowercase name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  698. '171.severity': 'W',
  699. '171.title': 'Incorrectly abbreviated street name',
  700. '171.problem': 'The street name has incorrect abbreviation',
  701. '171.solution': 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table',
  702. '171.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\.$/'},
  703. '172.enabled': true,
  704. '172.title': 'Unneeded spaces in street name',
  705. '172.problem': 'Leading/trailing/double space in the street name',
  706. '172.solution': 'Remove unneeded spaces from the street name',
  707. '172.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  708. '173.enabled': true,
  709. '173.severity': 'W',
  710. '173.title': 'No space before/after street abbreviation',
  711. '173.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  712. '173.solution': 'Add a space before/after the abbreviation',
  713. '173.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  714. '174.severity': 'W',
  715. '174.title': 'Street name spelling mistake',
  716. '174.problem': 'The is a spelling mistake in the street name',
  717. '174.solution': 'Add/correct the mistake, check accented letters',
  718. '174.params': {
  719. 'regexp.title': '{string} regular expression to match spelling mistakes',
  720. 'regexp': '/(^|\\b)(accross|cemetary|fourty|foward|goverment|independant|liason|pavillion|portugese|posession|prefered|shcool|wat|wich)($|\\b)/i'
  721. },
  722. '175.enabled': true,
  723. '175.severity': 'W',
  724. '175.title': 'Empty street name',
  725. '175.problem': 'The street name has only space characters or a dot',
  726. '175.solution': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  727. '175.solutionLink': 'P:Global/Creating_and_editing_road_segments#Confirm_the_road_by_updating_details',
  728. '175.params': {'regexp': '/^[\\s\\.]*$/'},
  729. '190.severity': 'W',
  730. '190.enabled': true,
  731. '190.title': 'Lowercase city name',
  732. '190.problem': 'The city name starts with a lowercase letter',
  733. '190.solution': 'Use this form to rename the city',
  734. '190.solutionLink': 'D:t/city-name-change-form/38729',
  735. '190.params': {'regexp.title': '{string} regular expression to match a lowercase city name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  736. '191.severity': 'W',
  737. '191.title': 'Incorrectly abbreviated city name',
  738. '191.problem': 'The city name has incorrect abbreviation',
  739. '191.solution': 'Use this form to rename the city',
  740. '191.solutionLink': 'D:t/city-name-change-form/38729',
  741. '191.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\./'},
  742. '192.enabled': true,
  743. '192.title': 'Unneeded spaces in city name',
  744. '192.problem': 'Leading/trailing/double space in the city name',
  745. '192.solution': 'Use this form to rename the city',
  746. '192.solutionLink': 'D:t/city-name-change-form/38729',
  747. '192.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  748. '193.enabled': true,
  749. '193.title': 'No space before/after city abbreviation',
  750. '193.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  751. '193.solution': 'Use this form to rename the city',
  752. '193.solutionLink': 'D:t/city-name-change-form/38729',
  753. '193.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  754. '200.enabled': true,
  755. '200.title': 'Node A: Unconfirmed turn on minor road',
  756. '200.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  757. '200.problemLink': 'P:Global/Soft_and_hard_turns',
  758. '200.solution': 'Click the turn indicated with a purple question mark to confirm it. Note: you may need to make the segment \'Two-way\' in order to see those turns',
  759. '200.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  760. '300.enabled': true,
  761. '300.title': 'Node B: Unconfirmed turn on minor road',
  762. '300.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node B',
  763. '300.problemLink': 'P:Global/Soft_and_hard_turns',
  764. '300.solution': 'Click the turn indicated with a purple question mark to confirm it. Note: you may need to make the segment \'Two-way\' in order to see those turns',
  765. '300.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  766. '201.enabled': true,
  767. '201.severity': 'W',
  768. '201.title': 'Node A: Unconfirmed turn on primary road',
  769. '201.problem': 'The primary segment has an unconfirmed (soft) turn at node A',
  770. '201.problemLink': 'P:Global/Soft_and_hard_turns',
  771. '201.solution': 'Click the turn indicated with a purple question mark to confirm it. Note: you may need to make the segment \'Two-way\' in order to see those turns',
  772. '201.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  773. '301.enabled': true,
  774. '301.severity': 'W',
  775. '301.title': 'Node B: Unconfirmed turn on primary road',
  776. '301.problem': 'The primary segment has an unconfirmed (soft) turn at node B',
  777. '301.problemLink': 'P:Global/Soft_and_hard_turns',
  778. '301.solution': 'Click the turn indicated with a purple question mark to confirm it. Note: you may need to make the segment \'Two-way\' in order to see those turns',
  779. '301.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  780. '202.enabled': true,
  781. '202.severity': 'W',
  782. '202.title': 'BETA: No public connection for public segment (slow)',
  783. '202.problem': 'The public segment is not connected to any other public segment',
  784. '202.solution': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  785. '210.enabled': true,
  786. '210.title': 'Segment has unverified speed limits from A to B',
  787. '210.problem': 'Segment has speed limit set from A to B that is unverified',
  788. '210.solution': 'Verify the speed limit on the segment and confirm or correct it',
  789. '210.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  790. '211.enabled': true,
  791. '211.title': 'Segment has unverified speed limits from B to A',
  792. '211.problem': 'Segment has speed limit set from B to A that is unverified',
  793. '211.solution': 'Verify the speed limit on the segment and confirm or correct it',
  794. '211.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  795. '212.enabled': true,
  796. '212.title': 'Segment has no speed limit set from A to B',
  797. '212.problem': 'Segment has no speed limit set from A to B',
  798. '212.solution': 'Verify the speed limit on the segment and set it',
  799. '212.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  800. '213.enabled': true,
  801. '213.title': 'Segment has no speed limit set from B to A',
  802. '213.problem': 'Segment has no speed limit set from B to A',
  803. '213.solution': 'Verify the speed limit on the segment and set it',
  804. '213.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  805. '214.enabled': true,
  806. '214.title': 'Segment has possibly wrong speed limit from A to B',
  807. '214.problem': 'Segment has a speed limit that seems to be incorrect',
  808. '214.solution': 'Verify the speed limit on the segment and correct it if needed',
  809. '214.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  810. '215.enabled': true,
  811. '215.title': 'Segment has possibly wrong speed limit from B to A',
  812. '215.problem': 'Segment has a speed limit that seems to be incorrect',
  813. '215.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  814. '215.solution': 'Verify the speed limit on the segment and correct it if needed',
  815. '250.enabled': true,
  816. '250.title': 'BETA: No city name on Place',
  817. '250.problem': 'The Place has no city name set',
  818. '250.solution': 'Set the city name',
  819. '250.params': {
  820. 'regexp.title': '{string} regular expression for categories to exclude from this check',
  821. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  822. },
  823. '251.enabled': true,
  824. '251.title': 'BETA: No street name on Place',
  825. '251.problem': 'The Place has no street name set',
  826. '251.solution': 'Set the street name',
  827. '251.params': {
  828. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  829. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  830. },
  831. '252.enabled': true,
  832. '252.title': 'BETA: Automatically updated Place',
  833. '252.problem': 'The Place was updated automatically by Waze',
  834. '252.solution': 'Verify and update the Place details if needed',
  835. '252.params': {
  836. 'regexp.title': '{string} regular expression to match Waze bot names and ids',
  837. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  838. },
  839. '253.enabled': true,
  840. '253.title': 'BETA: Category \'OTHER\' should not be used',
  841. '253.problem': 'Users can search on category, and category \'OTHER\' doesn\'t give enough information',
  842. '253.solution': 'Set the correct category',
  843. '254.enabled': true,
  844. '254.title': 'BETA: No entry/exit points on Place',
  845. '254.problem': 'The Place entry/exit points are not set',
  846. '254.solution': 'Set the entry/exit points',
  847. '255.enabled': true,
  848. '255.title': 'BETA: Invalid phone number',
  849. '255.problem': 'The Place has an invalid phone number',
  850. '255.solution': 'Set the correct phone number',
  851. '255.params': {'regexp.title': '{string} regular expression to match a correct phone number', 'regexp': '/.+/'},
  852. '256.enabled': true,
  853. '256.title': 'BETA: Invalid website',
  854. '256.problem': 'The Place has an invalid website URL',
  855. '256.solution': 'Set the correct website URL',
  856. '256.params': {'regexp.title': '{string} regular expression to match a correct website URL', 'regexp': '/^(https?://)?[^\\s/$.?#].[^\\s]*$/i'},
  857. '256.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  858. '257.enabled': true,
  859. '257.title': 'BETA: Place should be an area place',
  860. '257.problem': 'The Place is set as a point place, but should be an area',
  861. '257.solution': 'Convert the Place to an area place',
  862. '257.params': {
  863. 'regexp.title': '{string} regular expression to match categories that should be a area',
  864. 'regexp':
  865. '/^(GAS_STATION|PARKING_LOT|AIRPORT|BRIDGE|JUNCTION_INTERCHANGE|SEAPORT_MARINA_HARBOR|TUNNEL|CEMETERY|COLLEGE_UNIVERSITY|CONVENTIONS_EVENT_CENTER|EMBASSY_CONSULATE|FIRE_DEPARTMENT|HOSPITAL_URGENT_CARE|MILITARY|POLICE_STATION|PRISON_CORRECTIONAL_FACILITY|SCHOOL|SHOPPING_CENTER|CASINO|RACING_TRACK|STADIUM_ARENA|THEME_PARK|ZOO_AQUARIUM|CONSTRUCTION_SITE|BEACH|GOLF_COURSE|PARK|SKI_AREA|FOREST_GROVE|ISLAND|SEA_LAKE_POOL|RIVER_STREAM|CANAL|SWAMP_MARSH|DAM)$/'
  866. },
  867. '257.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  868. '258.enabled': true,
  869. '258.title': 'BETA: Place should be a point place',
  870. '258.problem': 'The Place is set as an area place, but should be a point',
  871. '258.solution': 'Convert the Place to a point place',
  872. '258.params': {
  873. 'regexp.title': '{string} regular expression to match categories that should be a point',
  874. 'regexp':
  875. '/^(GARAGE_AUTOMOTIVE_SHOP|CAR_WASH|CHARGING_STATION|BUS_STATION|FERRY_PIER|SUBWAY_STATION|TRAIN_STATION|TAXI_STATION|REST_AREAS|GOVERNMENT|LIBRARY|CITY_HALL|ORGANIZATION_OR_ASSOCIATION|COURTHOUSE|DOCTOR_CLINIC|OFFICES|POST_OFFICE|RELIGIOUS_CENTER|KINDERGARDEN|FACTORY_INDUSTRIAL|INFORMATION_POINT|EMERGENCY_SHELTER|TRASH_AND_RECYCLING_FACILITIES|ARTS_AND_CRAFTS|BANK_FINANCIAL|SPORTING_GOODS|BOOKSTORE|PHOTOGRAPHY|CAR_DEALERSHIP|FASHION_AND_CLOTHING|CONVENIENCE_STORE|PERSONAL_CARE|DEPARTMENT_STORE|PHARMACY|ELECTRONICS|FLOWERS|FURNITURE_HOME_STORE|GIFTS|GYM_FITNESS|SWIMMING_POOL|HARDWARE_STORE|MARKET|SUPERMARKET_GROCERY|JEWELRY|LAUNDRY_DRY_CLEAN|MUSIC_STORE|PET_STORE_VETERINARIAN_SERVICES|TOY_STORE|TRAVEL_AGENCY|ATM|CURRENCY_EXCHANGE|CAR_RENTAL|TELECOM|RESTAURANT|BAKERY|DESSERT|CAFE|FAST_FOOD|FOOD_COURT|BAR|ICE_CREAM|ART_GALLERY|CLUB|TOURIST_ATTRACTION_HISTORIC_SITE|MOVIE_THEATER|MUSEUM|MUSIC_VENUE|PERFORMING_ARTS_VENUE|GAME_CLUB|THEATER|HOTEL|HOSTEL|COTTAGE_CABIN|BED_AND_BREAKFAST|PLAYGROUND|SPORTS_COURT|PLAZA|PROMENADE|POOL|SCENIC_LOOKOUT_VIEWPOINT)$/'
  876. },
  877. '259.enabled': true,
  878. '259.title': 'BETA: No lock on Place',
  879. '259.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  880. '259.solution': 'Lock the Place',
  881. '259.params': {
  882. 'n.title': '{number} minimum lock level',
  883. 'n': 2,
  884. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  885. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  886. },
  887. '260.enabled': true,
  888. '260.title': 'BETA: No lock on Place',
  889. '260.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  890. '260.solution': 'Lock the Place',
  891. '260.params':
  892. {'n.title': '{number} minimum lock level', 'n': 3, 'regexp.title': '{string} regular expression to match categories that should be locked to {number}', 'regexp': '/(GAS_STATION|AIRPORT)/'},
  893. '270.enabled': true,
  894. '270.title': 'BETA: No type on Parking Lot',
  895. '270.problem': 'The primary Parking Lot type is not set',
  896. '270.solution': 'Set the primary lot type',
  897. '271.enabled': true,
  898. '271.title': 'BETA: No cost on Parking Lot',
  899. '271.problem': 'The Parking Lot cost is not set',
  900. '271.solution': 'Set the Parking Lot cost',
  901. '272.enabled': true,
  902. '272.title': 'BETA: No payment types on Parking Lot',
  903. '272.problem': 'The Parking Lot payment types are not set',
  904. '272.solution': 'Set the payment types',
  905. '273.enabled': true,
  906. '273.title': 'BETA: No elevation on Parking Lot',
  907. '273.problem': 'The Parking Lot elevation is not set',
  908. '273.solution': 'Set the elevation',
  909. '274.enabled': true,
  910. '274.title': 'BETA: No Parking Lot entry/exit points',
  911. '274.problem': 'The Parking Lot entry/exit points are not set',
  912. '274.solution': 'Set the entry/exit points',
  913. '275.enabled': true,
  914. '275.title': 'BETA: No brand on Gas Station',
  915. '275.problem': 'The Gas Station brand is not in its name',
  916. '275.solution': 'Add or update brand in the Gas Station name'
  917. },
  918. 'US': {
  919. '.codeISO': 'US',
  920. '.country': 'United States',
  921. '27.enabled': true,
  922. '54.enabled': true,
  923. '55.enabled': true,
  924. '90.enabled': true,
  925. '106.enabled': true,
  926. '112.enabled': false,
  927. '150.enabled': true,
  928. '150.params': {'n': 2},
  929. '170.enabled': true,
  930. '170.params': {'regexp': '/^(?!(to) [^a-z])((S|N|W|E) )?[a-z]/'},
  931. '171.enabled': true,
  932. '171.solutionLink': 'P:USA/Abbreviations_and_acronyms#Recommended_abbreviations_and_acronyms',
  933. '171.params': {
  934. 'regexp':
  935. '/((?!(\\bPhila|\\bPenna|.(\\bWash|\\bCmdr|\\bProf|\\bPres)|..(\\bAdm|\\bSte|\\bCpl|\\bMaj|\\bSgt|\\bRe[vc]|\\bR\\.R|\\bGov|\\bGen|\\bHon|\\bCpl)|...(\\bSt|\\b[JSD]r|\\bLt|\\bFt)|...(#| )[NEWSR])).{5}\\.|((?!(hila|enna|(\\bWash|\\bCmdr|\\bProf|\\bPres)|.(\\bAdm|\\bSte|\\bCpl|\\bMaj|\\bSgt|\\bRe[vc]|\\bR\\.R|\\bGov|\\bGen|\\bHon|\\bCpl)|..(\\bSt|\\b[JSD]r|\\bLt|\\bFt)|..(#| )[NEWSR])).{4}|(\\bhila|\\benna))\\.|((?!(ila|nna|(ash|mdr|rof|res)|(\\bAdm|\\bSte|\\bCpl|\\bMaj|\\bSgt|\\bRe[vc]|\\bR\\.R|\\bGov|\\bGen|\\bHon|\\bCpl)|.(\\bSt|\\b[JSD]r|\\bLt|\\bFt)|.(#| )[NEWSR])).{3}|\\b(ila|nna|ash|mdr|rof|res))\\.|((?!(la|na|(sh|dr|of|es)|(dm|te|pl|aj|gt|e[vc]|\\.R|ov|en|on|pl)|(\\bSt|\\b[JSD]r|\\bLt|\\bFt)|(#| )[NEWSR])).{2}|\\b(la|na|sh|dr|of|es|dm|te|pl|aj|gt|e[vc]|\\.R|ov|en|on|pl))\\.|(#|^)[^NEWSR]?\\.)|(((?!\\b(D|O|L)).|#|^)\'(?![sl]\\b)|(#|^)\'s|(?!\\b(In|Na)t).{3}\'l|(#|^).{0,2}\'l)|(Dr|St)\\.(#|$)|,|;|\\\\|((?!\\.( |#|$|R))\\..|(?!\\.( .|#.|$|R\\.))\\..{2}|\\.R(#|$|\\.R))|[Ee]x(p|w)y\\b|\\b[Ee]x[dn]\\b|Tunl\\b|Long Is\\b|Brg\\b/',
  936. 'problemEN': 'The street name has incorrect abbreviation, or character',
  937. 'solutionEN': 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table. Remove any comma (,), backslash (\\), or semicolon (;)'
  938. },
  939. '29.problem': 'Verify if roundabout should be named',
  940. '29.problemLink': 'P:USA/Roundabout#Creation_from_an_intersection',
  941. '29.solution':
  942. 'If the roundabout doesn\'t have a name, which is usually the case, click the None box next to Street. If the roundabout is a named circle on local signs, its segments can be named just like any other road.',
  943. '29.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  944. '257.params': {
  945. 'regexp.title': '{string} regular expression to match categories that should be a area',
  946. 'regexp':
  947. '/^(GAS_STATION|PARKING_LOT|AIRPORT|BRIDGE|JUNCTION_INTERCHANGE|REST_AREAS|SEAPORT_MARINA_HARBOR|TUNNEL|CEMETERY|COLLEGE_UNIVERSITY|CONVENTIONS_EVENT_CENTER|EMBASSY_CONSULATE|FIRE_DEPARTMENT|HOSPITAL_URGENT_CARE|MILITARY|POLICE_STATION|PRISON_CORRECTIONAL_FACILITY|SCHOOL|SHOPPING_CENTER|CASINO|RACING_TRACK|STADIUM_ARENA|THEME_PARK|ZOO_AQUARIUM|CONSTRUCTION_SITE|BEACH|GOLF_COURSE|PARK|SKI_AREA|FOREST_GROVE|ISLAND|SEA_LAKE_POOL|RIVER_STREAM|CANAL|SWAMP_MARSH|DAM)$/'
  948. },
  949. '258.params': {
  950. 'regexp.title': '{string} regular expression to match categories that should be a point',
  951. 'regexp':
  952. '/^(GARAGE_AUTOMOTIVE_SHOP|CAR_WASH|CHARGING_STATION|BUS_STATION|FERRY_PIER|SUBWAY_STATION|TRAIN_STATION|TAXI_STATION|GOVERNMENT|LIBRARY|CITY_HALL|ORGANIZATION_OR_ASSOCIATION|COURTHOUSE|DOCTOR_CLINIC|OFFICES|POST_OFFICE|RELIGIOUS_CENTER|KINDERGARDEN|FACTORY_INDUSTRIAL|INFORMATION_POINT|EMERGENCY_SHELTER|TRASH_AND_RECYCLING_FACILITIES|ARTS_AND_CRAFTS|BANK_FINANCIAL|SPORTING_GOODS|BOOKSTORE|PHOTOGRAPHY|CAR_DEALERSHIP|FASHION_AND_CLOTHING|CONVENIENCE_STORE|PERSONAL_CARE|DEPARTMENT_STORE|PHARMACY|ELECTRONICS|FLOWERS|FURNITURE_HOME_STORE|GIFTS|GYM_FITNESS|SWIMMING_POOL|HARDWARE_STORE|MARKET|SUPERMARKET_GROCERY|JEWELRY|LAUNDRY_DRY_CLEAN|MUSIC_STORE|PET_STORE_VETERINARIAN_SERVICES|TOY_STORE|TRAVEL_AGENCY|ATM|CURRENCY_EXCHANGE|CAR_RENTAL|TELECOM|RESTAURANT|BAKERY|DESSERT|CAFE|FAST_FOOD|FOOD_COURT|BAR|ICE_CREAM|ART_GALLERY|CLUB|TOURIST_ATTRACTION_HISTORIC_SITE|MOVIE_THEATER|MUSEUM|MUSIC_VENUE|PERFORMING_ARTS_VENUE|GAME_CLUB|THEATER|HOTEL|HOSTEL|COTTAGE_CABIN|BED_AND_BREAKFAST|PLAYGROUND|SPORTS_COURT|PLAZA|PROMENADE|POOL|SCENIC_LOOKOUT_VIEWPOINT)$/'
  953. }
  954. },
  955. 'UK': {'.codeISO': 'UK', '.country': 'United Kingdom', '1.enabled': false, '200.enabled': false},
  956. 'SK': {
  957. '.codeISO': 'SK',
  958. '.country': 'Slovakia',
  959. '27.enabled': true,
  960. '52.enabled': true,
  961. '73.enabled': true,
  962. '90.enabled': true,
  963. '150.enabled': true,
  964. '150.problemLink': 'F:t=64980&p=572847#p572847',
  965. '150.params': {'n': 2},
  966. '151.enabled': true,
  967. '151.problemLink': 'F:t=64980&p=572847#p572847',
  968. '151.params': {'n': 2},
  969. '152.enabled': true,
  970. '152.problemLink': 'F:t=64980&p=572847#p572847',
  971. '152.params': {'n': 2},
  972. '170.enabled': true,
  973. '170.params': {'regexp': '/^(?!(exit) [^a-z])[a-z]/'}
  974. },
  975. 'SG': {
  976. '.codeISO': 'SG',
  977. '.country': 'Singapore',
  978. '69.enabled': true,
  979. '73.enabled': true,
  980. '150.enabled': true,
  981. '150.params': {'n': 2},
  982. '151.enabled': true,
  983. '151.params': {'n': 2},
  984. '152.enabled': true,
  985. '152.params': {'n': 2}
  986. },
  987. 'RU': {'.codeISO': 'RU', '.country': 'Russia', '77.enabled': false, '190.enabled': false},
  988. 'PL': {
  989. '.codeISO': 'PL',
  990. '.country': 'Poland',
  991. '.author': 'Zniwek',
  992. '.updated': '2014-10-01',
  993. '.lng': 'PL',
  994. 'city.consider': 'rozważ tę nazwę miasta:',
  995. 'city.1': 'nazwa miasta jest za krótka',
  996. 'city.2': 'rozwiń skrót',
  997. 'city.3': 'uzupełnij skróconą nazwę',
  998. 'city.4': 'uzupełnij nazwę miasta',
  999. 'city.5': 'popraw wielkość liter',
  1000. 'city.6': 'sprawdź kolejność słów',
  1001. 'city.7': 'sprawdź skróty',
  1002. 'city.8a': 'dodaj nazwę państwa',
  1003. 'city.8r': 'usuń nazwę państwa',
  1004. 'city.9': 'sprawdź nazwę państwa',
  1005. 'city.10a': 'dodaj słowo',
  1006. 'city.10r': 'usuń słowo',
  1007. 'city.11': 'dodaj kod państwa',
  1008. 'city.12': 'identyczne nazwy, ale inne ID miasta',
  1009. 'city.13a': 'dodaj spację',
  1010. 'city.13r': 'usuń spację',
  1011. 'city.14': 'sprawdź numer',
  1012. 'props.skipped.title': 'Segment nie jest sprawdzony',
  1013. 'props.skipped.problem': 'Segment jest zmodyfikowany po 2014-05-01 I zablokowany dla Ciebie, więc Validator go nie sprawdził',
  1014. 'err.regexp': 'Błąd podczas parsowania opcji dla sprawdzenia #${n}:',
  1015. 'props.disabled': 'WME Validator jest wyłączony',
  1016. 'props.limit.title': 'Zgłoszono zbyt wiele problemów',
  1017. 'props.limit.problem': 'Zgłoszono zbyt wiele problemów, więc niektóre z nich mogą nie być pokazane',
  1018. 'props.limit.solution': 'Odznacz segment i zatrzymaj skanowanie. Następnie kliknij czerwony \'✘\', przycisk (Wyczyść raport)',
  1019. 'props.reports': 'raporty',
  1020. 'props.noneditable': 'Nie możesz edytować tego segmentu',
  1021. 'report.save': 'Zapisz ten raport',
  1022. 'report.list.andUp': 'i wyższe',
  1023. 'report.list.severity': 'Ważność:',
  1024. 'report.list.reportOnly': 'tylko w raporcie',
  1025. 'report.list.forEditors': 'Dla edytorów poziomu:',
  1026. 'report.list.forCountries': 'Dla państw:',
  1027. 'report.list.forStates': 'Dla stanów:',
  1028. 'report.list.forCities': 'Dla miast:',
  1029. 'report.list.params': 'Parametry do skonfigurowania w paczce językowej:',
  1030. 'report.list.params.set': 'Aktualna konfiguracja dla ${country}:',
  1031. 'report.list.enabled': '${n} sprawdzenia włączone dla',
  1032. 'report.list.disabled': '${n} sprawdzenia wyłączone dla',
  1033. 'report.list.total': 'There are ${n} sprawdzenia dostępne',
  1034. 'report.list.title': 'Pełna lista Sprawdzeń dla',
  1035. 'report.list.see': 'Zobacz',
  1036. 'report.list.checks': 'Ustawienia->O->Dostępne sprawdzenia',
  1037. 'report.list.fallback': 'Zasady Cofnięcia Lokalizacji:',
  1038. 'report.and': 'i',
  1039. 'report.segments': 'Liczba sprawdzonych segmentów:',
  1040. 'report.customs': 'Własne zaznaczone sprawdzenia (zielone/niebieskie):',
  1041. 'report.reported': 'Zaraportowane',
  1042. 'report.errors': 'błędy',
  1043. 'report.warnings': 'ostrzeżenia',
  1044. 'report.notes': 'notki',
  1045. 'report.contents': 'Zawartość:',
  1046. 'report.summary': 'Podsumowanie',
  1047. 'report.title': 'WME Validator - Raport',
  1048. 'report.share': 'by się Podzielić',
  1049. 'report.generated.by': 'wygenerowane przez',
  1050. 'report.generated.on': 'na',
  1051. 'report.source': 'Źródło raportu:',
  1052. 'report.filter.duplicate': 'duplikowane segmenty',
  1053. 'report.filter.streets': 'Ulice i Drogi Serwisowe',
  1054. 'report.filter.other': 'Pozostałe przejezdne/nieprzejezdne',
  1055. 'report.filter.noneditable': 'segmenty bez możliwości edycji',
  1056. 'report.filter.notes': 'notki',
  1057. 'report.filter.title': 'Filtruj:',
  1058. 'report.filter.excluded': 'są wyłączone z tego raportu.',
  1059. 'report.search.updated.by': 'zaktualizowane przez',
  1060. 'report.search.updated.since': 'zaktualizowane od',
  1061. 'report.search.city': 'z',
  1062. 'report.search.reported': 'zaraportowane jako',
  1063. 'report.search.title': 'Szukaj:',
  1064. 'report.search.only': 'tylko segmenty',
  1065. 'report.search.included': 'są zawarte w tym raporcie.',
  1066. 'report.beta.warning': 'Ostrzeżenie WME Beta!',
  1067. 'report.beta.text': 'Ten raport jest wygenerowany w wersji beta WME z permalinkami beta.',
  1068. 'report.beta.share': 'Proszę, nie dziel się raportem z tymi permalinkami!',
  1069. 'report.size.warning':
  1070. '<b>Uwaga!</b><br>Ten raport ma ${n} znaków, więc <b>nie zmieści się</b> w jeden post na forum lub wiadomość prywatną.\n<br>Proszę dodaj <b>więcej filtrów</b>, żeby zmniejszyć długość raportu.',
  1071. 'report.note.limit': '* Info: było zbyt wiele zgłoszonych problemów, więc niektóre z nich nie są policzone w podsumowaniu.',
  1072. 'report.forum': 'Żeby zmotywować mnie do pracy nad skrpytem, zostaw komentarz w',
  1073. 'report.thanks': 'Dziękuję za używanie WME Validator!',
  1074. 'msg.limit.segments': 'Zbyt wiele segmentów.\n\nKliknij \'Pokaż raport\' żeby go przejrzeć, a potem\n',
  1075. 'msg.limit.segments.continue': 'kliknij \'▶\' (Start) by kontynuować.',
  1076. 'msg.limit.segments.clear': 'kliknij \'✘\' (Wyczyść) by wyczyścić raport.',
  1077. 'msg.pan.text': 'Przesuwaj mapę, by ją sprawdzić',
  1078. 'msg.zoomout.text': 'Oddal widok, by uruchomić WME Validator',
  1079. 'msg.click.text': 'Kliknij \'▶\' (Start), by sprawdzić widoczny obszar mapy',
  1080. 'msg.autopaused': 'autopauza',
  1081. 'msg.autopaused.text': 'Spauzowano automatycznie! Kliknij \'▶\' (Start) by kontynuować.',
  1082. 'msg.autopaused.tip': 'WME Validator wstrzymany automatycznie przy przesunięciu mapy lub skalowaniu okna',
  1083. 'msg.finished.text': 'Kliknij <b>\'Pokaż raport\'</b> by przejrzeć błędy',
  1084. 'msg.finished.tip': 'Kliknij przycisk \'✉\' (Podziel się), żeby umieścić raport na\nforum lub w prywatnej wiadomości',
  1085. 'msg.noissues.text': 'Ukończono! Nie znaleziono błędów!',
  1086. 'msg.noissues.tip': 'Spróbuj odznaczyć niektóre opcje filtrowania lub odpal WME Validator na innym obszarze!',
  1087. 'msg.scanning.text': 'Skanowanie! Koniec za ~ ${n} min',
  1088. 'msg.scanning.text.soon': 'Skanowanie! Koniec w ciągu minuty!',
  1089. 'msg.scanning.tip': 'Kliknij przycisk \'Pauza\' by wstrzymać lub \'■\' (Stop) by zatrzymać',
  1090. 'msg.starting.text': 'Start! Warstwy są wyłączone, by skanować szybciej!',
  1091. 'msg.starting.tip': 'Użyj przycisku \'Pauza\' by wstrzymać lub przycisku \'■\' by zatrzymać',
  1092. 'msg.paused.text': 'Wstrzymane! Kliknij przycisk \'▶\' (Start) by kontynuować.',
  1093. 'msg.paused.tip': 'Żeby zobaczyć raport, kliknij przycisk \'Pokaż raport\' (jeżeli dostępne)',
  1094. 'msg.continuing.text': 'Kontynuowanie!',
  1095. 'msg.continuing.tip': 'WME Validator zacznie ponownie z miejsca, gdzie włączono pauzę',
  1096. 'msg.settings.text': 'Kliknij <b>\'Wstecz\'</b>, by powrócić do głównego widoku',
  1097. 'msg.settings.tip': 'Kliknij przycisk \'Resetuj domyślne\' aby zresetować wszystkie ustawienia za jednym zamachem!',
  1098. 'msg.reset.text': 'Wszystkie opcje filtrowania i ustawienia zostały zresetowane do domyślnych',
  1099. 'msg.reset.tip': 'Kliknij przycisk \'Wstecz\', by powrócić do głównego widoku',
  1100. 'msg.textarea.pack':
  1101. 'To jest skrypt Greasemonkey/Tampermonkey. Tekst poniżej możesz skopiować i wkleić do <b>nowego pliku .user.js</b><br>lub <b>wkleić bezpośrednio</b> do Greasemonkey/Tampermonkey',
  1102. 'msg.textarea': 'Skopiuj proszę tekst poniżej, a następnie wklej do posta lub wiadomości prywatnej',
  1103. 'noaccess.text':
  1104. '<b>Sorki,</b><br>Nie możesz tutaj użyć WME Validatora.<br>Sprawdź proszę <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488\'>wątek na forum</a><br> po więcej informacji.',
  1105. 'noaccess.tip': 'Sprawdź proszę wątek na forum po więcej informacji!',
  1106. 'tab.switch.tip.on': 'Kliknij by włączyć podświetlanie (Alt+V)',
  1107. 'tab.switch.tip.off': 'Kliknij by wyłączyć podświetlanie (Alt+V)',
  1108. 'tab.filter.text': 'filtruj',
  1109. 'tab.filter.tip': 'Opcje filtrowania raportu i podświetlonych segmentów',
  1110. 'tab.search.text': 'szukaj',
  1111. 'tab.search.tip': 'Zaawansowane opcje filtrowania, żeby załączyć tylko specyficzne segmenty',
  1112. 'tab.help.text': 'pomoc',
  1113. 'tab.help.tip': 'Potrzebujesz pomocy?',
  1114. 'filter.noneditables.text': 'Wyklucz <b>nieedytowalne</b> segmenty',
  1115. 'filter.noneditables.tip': 'Nie raportuj zablokowanych segmentów lub\nsegmentów poza Twoim obszarem edycji',
  1116. 'filter.duplicates.text': 'Wyklucz <b>duplikowane</b> segmenty',
  1117. 'filter.duplicates.tip': 'Nie pokazuj tego samego segmentu w różnych\nczęściach raportu\n* Info: ta opcja NIE WPŁYWA na podświetlanie',
  1118. 'filter.streets.text': 'Wyklucz <b>Ulice i Drogi Serwisowe</b>',
  1119. 'filter.streets.tip': 'Nie raportuj Ulic i Dróg Serwisowych',
  1120. 'filter.other.text': 'Wyklucz <b>Pozostałe przejezdne i nieprzejezdne</b>',
  1121. 'filter.other.tip': 'Nie raportuj Gruntowych, Wewnętrznych, Prywatnych Dróg\ni nieprzejezdnych segmentów',
  1122. 'filter.notes.text': 'Wyklucz <b>notki</b>',
  1123. 'filter.notes.tip': 'Raportuj tylko ostrzeżenia i błędy',
  1124. 'search.youredits.text': 'Załącz <b>tylko Twoje edycje</b>',
  1125. 'search.youredits.tip': 'Załącz tylko segmenty edytowane przez Ciebie',
  1126. 'search.updatedby.text': '<b>Zaktualizowane przez*:</b>',
  1127. 'search.updatedby.tip':
  1128. 'Załącz tylko segmenty edytowane przez ustalonego edytora\n* Info: ta opcja jest dostępna tylko dla CM\nTo pole wspiera:\n - lists: me, otherEditor\n - wildcards: world*\n - negation: !me, *\n* Info: możesz użyć \'me\' dla siebie samego',
  1129. 'search.updatedby.example': 'Przykład: me',
  1130. 'search.updatedsince.text': '<b>Zaktualizowane od:</b>',
  1131. 'search.updatedsince.tip': 'Załącz tylko segmenty edytowane od ustalonej daty\nformat daty Firefox: RRRR-MM-DD',
  1132. 'search.updatedsince.example': 'RRRR-MM-DD',
  1133. 'search.city.text': '<b>Nazwa miasta:</b>',
  1134. 'search.city.tip': 'Załącz tylko segmenty z ustaloną nazwą miasta\nTo pole wspiera:\n - lists: Paris, Meudon\n - wildcards: Greater * Area\n - negation: !Paris, *',
  1135. 'search.city.example': 'Przykład: !Paris, *',
  1136. 'search.checks.text': '<b>Zaraportowane jako:</b>',
  1137. 'search.checks.tip':
  1138. 'Załącz tylko segmenty zgłoszone jako ustalone\nTo pole zawiera:\n - severities: errors\n - check names: New road\n - check IDs: 200\nTo pole wspiera:\n - lists: 36, 37\n - wildcards: *roundabout*\n - negation: !unconfirmed*, *',
  1139. 'search.checks.example': 'Przykład: reverse*',
  1140. 'help.text':
  1141. '<b>Tematy Pomocy:</b><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=666476#p666476">F.A.Q.</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">Zadaj swoje pytanie na forum</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=661300#p661185">Jak dopasować Validator pod swoje państwo</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=663286#p663286">Więcej o "Prawdopodobnie błędna nazwa miasta"</a>',
  1142. 'help.tip': 'Otwórz w nowej karcie przeglądarki',
  1143. 'button.scan.tip': 'Zacznij skanowanie aktualnego obszaru\n* Info: to może zająć kilka minut',
  1144. 'button.scan.tip.NA': 'Oddal widok by zacząć skanować aktualny obszar',
  1145. 'button.pause.tip': 'Wstrzymaj skanowanie',
  1146. 'button.continue.tip': 'Kontynuuj skanowanie obszaru mapy',
  1147. 'button.stop.tip': 'Zatrzymaj skanowanie i powróć do pozycji startowej',
  1148. 'button.clear.tip': 'Wyczyść raport i cache segmentu',
  1149. 'button.clear.tip.red': 'Zbyt wiele zgłoszonych segmentów:\n 1. Kliknij \'Pokaż raport\' by go wygenerować.\n 2. Kliknij ten przycisk by wyczyścić raport i zacząć od nowa.',
  1150. 'button.report.text': 'Pokaż raport',
  1151. 'button.report.tip': 'Zatwierdź filtr i wygeneruj raport HTML w nowej karcie',
  1152. 'button.BBreport.tip': 'Podziel się raportem na forum Waze lub w prywatnej wiadomości',
  1153. 'button.settings.tip': 'Konfiguruj ustawienia',
  1154. 'tab.custom.text': 'własne',
  1155. 'tab.custom.tip': 'Ustawienia sprawdzeń zdefiniowanych przez użytkownika',
  1156. 'tab.settings.text': 'Ustawienia',
  1157. 'tab.scanner.text': 'skaner',
  1158. 'tab.scanner.tip': 'Ustawienia skanera mapy',
  1159. 'tab.about.text': 'o</span>',
  1160. 'tab.about.tip': 'Info o WME Validator',
  1161. 'scanner.sounds.text': 'Włącz dźwięki',
  1162. 'scanner.sounds.tip': 'Pikanie podczas skanowania',
  1163. 'scanner.sounds.NA': 'Twoja przeglądarka nie wspiera AudioContext',
  1164. 'scanner.highlight.text': 'Podświetl błędy na mapie',
  1165. 'scanner.highlight.tip': 'Podświetl zaraportowane błędy na mapie',
  1166. 'scanner.slow.text': 'Włącz sprawdzenia "slow"',
  1167. 'scanner.slow.tip': 'Włącza głęboką analizę mapy\n* Info: ta opcja może spowolnić proces skanowania',
  1168. 'scanner.ext.text': 'Raportuj zewnętrzne podświetlenia',
  1169. 'scanner.ext.tip': 'Raportuj segmenty podświetlone przez WME Toolbox lub WME Color Highlights',
  1170. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Własny szablon</a>',
  1171. 'custom.template.tip':
  1172. 'Rozszerzalny szablon zdefiniowanych sprawdzeń użytkownika.\n\nMożesz użyć następujących zmiennych:\nAdres:\n ${country}, ${state}, ${city}, ${street},\n ${altCity[index or delimeter]}, ${altStreet[index or delimeter]}\nWłasności segmentu:\n ${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},\n ${length}, ${ID}\nPomocniki:\n ${drivable}, ${roundabout}, ${hasHNs},\n ${Uturn}, ${deadEnd}, ${softTurns},\n ${deadEndA}, ${partialA},\n ${deadEndB}, ${partialB}\nŁączność:\n ${segmentsA}, ${inA}, ${outA}, ${UturnA},\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  1173. 'custom.template.example': 'Przykład ${street}',
  1174. 'custom.regexp.text': 'Własne <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1175. 'custom.regexp.tip':
  1176. 'Wyrażenie regularne zdefiniowane przez użytkownika, by pasowało do szablonu.\n\nNiewrażliwe na wielkość liter: /regexp/i\nNegacja (nie pasujące): !/regexp/\nZapisz informacje debugowania w konsoli: D/regexp/',
  1177. 'custom.regexp.example': 'Przykład: !/.+/',
  1178. 'about.tip': 'Otwórz link w nowej karcie',
  1179. 'button.reset.text': 'Resetuj domyślne',
  1180. 'button.reset.tip': 'Przywróć opcje filtrowania i ustawienia na domyślne',
  1181. 'button.list.text': 'Dostępne sprawdzenia...',
  1182. 'button.list.tip': 'Wyświetl listę sprawdzeń dostępnych w WME Validatorze',
  1183. 'button.wizard.tip': 'Stwórz paczkę językową',
  1184. 'button.back.text': 'Powrót',
  1185. 'button.back.tip': 'Zamknij ustawienia i wróć do głównego widoku',
  1186. '1.title': 'WME Toolbox: Rondo może powodować problemy',
  1187. '1.problem': 'ID węzłów ronda nie są w kolejności',
  1188. '1.solution': 'Stwórz rondo na nowo',
  1189. '2.title': 'WME Toolbox: Pojedynczy segment',
  1190. '2.problem': 'Segment ma niepotrzebne węzły',
  1191. '2.solution': 'Uprość geometrię segmentu przez najechanie myszką i naciśnięcie przycisku "d"',
  1192. '3.title': 'WME Toolbox: Blokada na 2 poziom',
  1193. '3.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1194. '4.title': 'WME Toolbox: Blokada na 3 poziom',
  1195. '4.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1196. '5.title': 'WME Toolbox: Blokada na 4 poziom',
  1197. '5.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1198. '6.title': 'WME Toolbox: Blokada na 5 poziom',
  1199. '6.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1200. '7.title': 'WME Toolbox: Blokada na 6 poziom',
  1201. '7.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1202. '8.title': 'WME Toolbox: Numery domów',
  1203. '8.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1204. '9.title': 'WME Toolbox: Segment z ograniczeniami czasowymi',
  1205. '9.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1206. '13.title': 'WME Color Highlights: Blokada edytora',
  1207. '13.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1208. '14.title': 'WME Color Highlights: Płatna / Jednokierunkowa',
  1209. '14.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1210. '15.title': 'WME Color Highlights: Ostatnio edytowane',
  1211. '15.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1212. '16.title': 'WME Color Highlights: Ranga drogi',
  1213. '16.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1214. '17.title': 'WME Color Highlights: Brak miasta',
  1215. '17.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1216. '18.title': 'WME Color Highlights: Ograniczenie czasowe / Podświetlony typ drogi',
  1217. '18.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1218. '19.title': 'WME Color Highlights: Brak nazwy',
  1219. '19.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1220. '20.title': 'WME Color Highlights: Filtruj po mieście',
  1221. '20.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1222. '21.title': 'WME Color Highlights: Filtruj po mieście (alt. miasto)',
  1223. '21.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1224. '22.title': 'WME Color Highlights: Filtruj po edytorzer',
  1225. '22.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1226. '23.solutionLink': 'W:Drogi',
  1227. '23.title': 'Niepotwierdzona droga',
  1228. '23.problem': 'Każdy segment musi mieć przynajmniej Państwo i Stan',
  1229. '23.solution': 'Potwierdź drogę, aktualizując jej szczegóły',
  1230. '24.title': 'Prawdopodobnie błędna nazwa miasta (tylko w raporcie)',
  1231. '24.problem': 'Segment może zawierać błędną nazwę miasta',
  1232. '24.solution': 'Rozważ zaproponowaną nazwę i użyj tego formularza do zmiany nazwy miasta',
  1233. '25.title': 'Nieznana kierunkowość przejezdnej drogi',
  1234. '25.problem': '\'Nieznana\' kierunkowość drogi, nie zapobiegnie wyznaczaniu tędy trasy',
  1235. '25.solution': 'Ustaw kierunkowość drogi',
  1236. '27.enabled': true,
  1237. '27.problemLink': 'W:Drogi#Tory.2C_szyny',
  1238. '27.title': 'Nazwa miasta na Torach',
  1239. '27.problem': 'Nazwa miasta na Torach, szynach',
  1240. '27.solution': 'Zaznacz pole \'brak\' przy nazwie miasta',
  1241. '28.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1242. '28.title': 'Nazwa ulicy na dwukierunkowym zjeździe',
  1243. '28.problem': 'Jeśli zjazd jest nienazwany, wyświetli się nazwa docelowej drogi',
  1244. '28.solution': 'Zmień nazwę ulicy na \'brak\'',
  1245. '29.problemLink': 'W:Drogi#Rondo',
  1246. '29.title': 'Nazwa ulicy na rondzie',
  1247. '29.problem': 'W Waze nie nazywamy segmentów ronda',
  1248. '29.solution': 'Zmień nazwę ulicy na \'brak\', a następnie dodaj punkt orientacyjny \'Węzeł drogowy\', żeby nazwać rondo',
  1249. '34.title': 'Pusta nazwa alternatywna',
  1250. '34.problem': 'Alternatywna nazwa ulicy jest pusta',
  1251. '34.solution': 'Usuń pustą nazwę alternatywną ulicy',
  1252. '35.title': 'Niezakończona droga',
  1253. '35.problem': 'Waze nie poprowadzi z niezakończonego segmentu',
  1254. '35.solution': 'Przesuń trochę segment, żeby pojawił się kończący węzeł',
  1255. '36.title': 'Węzeł A: Niepotrzebny (slow)',
  1256. '36.problem': 'Segmenty spotykające się w węźle A są identyczne',
  1257. '36.solution': 'Wybierz węzeł A i naciśnij przycisk Delete, by połączyć segmenty',
  1258. '37.title': 'Węzeł B: Niepotrzebny (slow)',
  1259. '37.problem': 'Segmenty spotykające się w węźle B są identyczne',
  1260. '37.solution': 'Wybierz węzeł B i naciśnij przycisk Delete, by połączyć segmenty',
  1261. '38.title': 'Upłynął czas ograniczenia segmentu (slow)',
  1262. '38.problem': 'Segment zawiera wygasłe ograniczenie',
  1263. '38.solution': 'Kliknij \'Edytuj ograniczenia\' i usuń wygasłe ograniczenie',
  1264. '39.title': 'Wygasłe ograniczenie skrętu (slow)',
  1265. '39.problem': 'Segment ma skręt z wygasłym ograniczeniem',
  1266. '39.solution': 'Kliknij ikonę zegara obok żółtej strzałki i usuń wygasłe ograniczenie',
  1267. '41.title': 'Węzeł A: Odwrócona łączność przejezdnej drogi',
  1268. '41.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle A',
  1269. '41.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (A→B)\'',
  1270. '42.title': 'Węzeł B: Odwrócona łączność przejezdnej drogi',
  1271. '42.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle B',
  1272. '42.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (B→A)\'',
  1273. '43.title': 'Połączenie ze sobą',
  1274. '43.problem': 'Segment łączy się sam ze sobą',
  1275. '43.solution': 'Podziel segment na TRZY części',
  1276. '46.title': 'SLOW: Brak wjazdu na węźle A',
  1277. '46.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1278. '46.solution': 'Rozważ możliwość wjazdu na węźle A',
  1279. '47.title': 'SLOW: Brak wjazdu na węźle B',
  1280. '47.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1281. '47.solution': 'Rozważ możliwość wjazdu na węźle A',
  1282. '48.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1283. '48.title': 'Dwukierunkowy segment ronda',
  1284. '48.problem': 'Segment ronda jest dwukierunkowy',
  1285. '48.solution': 'Stwórz rondo od nowa',
  1286. '50.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1287. '52.enabled': true,
  1288. '52.solutionLink': 'W:Tabela_skrótów',
  1289. '52.title': 'Za długa nazwa ulicy',
  1290. '52.problem': 'Nazwa przejezdnego segmentu jest dłuższa niż ${n} liter i nie jest Rampą',
  1291. '52.solution': 'Consider an abbreviation for the street name according to this table',
  1292. '52.params': {'n': 35},
  1293. '57.enabled': true,
  1294. '57.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1295. '57.title': 'Nazwa miasta na nazwanym zjeździe',
  1296. '57.problem': 'Nazwa miasta na nazwanym zjeździe może wpłynąć na wyniki wyszukiwania',
  1297. '57.solution': 'Zmień nazwę miasta na \'brak\'',
  1298. '59.enabled': true,
  1299. '59.problemLink': 'W:Drogi#Autostrada_.2F_Droga_ekspresowa',
  1300. '59.title': 'Nazwa miasta na Autostradzie',
  1301. '59.problem': 'Nazwa miasta na Autostradzie, może spowodować że obszar miasta się rozciągnie',
  1302. '59.solution': 'W danych adresowych ustaw \'Brak\' obok nazwy miasta i kliknij \'Zatwierdź\'',
  1303. '73.enabled': true,
  1304. '73.title': 'Za krótka nazwa ulicy',
  1305. '73.problem': 'Nazwa ulicy jest krótsza niż ${n} liter i nie jest autostradą',
  1306. '73.solution': 'Popraw nazwę ulicy',
  1307. '74.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1308. '78.title': 'SLOW: Takie same punkty końcowe segmentów',
  1309. '78.problem': 'Dwa przejezdne segmenty mają takie same punkty końcowe',
  1310. '78.solution': 'Podziel segment. Możesz także usunąć segment, jeśli są identyczne',
  1311. '79.problemLink': 'W:Skrzyżowania#Najlepsze_praktyki_dla_r.C3.B3.C5.BCnych_typ.C3.B3w_skrzy.C5.BCowa.C5.84',
  1312. '87.problemLink': 'W:Drogi#Rondo',
  1313. '87.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1314. '87.title': 'Więcej niż jeden segment wychodzący z węzła A na rondzie',
  1315. '87.problem': 'Węzeł A na rondzie ma podłączony więcej niż jeden segment wychodzący',
  1316. '87.solution': 'Utwórz rondo ponownie',
  1317. '99.title': 'Nawrót na wjeździe na rondo (slow)',
  1318. '99.problem': 'Segment wjazdu na rondo ma włączoną możliwość zawracania',
  1319. '99.solution': 'Wyłącz nawrót',
  1320. '101.params': {'regexp': '/(^|\\b)remont(\\b|$)/i'},
  1321. '101.title': 'Droga zamknięta (dostępne tylko w raporcie)',
  1322. '101.problem': 'Segment jest oznaczony jako zamknięty',
  1323. '101.solution': 'Gdy remont się skończy, przywróć połączenia segmentu i usuń przyrostek',
  1324. '102.title': 'SLOW: Brak wyjazdu na węźle A',
  1325. '102.problem': 'Przejezdny segment nie ma wyjazdu na węźle A',
  1326. '102.solution': 'Rozważ możliwość wyjazdu na węźle A',
  1327. '103.title': 'SLOW: Brak wyjazdu na węźle B',
  1328. '103.problem': 'Przejezdny segment nie ma wyjazdu na węźle B',
  1329. '103.solution': 'Rozważ możliwość wyjazdu na węźle B',
  1330. '104.title': 'Tory użyte dla komentarzy',
  1331. '104.problem': 'Tory są prawdopodobnie użyte do komentarzy na mapie',
  1332. '104.solution': 'Usuń komentarze, ponieważ Tory będą wyświetlane w aplikacji',
  1333. '105.enabled': true,
  1334. '105.title': 'Ścieżka zamiast Torów',
  1335. '105.problem': 'Ścieżka o wysokości -5 jest zapewne użyta zamiast Torów',
  1336. '105.solution': 'Zmień typ drogi na Tory, by wyświetliły się w aplikacji',
  1337. '107.title': 'SLOW: Brak połączenia w węźle A',
  1338. '107.problem': 'Węzeł A segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1339. '107.solution': 'Przeciągnij węzeł A na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1340. '108.title': 'SLOW: Brak połączenia w węźle B',
  1341. '108.problem': 'Węzeł B segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1342. '108.solution': 'Przeciągnij węzeł B na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1343. '109.title': 'Za krótki segment',
  1344. '109.problem': 'Przejezdny, niekońcowy segment jest krótszy niż ${n}m, więc ciężko zobaczyć go na mapie i może powodować problemy z routingiem',
  1345. '109.solution': 'Zwiększ długość, usuń segment lub połącz go z jednym z przyległych segmentów',
  1346. '112.title': 'Za długa nazwa Rampy',
  1347. '112.problem': 'Nazwa Rampy jest dłuższa niż ${n} liter',
  1348. '112.solution': 'Skróć nazwę Rampy',
  1349. '114.title': 'Węzeł A: Nieprzejezdna połączona z przejezdną (slow)',
  1350. '114.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle A',
  1351. '114.solution': 'Odłącz węzeł A od wszystkich przejezdnych segmentów',
  1352. '115.title': 'Węzeł B: Nieprzejezdna połączona z przejezdną (slow)',
  1353. '115.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle B',
  1354. '115.solution': 'Odłącz węzeł B od wszystkich przejezdnych segmentów',
  1355. '116.title': 'Poza skalą poziomu/wysokości',
  1356. '116.problem': 'Poziom/wysokość segmentu są poza skalą',
  1357. '116.solution': 'Popraw poziom/wysokość',
  1358. '117.title': 'Przestarzały znacznik CONST ZN',
  1359. '117.problem': 'Segmeny jest oznaczony przestarzałym przyrostkiem CONST ZN',
  1360. '117.solution': 'Zmień CONST ZN na (zamknięte)',
  1361. '118.title': 'Węzeł A: Nakładające się segmenty (slow)',
  1362. '118.problem': 'Segment pokrywa się z sąsiadującym, w węźle A',
  1363. '118.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle A',
  1364. '119.title': 'Węzeł B: Nakładające się segmenty (slow)',
  1365. '119.problem': 'Segment pokrywa się z sąsiadującym, w węźle B',
  1366. '119.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle B',
  1367. '120.title': 'Węzeł A: Za ostry skręt (slow)',
  1368. '120.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle A',
  1369. '120.solution': 'Wyłącz ostry skręt na węźle A lub rozszerz segmenty do 30°',
  1370. '121.title': 'Węzeł B: Za ostry skręt (slow)',
  1371. '121.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle B',
  1372. '121.solution': 'Wyłącz ostry skręt na węźle B lub rozszerz segmenty do 30°',
  1373. '128.title': 'Własne sprawdzenie (zielone)',
  1374. '128.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1375. '128.solution': 'Rozwiąż ten problem',
  1376. '129.title': 'Własne sprawdzenie (niebieskie)',
  1377. '129.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1378. '129.solution': 'Rozwiąż ten problem',
  1379. '161.enabled': true,
  1380. '161.params': {'titleEN': 'DKnum in street name', 'problemEN': 'The street name contains DKnum', 'solutionEN': 'Remove the DK prefix from the street name', 'regexp': '/DK\\-?[0-9]+/i'},
  1381. '161.problemLink': 'W:Drogi#Droga_krajowa',
  1382. '161.title': 'Numer DK w nazwie ulicy',
  1383. '161.problem': 'Nazwa ulicy zawiera numer DK',
  1384. '161.solution': 'Usuń przedrostek z nazwy ulicy',
  1385. '162.enabled': true,
  1386. '162.params': {'titleEN': 'DWnum in street name', 'problemEN': 'The street name contains DWnum', 'solutionEN': 'Remove the DW prefix from the street name', 'regexp': '/DW\\-?[0-9]+/i'},
  1387. '162.problemLink': 'W:Drogi#Droga_wojew.C3.B3dzka',
  1388. '162.title': 'Numer DW w nazwie ulicy',
  1389. '162.problem': 'Nazwa ulicy zawiera numer DW',
  1390. '162.solution': 'Usuń przedrostek z nazwy ulicy',
  1391. '163.enabled': true,
  1392. '163.params':
  1393. {'titleEN': '\'Węzel\' in Ramp name', 'problemEN': 'The Ramp name contains word \'węzel\'', 'solutionEN': 'Rename the Ramp in accordance with the guidelines', 'regexp': '/węze[lł]/i'},
  1394. '163.solutionLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1395. '163.title': '\'Węzel\' w nazwie zjazdu',
  1396. '163.problem': 'Zjazd zawiera w nazwie słowo \'węzel\'',
  1397. '163.solution': 'Zmień nazwę zjazdu zgodnie z wytycznymi',
  1398. '167.enabled': true,
  1399. '167.params': {
  1400. 'titleEN': 'Incorrect Railroad name',
  1401. 'problemEN': 'The Railroad name is not \'PKP\', \'SKM\' or \'MPK\'',
  1402. 'solutionEN': 'In the address properties set the street name to \'PKP\', \'SKM\' or \'MPK\', check the \'None\' box next to the city name and then click \'Apply\'',
  1403. 'regexp': '!/^(PKP|MPK|SKM|Tramwaje Śląskie)$/'
  1404. },
  1405. '167.solutionLink': 'W:Drogi#Tory.2C_szyny',
  1406. '167.title': 'Nieprawidłowa nazwa Torów',
  1407. '167.problem': 'Segment Torów ma nieprawidłową nazwę',
  1408. '167.solution': 'Zmień nazwę segmentu zgodnie z wytycznymi',
  1409. '169.enabled': true,
  1410. '169.params': {
  1411. 'titleEN': '\'Rondo\' or \'ulica\' in street name',
  1412. 'problemEN': 'The street name contains word \'rondo\' or \'ulica\'',
  1413. 'solutionEN': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' and then add \'Junction\' landmark to name the roundabout or remove word \'ulica\'',
  1414. 'regexp': '/rondo |ulica/i'
  1415. },
  1416. '169.solutionLink': 'W:Drogi#Rondo',
  1417. '169.title': '\'Rondo\' lub \'ulica\' w nazwie ulicy',
  1418. '169.problem': 'Nazwa ulicy zawiera słowo \'rondo\' lub \'ulica\'',
  1419. '169.solution': 'Zmień nazwę ulicy na \'Brak\', a następnie dodaj punkt orientacyjny \'Węzeł drogowy\', żeby nazwać rondo lub usuń słowo \'ulica\' z nazwy ulicy',
  1420. '171.enabled': true,
  1421. '171.params': {
  1422. 'regexp':
  1423. '/(^| )(?!(adm|abp|al|bp|bł|błj|dr|gen|bryg|pil|dyw|hetm|hr|im|inf|inż|kan|kard|ks|kmdr|kadm|kpt|mjr|marsz|o|os|pil|pl|plut|ppor|ppłk|prał|prym|por|pn|pd|prof|płk|r|rtm|św|śwj|śś|wsch|zach)\\. |r\\.)[^ ]+\\./'
  1424. },
  1425. '171.solutionLink': 'W:Tabela_skrótów',
  1426. '171.title': 'Nieprawidłowy skrót w nazwie ulicy',
  1427. '171.problem': 'Nazwa ulicy zawiera nieprawidłowy skrót',
  1428. '171.solution': 'Sprawdź wielkie/małe litery, przerwę przed/po skrócie i zgodność z tą tabelą',
  1429. '172.title': 'Niepotrzebne spacje w nazwie ulicy',
  1430. '172.problem': 'Spacja na początku, końcu lub podwójna w nazwie ulicy',
  1431. '172.solution': 'Usuń niepotrzebne spacje z nazwy ulicy',
  1432. '173.title': 'Nazwa ulicy bez spacji przed lub po skrócie',
  1433. '173.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie ulicy',
  1434. '173.solution': 'Dodaj spację przed/po skrócie',
  1435. '175.title': 'Nazwa ulicy złożona z samych spacji',
  1436. '175.problem': 'Nazwa ulicy zawiera tylko spacje',
  1437. '175.solution': 'Zmień nazwę ulicy na \'Brak\' lub nazwij odpowiednio ulicę',
  1438. '190.title': 'Nazwa miasta małą literą',
  1439. '190.problem': 'Nazwa miasta zaczyna się od małej litery',
  1440. '190.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1441. '192.title': 'Niepotrzebne spacje w nazwie miasta',
  1442. '192.problem': 'Spacja na początku, końcu lub podwójna w nazwie miasta',
  1443. '192.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1444. '193.title': 'Brak spacji przed/po skrócie miasta',
  1445. '193.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie miasta',
  1446. '193.solution': 'Użyj tej formy, by zmienić nazwę miasta',
  1447. '200.problemLink': 'W:Skrzyżowania#Ograniczenia_skr.C4.99t.C3.B3w',
  1448. '200.title': 'Węzeł A: Wstępnie dopuszczony lub zakazany skręt na przejezdnej drodze',
  1449. '200.problem': 'Segment ma niepotwierdzony skręt na węźle A',
  1450. '200.solution': 'Kliknij na strzałkę z purpurowym znakiem zapytania, by potwierdzić skręt. Zauważ: być może będziesz musiał zmienić segment na dwukierunkowy by dostrzec te',
  1451. '201.title': 'Węzeł A: Niepotwierdzony skręt na głównej drodze',
  1452. '201.problem': 'Segment drogi głównej ma niepotwierdzony skręt na węźle A',
  1453. '201.solution': 'Kliknij skręt z fioletowym znakiem zapytania by go zatwierdzić. Info: możliwe, że będziesz musiał ustawić \'Dwukierunkowy\' żeby zobaczyć te skręty'
  1454. },
  1455. 'NZ': {'.codeISO': 'NZ', '.country': 'New Zealand'},
  1456. 'NL': {
  1457. '.codeISO': 'NL',
  1458. '.country': 'Netherlands',
  1459. '.author': 'davidakachaos',
  1460. '.updated': '2018-08-01',
  1461. '.fallbackCode': 'BE',
  1462. '.lng': 'NL',
  1463. 'city.consider.en': 'consider this city name:',
  1464. 'city.consider': 'overweeg deze plaatsnaam:',
  1465. 'city.1.en': 'city name is too short',
  1466. 'city.1': 'plaatsnaam te kort',
  1467. 'city.2.en': 'expand the abbreviation',
  1468. 'city.2': 'De afkorting uitbreiden',
  1469. 'city.3.en': 'complete short name',
  1470. 'city.3': 'maak de korte naam compleet',
  1471. 'city.4.en': 'complete city name',
  1472. 'city.4': 'plaatsnaam aanvullen',
  1473. 'city.5.en': 'correct letter case',
  1474. 'city.5': 'juist hoofdlettergebruik',
  1475. 'city.6.en': 'check word order',
  1476. 'city.6': 'controleer woord volgorde',
  1477. 'city.7.en': 'check abbreviations',
  1478. 'city.7': 'controleer afkortingen',
  1479. 'city.8a.en': 'add county name',
  1480. 'city.8a': 'land naam toevoegen',
  1481. 'city.8r.en': 'remove county name',
  1482. 'city.8r': 'land naam verwijderen',
  1483. 'city.9.en': 'check county name',
  1484. 'city.9': 'controleer land naam',
  1485. 'city.10a.en': 'add a word',
  1486. 'city.10a': 'woord toevoegen',
  1487. 'city.10r.en': 'remove a word',
  1488. 'city.10r': 'woord verwijderen',
  1489. 'city.11.en': 'add county code',
  1490. 'city.11': 'landcode toevoegen',
  1491. 'city.12.en': 'identical names, but different city IDs',
  1492. 'city.12': 'identieke namen, maar verschillende plaats IDs',
  1493. 'city.13a.en': 'add a space',
  1494. 'city.13a': 'spatie invoegen',
  1495. 'city.13r.en': 'remove a space',
  1496. 'city.13r': 'spatie verwijderen',
  1497. 'city.14.en': 'check the number',
  1498. 'city.14': 'controleer het nummer',
  1499. 'props.skipped.title.en': 'The segment is not checked',
  1500. 'props.skipped.title': 'Dit segment is niet gecontroleerd',
  1501. 'props.skipped.problem.en': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  1502. 'props.skipped.problem': 'Dit segment is na 2014-05-01 aangepast EN voor jou gelockt, Validator heeft dit niet gecontroleerd',
  1503. 'err.regexp.en': 'Error parsing option for check #${n}:',
  1504. 'err.regexp': 'Fout bij het verwerken van de opties voor de controle #${n}:',
  1505. 'props.disabled.en': 'WME Validator is disabled',
  1506. 'props.disabled': 'WME Validator is uitgeschakeld',
  1507. 'props.limit.title.en': 'Too many issues reported',
  1508. 'props.limit.title': 'Te veel problemen gevonden',
  1509. 'props.limit.problem.en': 'There are too many issues reported, so some of them might not be shown',
  1510. 'props.limit.problem': 'Er zijn te veel problemen gemeld, daarom wordt een aantal van hen niet getoond',
  1511. 'props.limit.solution.en': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  1512. 'props.limit.solution': 'Deselecteer het segment en stop het scanproces. Klik dan op de rode \'✘\' (Clear report) knop',
  1513. 'props.reports.en': 'reports',
  1514. 'props.reports': 'meldingen',
  1515. 'props.noneditable.en': 'You cannot edit this segment',
  1516. 'props.noneditable': 'Je kunt dit segment niet bewerken',
  1517. 'report.save.en': 'Save this report',
  1518. 'report.save': 'Sla dit rapport op',
  1519. 'report.list.andUp.en': 'and up',
  1520. 'report.list.andUp': 'en meer',
  1521. 'report.list.severity.en': 'Severity:',
  1522. 'report.list.severity': 'Hevigheid:',
  1523. 'report.list.reportOnly.en': 'only in report',
  1524. 'report.list.reportOnly': 'alleen in rapportage',
  1525. 'report.list.forEditors.en': 'For editors level:',
  1526. 'report.list.forEditors': 'Voor bewerkers niveau:',
  1527. 'report.list.forCountries.en': 'For countries:',
  1528. 'report.list.forCountries': 'Voor landen:',
  1529. 'report.list.forStates.en': 'For states:',
  1530. 'report.list.forStates': 'Voor provincies:',
  1531. 'report.list.forCities.en': 'For cities:',
  1532. 'report.list.forCities': 'Voor steden:',
  1533. 'report.list.params.en': 'Params to configure in localization pack:',
  1534. 'report.list.params': 'Parameters om te configureren in lokalisatie:',
  1535. 'report.list.params.set.en': 'Current configuration for ${country}:',
  1536. 'report.list.params.set': 'Huidige configuratie voor ${country}:',
  1537. 'report.list.enabled.en': '${n} checks are enabled for',
  1538. 'report.list.enabled': '${n} controles zijn actief voor',
  1539. 'report.list.disabled.en': '${n} checks are disabled for',
  1540. 'report.list.disabled': '${n} controles zijn uitgeschakeld voor',
  1541. 'report.list.total.en': 'There are ${n} checks available',
  1542. 'report.list.total': 'Er zijn ${n} controles beschikbaar',
  1543. 'report.list.title.en': 'Complete List of Checks for',
  1544. 'report.list.title': 'Complete lijst met controles voor',
  1545. 'report.list.see.en': 'See',
  1546. 'report.list.see': 'Zie',
  1547. 'report.list.checks.en': 'Settings->About->Available checks',
  1548. 'report.list.checks': 'Instellingen->Over->Beschikbare controles',
  1549. 'report.list.fallback.en': 'Localization Fallback Rules:',
  1550. 'report.list.fallback': 'Lokalisatie terugval regels:',
  1551. 'report.and.en': 'and',
  1552. 'report.and': 'en',
  1553. 'report.segments.en': 'Total number of segments checked:',
  1554. 'report.segments': 'Totaal aantal gecontroleerde segmenten:',
  1555. 'report.customs.en': 'Custom checks matched (green/blue):',
  1556. 'report.customs': 'Er is een match aangepaste controles (groen/blauw):',
  1557. 'report.reported.en': 'Reported',
  1558. 'report.reported': 'Gerapporteerd',
  1559. 'report.errors.en': 'errors',
  1560. 'report.errors': 'fouten',
  1561. 'report.warnings.en': 'warnings',
  1562. 'report.warnings': 'waarschuwingen',
  1563. 'report.notes.en': 'notes',
  1564. 'report.notes': 'notities',
  1565. 'report.link.wiki.en': 'wiki',
  1566. 'report.link.wiki': 'wiki',
  1567. 'report.link.forum.en': 'forum',
  1568. 'report.link.forum': 'forum',
  1569. 'report.link.other.en': 'link',
  1570. 'report.link.other': 'link',
  1571. 'report.contents.en': 'Contents:',
  1572. 'report.contents': 'Inhoud:',
  1573. 'report.summary.en': 'Summary',
  1574. 'report.summary': 'Samenvatting',
  1575. 'report.title.en': 'WME Validator Report',
  1576. 'report.title': 'WME Validator Rapport',
  1577. 'report.share.en': 'to Share',
  1578. 'report.share': 'om te delen',
  1579. 'report.generated.by.en': 'generated by',
  1580. 'report.generated.by': 'gegenereerd door',
  1581. 'report.generated.on.en': 'on',
  1582. 'report.generated.on': 'op',
  1583. 'report.source.en': 'Report source:',
  1584. 'report.source': 'Rapportbron:',
  1585. 'report.filter.duplicate.en': 'duplicate segments',
  1586. 'report.filter.duplicate': 'dubbele segmenten',
  1587. 'report.filter.streets.en': 'Streets and Service Roads',
  1588. 'report.filter.streets': 'Straten en dienstwegen',
  1589. 'report.filter.other.en': 'Other drivable and Non-drivable',
  1590. 'report.filter.other': 'Andere berijdbare en niet berijdbare',
  1591. 'report.filter.noneditable.en': 'non-editable segments',
  1592. 'report.filter.noneditable': 'niet-bewerkbare segmenten',
  1593. 'report.filter.notes.en': 'notes',
  1594. 'report.filter.notes': 'notities',
  1595. 'report.filter.title.en': 'Filter:',
  1596. 'report.filter.title': 'Filter:',
  1597. 'report.filter.excluded.en': 'are excluded from this report.',
  1598. 'report.filter.excluded': 'zijn uitgezonderd van dit rapport.',
  1599. 'report.search.updated.by.en': 'updated by',
  1600. 'report.search.updated.by': 'bijgewerkt door',
  1601. 'report.search.updated.since.en': 'updated since',
  1602. 'report.search.updated.since': 'bijgewerkt sinds',
  1603. 'report.search.city.en': 'from',
  1604. 'report.search.city': 'van',
  1605. 'report.search.reported.en': 'reported as',
  1606. 'report.search.reported': 'gemeld',
  1607. 'report.search.title.en': 'Search:',
  1608. 'report.search.title': 'Zoeken:',
  1609. 'report.search.only.en': 'only segments',
  1610. 'report.search.only': 'alleen segmenten',
  1611. 'report.search.included.en': 'are included into the report.',
  1612. 'report.search.included': 'zijn opgenomen in het rapport.',
  1613. 'report.beta.warning.en': 'WME Beta Warning!',
  1614. 'report.beta.warning': 'WME Beta Waarschuwing!',
  1615. 'report.beta.text.en': 'This report is generated in beta WME with beta permalinks.',
  1616. 'report.beta.text': 'Dit rapport is gegenereerd in beta WME met bèta permalinks.',
  1617. 'report.beta.share.en': 'Please do not share those permalinks!',
  1618. 'report.beta.share': 'Gelieve deze permalinks niet te delen!',
  1619. 'report.size.warning.en':
  1620. '<b>Warning!</b><br>The report is ${n} characters long so <b>it will not fit</b> into a single forum or private message.\n<br>Please add <b>more filters</b> to reduce the size of the report.',
  1621. 'report.size.warning':
  1622. '<b>Waarschuwing!</b><br>Het rapport is ${n} tekens lang dus <b>het zal niet passen</b> in één forum of privé bericht.\n<br>Voeg aub <b>meer filters</b> toe om de grootte van het rapport te beperken.',
  1623. 'report.note.limit.en': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  1624. 'report.note.limit': '* Let op: er waren te veel problemen gemeld, zodat een aantal van hen worden niet meegeteld in de samenvatting.',
  1625. 'report.forum.en': 'To motivate further development please leave your comment on the',
  1626. 'report.forum': 'Om verdere ontwikkeling te motiveren laat dan je commentaar achter op de',
  1627. 'report.forum.link.en': 'Waze forum thread.',
  1628. 'report.forum.link': 'Waze forum thread.',
  1629. 'report.thanks.en': 'Thank you for using WME Validator!',
  1630. 'report.thanks': 'Dank u voor het gebruik van de WME Validator!',
  1631. 'msg.limit.segments.en': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  1632. 'msg.limit.segments': 'Er zijn te veel segmenten.\n\nKlik op \'Toon rapport\' om het rapport door te nemen, vervolgens\n',
  1633. 'msg.limit.segments.continue.en': 'click \'▶\' (Play) to continue.',
  1634. 'msg.limit.segments.continue': 'klik \'▶\' (Play) om verder te gaan.',
  1635. 'msg.limit.segments.clear.en': 'click \'✘\' (Clear) to clear the report.',
  1636. 'msg.limit.segments.clear': 'klik \'✘\' (Löschen) om het rapport te verwijderen.',
  1637. 'msg.pan.text.en': 'Pan around to validate the map',
  1638. 'msg.pan.text': 'Schuif de kaart rond om de kaart te valideren',
  1639. 'msg.zoomout.text.en': 'Zoom out to start WME Validator',
  1640. 'msg.zoomout.text': 'Uitzoomen om WME Validator te beginnen',
  1641. 'msg.click.text.en': 'Click \'▶\' (Play) to validate visible map area',
  1642. 'msg.click.text': 'Klik \'▶\' (Play), om het zichtbare gebied op de kaart te valideren',
  1643. 'msg.autopaused.en': 'autopaused',
  1644. 'msg.autopaused': 'automatisch gepauzeerd',
  1645. 'msg.autopaused.text.en': 'Auto paused! Click \'▶\' (Play) to continue.',
  1646. 'msg.autopaused.text': 'Automatisch gepauzeerd! Om door te gaan klik op \'▶\' (Play).',
  1647. 'msg.autopaused.tip.en': 'WME Validator automatically paused on map drag or window size change',
  1648. 'msg.autopaused.tip': 'WME Validator is automatisch onderbroken wegen het verschuiven van de kaart of door een aanpassing van de venstergrootte',
  1649. 'msg.finished.text.en': 'Click <b>\'Show report\'</b> to review map issues',
  1650. 'msg.finished.text': 'Klik <b>\'Toon rapport\'</b> om kaart problemen te beoordelen',
  1651. 'msg.finished.tip.en': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  1652. 'msg.finished.tip': 'Klik op \'✉\' (Delen) om het rapport op een\nforum of privebericht te plaatsen',
  1653. 'msg.noissues.text.en': 'Finished! No issues found!',
  1654. 'msg.noissues.text': 'Klaar! Geen problemen gevonden!',
  1655. 'msg.noissues.tip.en': 'Try to uncheck some filter options or start WME Validator over another map area!',
  1656. 'msg.noissues.tip': 'Probeer een aantal filteropties uit te vinken of start WME Validator over een ander gebied op de kaart!',
  1657. 'msg.scanning.text.en': 'Scanning! Finishing in ~ ${n} min',
  1658. 'msg.scanning.text': 'Scannen! Klaar over ~ ${n} min',
  1659. 'msg.scanning.text.soon.en': 'Scanning! Finishing in a minute!',
  1660. 'msg.scanning.text.soon': 'Scannen! Klaar binnen een minuut!',
  1661. 'msg.scanning.tip.en': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  1662. 'msg.scanning.tip': 'Klik op \'pauze\' knop om te pauzeren of \'■\' (Stop) om te stoppen',
  1663. 'msg.starting.text.en': 'Starting! Layers are off to scan faster!',
  1664. 'msg.starting.text': 'Begonnen! Layers zijn uitgeschakeld om sneller te scannen!',
  1665. 'msg.starting.tip.en': 'Use \'Pause\' button to pause or \'■\' button to stop',
  1666. 'msg.starting.tip': 'Gebruik de \'Pause\' knop om te pauzeren of \'■\' knop om te stoppen',
  1667. 'msg.paused.text.en': 'On pause! Click \'▶\' (Play) button to continue.',
  1668. 'msg.paused.text': 'Gepauzeerd! Klik op \'▶\' (Play) knop om door te gaan.',
  1669. 'msg.paused.tip.en': 'To view the report click \'Show report\' button (if available)',
  1670. 'msg.paused.tip': 'Om het rapport te bekijken klik je op de \'Toon rapport\' knop (indien beschikbaar)',
  1671. 'msg.continuing.text.en': 'Continuing!',
  1672. 'msg.continuing.text': 'Doorgaan!',
  1673. 'msg.continuing.tip.en': 'WME Validator will continue from the location it was paused',
  1674. 'msg.continuing.tip': 'WME Validator zal doorgaan van de locatie waar het werd onderbroken',
  1675. 'msg.settings.text.en': 'Click <b>\'Back\'</b> to return to main view',
  1676. 'msg.settings.text': 'Klik <b>\'Terug\'</b> om terug te keren naar hoofdweergave',
  1677. 'msg.settings.tip.en': 'Click \'Reset defaults\' button to reset all settings in one click!',
  1678. 'msg.settings.tip': 'Klik op \'Herstel standaardinstellingen\' knop om alle instellingen in één klik resetten!',
  1679. 'msg.reset.text.en': 'All filter options and settings have been reset to their defaults',
  1680. 'msg.reset.text': 'Alle filter opties en instellingen zijn terug gezet naar de standaardwaarden',
  1681. 'msg.reset.tip.en': 'Click \'Back\' button to return to main view',
  1682. 'msg.reset.tip': 'Klik <b>\'Terug\'</b> om terug te keren naar de hoofdweergave',
  1683. 'msg.textarea.pack.en':
  1684. 'This is a Greasemonkey/Tampermonkey script. You can copy and paste the text below into a <b>new .user.js file</b><br>or <b>paste it directly</b> into the Greasemonkey/Tampermonkey',
  1685. 'msg.textarea.pack':
  1686. 'Dit is een Greasemonkey/Tampermonkey script. Je kunt onderstaande tekst kopieren en plakken in een <b>nieuw .user.js</b>of <b>plak het direct</b> in Greasemonkey/Tampermonkey',
  1687. 'msg.textarea.en': 'Please copy the text below and then paste it into your forum post or private message',
  1688. 'msg.textarea': 'Kopieer de onderstaande tekst en plak deze in je forum post of privebericht',
  1689. 'noaccess.text.en':
  1690. '<b>Sorry,</b><br>You cannot use WME Validator over here.<br>Please check <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488\'>the forum thread</a><br>for more information.',
  1691. 'noaccess.text':
  1692. '<b>Sorry,</b><br>Hier kan je de WME Validator niet gebruiken.<brMeer informatie vind je <a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">deze forum thread</a><br>.',
  1693. 'noaccess.tip.en': 'Please check the forum thread for more information!',
  1694. 'noaccess.tip': 'Controleer de forum thread voor meer informatie!',
  1695. 'tab.switch.tip.on.en': 'Click to switch highlighting on (Alt+V)',
  1696. 'tab.switch.tip.on': 'Klik om het markeren aan te schakelen (Alt + V)',
  1697. 'tab.switch.tip.off.en': 'Click to switch highlighting off (Alt+V)',
  1698. 'tab.switch.tip.off': 'Klik om het markeren uit te schakelen (Alt+V)',
  1699. 'tab.filter.text.en': 'filter',
  1700. 'tab.filter.text': 'filter',
  1701. 'tab.filter.tip.en': 'Options to filter the report and highlighted segments',
  1702. 'tab.filter.tip': 'Opties om het rapport te filteren en gemarkeerd segmenten',
  1703. 'tab.search.text.en': 'search',
  1704. 'tab.search.text': 'zoeken',
  1705. 'tab.search.tip.en': 'Advanced filter options to include only specific segments',
  1706. 'tab.search.tip': 'Geavanceerde filteropties om alleen specifieke segmenten op te nemen',
  1707. 'tab.help.text.en': 'help',
  1708. 'tab.help.text': 'help',
  1709. 'tab.help.tip.en': 'Need help?',
  1710. 'tab.help.tip': 'Hulp nodig?',
  1711. 'filter.noneditables.text.en': 'Exclude <b>non-editable</b> segments',
  1712. 'filter.noneditables.text': 'Negeer <b>niet-bewerkbare</b> segmenten',
  1713. 'filter.noneditables.tip.en': 'Do not report locked segments or\nsegments outside of your editable areas',
  1714. 'filter.noneditables.tip': 'Rapporteer geen beveiligde segmenten of\nsegmenten buiten het gebied waar je mag bewerken',
  1715. 'filter.duplicates.text.en': 'Exclude <b>duplicate</b> segments',
  1716. 'filter.duplicates.text': '<b>Dubbele</b> segmenten uitsluiten',
  1717. 'filter.duplicates.tip.en': 'Do not show the same segment in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  1718. 'filter.duplicates.tip': 'Toon hetzelfde segment niet in verschillende\ndelen van het rapport\n* Opmerking: deze optie HEEFT GEEN invloed op het markeren',
  1719. 'filter.streets.text.en': 'Exclude <b>Streets and Service Roads</b>',
  1720. 'filter.streets.text': 'Negeer <b>wegen en dienstwegen</b>',
  1721. 'filter.streets.tip.en': 'Do not report Streets and Service Roads',
  1722. 'filter.streets.tip': 'Neem wegen en dienstwegen niet op in het rapport',
  1723. 'filter.other.text.en': 'Exclude <b>Other drivable and Non-drivable</b>',
  1724. 'filter.other.text': 'Negeer <b>Andere berijdbare en niet-berijdbare</b> segmenten',
  1725. 'filter.other.tip.en': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  1726. 'filter.other.tip': 'Niet melden van onverharde, parkeerplaats, privéwegen\n en niet-berijdbare segmenten',
  1727. 'filter.notes.text.en': 'Exclude <b>notes</b>',
  1728. 'filter.notes.text': 'Negeer <b>opmerkingen</b>',
  1729. 'filter.notes.tip.en': 'Report only warnings and errors',
  1730. 'filter.notes.tip': 'Rapporteer alleen waarschuwingen en fouten',
  1731. 'search.youredits.text.en': 'Include <b>only your edits</b>',
  1732. 'search.youredits.text': 'Toon <b>enkel eigen aanpassingen</b>',
  1733. 'search.youredits.tip.en': 'Include only segments edited by you',
  1734. 'search.youredits.tip': 'Omvat slechts segmenten bewerkt door u',
  1735. 'search.updatedby.text.en': '<b>Updated by*:</b>',
  1736. 'search.updatedby.text': '<b>Aangepast door*:</b>',
  1737. 'search.updatedby.tip.en':
  1738. 'Include only segments updated by the specified editor\n* Note: this option is available for country managers only\nThis field supports:\n - lists: me, otherEditor\n - wildcards: world*\n - negation: !me, *\n* Note: you may use \'me\' to match yourself',
  1739. 'search.updatedby.tip':
  1740. 'Omvat slechts segmenten bijgewerkt door de opgegeven editor\n * Opmerking: deze optie is alleen beschikbaar voor country managers\n Dit veld ondersteunt:\n - lijsten: me, otherEditor\n - wildcards: wereld *\n - negatie:! Me, *\n * Opmerking: je kunt gebruik maken van \'me\' om jezelf te vinden',
  1741. 'search.updatedby.example.en': 'Example: me',
  1742. 'search.updatedby.example': 'Voorbeeld: me',
  1743. 'search.updatedsince.text.en': '<b>Updated since:</b>',
  1744. 'search.updatedsince.text': '<b>Aangepast sinds:</b>',
  1745. 'search.updatedsince.tip.en': 'Include only segments edited since the date specified\nFirefox date format: YYYY-MM-DD',
  1746. 'search.updatedsince.tip': 'Toon enkel de segmenten die zijn gewijzigd sinds de opgegeven datum\nFirefox datum formaat: YYYY-MM-DD',
  1747. 'search.updatedsince.example.en': 'YYYY-MM-DD',
  1748. 'search.updatedsince.example': 'YYYY-MM-DD',
  1749. 'search.city.text.en': '<b>City name:</b>',
  1750. 'search.city.text': '<b>plaatsnaam:</b>',
  1751. 'search.city.tip.en': 'Include only segments with specified city name\nThis field supports:\n - lists: Paris, Meudon\n - wildcards: Greater * Area\n - negation: !Paris, *',
  1752. 'search.city.tip': 'Neem alleen segmenten op met opgegeven plaatsnaam\nDit veld ondersteunt:\n - lijsten: Amsterdam, Potsdam\n - wildcards: Den * \n - Negation: !Amsterdam, *',
  1753. 'search.city.example.en': 'Example: !Paris, *',
  1754. 'search.city.example': 'Voorbeeld: !Amsterdam, *',
  1755. 'search.checks.text.en': '<b>Reported as:</b>',
  1756. 'search.checks.text': '<b>Rapporteer als:</b>',
  1757. 'search.checks.tip.en':
  1758. 'Include only segments reported as specified\nThis field matches:\n - severities: errors\n - check names: New road\n - check IDs: 200\nThis field supports:\n - lists: 36, 37\n - wildcards: *roundabout*\n - negation: !unconfirmed*, *',
  1759. 'search.checks.tip':
  1760. 'Inclusief enkel de segmenten gerapporteerd als\nDit veld kom overeen met:\n - Foutmelding-rubriek: Fout\n - naam controle: Nieuwe straat\n - ID-Check: 200\nDit veld ondersteunt:\n - lijsten: 36, 37\n - wildcards: *rotonde*\n - negatie: !Soft-Turn*, *',
  1761. 'search.checks.example.en': 'Example: reverse*',
  1762. 'search.checks.example': 'Voorbeeld: autoweg*',
  1763. 'help.text.en':
  1764. '<b>Help Topics:</b><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=666476#p666476">F.A.Q.</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">Ask your question on the forum</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=661300#p661185">How to adjust Validator for your country</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=663286#p663286">About the "Might be Incorrect City Name"</a>',
  1765. 'help.text':
  1766. '<b>Hulp onderwerpen:</b><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=666476#p666476">F.A.Q.</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">Stel je vraag op het forum</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=661300#p661185">Hoe Validator aan te passen voor uw land</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=663286#p663286">Over de "Eventuele verkeerde plaatsnaam"</a>',
  1767. 'help.tip.en': 'Open in a new browser tab',
  1768. 'help.tip': 'Open in een nieuw tabblad',
  1769. 'button.scan.tip.en': 'Start scanning current map area\n* Note: this might take few minutes',
  1770. 'button.scan.tip': 'Start het scannen van het huidige gebied op de kaart\n* Opmerking: dit kan een aantal minuten duren',
  1771. 'button.scan.tip.NA.en': 'Zoom out to start scanning current map area',
  1772. 'button.scan.tip.NA': 'Zoom uit om te beginnen met het scannen van het huidige gebied op de kaart',
  1773. 'button.pause.tip.en': 'Pause scanning',
  1774. 'button.pause.tip': 'Scannen pauzeren',
  1775. 'button.continue.tip.en': 'Continue scanning the map area',
  1776. 'button.continue.tip': 'Doorgaan met scannen van het gebied op de kaart',
  1777. 'button.stop.tip.en': 'Stop scanning and return to the start position',
  1778. 'button.stop.tip': 'Stop het scannen en keer terug naar de beginpositie',
  1779. 'button.clear.tip.en': 'Clear report and segment cache',
  1780. 'button.clear.tip': 'Wissen rapport en segment cache',
  1781. 'button.clear.tip.red.en': 'There are too many reported segments:\n 1. Click \'Show report\' to generate the report.\n 2. Click this button to clear the report and start over.',
  1782. 'button.clear.tip.red':
  1783. 'Er zijn te veel gerapporteerde segmenten:\n 1. Klik op \'Toon rapport\' om het rapport te genereren.\n 2. Klik op deze knop om het rapport te wissen en opnieuw te beginnen.',
  1784. 'button.report.text.en': 'Show report',
  1785. 'button.report.text': 'Toon rapport',
  1786. 'button.report.tip.en': 'Apply the filter and generate HTML report in a new tab',
  1787. 'button.report.tip': 'Pas het filter toe en genereer het HTML-rapport in een nieuw tabblad',
  1788. 'button.BBreport.tip.en': 'Share the report on Waze forum or in a private message',
  1789. 'button.BBreport.tip': 'Deel het rapport op het Waze forum of in een privé-bericht',
  1790. 'button.settings.tip.en': 'Configure settings',
  1791. 'button.settings.tip': 'Instellingen aanpassen',
  1792. 'tab.custom.text.en': 'custom',
  1793. 'tab.custom.text': 'eigen instelling',
  1794. 'tab.custom.tip.en': 'User-defined custom checks settings',
  1795. 'tab.custom.tip': 'Door gebruiker aangepaste controle instellingen',
  1796. 'tab.settings.text.en': 'Settings',
  1797. 'tab.settings.text': 'Instellingen',
  1798. 'tab.scanner.text.en': 'scanner',
  1799. 'tab.scanner.text': 'scanner',
  1800. 'tab.scanner.tip.en': 'Map scanner settings',
  1801. 'tab.scanner.tip': 'Instellingen Kaartscanner',
  1802. 'tab.about.text.en': 'about</span>',
  1803. 'tab.about.text': 'over</span>',
  1804. 'tab.about.tip.en': 'About WME Validator',
  1805. 'tab.about.tip': 'Over WME Validator',
  1806. 'scanner.sounds.text.en': 'Enable sounds',
  1807. 'scanner.sounds.text': 'Gebruik geluiden',
  1808. 'scanner.sounds.tip.en': 'Bleeps and the bloops while scanning',
  1809. 'scanner.sounds.tip': 'Activeer de geluiden tijden het scannen',
  1810. 'scanner.sounds.NA.en': 'Your browser does not support AudioContext',
  1811. 'scanner.sounds.NA': 'Je browser ondersteunt geen AudioContext',
  1812. 'scanner.highlight.text.en': 'Highlight issues on the map',
  1813. 'scanner.highlight.text': 'Markeer problemen op de kaart',
  1814. 'scanner.highlight.tip.en': 'Highlight reported issues on the map',
  1815. 'scanner.highlight.tip': 'Markeer gevonden problemen op de kaart',
  1816. 'scanner.slow.text.en': 'Enable "slow" checks',
  1817. 'scanner.slow.text': '"Langzame" controles activeren',
  1818. 'scanner.slow.tip.en': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  1819. 'scanner.slow.tip': 'Activeert diepe kaartanalyse\n* Opmerking: deze optie zou het scanproces kunnen vertragen',
  1820. 'scanner.ext.text.en': 'Report external highlights',
  1821. 'scanner.ext.text': 'Meld externe markeringen',
  1822. 'scanner.ext.tip.en': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  1823. 'scanner.ext.tip': 'Rapporteer segmenten gemarkeerd door WME Toolbox of WME Color Highlights',
  1824. 'advanced.twoway.text.en': 'WME: Two-way segments by default',
  1825. 'advanced.twoway.text': 'WME: Nieuwe segmenten tweerichtingsverkeer standaard',
  1826. 'advanced.twoway.tip.en': 'Newly created streets in WME are bidirectional by default',
  1827. 'advanced.twoway.tip': 'Nieuwe segmenten zijn standaard tweerichtingsverkeer',
  1828. 'custom.template.text.en': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Custom template</a>',
  1829. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Aangepast sjabloon</a>',
  1830. 'custom.template.tip.en':
  1831. 'User-defined custom check expandable template.\n\nYou may use the following expandable variables:\nAddress:\n ${country}, ${state}, ${city}, ${street},\n ${altCity[index or delimeter]}, ${altStreet[index or delimeter]}\nSegment properties:\n ${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},\n ${length}, ${ID}\nHelpers:\n ${drivable}, ${roundabout}, ${hasHNs},\n ${Uturn}, ${deadEnd}, ${softTurns},\n ${deadEndA}, ${partialA},\n ${deadEndB}, ${partialB}\nConnectivity:\n ${segmentsA}, ${inA}, ${outA}, ${UturnA},\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  1832. 'custom.template.tip':
  1833. 'Door de gebruiker gedefinieerde aangepaste controle uitbreidbaar sjabloon.\n\nDe volgende variabelen zijn te gebruiken:\n${country}, ${state}, ${city}, ${street},\n${altCity[Index of onderscheidingsteken]}, ${altStreet[Index of onderscheidingsteken]}\nSegment-Eigenschaften:\n${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},\n ${length}, ${ID}\nHelpers:\n ${drivable}, ${roundabout}, ${hasHNs},\n ${Uturn}, ${deadEnd}, ${softTurns}\n ${deadEndA}, ${partialA},\n ${deadEndB}, ${partialB}\nVerbindungen:\n ${segmentsA}, ${inA}, ${outB}, ${UturnA},\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  1834. 'custom.template.example.en': 'Example: ${street}',
  1835. 'custom.template.example': 'Voorbeeld: ${street}',
  1836. 'custom.regexp.text.en': 'Custom <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1837. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Eigen RegExp</a>',
  1838. 'custom.regexp.tip.en':
  1839. 'User-defined custom check regular expression to match the template.\n\nCase-insensitive match: /regexp/i\nNegation (do not match): !/regexp/\nLog debug information on console: D/regexp/',
  1840. 'custom.regexp.tip':
  1841. 'Door de gebruiker gedefinieerde RegExp die overeenkomen met het template.\n\nNiet hoofdlettergevoelig match: /regexp/i\nNegatie van een uitdrukking: !/regexp/\nLog debug informatie op de console: D/regexp/',
  1842. 'custom.regexp.example.en': 'Example: !/.+/',
  1843. 'custom.regexp.example': 'Voorbeeld: !/.+/',
  1844. 'about.tip.en': 'Open link in a new tab',
  1845. 'about.tip': 'Link in nieuw tabblad openen',
  1846. 'button.reset.text.en': 'Reset defaults',
  1847. 'button.reset.text': 'Herstel standaardinstellingen',
  1848. 'button.reset.tip.en': 'Revert filter options and settings to their defaults',
  1849. 'button.reset.tip': 'Filter opties en instellingen herstellen naar de standaardwaarden',
  1850. 'button.list.text.en': 'Available checks...',
  1851. 'button.list.text': 'Beschikbare controles...',
  1852. 'button.list.tip.en': 'Show a list of checks available in WME Validator',
  1853. 'button.list.tip': 'Toon een lijst met beschikbare controles in WME Validator',
  1854. 'button.wizard.tip.en': 'Create localization package',
  1855. 'button.wizard.tip': 'Maak lokalisatie pakket aan',
  1856. 'button.back.text.en': 'Back',
  1857. 'button.back.text': 'Terug',
  1858. 'button.back.tip.en': 'Close settings and return to main view',
  1859. 'button.back.tip': 'Sluit de instellingen en keer terug naar de hoofdweergave',
  1860. '1.title.en': 'WME Toolbox: Roundabout which may cause issues',
  1861. '1.title': 'WME Toolbox: Rotonde die problemen kan veroorzaken (rotonde verkeer problematisch)',
  1862. '1.problem.en': 'Junction IDs of the roundabout segments are not consecutive',
  1863. '1.problem': 'Knooppunt-ID\'s van de rotonde segmenten zijn niet opeenvolgend',
  1864. '1.solution.en': 'Redo the roundabout',
  1865. '1.solution': 'Rotonde opnieuw doen',
  1866. '2.title.en': 'WME Toolbox: Simple segment',
  1867. '2.title': 'WME Toolbox: Moeilijk segment (Te veel geometrie knooppunten)',
  1868. '2.problem.en': 'The segment has unneeded geometry nodes',
  1869. '2.problem': 'Het segment heeft onnodige geometrie knooppunten',
  1870. '2.solution.en': 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  1871. '2.solution': 'Vereenvoudig segment geometrie door de muisaanwijzing boven het punt te brengen en de "d" toets in te drukken',
  1872. '3.title.en': 'WME Toolbox: Lvl 2 lock',
  1873. '3.title': 'WME Toolbox: Lvl 2 Lock',
  1874. '3.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1875. '3.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1876. '4.title.en': 'WME Toolbox: Lvl 3 lock',
  1877. '4.title': 'WME Toolbox: Lvl 3 Lock',
  1878. '4.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1879. '4.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem.',
  1880. '5.title.en': 'WME Toolbox: Lvl 4 lock',
  1881. '5.title': 'WME Toolbox: Lvl 4 Lock',
  1882. '5.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1883. '5.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1884. '6.title.en': 'WME Toolbox: Lvl 5 lock',
  1885. '6.title': 'WME Toolbox: Lvl 5 Lock',
  1886. '6.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1887. '6.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1888. '7.title.en': 'WME Toolbox: Lvl 6 lock',
  1889. '7.title': 'WME Toolbox: Lvl 6 Lock',
  1890. '7.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1891. '7.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1892. '8.title.en': 'WME Toolbox: House numbers',
  1893. '8.title': 'WME Toolbox: Huisnummers',
  1894. '8.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1895. '8.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1896. '9.title.en': 'WME Toolbox: Segment with time restrictions',
  1897. '9.title': 'WME Toolbox: Segment met tijdsrestricties',
  1898. '9.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1899. '9.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1900. '13.title.en': 'WME Color Highlights: Editor lock',
  1901. '13.title': 'WME Color Highlights: Editor lock',
  1902. '13.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1903. '13.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1904. '14.title.en': 'WME Color Highlights: Toll road / One way road',
  1905. '14.title': 'WME Color Highlights: Toll road / One way road (Tol- / Eenrichtings-straat)',
  1906. '14.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1907. '14.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1908. '15.title.en': 'WME Color Highlights: Recently edited',
  1909. '15.title': 'WME Color Highlights: Recently edited (Kürzlich editiert)',
  1910. '15.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1911. '15.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1912. '16.title.en': 'WME Color Highlights: Road rank',
  1913. '16.title': 'WME Color Highlights: Road type',
  1914. '16.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1915. '16.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1916. '17.title.en': 'WME Color Highlights: No city',
  1917. '17.title': 'WME Color Highlights: No city (Keine Stadt)',
  1918. '17.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1919. '17.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1920. '18.title.en': 'WME Color Highlights: Time restriction / Highlighted road type',
  1921. '18.title': 'WME Color Highlights: Time restriction / Highlighted road type',
  1922. '18.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1923. '18.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1924. '19.title.en': 'WME Color Highlights: No name',
  1925. '19.title': 'WME Color Highlights: No name (Kein Straßenname)',
  1926. '19.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1927. '19.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1928. '20.title.en': 'WME Color Highlights: Filter by city',
  1929. '20.title': 'WME Color Highlights: Filter by city (Stadt-Filter)',
  1930. '20.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1931. '20.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1932. '21.title.en': 'WME Color Highlights: Filter by city (alt. city)',
  1933. '21.title': 'WME Color Highlights: Filter by city (alt. city)',
  1934. '21.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1935. '21.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1936. '22.title.en': 'WME Color Highlights: Filter by editor',
  1937. '22.title': 'WME Color Highlights: Filter by editor (Editor-Filter)',
  1938. '22.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1939. '22.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1940. '23.title.en': 'Unconfirmed road',
  1941. '23.title': 'Onbevestigde straat',
  1942. '23.problem.en': 'Each segment must minimally have the Country and State information',
  1943. '23.problem': 'Elk segment moet minimaal informatie hebben over het land en plaats',
  1944. '23.solution.en': 'Confirm the road by updating its details',
  1945. '23.solution': 'Bevestig de straat door ofwel de plaats danwel de straatnaam in te voeren.',
  1946. '24.title.en': 'Might be incorrect city name (only available in the report)',
  1947. '24.title': 'Eventueel verkeerde plaatsnaam (alleen beschikbaar in het rapport)',
  1948. '24.problem.en': 'The segment might have incorrect city name',
  1949. '24.problem': 'Het segment heeft misschien een verkeerde plaatsnaam',
  1950. '24.solution.en': 'Consider suggested city name and use this form to rename the city',
  1951. '24.solution': 'Overweeg de voorgestelde plaatsnaam en gebruik dit formulier om de naam te wijzigen',
  1952. '25.title.en': 'Unknown direction of drivable road',
  1953. '25.title': 'Onbekende rijrichting van berijdbare weg',
  1954. '25.problem.en': '\'Unknown\' road direction will not prevent routing on the road',
  1955. '25.problem': '\'Onbekende\' rijrichting zal niet voorkomen dat er genavigeerd wordt over de weg',
  1956. '25.solution.en': 'Set the road direction',
  1957. '25.solution': 'Stel de rijrichting in',
  1958. '28.title.en': 'Street name on two-way Ramp',
  1959. '28.title': 'Straatnaam op tweebaans voegstrook',
  1960. '28.problem.en': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  1961. '28.problem': 'Als de op/afrit geen naam heeft, zal de naam van de volgende straat worden overgenomen',
  1962. '28.solution.en': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  1963. '28.solution': 'In de adreseigenschappen vink \'Geen\' aan naast de straatnaam en klik op \'Toepassen\'',
  1964. '29.title.en': 'Street name on roundabout',
  1965. '29.title': 'Straatnaam op rotonde',
  1966. '29.problem.en': 'In Waze, we do not name roundabout segments',
  1967. '29.problem': 'In Waze geven we rotondes geen straatnamen',
  1968. '29.solution.en': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' and then add \'Junction\' landmark to name the roundabout',
  1969. '29.solution': 'In de adreseigenschappen vink \'Geen\' aan naast de straatnaam en klik op \'Toepassen\' en voeg eventueel een \'Kruispunt/Knooppunt\' toe met de naam van de rotonde',
  1970. '33.enabled': false,
  1971. '34.title.en': 'Empty alternate street',
  1972. '34.title': 'Lege alternatieve straatnaam',
  1973. '34.problem.en': 'Alternate street name is empty',
  1974. '34.problem': 'De alternatieve straatnaam is leeg',
  1975. '34.solution.en': 'Remove empty alternate street name',
  1976. '34.solution': 'Verwijder de lege alternatieve straatnaam',
  1977. '35.title.en': 'Unterminated drivable road',
  1978. '35.title': 'Geen eindnode op berijdbare weg',
  1979. '35.problem.en': 'Waze will not route from the unterminated segment',
  1980. '35.problem': 'Waze zal niet routeren vanaf segmenten zonder eindnode',
  1981. '35.solution.en': 'Move the segment a bit so the terminating node will be added automatically',
  1982. '35.solution': 'Verplaats het segment een beetje zodat de eindnode automatisch zal worden toegevoegd',
  1983. '36.enabled': true,
  1984. '36.title.en': 'Node A: Unneeded (slow)',
  1985. '36.title': 'Node A: Onnodig (langzaam)',
  1986. '36.problem.en': 'Adjacent segments at node A are identical',
  1987. '36.problem': 'De segmenten naast node A zijn identiek',
  1988. '36.solution.en': 'Select node A and press Delete key to join the segments',
  1989. '36.solution': 'Selecteer node A en druk op Delete om de segmenten samen te voegen',
  1990. '37.enabled': true,
  1991. '37.title.en': 'Node B: Unneeded (slow)',
  1992. '37.title': 'Node B: Onnodig (langzaam)',
  1993. '37.problem.en': 'Adjacent segments at node B are identical',
  1994. '37.problem': 'De segmenten naast node B zijn identiek',
  1995. '37.solution.en': 'Select node B and press Delete key to join the segments',
  1996. '37.solution': 'Selecteer node B en druk op Delete om de segmenten samen te voegen',
  1997. '38.title.en': 'Expired segment restriction (slow)',
  1998. '38.title': 'Verlopen segment beperking (langzaam)',
  1999. '38.problem.en': 'The segment has an expired restriction',
  2000. '38.problem': 'Het segment heeft een verlopen beperking',
  2001. '38.solution.en': 'Click \'Edit restrictions\' and delete the expired restriction',
  2002. '38.solution': 'Klik op \'Bewerken restricties\' en verwijder de verstreken beperking',
  2003. '39.title.en': 'Expired turn restriction (slow)',
  2004. '39.title': 'Verlopen beperking op afslag (langzaam)',
  2005. '39.problem.en': 'The segment has a turn with an expired restriction',
  2006. '39.problem': 'Het segment heeft een afslag met een verlopen beperking',
  2007. '39.solution.en': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  2008. '39.solution': 'Klik klok pictogram naast de gele pijl en verwijder de verlopen beperking',
  2009. '41.title.en': 'Node A: Reverse connectivity of drivable road',
  2010. '41.title': 'Node A: Omgekeerde connectiviteit van berijdbare weg',
  2011. '41.problem.en': 'There is a turn which goes against the directionality of the segment at node A',
  2012. '41.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt A',
  2013. '41.solution.en': 'Make the segment \'Two-way\', restrict all the turns at node A and then make the segment \'One way (A→B)\' again',
  2014. '41.solution': 'Verander het segment in twee-richting, verbied de afslag bij node A en verander het segment weer in \'1-richting\', of verander het segment weer in \'One way (A→B)\'',
  2015. '42.title.en': 'Node B: Reverse connectivity of drivable road',
  2016. '42.title': 'Node B: Omgekeerde connectiviteit van berijdbare weg',
  2017. '42.problem.en': 'There is a turn which goes against the directionality of the segment at node B',
  2018. '42.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt B',
  2019. '42.solution.en': 'Make the segment \'Two-way\', restrict all the turns at node B and then make the segment \'One way (B→A)\' again',
  2020. '42.solution': 'Verander het segment in twee-richting, verbied de afslag bij node B en verander het segment weer in \'1-richting\', Of verander het segment weer in \'One way (B→A)\'',
  2021. '43.title.en': 'Self connectivity',
  2022. '43.title': 'Zelf verbinding',
  2023. '43.problem.en': 'The segment is connected back to itself',
  2024. '43.problem': 'Het segment is met zichzelf verbonden',
  2025. '43.solution.en': 'Split the segment into THREE pieces',
  2026. '43.solution': 'Verdeel het segment in DRIE stukken',
  2027. '44.title.en': 'No outward connectivity',
  2028. '44.title': 'Geen verbinding naar buiten',
  2029. '44.problem.en': 'The drivable segment has no single outward turn enabled',
  2030. '44.problem': 'Het berijdbare segment heeft geen enkele verbinding naar buiten',
  2031. '44.solution.en': 'Enable at least one outward turn from the segment',
  2032. '44.solution': 'Verbind het segment minstens eenmaal met het verkeersnet',
  2033. '45.title.en': 'No inward connectivity',
  2034. '45.title': 'Geen verbinding naar binnen',
  2035. '45.problem.en': 'The drivable non-private segment has no single inward turn enabled',
  2036. '45.problem': 'Het berijdbare niet-privé segment heeft geen enkele verbinding naar het segment toe',
  2037. '45.solution.en': 'Select an adjacent segment and enable at least one turn to the segment',
  2038. '45.solution': 'Selecteer het segment en sta minstens één inwaartse verbinding toe',
  2039. '46.title.en': 'Node A: No inward connectivity of drivable road (slow)',
  2040. '46.title': 'Node A: Geen naar binnen connectiviteit van berijdbare weg (langzaam)',
  2041. '46.problem.en': 'The drivable non-private segment has no single inward turn enabled at node A',
  2042. '46.problem': 'De berijdbare niet-particuliere segment heeft geen enkele naar binnen wijzende verbinding ingeschakeld op knooppunt A',
  2043. '46.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  2044. '46.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij knooppunt A in',
  2045. '47.title.en': 'Node B: No inward connectivity of drivable road (slow)',
  2046. '47.title': 'Node B: Het berijdbare segment heeft geen enkele verbinding naar het segment toe (langzaam)',
  2047. '47.problem.en': 'The drivable non-private segment has no single inward turn enabled at node B',
  2048. '47.problem': 'Het berijdbare (niet prive) segment heeft geen enkele verbinding naar het segment toe bij node B',
  2049. '47.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  2050. '47.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij node B',
  2051. '48.title.en': 'Two-way drivable roundabout segment',
  2052. '48.title': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2053. '48.problem.en': 'The drivable roundabout segment is bidirectional',
  2054. '48.problem': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2055. '48.solution.en': 'Redo the roundabout',
  2056. '48.solution': 'Maak de rotonde opnieuw',
  2057. '59.title.en': 'City name on Freeway',
  2058. '59.title': 'Plaatsnaam op snelweg',
  2059. '59.problem.en': 'City name on the Freeway may cause a city smudge',
  2060. '59.problem': 'Plaatsnaam op de snelweg kan het uitsmeren van een stad veroorzaken',
  2061. '59.problemLink': 'W:Netherlands/Freeway',
  2062. '59.solution.en': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  2063. '59.solution': 'In de adreseigenschappen stel de plaatsnaam in op \'Geen\' en klik op \'toepassen\'',
  2064. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  2065. '71.enabled': true,
  2066. '71.problemLink': 'W:Netherlands/Major_Highway',
  2067. '71.title.en': 'Must be a Major Highway',
  2068. '71.title': 'Moet een Major Highway zijn',
  2069. '71.problem.en': 'This segment must be a Major Highway',
  2070. '71.problem': 'Dit segment moet een Major Highway zijn',
  2071. '71.solution.en': 'Set the road type to Major Highway or change the road name',
  2072. '71.solution': 'Stel het wegtype in op Major Highway of verander de straatnaam',
  2073. '72.enabled': true,
  2074. '72.problemLink': 'W:Netherlands/Minor_Highway',
  2075. '72.title.en': 'Must be a Minor Highway',
  2076. '72.title': 'Dit moet een Minor Highway zijn',
  2077. '72.problem.en': 'This segment must be a Minor Highway',
  2078. '72.problem': 'Dit segment moet een Minor Highway zijn',
  2079. '72.solution.en': 'Set the road type to Minor Highway or change the road name',
  2080. '72.solution': 'Stel het wegtype in op Minor Highway of verander de straatnaam',
  2081. '78.title.en': 'Same endpoints drivable segments (slow)',
  2082. '78.title': 'Dezelfde eindpunten voor berijdbare segmenten (langzaam)',
  2083. '78.problem.en': 'Two drivable segments share the same two endpoints',
  2084. '78.problem': 'Twee berijdbare segmenten delen dezelfde twee eindpunten',
  2085. '78.solution.en': 'Split the segment. You might also remove one of the segments if they are identical',
  2086. '78.solution': 'Splits het segment. Je zou ook een segment kunnen verwijderen als ze identiek zijn',
  2087. '87.title.en': 'Node A: Multiple outgoing segments at roundabout',
  2088. '87.title': 'Node A: Meerdere uitgaande segmenten voor rotonde',
  2089. '87.problem.en': 'The drivable roundabout node A has more than one outgoing segment connected',
  2090. '87.problem': 'De berijdbare rotonde knooppunt A heeft meerdere uitgaande segmenten verbonden',
  2091. '87.solution.en': 'Redo the roundabout',
  2092. '87.solution': 'Maak de rotonde opnieuw',
  2093. '99.title.en': 'U-turn at roundabout entrance (slow)',
  2094. '99.title': 'U-bocht op rotonde (langzaam)',
  2095. '99.problem.en': 'The roundabout entrance segment has a U-turn enabled',
  2096. '99.problem': 'De berijdbare rotondenode heeft een U-bocht toegestaan',
  2097. '99.solution.en': 'Disable U-turn',
  2098. '99.solution': 'Zet de U-bocht uit',
  2099. '101.title.en': 'Closed road (only available in the report)',
  2100. '101.title': 'Afgesloten weg (enkel beschikbaar in het rapport)',
  2101. '101.problem.en': 'The segment is marked as closed',
  2102. '101.problem': 'Het segment is gemarkeerd als afgesloten',
  2103. '101.solution.en': 'If the construction is done, restore the segment connectivity and remove the suffix',
  2104. '101.solution': 'Als de wegwerkzaamheden klaar zijn, herstel dan de verbinding van het segment en verwijder de aanvulling',
  2105. '101.params': {'regexp': '/(^|\\b)afgesloten(\\b|$)/i'},
  2106. '102.title.en': 'Node A: No outward connectivity of drivable road (slow)',
  2107. '102.title': 'Node A: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2108. '102.problem.en': 'The drivable segment has no single outward turn enabled at node A',
  2109. '102.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node A',
  2110. '102.solution.en': 'Enable at least one outward turn from the segment at node A',
  2111. '102.solution': 'Zet minstens 1 uitgaande verbinding aan bij node A',
  2112. '103.title.en': 'Node B: No outward connectivity of drivable road (slow)',
  2113. '103.title': 'Node B: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2114. '103.problem.en': 'The drivable segment has no single outward turn enabled at node B',
  2115. '103.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node B',
  2116. '103.solution.en': 'Enable at least one outward turn from the segment at node B',
  2117. '103.solution': 'Zet minstens 1 uitgaande verbinding aan bij node B',
  2118. '104.title.en': 'Railroad used for comments',
  2119. '104.title': 'Spoorweg gebruikt als commentaar',
  2120. '104.problem.en': 'The Railroad segment is probably used as a map comment',
  2121. '104.problem': 'Het spoorweg segment wordt waarschijnelijk gebruikt als kaartopmerking',
  2122. '104.solution.en': 'Remove the comment as Railroads will be added to the client display',
  2123. '104.solution': 'Verwijder het commentaar, spoorwegen worden weergegeven in de client',
  2124. '107.title.en': 'Node A: No connection (slow)',
  2125. '107.title': 'Node A: Geen verbinding (langzaam)',
  2126. '107.problem.en': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2127. '107.problem': 'De node A van een berijdbaar segment is binnen 5 meter van een ander berijdbaar segment, maar is niet verbonden via een kruising',
  2128. '107.solution.en': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  2129. '107.solution': 'Sleep de node A naar het dichtbij gelegen segment zodat deze verbonden worden, of sleep de node iets verder weg van het andere segment',
  2130. '108.title.en': 'Node B: No connection (slow)',
  2131. '108.title': 'Node B: Geen verbinding (langzaam)',
  2132. '108.problem.en': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2133. '108.problem': 'De node B van een berijdbaar segment is binnen 5 meter van een ander berijdbaar segment, maar is niet verbonden via een kruising',
  2134. '108.solution.en': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  2135. '108.solution': 'Sleep de node B naar het dichtbij gelegen segment zodat deze verbonden worden, of sleep de node iets verder weg van het andere segment',
  2136. '109.title.en': 'Too short segment',
  2137. '109.title': 'Te kort segment',
  2138. '109.problem.en': 'The drivable non-terminal segment is less than ${n}m long so it is hard to see it on the map and it can cause routing problems',
  2139. '109.problem': 'Het berijdbaar, niet doodlopend, segment is korter dan ${n}m, dit is moeilijk te zien op de kaart en kan voor routerings problemen zorgen',
  2140. '109.solution.en': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  2141. '109.solution': 'Verleng het segment, of verwijder het segment, of voeg het segment samen met een van de omliggende segmenten',
  2142. '112.title.en': 'Too long Ramp name',
  2143. '112.title': 'Op/afrit naam te lang',
  2144. '112.problem.en': 'The Ramp name is more than ${n} letters long',
  2145. '112.problem': 'Op/afrit naam is langer dan ${n} tekens lang',
  2146. '112.solution.en': 'Shorten the Ramp name',
  2147. '112.solution': 'Verkort de naam',
  2148. '114.enabled': false,
  2149. '114.title.en': 'Node A: Non-drivable connected to drivable (slow)',
  2150. '114.title': 'Node A: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2151. '114.problem.en': 'The non-drivable segment makes a junction with a drivable at node A',
  2152. '114.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node A',
  2153. '114.solution.en': 'Disconnect node A from all of the drivable segments',
  2154. '114.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node A',
  2155. '115.enabled': false,
  2156. '115.title.en': 'Node B: Non-drivable connected to drivable (slow)',
  2157. '115.title': 'Node B: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2158. '115.problem.en': 'The non-drivable segment makes a junction with a drivable at node B',
  2159. '115.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node B',
  2160. '115.solution.en': 'Disconnect node B from all of the drivable segments',
  2161. '115.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node B',
  2162. '116.title.en': 'Out of range elevation',
  2163. '116.title': 'Hoogte buiten bereik',
  2164. '116.problem.en': 'The segment elevation is out of range',
  2165. '116.problem': 'De elevatie van het segment is buiten bereik',
  2166. '116.solution.en': 'Correct the elevation',
  2167. '116.solution': 'Corrigeer de hoogte',
  2168. '117.title.en': 'Obsolete CONST ZN marker',
  2169. '117.title': 'CONST ZN markering verouderd',
  2170. '117.problem.en': 'The segment is marked with obsolete CONST ZN suffix',
  2171. '117.problem': 'Het segment is gemarkeerd met een verouderde CONST ZN toevoeging',
  2172. '117.solution.en': 'Change CONST ZN to (closed)',
  2173. '117.solution': 'Verander CONST ZN naar (afgesloten)',
  2174. '118.title.en': 'Node A: Overlapping segments (slow)',
  2175. '118.title': 'Node A: Overlappende segmenten (langzaam)',
  2176. '118.problem.en': 'The segment is overlapping with the adjacent segment at node A',
  2177. '118.problem': 'Het segment overlapt het aangrenzende segment bij node A',
  2178. '118.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  2179. '118.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node A',
  2180. '119.title.en': 'Node B: Overlapping segments (slow)',
  2181. '119.title': 'Node B: Overlappende segmenten (langzaam)',
  2182. '119.problem.en': 'The segment is overlapping with the adjacent segment at node B',
  2183. '119.problem': 'Het segment overlapt het aangrenzende segment bij node B',
  2184. '119.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  2185. '119.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node B',
  2186. '120.title.en': 'Node A: Too sharp turn (slow)',
  2187. '120.title': 'Node A: Te scherpe bocht (langzaam)',
  2188. '120.problem.en': 'The drivable segment has a very acute turn at node A',
  2189. '120.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij node A',
  2190. '120.solution.en': 'Disable the sharp turn at node A or spread the segments at 30°',
  2191. '120.solution': 'Sta de scherpe bocht bij node A niet toe of maak de hoek groter dan 30°',
  2192. '121.title.en': 'Node B: Too sharp turn (slow)',
  2193. '121.title': 'Node B: Te scherpe bocht (langzaam)',
  2194. '121.problem.en': 'The drivable segment has a very acute turn at node B',
  2195. '121.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij B',
  2196. '121.solution.en': 'Disable the sharp turn at node B or spread the segments at 30°',
  2197. '121.solution': 'Sta de scherpe bocht bij node B niet toe of maak de hoek groter dan 30°',
  2198. '128.title.en': 'User-defined custom check (green)',
  2199. '128.title': 'Door de gebruiker gedefinieerde aangepaste controle (groen)',
  2200. '128.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2201. '128.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2202. '128.solution.en': 'Solve the issue',
  2203. '128.solution': 'Los het probleem op',
  2204. '129.title.en': 'User-defined custom check (blue)',
  2205. '129.title': 'Door de gebruiker gedefinieerde aangepaste controle (blauw)',
  2206. '129.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2207. '129.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2208. '129.solution.en': 'Solve the issue',
  2209. '129.solution': 'Los het probleem op',
  2210. '150.enabled': true,
  2211. '150.problemLink': 'W:Netherlands/Freeway',
  2212. '150.title.en': 'No lock on Freeway',
  2213. '150.title': 'Geen lock op snelweg',
  2214. '150.problem.en': 'The Freeway segment should be locked at least to Lvl ${n}',
  2215. '150.problem': 'De snelweg moet op tenminste Lvl ${n} gelockt zijn',
  2216. '150.solution.en': 'Lock the segment',
  2217. '150.solution': 'Lock het segment',
  2218. '151.enabled': true,
  2219. '151.problemLink': 'W:Netherlands/Major_Highway',
  2220. '151.title.en': 'No lock on Major Highway',
  2221. '151.title': 'Geen lock op Major Highway',
  2222. '151.problem.en': 'The Major Highway segment should be locked at least to Lvl ${n}',
  2223. '151.problem': 'Het Major Highway segment moet gelockt zijn op Lvl ${n}',
  2224. '151.solution.en': 'Lock the segment',
  2225. '151.solution': 'Lock het segment',
  2226. '152.enabled': true,
  2227. '152.problemLink': 'W:Netherlands/Minor_Highway',
  2228. '152.title.en': 'No lock on Minor Highway',
  2229. '152.title': 'Geen lock op Minor Highway',
  2230. '152.problem.en': 'The Minor Highway segment should be locked at least to Lvl ${n}',
  2231. '152.problem': 'Het Minor Highway segment moet gelockt zijn op Lvl ${n}',
  2232. '152.solution.en': 'Lock the segment',
  2233. '152.solution': 'Lock het segment',
  2234. '153.enabled': true,
  2235. '153.problemLink': 'W:Netherlands/Ramp',
  2236. '153.title.en': 'No lock on Ramp',
  2237. '153.title': 'Geen lock op op/afrit',
  2238. '153.problem.en': 'The Ramp segment should be locked at least to Lvl ${n}',
  2239. '153.problem': 'De op/afrit zou minimaal gelockt moeten zijn op Lvl ${n}',
  2240. '153.params': {'n': 4},
  2241. '154.enabled': true,
  2242. '154.problemLink': 'W:Netherlands/Primary_Street',
  2243. '154.title.en': 'No lock on Primary Street',
  2244. '154.title': 'Geen lock op hoofdweg',
  2245. '154.problem.en': 'The Primary Street segment should be locked at least to Lvl ${n}',
  2246. '154.problem': 'De hoofdweg zou minimaal gelockt moeten zijn op Lvl ${n}',
  2247. '154.solution.en': 'Lock the segment',
  2248. '154.solution': 'Lock het segment',
  2249. '160.enabled': false,
  2250. '161.enabled': true,
  2251. '161.params': {
  2252. 'solutionEN': 'Rename the Major Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2253. 'regexp': '!/^N([0-9]|[0-9][0-9]|[123][0-9][0-9])( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2254. },
  2255. '161.problemLink': 'W:Netherlands/Major_Highway',
  2256. '161.title.en': 'Incorrect Major Highway name',
  2257. '161.title': 'Verkeerde Major Highway naam',
  2258. '161.problem.en': 'The Major Highway segment has incorrect street name',
  2259. '161.problem': 'Het Major Highway segment heeft een verkeerde straatnaam',
  2260. '161.solution.en': 'Rename the segment in accordance with the guidelines',
  2261. '161.solution': 'Hernoem het segment volgens de richtlijnen',
  2262. '162.enabled': true,
  2263. '162.params': {
  2264. 'solutionEN': 'Rename the Minor Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2265. 'regexp': '!/^(N[4-9][0-9][0-9]|[SU][0-9]+)( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2266. },
  2267. '162.problemLink': 'W:Netherlands/Minor_Highway',
  2268. '162.title.en': 'Incorrect Minor Highway name',
  2269. '162.title': 'Verkeerde Minor Highway naam',
  2270. '162.problem.en': 'The Minor Highway segment has incorrect street name',
  2271. '162.problem': 'Het Minor Highway segment heeft een verkeerde straatnaam',
  2272. '162.solution.en': 'Rename the segment in accordance with the guidelines',
  2273. '162.solution': 'Hernoem het segment volgens de richtlijnen. LET OP! Er zijn uitzonderingen voor bepaalde belangrijke regionale wegen. In geval van twijfel, eerst overleggen!',
  2274. '172.title.en': 'Unneeded spaces in street name',
  2275. '172.title': 'Onnodige spaties in de straatnaam',
  2276. '172.problem.en': 'Leading/trailing/double space in the street name',
  2277. '172.problem': 'Overbodige spaties voor/achter/in de straatnaam',
  2278. '172.solution.en': 'Remove unneeded spaces from the street name',
  2279. '172.solution': 'Verwijder de overbodige spaties in de straatnaam',
  2280. '173.title.en': 'No space before/after street abbreviation',
  2281. '173.title': 'Geen spatie voor/achter de straat afkorting',
  2282. '173.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  2283. '173.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de straatnaam',
  2284. '173.solution.en': 'Add a space before/after the abbreviation',
  2285. '173.solution': 'Voeg een spatie voor/achter de afkorting toe',
  2286. '175.title.en': 'Empty street name',
  2287. '175.title': 'Lege straatnaam',
  2288. '175.problem.en': 'The street name has only space characters or a dot',
  2289. '175.problem': 'De straatnaam heeft alleen spaties of punt(en)',
  2290. '175.solution.en': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  2291. '175.solution': 'In de adreseigenschappen vink de \'Geen\' optie aan naast de straatnaam, klik op \'Toepassen\' OF vul de juiste straatnaam in',
  2292. '190.title.en': 'Lowercase city name',
  2293. '190.title': 'Plaatsnaam in kleine letters',
  2294. '190.problem.en': 'The city name starts with a lowercase letter',
  2295. '190.problem': 'De plaatsnaam begint met een kleine letter',
  2296. '190.solution.en': 'Use this form to rename the city',
  2297. '190.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2298. '192.title.en': 'Unneeded spaces in city name',
  2299. '192.title': 'Onnodige spaties in de plaatsnaam',
  2300. '192.problem.en': 'Leading/trailing/double space in the city name',
  2301. '192.problem': 'Overbodige spaties voor/achter/in de plaatsnaam',
  2302. '192.solution.en': 'Use this form to rename the city',
  2303. '192.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2304. '193.title.en': 'No space before/after city abbreviation',
  2305. '193.title': 'Geen spatie voor/achter de afkorting in de plaatsnaam',
  2306. '193.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  2307. '193.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de plaatsnaam',
  2308. '193.solution.en': 'Use this form to rename the city',
  2309. '193.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2310. '200.title.en': 'Node A: Unconfirmed turn on minor road',
  2311. '200.title': 'Node A: Onbevestigde verbinding op weg',
  2312. '200.problem.en': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  2313. '200.problem': 'Het berijdbare segment heeft een onbevestigd (zachte) bocht op node A',
  2314. '200.solution.en': 'Click the turn indicated with a purple question mark to confirm it. Note: you may need to make the segment \'Two-way\' in order to see those turns',
  2315. '200.solution': 'Klik op de aangegeven verbinding met een paarse vraagteken om het te bevestigen. Opmerking: het kan nodig zijn om het segment 2-richtingen te maken om die verbindingen te zien',
  2316. '201.title.en': 'Node A: Unconfirmed turn on primary road',
  2317. '201.title': 'Node A: Onbevestigde verbinding op hoofdweg',
  2318. '201.problem.en': 'The primary segment has an unconfirmed (soft) turn at node A',
  2319. '201.problem': 'Het hoofdweg segment heeft een onbevestigde (zachte) verbinding bij node A',
  2320. '201.solution.en': 'Click the turn indicated with a purple question mark to confirm it. Note: you may need to make the segment \'Two-way\' in order to see those turns',
  2321. '201.solution': 'Klik op de aangegeven verbinding met een paarse vraagteken om het te bevestigen. Opmerking: het kan nodig zijn om het segment 2-richtingen te maken om die verbindingen te zien',
  2322. '202.title.en': 'BETA: No public connection for public segment (slow)',
  2323. '202.title': 'BETA: Routeerbaar segment lijkt geisoleerd (langzaam)',
  2324. '202.problem.en': 'The public segment is not connected to any other public segment',
  2325. '202.problem': 'Het segment lijkt een publiek toegankelijk segment in het midden van niet publieke segmenten te zijn',
  2326. '202.solution.en': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  2327. '202.solution': 'Controleer of dit segment wel publiek toegankelijk moet zijn, of van type moet wijzigen',
  2328. '214.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van A naar B',
  2329. '214.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2330. '214.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2331. '214.params': {'regexp': '/^5|15|25|.+0$/'},
  2332. '215.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van B naar A',
  2333. '215.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2334. '215.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2335. '215.params': {'regexp': '/^5|15|25|.+0$/'},
  2336. '250.title': 'Geen stad ingesteld bij plaats',
  2337. '250.problem': 'De plaats heeft geen stad ingesteld',
  2338. '250.solution': 'Stel de stad in voor de plaats',
  2339. '250.params': {
  2340. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2341. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2342. },
  2343. '251.title': 'Geen straatnaam ingesteld bij plaats',
  2344. '251.problem': 'De plaats heeft geen straatnaam ingesteld',
  2345. '251.solution': 'Stel de straatnaam in voor de plaats',
  2346. '251.params': {
  2347. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2348. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2349. },
  2350. '252.title': 'Automatisch aangepaste plaats',
  2351. '252.problem': 'De plaats was automatisch aangepast door Waze',
  2352. '252.solution': 'Controleer de plaats details en pas deze aan als het nodig is',
  2353. '252.params': {
  2354. 'regexp.title': '{string} regular expression to match bot names and ids',
  2355. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  2356. },
  2357. '253.title': 'Categorie \'OVERIGE\' kan beter niet gebruikt worden',
  2358. '253.problem': 'De categorie \'OVERIGE\' is niet nuttig. Gebruikers kunnen zoeken op een categorie en OVERIGE bied geen houvast',
  2359. '253.solution': 'Selecteer de juiste categorie voor de plaats',
  2360. '254.title': 'Geen in-/uitgang punt ingesteld voor plaats',
  2361. '254.problem': 'Er is geen in-/uitgang punt ingesteld voor de plaats',
  2362. '254.solution': 'Stel de juiste in-/uitgang punt in voor de plaats',
  2363. '255.title': 'Fout telefoon nummer',
  2364. '255.problem': 'De plaats heeft een fout telefoon nummer',
  2365. '255.solution':
  2366. 'In Nederland gebruiken we +31 AA BBBBBBBB, of +31 AAA BBBBBBB voor vaste lijnen en +31 6 CBBBBBBB voor mobiele nummers, of 0800 BBBBBB of 0900 BBBBBB voor 0800 en 0900 nummers. Corrigeer het telefoon nummer volgens die formaten',
  2367. '255.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2368. '255.params': {'regexp.title': '{string} regular expression to match a correct phone number', 'regexp': '/^0(?:80|90)[0-9] (?:[0-9]{4}|[0-9]{7})$|^\\+31(?: 0?[0-9]{2} [0-9]{7,8}| 6 [0-9]{8})$/'},
  2369. '256.title': 'Onjuiste URL',
  2370. '256.problem': 'De plaats heeft een onjuiste URL',
  2371. '256.solution': 'Controleer de URL. Binnen Nederland geven we de URL het format www.adress.extension en laten we de http(s):// vervallen',
  2372. '256.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2373. '256.params': {'regexp.title': '{string} regular expression to match a correct URL', 'regexp': '/^([da-z.-]+.[a-z.]{2,6}|[d.]+)([/:?=&#]{1}[da-z.-]+)*[/?]?$/i'},
  2374. '257.enabled': true,
  2375. '257.title': 'Plaats moet een gebied zijn',
  2376. '257.problem': 'Plaats is ingesteld als een punt, maar moet een gebied zijn',
  2377. '257.solution': 'Converteer de plaats naar een gebied',
  2378. '257.solutionLink': 'P:Benelux/Place_categories',
  2379. '257.params': {
  2380. 'regexp.title': '{string} regular expression to match categories that should be a area',
  2381. 'regexp':
  2382. '/^(GAS_STATION|PARKING_LOT|FERRY_PIER|BUS_STATION|AIRPORT|BRIDGE|JUNCTION_INTERCHANGE|TRAIN_STATION|CITY_HALL|SEAPORT_MARINA_HARBOR|TUNNEL|CEMETERY|COLLEGE_UNIVERSITY|COURTHOUSE|CONVENTIONS_EVENT_CENTER|FIRE_DEPARTMENT|FACTORY_INDUSTRIAL|HOSPITAL_URGENT_CARE|MILITARY|POLICE_STATION|PRISON_CORRECTIONAL_FACILITY|SCHOOL|SHOPPING_CENTER|CASINO|RACING_TRACK|STADIUM_ARENA|THEME_PARK|ZOO_AQUARIUM|SPORTS_COURT|CONSTRUCTION_SITE|BEACH|GOLF_COURSE|PARK|SKI_AREA|FOREST_GROVE|ISLAND|FURNITURE_HOME_STORE|SEA_LAKE_POOL|RIVER_STREAM|MARKET|CANAL|SWAMP_MARSH|DAM)$/'
  2383. },
  2384. '258.enabled': true,
  2385. '258.title': 'Plaats moet een punt zijn',
  2386. '258.problem': 'Plaats is ingesteld als een gebied, maar zou een punt moeten zijn',
  2387. '258.solution': 'Converteer de plaats naar een punt',
  2388. '258.solutionLink': 'P:Netherlands/Place_categories',
  2389. '258.params': {
  2390. 'regexp.title': '{string} regular expression to match categories that should be a point',
  2391. 'regexp':
  2392. '/^(GARAGE_AUTOMOTIVE_SHOP|CAR_WASH|CHARGING_STATION|SUBWAY_STATION|TAXI_STATION|REST_AREAS|GOVERNMENT|LIBRARY|ORGANIZATION_OR_ASSOCIATION|DOCTOR_CLINIC|OFFICES|POST_OFFICE|RELIGIOUS_CENTER|KINDERGARDEN|EMBASSY_CONSULATE|INFORMATION_POINT|EMERGENCY_SHELTER|TRASH_AND_RECYCLING_FACILITIES|ARTS_AND_CRAFTS|BANK_FINANCIAL|SPORTING_GOODS|BOOKSTORE|PHOTOGRAPHY|CAR_DEALERSHIP|FASHION_AND_CLOTHING|CONVENIENCE_STORE|PERSONAL_CARE|DEPARTMENT_STORE|PHARMACY|ELECTRONICS|FLOWERS|GIFTS|GYM_FITNESS|SWIMMING_POOL|HARDWARE_STORE|SUPERMARKET_GROCERY|JEWELRY|LAUNDRY_DRY_CLEAN|MUSIC_STORE|PET_STORE_VETERINARIAN_SERVICES|TOY_STORE|TRAVEL_AGENCY|ATM|CURRENCY_EXCHANGE|CAR_RENTAL|TELECOM|RESTAURANT|BAKERY|DESSERT|CAFE|FAST_FOOD|FOOD_COURT|BAR|ICE_CREAM|ART_GALLERY|CLUB|TOURIST_ATTRACTION_HISTORIC_SITE|MOVIE_THEATER|MUSEUM|MUSIC_VENUE|PERFORMING_ARTS_VENUE|GAME_CLUB|THEATER|HOTEL|HOSTEL|COTTAGE_CABIN|BED_AND_BREAKFAST|PLAYGROUND|PLAZA|PROMENADE|POOL|SCENIC_LOOKOUT_VIEWPOINT)$/'
  2393. },
  2394. '259.enabled': true,
  2395. '259.title': 'Geen lock op plaats',
  2396. '259.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2397. '259.solution': 'Lock de plaats',
  2398. '259.solutionLink': 'P:Netherlands/Place_categories',
  2399. '259.params': {
  2400. 'n.title': '{number} minimum lock level',
  2401. 'n': 2,
  2402. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2403. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  2404. },
  2405. '260.enabled': true,
  2406. '260.title': 'Geen lock op plaats',
  2407. '260.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2408. '260.solution': 'Lock de plaats',
  2409. '260.solutionLink': 'P:Netherlands/Place_categories',
  2410. '260.params':
  2411. {'n.title': '{number} minimum lock level', 'n': 3, 'regexp.title': '{string} regular expression to match categories that should be locked to {number}', 'regexp': '/(GAS_STATION|AIRPORT)/'},
  2412. '270.title': 'Geen type ingesteld voor parkeerplaats',
  2413. '270.problem': 'Het type is niet ingesteld voor de parkeerplaats',
  2414. '270.solution': 'Stel het type in op Openbaar, Beperkt of Privé',
  2415. '271.title': 'Geen kosten ingesteld voor parkeerplaats',
  2416. '271.problem': 'De kosten voor de parkeerplaats is niet ingesteld',
  2417. '271.solution': 'Stel de kosten in op Gratis, Laag, Gemiddeld of Hoog',
  2418. '272.title': 'Geen betaalmogelijkheden ingesteld voor parkeerplaats',
  2419. '272.problem': 'De betaalmogelijkheden zijn niet ingesteld voor de parkeerplaats',
  2420. '272.solution': 'Stel de juiste betaalmogelijkheden in',
  2421. '273.title': 'Geen niveau ingesteld voor parkeerplaats',
  2422. '273.problem': 'De hoogte is niet ingesteld voor de parkeerplaats',
  2423. '273.solution': 'Stel de juiste hoogte in voor de parkeerplaats',
  2424. '274.title': 'Geen in-/uitgang punt ingesteld voor parkeerplaats',
  2425. '274.problem': 'De parkeerplaats heeft geen in-/uitgang ingesteld',
  2426. '274.solution': 'Stel de juiste in-/uitgang in voor de parkeerplaats',
  2427. '275.title': 'Geen merk in naam van benzinepomp',
  2428. '275.problem': 'Het merk van de benzinepomp komt niet voor in de naam',
  2429. '275.solution': 'Voeg het merk toe in de naam van de benzinepomp',
  2430. '275.solutionLink': 'P:Netherlands/Gas_Station_Place'
  2431. },
  2432. 'MY': {
  2433. '.codeISO': 'MY',
  2434. '.country': 'Malaysia',
  2435. '69.enabled': true,
  2436. '73.enabled': true,
  2437. '150.enabled': true,
  2438. '150.params': {'n': 2},
  2439. '151.enabled': true,
  2440. '151.params': {'n': 2},
  2441. '152.enabled': true,
  2442. '152.params': {'n': 2}
  2443. },
  2444. 'MX': {
  2445. '.codeISO': 'MX',
  2446. '.country': 'Mexico',
  2447. '.updated': '2018-09-19',
  2448. '.author': 'carloslaso',
  2449. '.fallbackCode': 'ES',
  2450. '.lng': ['ES-419'],
  2451. 'city.consider': 'Considera el siguiente nombre de ciudad:',
  2452. 'city.1': 'El nombre de la ciudad es muy corto',
  2453. 'city.2': 'Poner la Abreviación con palabra completa',
  2454. 'city.3': 'Escribir el nombre corto',
  2455. 'city.4': 'Escribir el Nombre de Ciudad',
  2456. 'city.5': 'Corregir Mayúsculas / Minúsculas',
  2457. 'city.6': 'Checar el orden de las palabras',
  2458. 'city.7': 'Checar Abreviación',
  2459. 'city.8r': 'Quitar nombre de País',
  2460. 'city.9': 'Verificar nombre de País',
  2461. 'city.10r': 'Quitar palabra',
  2462. 'city.12': 'Existen nombres iguales con distinto número de Identificador de Ciudad',
  2463. 'city.13a': 'Añadir un espacio',
  2464. 'city.13r': 'Quitar un espacio',
  2465. 'city.14': 'Verificar el número',
  2466. 'props.skipped.problem': 'El segmento ha sido modificado después del 01-05-2014 y bloqueado por Ud., por lo que el Validator no lo verificó',
  2467. 'err.regexp': 'Error analizando la opción #${n}:',
  2468. 'props.disabled': 'WME Validator está desactivado',
  2469. 'props.limit.title': 'Demasiados problemas reportados',
  2470. 'props.limit.problem': 'Hay demasiados problemas reportados por lo que algunos de ellos pueden no mostrarse',
  2471. 'props.limit.solution': 'Deje de seleccionar el segmento y pare el proceso de análisis. Luego presione el botón con la \'✘\' de color rojo (Borrar Reporte)',
  2472. 'props.reports': 'Reportes',
  2473. 'report.save': 'Almacena el reporte',
  2474. 'report.list.andUp': 'y más',
  2475. 'report.list.reportOnly': 'Sólo en el reporte',
  2476. 'report.list.forCountries': 'Para Países:',
  2477. 'report.list.params': 'Parámetros pare configurar en el Paquete de localización:',
  2478. 'report.list.params.set': 'Configuración Actual para ${country}:',
  2479. 'report.list.enabled': 'Hay ${n} parámetros activados para',
  2480. 'report.list.disabled': 'Hay ${n} parámetros desactivados para',
  2481. 'report.list.total': 'Hay ${n} parámetros disponibles',
  2482. 'report.list.title': 'Complete la lista de parámetros para',
  2483. 'report.list.checks': 'Ajustes->Acerca de->Parámetros disponibles',
  2484. 'report.segments': 'Segmentos totales revisados:',
  2485. 'report.reported': 'Reportado(s)',
  2486. 'report.warnings': 'avisos',
  2487. 'report.link.forum': 'foro',
  2488. 'report.link.other': 'enlace',
  2489. 'report.title': 'Reporte del WME Validator',
  2490. 'report.source': 'Fuente del reporte:',
  2491. 'report.filter.streets': 'Calles y vías de Servicio',
  2492. 'report.filter.other': 'Otras vías transitables y no transitables',
  2493. 'report.filter.noneditable': 'segmentos no editables',
  2494. 'report.filter.excluded': 'están excluidas de este reporte',
  2495. 'report.search.updated.since': 'actualizado desde el',
  2496. 'report.search.title': 'Buscar:',
  2497. 'report.search.included': 'están incluidos en el reporte.',
  2498. 'report.beta.warning': 'Advertencia del WME Beta!',
  2499. 'report.beta.text': 'Este reporte está generado en el WME Beta con permalinks beta.',
  2500. 'report.beta.share': 'Por favor, no comparta estos permalinks!',
  2501. 'report.size.warning':
  2502. '<b>Advertencia!</b><br>Este reporte tiene ${n} caracteres por lo que <b>no cabrá</b> en un solo mensaje privado o del foro.\n<br>Por favor añada<b>más filtros</b> para reducir el tamaño del reporte.',
  2503. 'report.note.limit': '* Nota: Existieron muchas irregularidades en el reporte, por lo que algunas no están tomadas en cuenta en el resumen.',
  2504. 'report.forum': 'Para motivar mayor desarrollo, por favor deje su comentario en el',
  2505. 'report.forum.link': 'Hilo del foro de Waze.',
  2506. 'report.thanks': 'Gracias por usar el WME Validator!',
  2507. 'msg.limit.segments': 'Existen demasiados segmentos.\n\nPulse\'Show report\'para revisar el reporte, luego\n',
  2508. 'msg.limit.segments.continue': 'pulse \'▶\' (Play) para continuar.',
  2509. 'msg.limit.segments.clear': 'pulse \'✘\' (Clear) para borrar el reporte.',
  2510. 'msg.pan.text': 'Mueva el mapa para validarlo',
  2511. 'msg.zoomout.text': 'Aleje el zoom para comenzar el WME Validator',
  2512. 'msg.click.text': 'Pulse \'▶\' (Play) para validar el área visible del mapa',
  2513. 'msg.autopaused': 'paro automático',
  2514. 'msg.autopaused.text': '¡Paro automático! Pulse \'▶\' (Play) para continuar.',
  2515. 'msg.finished.text': 'Pulse <b>\'Show report\'</b> para revisar los problemas en el mapa',
  2516. 'msg.finished.tip': 'Pulse \'✉\' (Share) button para hacer un reporte en el\nforo o en un mensaje privado',
  2517. 'msg.noissues.tip': 'Trata de quitar algunas opciones de filtrado o inicia el WME Validator sobre otra área del mapa',
  2518. 'msg.scanning.text': '¡Analizando! Terminando en ~ ${n} min',
  2519. 'msg.scanning.text.soon': '¡Analizando! Terminando en un minuto!',
  2520. 'msg.scanning.tip': 'Pulse el botón de \'Pause\' para pausar o \'■\' (Stop) para detener el análisis',
  2521. 'msg.starting.text': '¡Comenzando! Las capas se han deshabilitado para analizar más rápido!',
  2522. 'msg.starting.tip': 'Utilice el botón\'Pause\' para pausar o el botón \'■\' para parar',
  2523. 'msg.paused.text': '¡En Pausa! pulse el botón de \'▶\' (Play) para continuar.',
  2524. 'msg.paused.tip': 'Para ver el reporte pulse el botón de \'Show report\' (si está disponible) ',
  2525. 'msg.continuing.tip': 'El WME Validator continuará desde la localización donde fue pausado',
  2526. 'msg.settings.text': 'Pulse <b>\'Back\'</b> para regresar a la vista principal',
  2527. 'msg.settings.tip': '¡Pulse el botón de \'Reset defaults\' para resetear todos los ajustes en un click!',
  2528. 'msg.reset.text': 'Todas las opciones y ajustes han sido devueltos a su estado original',
  2529. 'msg.reset.tip': 'Pulse el botón de \'Back\' para regresar a la vista principal',
  2530. 'msg.textarea.pack':
  2531. 'Este es un Script alojado enGreasemonkey/Tampermonkey. Puedes copiar y pegar el texto en un <b>nuevo archivo .user.js</b><br>o <b>pegarlo directamente</b> en Greasemonkey/Tampermonkey',
  2532. 'msg.textarea': 'Por favor copia el texto de abajo y pegalo en el foro o en un mensaje privado',
  2533. 'noaccess.text':
  2534. '<b>Lo sentimos,</b><br>No puedes usar el WME Validator aquí.<br>Por favor revisa <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488\'>este hilo en el foro</a><br>para mayor información.',
  2535. 'noaccess.tip': '¡Por favor revisa el hilo del foro para mayor información',
  2536. 'tab.switch.tip.on': 'Para encender el resaltado pulsa (Alt+V)',
  2537. 'tab.switch.tip.off': 'Para apagar el resaltado pulsa (Alt+V)',
  2538. 'tab.filter.tip': 'Opciones para filtrar el reporte y los segmentos resaltados',
  2539. 'tab.search.text': 'búsqueda',
  2540. 'tab.search.tip': 'Opciones avanzadas de filtrado para inculír segmentos específicos solamente',
  2541. 'tab.help.tip': '¿Necesita ayuda?',
  2542. 'filter.noneditables.text': 'Excluir los segmentos <b>no editables</b>',
  2543. 'filter.noneditables.tip': 'No reportar los segmentos bloqueados o\nsegmentos fuera de mis áreas de edción',
  2544. 'filter.duplicates.text': 'No incluir segmentos <b>duplicados</b>',
  2545. 'filter.duplicates.tip': 'No mostrar el mismo segmento en distintas\npartes del reporte\n* Nota: Esta opción NO afecta el resaltado',
  2546. 'filter.streets.text': 'No incluir <b>Calles y Vías de Servicio</b>',
  2547. 'filter.other.text': 'No incluir <b>Otras vías conducibles y no conducibles</b>',
  2548. 'filter.other.tip': 'No reportar Vías de Tierra, Vías de estacionamiento, Vías privadas ni \nsegmentos no conducibles',
  2549. 'filter.notes.text': 'No incluir <b>notas</b>',
  2550. 'filter.notes.tip': 'Reportar solamente advertencias y errores',
  2551. 'search.youredits.text': 'Incluir <b>sólo mis ediciones</b>',
  2552. 'search.youredits.tip': 'Incluir sólo los segmentos editados por mí',
  2553. 'search.updatedby.text': '<b>Actualizados por*:</b>',
  2554. 'search.updatedby.tip':
  2555. 'Incluir solamente los segmentos actualizados por el editor especificado\n* Nota: Esta opción está disponible sólo para Country Managers\nEste campo soporta:\n - Lists: Mías, de otro editor\n - wildcards: pal*bra\n - negation: !me *\n* Nota: puedes usar \'me\' para encontrar coincidencias de ti mismo',
  2556. 'search.updatedsince.tip': 'Incluir segmentos editados desde el día epecificado\nFormato de fecha de Firefox: AAAA-MM-DD',
  2557. 'search.city.tip': 'Incluir sólo segmentos con el Nombre de ciudad especificado\nEste campo soporta:\n - lists: Paris, Meudon\n - wildcards: Greater * Area\n - negation: !Paris, *',
  2558. 'search.checks.tip':
  2559. 'Incluir sólo segmentos reportados como se especifica\nEste campo puede buscar:\n - severities: errores\n - check names: Nuevo Camino\n - check IDs: 200\nEste campo soporta:\n - listas: 36, 37\n - comodines: *rotonda*\n - negación: !unconfirmed*, *',
  2560. 'search.checks.example': 'Ejempo: revertir*',
  2561. 'help.text':
  2562. '<b>Tópicos de Ayuda:</b><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=666476#p666476">F.A.Q.</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">Haz tu pregunta en el foro</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=661300#p661185">Cómo ajustar Validator para tu País</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=663286#p663286">Acerca de"Puede estar incorrecto el Nombre de Ciudad"</a>',
  2563. 'help.tip': 'Abrir en una nueva pestaña en el navegador',
  2564. 'button.scan.tip': 'Comenzar escaneando el área actual del mapa\n* Nota: Esto puede tomar algunos minutos',
  2565. 'button.scan.tip.NA': 'Aleje para comenzar a escanear el área actual del mapa',
  2566. 'button.stop.tip': 'Parar escaneo y regresar a la posición de inicio',
  2567. 'button.clear.tip': 'Borrar reporte y caché de segmento',
  2568. 'button.clear.tip.red': 'Existen demasiados segmentos reportados:\n 1. Pulse \'Muestre reporte\' para generar el reporte.\n 2. Pulse este boton para borrar el reporte y comenzar de nuevo.',
  2569. 'button.report.text': 'Muestra reporte',
  2570. 'button.report.tip': 'Aplicar el filtro y generar un reporte en HTML en una nueva pestaña',
  2571. 'button.BBreport.tip': 'Compartir el reporte en el Foro de Waze o en un Mensaje Privado',
  2572. 'tab.custom.text': 'Ajustes predefinidos',
  2573. 'tab.custom.tip': 'Ajustes predefinidos por el usuario',
  2574. 'tab.scanner.tip': 'Ajustes de escaneado del mapa',
  2575. 'tab.about.tip': 'Acerca del WME Validator',
  2576. 'scanner.sounds.NA': 'Su navegador no soporta AudioContext',
  2577. 'scanner.highlight.text': 'Resaltar problemas en el mapa',
  2578. 'scanner.highlight.tip': 'Resaltar problemas reportados en el mapa',
  2579. 'scanner.slow.text': 'Habilitar"chequeos" lentos',
  2580. 'scanner.slow.tip': 'Habilita análisis profundo del mapa\n* Nota: esta opción puede hacer lento el proceso de escaneo',
  2581. 'scanner.ext.text': 'Reportar resaltados externos',
  2582. 'scanner.ext.tip': 'Reportar segmentos resaltados por WME Toolbox o WME Color Highlights',
  2583. 'advanced.atbottom.text': 'Hasta abajo',
  2584. 'advanced.atbottom.tip': 'Poner WME Validator en la parte de abajo de la página',
  2585. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Planilla Propia</a>',
  2586. 'custom.template.tip':
  2587. 'Checar con planilla expandible definida por el usuario.\n\nPuedes usar las siguientes variables de expansión:\nDirección:\n${country}, ${state}, ${city}, ${street},\n${altCity[index or delimeter]}, ${altStreet[index or delimeter]}\nPropiedades de segmentos:\n${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},\n${length}, ${ID}\nAyudantes:\n${drivable}, ${roundabout}, ${hasHNs},\n${Uturn}, ${deadEnd}, ${softTurns},\n${deadEndA}, ${partialA},\n${deadEndB}, ${partialB}\nConnectivity:\n${segmentsA}, ${inA}, ${outA}, ${UturnA},\n${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  2588. 'about.tip': 'Abrir liga en una pestaña nueva',
  2589. 'button.reset.text': 'Regresar a los ajustes originales',
  2590. 'button.reset.tip': 'Revertir las opciones de filtrado y ajustes a los originales',
  2591. 'button.list.text': 'Revisiones disponibles...',
  2592. 'button.list.tip': 'Mostrar una lista de revisiones disponibles en WME Validator',
  2593. 'button.wizard.tip': 'Crear un paquete de localización',
  2594. 'button.back.text': 'Regresar',
  2595. 'button.back.tip': 'Cerrar ajustes y regresar a la vista principal',
  2596. '1.problem': 'Los números de salida de los segmentos de la rotonda no son consecutivos',
  2597. '2.problem': 'El segmento tiene nodos geométricos innecesarios',
  2598. '2.solution': 'Simplificar la geometría del segmento pasando el puntero encima del segmento y presionando la letra "d"',
  2599. '3.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2600. '4.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2601. '5.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2602. '6.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2603. '7.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2604. '8.title': 'WME Toolbox: Numeración de Casas',
  2605. '8.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2606. '9.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2607. '13.title': 'WME Color Highlights: Bloqueo de un editor',
  2608. '13.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2609. '14.title': 'WME Color Highlights: Vía de peaje / Vía de un sólo sentido',
  2610. '14.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2611. '15.title': 'WME Color Highlights: Recientemente editado',
  2612. '15.problem': 'El segmento está resaltado por elWME Color Highlights. No representa un problema',
  2613. '16.title': 'WME Color Highlights: Rango de v',
  2614. '16.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2615. '17.title': 'WME Color Highlights: Sin Ciudad',
  2616. '17.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2617. '18.title': 'WME Color Highlights: Restricción de tiempo / Tipo de camino resaltado',
  2618. '18.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2619. '19.title': 'WME Color Highlights: Sin nombre',
  2620. '19.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2621. '20.title': 'WME Color Highlights: Filtrar por Ciudad',
  2622. '20.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2623. '21.title': 'WME Color Highlights: Filtrar por nombre alterno de Ciudad (alt. city)',
  2624. '21.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2625. '22.title': 'WME Color Highlights: Filtrar por editor',
  2626. '22.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2627. '23.title': 'Camino sin confirmar',
  2628. '23.problem': 'Cada segmento debe contener como mínimo Información de Estado y País',
  2629. '23.solution': 'Actualice el camino actualizando sus datos',
  2630. '24.enabled': false,
  2631. '24.title': 'Puede contener un nombre de ciudad incorrecto (sólo disponible en el reporte)',
  2632. '24.problem': 'El segmento puede contener el nombre de ciudad incorrecto',
  2633. '24.solution': 'Considere el nombre de ciudad Sugerido y use esta forma para renombrar la ciudad',
  2634. '25.title': 'Sentido desconocido en un camino conducible',
  2635. '25.problem': 'El sentido desconocido del segmento no prevendrá el ruteo por el mismo',
  2636. '25.solution': 'Coloque la dirección del segmento',
  2637. '28.title': 'Nombre de calle en una Rampa de doble sentido',
  2638. '28.problem': 'Si una rampa no tiene nombre, se aplicará el nombre del siguiente camino que lo tenga',
  2639. '28.solution': 'En las propiedades de dirección, active la casilla de \'Ninguno\' seguida del nombre de calle y entonces pulse \'Aplicar\'',
  2640. '29.problem': 'En Waze no se nombran los segmentos de las rotondas',
  2641. '29.solution':
  2642. 'En las propiedades de dirección, seleccione la opción \'Ninguno\' en seguida del nombre de calle, pulse \'Aplicar\' y entonces añada un \'lugar\' de tipo \'distribuidor vial\' y escriba el nombre de la glorieta',
  2643. '34.title': 'Vaciar el nombre alterno de calle',
  2644. '34.problem': 'El nombre alterno de calle está vacío',
  2645. '34.solution': 'Quitar los nombres alternos de calle vacíos',
  2646. '35.title': 'Camino conducible no terminado',
  2647. '35.problem': 'Waze no otorgará rutas por segmentos sin terminar',
  2648. '35.solution': 'Mueva un poco el segmento para que el nodo se añada de manera automática',
  2649. '38.title': 'Restricción de segmento vencida (no grave)',
  2650. '38.problem': 'El segmento tiene una restricción que ya venció',
  2651. '38.solution': 'Pulsar \'Editar restricciones\' y borrar las restricciones vencidas',
  2652. '39.title': 'Restricción de giro vencida (no grave)',
  2653. '39.problem': 'El segmento tiene un giro con restricció vencida',
  2654. '39.solution': 'Pulsar la figura del reloj en seguida de la flecha amarilla y borre las restricciones vencidas',
  2655. '41.enabled': false,
  2656. '41.title': 'Conectividad reversible en un segmento conducible',
  2657. '41.problem': 'Existe un giro que va contra la dirección del segmento en el nodo A',
  2658. '41.solution': 'Haga el segmento de \'doble sentido\', restrinja todos los giros en el nodo A y luego haga el segmento de \'Un sólo sentido (A-B) de nuevo',
  2659. '42.enabled': false,
  2660. '42.title': 'Nodo B: Conectividad reversible en segmento conducible',
  2661. '42.problem': 'Existe un giro que va en contra de la dirección del segmento en el nodo B',
  2662. '42.solution': 'Haga el segmento de \'doble sentido\', restrinja todos los giros en el nodo A y luego haga el segmento de \'Un sólo sentido (A-B) de nuevo',
  2663. '43.problem': 'El segmento está conectado en sí mismo',
  2664. '43.solution': 'Divida el segmento en tres',
  2665. '46.title': 'Nodo A: No existe conectividad hacia adentro del camino conducible',
  2666. '46.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo A',
  2667. '46.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo A',
  2668. '47.title': 'Nodo B: No existe conectividad hacia adentro del camino conducible (no grave) ',
  2669. '47.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo B',
  2670. '47.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo B',
  2671. '48.title': 'Segmento de glorieta de doble sentido',
  2672. '48.problem': 'El segmento de la glorieta es bidireccional',
  2673. '48.solution': 'Rehacer la glorieta',
  2674. '78.title': 'El segmento que creó comienza y termina en un mismo segmento',
  2675. '78.problem': 'Los dos segmentos comparten los mismos puntos finales',
  2676. '78.solution': 'Parta el segmento. Puede también remover uno de ellos si son idénticos',
  2677. '87.title': 'Múltiples segmentos de salida de la glorieta en el nodo A',
  2678. '87.problem': 'El nodo A en la glorieta tiene más de un segmento de salida conectado',
  2679. '87.solution': 'Re hacer la glorieta',
  2680. '99.title': 'Vuelta en U habilitada en segmento de entrada a la glorieta (no grave)',
  2681. '99.problem': 'El segmento de entrada a la glorieta tiene una vuelta en U habilitada',
  2682. '99.solution': 'Deshabilite la vuelta en U',
  2683. '101.title': 'Camino Cerrado (Sólo disponible en el reporte)',
  2684. '101.problem': 'El segmento está marcado como Cerrado',
  2685. '101.solution': 'Si la construcción ya terminó, reactive la conectividad del segmento y remueva el sufijo',
  2686. '102.title': 'No existe conectividad hacia afuera del segmento en el nodo A (no grave)',
  2687. '102.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo A',
  2688. '102.solution': 'Permita por lo menos un giro hacia el segmento en el nodo A',
  2689. '103.title': 'No existe conectividad hacia afuera en el nodo B (no grave))',
  2690. '103.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo B',
  2691. '103.solution': 'Permita por lo menos un giro desde el segmento en el nodo B',
  2692. '104.enabled': false,
  2693. '104.title': 'Segmento tipo ferrocarril usado para comentarios',
  2694. '104.problem': 'El segmentotipo ferrocarril etá siendo usado probablemente para comentarios del mapa',
  2695. '104.solution': 'Remover los comentarios ya que las vías férreas se verán en la aplicación',
  2696. '107.title': 'No hay conexion del Nodo A (no grave)',
  2697. '107.problem': 'El Nodo A del segmento está a dentro del rango de 5m de otro segmento pero no está conectado por una intersección',
  2698. '107.solution': 'Arrastre el nodo A al segmento más cercano de modo que se junten, o muévalo un poco más lejos.',
  2699. '108.title': 'No hay conexión en el nodo B (no grave)',
  2700. '108.problem': 'El nodo B del segmento está dentro del rango de 5m de otro segmento pero no está conectado por una intersección',
  2701. '108.solution': 'Arrastre el nodo B al segmento más cercano de modo que lo toque o muévalo un poco más lejos',
  2702. '109.problem': 'El segmento es de menos de ${n}m de largo, por lo que es difícil verlo en el mapa y puede causar problemas de ruteo',
  2703. '109.solution': 'Aumente el largo del segmento, remuévalo o llévelo al nodo del segmento adyacente',
  2704. '112.title': 'Nombre de rampa demasiado largo',
  2705. '112.problem': 'El nombre de la rampa tiene más de ${n} letras',
  2706. '112.solution': 'Acorte el nombre de la rampa',
  2707. '116.solution': 'Corrija la elevación',
  2708. '117.title': 'Marcador de Zona de Construcción obsoleto',
  2709. '117.problem': 'El segmento está marcado con un sufijo de Zona de Construcción obsoleto',
  2710. '117.solution': 'Cambie el CONST ZN a (cerrado)',
  2711. '118.title': 'En el Nodo A: Segmentos encimados (no grave)',
  2712. '118.problem': 'El segmento está encimado con el segmento adyacente en el nodo A',
  2713. '118.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo A',
  2714. '119.title': 'Nodo B: Segmentos encimados',
  2715. '119.problem': 'El segmento está encimado con el segmento adyacente en el nodoB',
  2716. '119.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo B',
  2717. '120.title': 'Nodo A: Giro demasiado cerrado (no grave)',
  2718. '120.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo A',
  2719. '120.solution': 'Prohíba la vuelta cerrada en el nodo A o abra los segmentos a 30°',
  2720. '121.title': 'Nodo B: Giro demasiado cerrado (no grave)',
  2721. '121.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo B',
  2722. '121.solution': 'Prohíba la vuelta cerrada en el nodo B o abra los segmentos a 30°',
  2723. '128.title': 'Revisión definida por el usuario (verde)',
  2724. '128.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2725. '128.solution': 'Resuelva el problema',
  2726. '129.title': 'Revisión definida por el usuario (azúl)',
  2727. '129.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2728. '129.solution': 'Resuelva el problema',
  2729. '150.enabled': false,
  2730. '151.enabled': false,
  2731. '152.enabled': false,
  2732. '172.title': 'Espacios innecesarios en el nombre de calle',
  2733. '172.solution': 'Eliminar espacios innecesarios del nombre de la calle',
  2734. '173.title': 'No hay espacio antes/después de la abreviatura en el nombre de calle',
  2735. '173.problem': 'No hay espacio antes de (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de calle',
  2736. '173.solution': 'Añadir un espacio antes/después de la abreviatura',
  2737. '175.title': 'Nombre de calle vacío',
  2738. '175.problem': 'El nombre de la calle tiene solamente espacios o un punto',
  2739. '175.solution': 'En las propiedades de la dirección, elija la casilla \'Ninguno\' enseguida de \'nombre\' o escriba el nombre de la Calle. Presione \'Aplicar\'',
  2740. '190.enabled': false,
  2741. '190.title': 'Nombre de ciudad en minúsculas',
  2742. '190.solution': 'Use esta forma para renombrar la ciudad',
  2743. '192.enabled': false,
  2744. '192.title': 'Espacios innecesarios en el nombre de ciudad',
  2745. '192.solution': 'Use esta forma para renombrar la ciudad',
  2746. '193.title': 'No hay espacios antes/después de la abreviatura de la Ciudad',
  2747. '193.problem': 'No hay espacio antes (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de ciudad',
  2748. '193.solution': 'Use esta forma para renombrar la ciudad',
  2749. '200.enabled': false,
  2750. '200.title': 'En el nodo A: Giro no confirmado en un camino menor',
  2751. '200.problem': 'El segmento del camino menor tiene un giro no confirmado (suave) en el nodo A',
  2752. '200.solution':
  2753. 'Pulse en la flecha de giro indicada con un signo de interrogación morado para confirmarla. Nota: Puede ser necesario hacer el segmento de doble sentido para poder ver dichos giros',
  2754. '201.enabled': false,
  2755. '201.title': 'En el nodo A: Giro no confirmado en una vía primaria',
  2756. '201.problem': 'El segmento de vía primaria tiene un giro no confirmado (suave) en el nodo A',
  2757. '201.solution':
  2758. 'Pulse en la flecha de giro indicada con un signo de interrogación morado para confirmarla. Nota: Puede ser necesario hacer el segmento de doble sentido para poder ver dichos giros',
  2759. '202.enabled': false
  2760. },
  2761. 'LU': {'.codeISO': 'LU', '.country': 'Luxembourg', '.fallbackCode': 'BE', '160.enabled': false},
  2762. 'IT': {
  2763. '.codeISO': 'IT',
  2764. '.country': 'Italy',
  2765. '57.enabled': true,
  2766. '59.enabled': true,
  2767. '90.enabled': true,
  2768. '95.enabled': true,
  2769. '150.enabled': true,
  2770. '151.enabled': true,
  2771. '151.params': {'n': 5},
  2772. '152.enabled': true,
  2773. '152.params': {'n': 4},
  2774. '163.enabled': true,
  2775. '163.params': {'titleEN': 'Ramp name starts with an \'A\'', 'problemEN': 'The Ramp name starts with an \'A\'', 'solutionEN': 'Replace \'A\' with \'Dir.\'', 'regexp': '/^A /i'},
  2776. '170.enabled': true
  2777. },
  2778. 'IL': {
  2779. '.codeISO': 'IL',
  2780. '.country': 'Israel',
  2781. '.author': 'gad_m',
  2782. '.updated': '2014-06-30',
  2783. '.lng': 'HE',
  2784. '.dir': 'rtl',
  2785. 'city.consider': 'בדוק את שם העיר:',
  2786. 'city.1': 'שם העיר קצר מדי',
  2787. 'city.2': 'אל תשתמש בשם מקוצר',
  2788. 'city.3': 'השלם את השם הקצר',
  2789. 'city.4': 'השלם את שם העיר',
  2790. 'city.5': 'תקן אותיות רישיות',
  2791. 'city.6': 'בדוק סדר המילה',
  2792. 'city.7': 'בדוק סימני קיצור',
  2793. 'city.8a': 'הוסף מדינה',
  2794. 'city.8r': 'מחק מדינה',
  2795. 'city.9': 'בדוק מדינה',
  2796. 'city.10a': 'הוסף מילה',
  2797. 'city.10r': 'הורד מילה',
  2798. 'city.11': 'הוסף קוד מדינה',
  2799. 'city.12': 'שמות זהים, אבל קוד זיהוי עיר שונה',
  2800. 'city.13a': 'הוסף רווח',
  2801. 'city.13r': 'הורד רווח',
  2802. 'city.14': 'בדוק את המספר',
  2803. 'props.skipped.title': 'המקטע לא נבדק',
  2804. 'props.skipped.problem': 'הקטע נערך לאחר 2014/5/1 ונעול לעריכה עבורך, אז Validator לא יכול לבדוק אותו',
  2805. 'err.regexp': 'אירעה שגיאה עבור בדיקה #${n}:',
  2806. 'props.disabled': 'התוסף אינו מופעל',
  2807. 'props.limit.title': 'יותר מדי בעיות דווחו',
  2808. 'props.limit.problem': 'ישנם בעיות רבות מדי שדווחו, כך שחלק מהם אולי לא יראו',
  2809. 'props.limit.solution': 'בטל את הבחירה של המקטע והפסק את תהליך סריקה. לאחר מכן לחץ על הכפתור האדום \'✘\' (מחק הדו"ח)',
  2810. 'props.reports': 'בעיות שנמצאו ע"י ',
  2811. 'props.noneditable': 'אינך יכול לערוך מקטע זה',
  2812. 'report.save': 'שמור את הדו"ח',
  2813. 'report.list.andUp': 'ולמעלה',
  2814. 'report.list.severity': 'חומרה',
  2815. 'report.list.reportOnly': 'רק בדיווח',
  2816. 'report.list.forEditors': 'לרמת עורכים',
  2817. 'report.list.forCountries': 'לארצות',
  2818. 'report.list.forStates': 'למדינות',
  2819. 'report.list.forCities': 'לערים',
  2820. 'report.list.params': 'משתנים להגדרת חבילת לוקליזציה',
  2821. 'report.list.params.set': 'תצורה נוכחית עבור ${country}:',
  2822. 'report.list.enabled': '${n} בדיקות מאופשרות עבור',
  2823. 'report.list.disabled': '${n} בדיקות כבויות עבור',
  2824. 'report.list.total': 'יש ${n} בדיקות זמינות',
  2825. 'report.list.title': 'רשימה מלאה של בדיקות עבור',
  2826. 'report.list.see': 'ראה',
  2827. 'report.list.checks': 'הגדרות->אודות->בדיקות זמינות',
  2828. 'report.list.fallback': 'כללי עתודה של תמיכת הלוקליזציה:',
  2829. 'report.and': 'וגם',
  2830. 'report.segments': 'סה"כ מקטעים שנבדקו:',
  2831. 'report.customs': 'בדיקות מותאמות אישית תואמים (#1/#2):',
  2832. 'report.reported': 'דווחו',
  2833. 'report.errors': 'טעויות',
  2834. 'report.warnings': 'אזהרות',
  2835. 'report.notes': 'הערות',
  2836. 'report.contents': 'תוכן:',
  2837. 'report.summary': 'סיכום',
  2838. 'report.title': 'דו"ח WME Validator',
  2839. 'report.share': 'לשתף',
  2840. 'report.generated.by': 'נוצר ע"י',
  2841. 'report.generated.on': 'ב',
  2842. 'report.source': 'מקור הדו"ח:',
  2843. 'report.filter.duplicate': 'מקטעים כפולים',
  2844. 'report.filter.streets': 'רחובות וכבישי שרות',
  2845. 'report.filter.other': 'אחרים - מותרים ואסורים לנהיגה',
  2846. 'report.filter.noneditable': 'מקטעים שלא ניתנים לעריכה',
  2847. 'report.filter.notes': 'הערות',
  2848. 'report.filter.title': 'מסננים:',
  2849. 'report.filter.excluded': 'אינם נכללים בדו"ח זה.',
  2850. 'report.search.updated.by': 'עודכן ע"י',
  2851. 'report.search.updated.since': 'עודכן ב',
  2852. 'report.search.city': 'מ',
  2853. 'report.search.reported': 'דווח כ',
  2854. 'report.search.title': 'חפש:',
  2855. 'report.search.only': 'מקטעים בלבד',
  2856. 'report.search.included': 'נכללים בדו"ח זה.',
  2857. 'report.beta.warning': 'אזהרות עורך בטא:',
  2858. 'report.beta.text': 'דו"ח זה חולל ע"י עורך גירסת בטא וכולל קישורים קבועים לבטא.',
  2859. 'report.beta.share': 'אנא אל תשתף את הפרמלינקים האלה!',
  2860. 'report.size.warning': '<b>אזהרה!</b><br>אורך הדו"ח הוא ${n} תווים<b>הוא לא מתאים להכנס</b> להודעה פרטית אחת בפורום\n<br>אנא הוסף<b>מסננים נוספים</b> על מנת להקטין את גודל הדו"ח',
  2861. 'report.note.limit': '* הערה: היו בעיות רבות מדי שדווחו, כך שחלק מהם אינם נספר בסיכום.',
  2862. 'report.forum': 'לעידוד פיתוח נוסף, אנא השאר משוב ב',
  2863. 'report.thanks': 'תודה שהשתמשת ב WME Validator!',
  2864. 'msg.limit.segments': 'יש יותר מדי מקטעים.\n\nלחץ \'צפה בדו"ח\' בכדי לצפות בדו"ח, אח"כ לחץ \'▶\' כדי להמשיך.',
  2865. 'msg.limit.segments.continue': 'לחץ \'▶\' (בצע) כדי להמשיך',
  2866. 'msg.limit.segments.clear': 'לחץ \'✘\' (מחק) כדי למחוק את הדו"ח.',
  2867. 'msg.pan.text': 'הזז מעט את המפה כדי להתחיל בבדיקה',
  2868. 'msg.zoomout.text': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח ע"י WME Validator',
  2869. 'msg.click.text': 'לניתוח שטח המפה הגלוי לחץ על \'▶\' ',
  2870. 'msg.autopaused': 'עצירה אוטומטית',
  2871. 'msg.autopaused.text': 'עצירה אוטומטית! לחץ על \'▶\' כדי להמשיך',
  2872. 'msg.autopaused.tip': 'כלי זה עוצר אוטומטית כשמזיזים את המפה או כשמשנים את גודל החלון',
  2873. 'msg.finished.text': 'לחץ <b>\'צפה בדו"ח\'</b> כדי לצפות בבעיות במפה',
  2874. 'msg.finished.tip': 'לחץ על \'✉\' (שתף) כדי לדווח בפורום\nאו כהודעה פרטית',
  2875. 'msg.noissues.text': 'הסריקה הסתיימה! לא נמצאו בעיות!',
  2876. 'msg.noissues.tip': 'נסה לכבות חלק מהמסננים או התחל מחדש את הסריקה',
  2877. 'msg.scanning.text': 'סורק! יסיים בעוד כ ${n} דקות לערך',
  2878. 'msg.scanning.text.soon': 'סורק! יסיים בעוד כדקה!',
  2879. 'msg.scanning.tip': 'לחץ על \'השהה\' כדי לעצור או על \'■\' כדי לעצור',
  2880. 'msg.starting.text': 'מכין את הדו"ח! השכבות מוסתרות כדי לסרוק מהר יותר',
  2881. 'msg.starting.tip': 'לחץ על \'השהה\' או על \'■\' כדי לעצור',
  2882. 'msg.paused.text': 'בהשהייה! לחץ \'▶\' כדי להמשיך',
  2883. 'msg.paused.tip': 'לצפיה בדו"ח לחץ על \'צפה בדו"ח\' (אם זמין)',
  2884. 'msg.continuing.text': 'ממשיך!',
  2885. 'msg.continuing.tip': 'WME Validator ימשיך מהמקום בו הפסיק',
  2886. 'msg.settings.text': 'לחץ <b>\'חזרה\'</b> לחזרה למסך הראשי',
  2887. 'msg.settings.tip': 'לחץ \'אפס לברירת מחדל\' כדי לאפס את כל ההגדרות',
  2888. 'msg.reset.text': 'כל אפשרויות הסינון וההגדרות אופסו לברירת המחדל שלהם',
  2889. 'msg.reset.tip': 'לחץ על \'חזרה\' כדי לחזור לתצוגה הראשית',
  2890. 'msg.textarea.pack': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בקובץ <b>.user.js</b> חדש',
  2891. 'msg.textarea': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בשרשור בפורום או כהודעה פרטית',
  2892. 'noaccess.text':
  2893. '<b>מצטער,</b><br>אינך יכול להשתמש ב WME Validator כאן.<br>אנא בדוק <a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">את השרשור בפורום</a><br>למידע נוסף.',
  2894. 'noaccess.tip': 'אנא בדוק את השרשור בפורום למידע נוסף!',
  2895. 'tab.switch.tip.on': 'לחץ להפעלה (Alt+V)',
  2896. 'tab.switch.tip.off': 'לחץ לכיבוי (Alt+V)',
  2897. 'tab.filter.text': 'מסננים',
  2898. 'tab.filter.tip': 'אפשרויות סינון הדו"ח והדגשות בעורך המפה',
  2899. 'tab.search.text': 'חיפוש',
  2900. 'tab.search.tip': 'אפשרויות סינון מתקדמות כדי לכלול מקטעים ספציפיים בלבד',
  2901. 'tab.help.text': 'עזרה',
  2902. 'tab.help.tip': 'צריך עזרה?',
  2903. 'filter.noneditables.text': 'הסתר מקטעים <b>שאינם ניתנים לעריכה</b>',
  2904. 'filter.noneditables.tip': 'אל תדווח על מקטעים נעולים או\nמקטעים מחוץ לאיזור העריכה שלך',
  2905. 'filter.duplicates.text': 'הסתר <b>כפילויות</b> במקטעים',
  2906. 'filter.duplicates.tip': 'אל תראה את אותו המקטע בחלקים\nשונים של הדו"ח\n* שים לב: אפשרות זו אינה משפיעה על ההדגשות',
  2907. 'filter.streets.text': 'הסתר <b>רחוב</b> ו<b>כביש שרות</b>',
  2908. 'filter.streets.tip': 'אל תכלול בדו"ח מקטעים מסוג רחוב וכביש שרות',
  2909. 'filter.other.text': 'הסתר אחרים ש<b>מותרים לנהיגה</b> וכל ה<b>אסורים לנהיגה</b>',
  2910. 'filter.other.tip': 'אל תכלול בדו"ח מקטעים מסוג דרך עפר, מגרש חניה, כביש פרטי\nומקטעים שאסורים לנהיגה',
  2911. 'filter.notes.text': 'הסתר <b>הערות</b>',
  2912. 'filter.notes.tip': 'דווח רק על אזהרות ושגיאות',
  2913. 'search.youredits.text': 'כלול <b>רק עריכות שלך</b>',
  2914. 'search.youredits.tip': 'כלול רק מקטעים שערכת בעצמך',
  2915. 'search.updatedby.text': '<b>עודכן על ידי:</b>',
  2916. 'search.updatedby.tip': 'כלול סיגמנטים שנערכו ע"י עורך מסויים\nשדה זה תומך ב:\n- רשימות: me, otherEditorName\n- תווים חופשיים: world*\n- שלילה: !me, *\nשים לב: ניתן להשתמש ב me כהתאמה לעצמך',
  2917. 'search.updatedby.example': 'דוגמה: אני',
  2918. 'search.updatedsince.text': '<b>עודכן ב:</b>',
  2919. 'search.updatedsince.tip': 'כלול מקטעים שנערכו מאז תאריך מסויים\nפורמט תאריך: YYYY-MM-DD',
  2920. 'search.updatedsince.example': 'YYYY-MM-DD',
  2921. 'search.city.text': '<b>שם העיר:</b>',
  2922. 'search.city.tip': 'כלול מקטעים בעלי שם עיר מסויימת\nשדה זה תומך ב:\nרשימות: ירושלים, אשקלון\nתווים כלליים: תל *\nשלילה: !ירושלים, *',
  2923. 'search.city.example': 'דוגמה: !ירושלים, *',
  2924. 'search.checks.text': '<b>דווח כ:</b>',
  2925. 'search.checks.tip':
  2926. 'כלול רק מקטעים שדווחו לגביהם:\nשדה זה תואם:\n- חומרת הבעיה: errors\n- שמות קבועים: New road\n- מספרים מזהים: 40\nשדה זה תומך ב:\n- רשימות: 36,37\n- תווים כלליים: *roundabout*\n- שלילה: !soft turns*, *\n',
  2927. 'search.checks.example': 'דוגמה: *הפוך*',
  2928. 'help.text':
  2929. '<b>נושאי עזרה:</b><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=666476#p666476">שאלות נפוצות</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">שאל את שאלתך בפורום</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488&p=661300#p661185">כיצד להתאים את ה Validator למדינה שלך</a><br><a target="_blank" href="https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=663286#p663286">אודות "יתכן ששם העיר שגוי"</a>',
  2930. 'help.tip': 'פתח בכרטיסיית דפדפן חדשה',
  2931. 'button.scan.tip': 'התחל לסרוק את המפה הנוכחית\nשים לב: פעולה זו יכולה לקחת מספר דקות',
  2932. 'button.scan.tip.NA': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח באיזור המפה הנוכחי',
  2933. 'button.pause.tip': 'עצור את הסריקה',
  2934. 'button.continue.tip': 'המשך לסרוק את המפה',
  2935. 'button.stop.tip': 'עצור את הסריקה וחזור להתחלה',
  2936. 'button.clear.tip': 'מחק הדו"ח ומקטעים מהזיכרון',
  2937. 'button.clear.tip.red': 'יותר מדי דיווחים על בעיות במקטעים:\n1. לחץ \'צפה בדו"ח להפיק את הדו"ח\'.\n2. לחץ על כפתור זה כדי למחוק את הדו"ח ולהתחיל מחדש.',
  2938. 'button.report.text': 'צפה בדו"ח',
  2939. 'button.report.tip': 'השתמש בהגדרות המסננים והפק דו"ח HTML שיפתח בכרטיסיית דפדפן חדשה',
  2940. 'button.BBreport.tip': 'שתף את הדו"ח בפורום של וייז או בהודעה פרטית',
  2941. 'button.settings.tip': 'הגדרות',
  2942. 'tab.custom.text': 'מותאם',
  2943. 'tab.custom.tip': 'הגדרת בדיקות מותאמות אישית לפי הגדרות המשתמש',
  2944. 'tab.settings.text': 'הגדרות',
  2945. 'tab.scanner.text': 'סורק',
  2946. 'tab.scanner.tip': 'הגדרות סריקה',
  2947. 'tab.about.text': 'אודות</span>',
  2948. 'tab.about.tip': 'אודות WME Validator',
  2949. 'scanner.sounds.text': 'אפשר צלילים',
  2950. 'scanner.sounds.tip': 'ציפצופים וביפים בזמן סריקה',
  2951. 'scanner.sounds.NA': 'הדפדפן שלך אינו תומך ב AudioContext',
  2952. 'scanner.highlight.text': 'הדגש בעיות על גבי המפה',
  2953. 'scanner.highlight.tip': 'הדגר בעיות מדווחות על גבי המפה',
  2954. 'scanner.slow.text': 'אפשר בדיקות המוגדרות כ"איטי"',
  2955. 'scanner.slow.tip': 'מאפשר ניתוח מעמיק של המפה\n* שים לב: אפשרות זו עלולה להאט את תהליך הסריקה',
  2956. 'scanner.ext.text': 'דווח על הדגשות ממקורות אחרים',
  2957. 'scanner.ext.tip': 'דווח על מקטעים שהודגשו ע"י WME Toolbox או WME Color Highlights',
  2958. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>תבנית מותאמת אישית</a>',
  2959. 'custom.template.tip':
  2960. 'תבנית להרחבת בדיקות מותאמת אישית המוגדרת על ידי משתמש.\n\nניתן להשתמש במשתנים הבאים\n${country}, ${state}, ${city}, ${street},\n${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},\n${length}, ${ID}, ${roundabout}, ${hasHNs},\n${drivable}, ${softTurns}, ${Uturn}, ${deadEnd},\n${segmentsA}, ${inA}, ${outB}, ${UturnA},\n${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  2961. 'custom.template.example': 'דוגמה: ${city}',
  2962. 'custom.regexp.text': '<a target="_blank" href="https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions">ביטוי רגולרי</a> מותאם אישית',
  2963. 'custom.regexp.tip': 'ביטוי רגולרי מותאם אישית ע"י המשתמש התואם את התבנית\nהתאמה: /regexp/\nשלילה: !/regexp/\nכתוב מידע של התוכנית לקונסולה (debug)\n',
  2964. 'custom.regexp.example': 'דוגמה: /גבעת שמואל/',
  2965. 'about.tip': 'פתח קישור בכרטיסיית דפדפן חדשה',
  2966. 'button.reset.text': 'אפס לברירת מחדל',
  2967. 'button.reset.tip': 'אפס אפשרויות סינון והגדרות לברירת המחדל',
  2968. 'button.list.text': 'בדיקות זמינות...',
  2969. 'button.list.tip': 'הראה את רשימ הבדיקות הזמינות של WME Validator',
  2970. 'button.wizard.tip': 'צור קבצי לוקליזציה',
  2971. 'button.back.text': 'חזרה',
  2972. 'button.back.tip': 'סגור הגדרות וחזור לחלון ראשי',
  2973. '1.enabled': false,
  2974. '1.title': 'WME Toolbox: כיכר שעלול ליצור בעיות',
  2975. '1.problem': 'מספרים מזהים של צמתים של מקטעים בכיכר אינם רצופים',
  2976. '1.solution': 'בנה מחדש את הכיכר',
  2977. '2.title': 'WME Toolbox: מקטע פשוט',
  2978. '2.problem': 'למקטע יש מפרקים מיותרים',
  2979. '2.solution': 'פשט את מפרקי המקטע ע"י מעבר עם העכבר מעל המקטע ולחיצה על מקש "d"',
  2980. '3.title': 'WME Toolbox: נעילה ברמה 2',
  2981. '3.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2982. '4.title': 'WME Toolbox: נעילה ברמה 3',
  2983. '4.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2984. '5.title': 'WME Toolbox: נעילה ברמה 4',
  2985. '5.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2986. '6.title': 'WME Toolbox: נעילה ברמה 5',
  2987. '6.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2988. '7.title': 'WME Toolbox: נעילה ברמה 6',
  2989. '7.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2990. '8.title': 'WME Toolbox: מספרי בתים',
  2991. '8.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2992. '9.title': 'WME Toolbox: מקטע עם הגבלות לפי שעות',
  2993. '9.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2994. '13.title': 'WME Color Highlights: נעילת עורך',
  2995. '13.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2996. '14.title': 'WME Color Highlights: כביש אגרה / כביש חד סיטרי',
  2997. '14.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2998. '15.title': 'WME Color Highlights: נערך לאחרונה',
  2999. '15.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3000. '16.title': 'WME Color Highlights: דרגה של כביש',
  3001. '16.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3002. '17.title': 'WME Color Highlights: ללא עיר',
  3003. '17.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3004. '18.title': 'WME Color Highlights: הגבלות לפי שעות / סוג כביש מודגש',
  3005. '18.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3006. '19.title': 'WME Color Highlights: ללא שם',
  3007. '19.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3008. '20.title': 'WME Color Highlights: מסנן לפי עיר',
  3009. '20.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3010. '21.title': 'WME Color Highlights: מסנן לפי עיר',
  3011. '21.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3012. '22.title': 'WME Color Highlights: מסנן לפי עורך',
  3013. '22.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3014. '23.title': 'מקטע ללא שם',
  3015. '23.problem': 'כל מקטע חייב לפחות הגדרת מדינה',
  3016. '23.solution': 'אשר את הכביש ע"י עריכת הפרטים שלו',
  3017. '24.title': 'יתכן ששם העיר שגוי (זמין רק בדו"ח)',
  3018. '24.problem': 'יתכן ששם העיר של המקטע שגוי (זמין רק בדו"ח)',
  3019. '24.solution': 'שקול להשתמש בשם העיר שמוצע והשתמש בטופס זה כדי לשנות שם עיר',
  3020. '25.title': 'כיוון לא ידוע של כביש מותר בנהיגה',
  3021. '25.problem': 'כיוון "לא ידוע" של כביש לא מונע ניווט דרכו',
  3022. '25.solution': 'קבע את כיוון הנסיעה של הכביש',
  3023. '27.enabled': true,
  3024. '27.title': 'שם עיר על מסילת רכבת',
  3025. '27.problem': 'שם עיר על מסילת רכבת עלול לטשטש את גבולות העיר',
  3026. '27.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3027. '28.enabled': false,
  3028. '28.title': 'שם רחוב למחבר דו כיווני',
  3029. '28.problem': 'כשהמחבר ללא שם, הוא יקבל את שמו מהכביש אליו הוא מוביל',
  3030. '28.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3031. '29.title': 'לכיכר יש שם רחוב',
  3032. '29.problem': 'בווויז לא נותנים שמות למקטעים השייכים לכיכר',
  3033. '29.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\', לחץ \'החל\'. כדי לתת שם לכיכר הוסף \'מקום\' עם קטגורית \'צומת\' ותן לו את שם הכיכר',
  3034. '34.title': '\'שם חלופי\' ריק',
  3035. '34.problem': 'שדה \'שם חלופי\' של הרחוב ריק',
  3036. '34.solution': 'הסר את ה\'שם חלופי\' של הרחוב',
  3037. '35.title': 'כביש מותר לנהיגה קטוע',
  3038. '35.problem': 'וייז לא ינווט מכביש קטוע',
  3039. '35.solution': 'הזז מעט את המקטע כך שיתווסף אוטומטית צומת המסיים את המקטע',
  3040. '36.title': 'צומת A: מיותר (איטי)',
  3041. '36.problem': 'מקטעים סמוכים בצומת A זהים',
  3042. '36.solution': 'בחר את צומת A ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3043. '37.title': 'צומת B: מיותר (איטי)',
  3044. '37.problem': 'מקטעים סמוכים בצומת B זהים',
  3045. '37.solution': 'בחר את צומת B ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3046. '38.title': 'פג תוקף של מגבלה על מקטע (איטי)',
  3047. '38.problem': 'למקטע יש מגבלות שפג תוקפם',
  3048. '38.solution': 'לחץ על "הוסף הגבלות" ומחק מגבלות שפג תוקפם',
  3049. '39.title': 'פג תוקף של מגבלה על פניה (איטי)',
  3050. '39.problem': 'במקטע יש פניה עם מגבלה שפג תוקפה',
  3051. '39.solution': 'לחץ על סימון השעון שליד החץ הצהוב של הפניה ומחק הגבלות שפג תוקפן',
  3052. '41.enabled': false,
  3053. '41.title': 'צומת A: קישוריות הפוכה של כביש מותר לנהיגה',
  3054. '41.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת A',
  3055. '41.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת A ואחר כך הפוך חזרה את המקטע ל"חד כיווני (A→B)"',
  3056. '42.enabled': false,
  3057. '42.title': 'צומת B: קישוריות הפוכה של כביש מותר לנהיגה',
  3058. '42.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת B',
  3059. '42.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת B ואחר כך הפוך חזרה את המקטע ל"חד כיווני (B→A)"',
  3060. '43.title': 'קישור לעצמי',
  3061. '43.problem': 'המקטע יוצר צומת עם המקטע עצמו',
  3062. '43.solution': 'פצל את המקטע לשלושה מקטעים',
  3063. '44.title': 'אין חיבור ביציאה',
  3064. '44.problem': 'מקטע מותר בנהיגה ללא אף פניה מאופשרת ביציאה ממנו',
  3065. '44.solution': 'אפשר לפחות פניה אחת ביציאה מהמקטע',
  3066. '45.title': 'אין חיבור בכניסה',
  3067. '45.problem': 'אין אף פניה מאופשרת בכניסה למקטע המותר בנהיגה',
  3068. '45.solution': 'בחר מקטע סמוך ואפשר פניה למקטע זה',
  3069. '46.title': 'צומת A: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3070. '46.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת A',
  3071. '46.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת A',
  3072. '47.title': 'צומת B: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3073. '47.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת B',
  3074. '47.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת B',
  3075. '48.title': 'מקטע דו כיווני בכיכר',
  3076. '48.problem': 'מקטע מותר לנהיגה בכיכר הוא דו כיווני',
  3077. '48.solution': 'צור מחדש את הכיכר',
  3078. '50.title': 'אין חיבור לכיכר (איטי)',
  3079. '50.problem': 'למקטע מותר לנהיגה בכיכר אין חיבור למקטע סמוך בכיכר',
  3080. '50.solution': 'אפשר פניה במקטע סמוך או צור מחדש את הכיכר',
  3081. '57.enabled': true,
  3082. '57.title': 'שם עיר במחבר עם שם רחוב',
  3083. '57.problem': 'שם עיר במחבר עם שם רחוב עלול להשפיע על תוצאות החיפוש',
  3084. '57.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3085. '59.enabled': true,
  3086. '59.title': 'שם עיר בכביש מהיר',
  3087. '59.problem': 'שם עיר בכביש מהיר עלול לטשטש את גבולות העיר',
  3088. '59.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3089. '77.enabled': false,
  3090. '77.title': 'פניית פרסה ברחוב ללא מוצא',
  3091. '77.problem': 'מאופשרת פניית פרסה במקטע מותר לנהיגה ללא מוצא',
  3092. '77.solution': 'אל תאפשר פניית פרסה',
  3093. '78.title': 'שני מקטעים המותרים לנהיגה מסתיימים באותן נקודות (איטי)',
  3094. '78.problem': 'שני מקטעים המותרים לנהיגה בעלי אותן נקודות קצה',
  3095. '78.solution': 'פצל את המקטע לשני מקטעים. יתכן ויש צורך למחוק את אחד המקטעים אם הם זהים',
  3096. '87.title': 'מקטעים מרובים יוצאים מצומת A',
  3097. '87.problem': 'לצומת A בכיכר מחובר יותר ממקטע יציאה אחד',
  3098. '87.solution': 'צור מחדש את הכיכר',
  3099. '90.enabled': true,
  3100. '90.title': 'כביש מהיר דו סיטרי',
  3101. '90.problem': 'רוב הכבישים המהירים מפוצלים לשני מקטעים חד סיטריים כך שיתכן שיש טעות במקטע',
  3102. '90.solution': 'בדוק את כיוון הנסיעה של הכביש המהיר',
  3103. '91.title': 'מחבר דו כיווני',
  3104. '91.problem': 'רוב המחברים הם חד סיטריים, כך שיתכן שזו שגיאה שמחבר זה מוגדר כדו-סיטרי',
  3105. '91.solution': 'בדוק כיווני נסיעה במחבר',
  3106. '99.title': 'פניית פרסה מאופשרת בכניסה לכיכר (איטי)',
  3107. '99.problem': 'פניית פרסה מאופשרת במקטע הנכנס לכיכר',
  3108. '99.solution': 'אל תאפשר פניית פרסה',
  3109. '101.title': 'כביש סגור (זמין רק בדו"ח)',
  3110. '101.problem': 'המקטע מסומן כסגור',
  3111. '101.solution': 'אם הבנייה הסתיימה, שחזר את קישוריות המקטע והסר את הסיומת',
  3112. '102.title': 'צומת A: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3113. '102.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת A',
  3114. '102.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת A',
  3115. '103.title': 'צומת B: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3116. '103.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת B',
  3117. '103.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת B',
  3118. '104.title': 'מסילת רכבת משמשת כהערה',
  3119. '104.problem': 'נראה שמקטע מסוג מסילת רכבת משמש כהערה',
  3120. '104.solution': 'הסר את המקטע כיוון שמסילת רכבת תיראה במסך של משתמש הקצה',
  3121. '107.title': 'צומת A: אין חיבור (איטי)',
  3122. '107.problem': 'צומת A של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3123. '107.solution': 'חבר את צומת A למקטע הקרוב ביותר או הרחק אותו מעט',
  3124. '108.title': 'צומת B: אין חיבור (איטי)',
  3125. '108.problem': 'צומת B של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3126. '108.solution': 'חבר את צומת B למקטע הקרוב ביותר או הרחק אותו מעט',
  3127. '109.enabled': false,
  3128. '109.title': 'מקטע קצר מדי',
  3129. '109.problem': 'מקטע מותר לנהיגה ללא קצה הוא פחות מ 2 מטר. וקשה לראות זאת במפה',
  3130. '109.solution': 'הארך את המקטע, מחק אותו או חבר אותו למקטע סמוך',
  3131. '112.title': 'לשם המחבר יש יותר מ ${n} אותיות',
  3132. '112.problem': 'שם המחבר ארוך מדי',
  3133. '112.solution': 'קצר את שם המחבר',
  3134. '114.enabled': false,
  3135. '114.title': 'צומת A: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3136. '114.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת A',
  3137. '114.solution': 'נתק את צומת A ממקטעים מותרים לנהיגה',
  3138. '115.enabled': false,
  3139. '115.title': 'צומת B: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3140. '115.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת B',
  3141. '115.solution': 'נתק את צומת B ממקטעים מותרים לנהיגה',
  3142. '116.title': 'גובה לא בטווח המותר',
  3143. '116.problem': 'גובה המקטע לא בטווח המותר',
  3144. '116.solution': 'תקן את הגובה',
  3145. '117.title': 'סימון של קבוע ישן ZN',
  3146. '117.problem': 'המקטע מסומן בסימון של קבוע שלא בתוקף: ZN',
  3147. '117.solution': 'שנה את הקבוע ZN ל: (סגור)',
  3148. '118.title': 'צומת A: מקטעים חופפים (איטי)',
  3149. '118.problem': 'המקטע חופף למקטע סמוך בצומת A',
  3150. '118.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת A',
  3151. '119.title': 'צומת B: מקטעים חופפים (איטי)',
  3152. '119.problem': 'המקטע חופף למקטע סמוך בצומת B',
  3153. '119.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת B',
  3154. '120.title': 'צומת A: פנייה חדה מדי (איטי)',
  3155. '120.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת A',
  3156. '120.solution': 'אסור את הפנייה החדה בצומת A או שנה את זווית הפניה ל 30°',
  3157. '121.title': 'צומת B: פנייה חדה מדי (איטי)',
  3158. '121.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת B',
  3159. '121.solution': 'אסור את הפנייה החדה בצומת B או שנה את זווית הפניה ל 30°',
  3160. '128.title': 'בדיקה מותאמת אישית ע"י המשתמש (ירוק)',
  3161. '128.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3162. '128.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3163. '129.title': 'בדיקה מותאמת אישית ע"י המשתמש (כחול)',
  3164. '129.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3165. '129.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3166. '171.enabled': false,
  3167. '171.title': 'שם רחוב מקוצר באופן שגוי',
  3168. '171.problem': 'בשם הרחוב יש קיצור שגוי',
  3169. '171.solution': 'בדוק אותיות קטנות / גדולות, רווח לפני / אחרי הקיצור ובהתאם לטבלת הקיצורים',
  3170. '172.title': 'מרווחים מיותרים בשם של רחוב',
  3171. '172.problem': 'מרווח כפול/לפני/אחרי שם של רחוב',
  3172. '172.solution': 'מחק מרווחים מיותרים בשם של הרחוב',
  3173. '173.enabled': false,
  3174. '173.title': 'אין רווח לפני/אחרי שם קיצור של רחוב',
  3175. '173.problem': 'חסר מרווח לפני או אחרי שימוש בקיצור בשם של רחוב',
  3176. '173.solution': 'הוסף רווח לפני/אחרי הקיצור',
  3177. '175.title': 'שם רחוב ריק',
  3178. '175.problem': 'שם הרחוב מכיל רק מרווחים או נקודות',
  3179. '175.solution': 'במאפייני הכתובת, סמן את תיבת \'אין\' ליד שם הרחוב, לחץ \'החל\', או תן שם תקין לרחוב',
  3180. '190.enabled': false,
  3181. '190.title': 'שם העיר באותיות קטנות',
  3182. '190.problem': 'שם העיר מתחיל באות קטנה',
  3183. '190.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3184. '192.title': 'מרווחים מיותרים בשם של עיר',
  3185. '192.problem': 'מרווח כפול/לפני/אחרי שם של עיר',
  3186. '192.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3187. '193.enabled': false,
  3188. '193.title': 'מרווחים לפני/אחרי קיצור של שם עיר',
  3189. '193.problem': 'מרווחים אסורים לפני או אחרי שימוש בקיצור בשם של עיר',
  3190. '193.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3191. '200.enabled': false,
  3192. '200.title': 'צומת A: פניה שלא אושרה ברחוב משני',
  3193. '200.problem': 'במקטע המשני יש פניה שלא אושרה בצומת A',
  3194. '200.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו',
  3195. '201.title': 'צומת A: פניה שלא אושרה ברחוב ראשי',
  3196. '201.problem': 'במקטע הראשי יש פניה שלא אושרה בצומת A',
  3197. '201.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו'
  3198. },
  3199. 'IE': {
  3200. '.codeISO': 'IE',
  3201. '.country': 'Ireland',
  3202. '70.enabled': true,
  3203. '70.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3204. '71.enabled': true,
  3205. '71.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3206. '72.enabled': true,
  3207. '72.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3208. '160.enabled': true,
  3209. '160.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3210. '160.params': {'solutionEN': 'Rename the street to \'Mxx\' or \'Mxx N/S/W/E\' or change the road type', 'regexp': '!/^M[0-9]+( [NSWE])?$/'},
  3211. '161.enabled': true,
  3212. '161.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3213. '161.params': {'solutionEN': 'Rename the street to \'Nxx\' or \'Nxx Local Name\' or change the road type', 'regexp': '!/^N[0-9]+( .*)?$/'},
  3214. '162.enabled': true,
  3215. '162.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3216. '162.params': {'solutionEN': 'Rename the street to \'Rxxx\' or \'Rxxx Local Name\' or change the road type', 'regexp': '!/^R[0-9]+( .*)?$/'}
  3217. },
  3218. 'FR': {
  3219. '.codeISO': 'FR',
  3220. '.country': ['France', 'French Guiana', 'New Caledonia', 'Reunion'],
  3221. '.author': 'arbaot and ClementH44',
  3222. '.updated': '2014-03-27',
  3223. '.lng': 'FR',
  3224. 'err.regexp': 'Erreur d\'interprétation pour la vérification #${n}:',
  3225. 'props.disabled': 'WME Validator est désactivé',
  3226. 'props.limit.title': 'Trop de problèmes signalés',
  3227. 'props.limit.problem': 'Il y a trop de problèmes signalés, de sorte que certains d\'entre eux pourraient ne pas être affichés',
  3228. 'props.limit.solution': 'Désélectionnez le segment et arrêtez le scan. Ensuite, cliquez sur le bouton rouge «✘» (Effacer le rapport)',
  3229. 'props.reports': 'Rapports',
  3230. 'props.noneditable': 'Vous ne pouvez éditer ce segment',
  3231. 'report.list.andUp': 'et jusqu\'à',
  3232. 'report.list.severity': 'Gravité :',
  3233. 'report.list.reportOnly': 'seulement dans le rapport',
  3234. 'report.list.forEditors': 'Pour le niveau d\'édition :',
  3235. 'report.list.forCountries': 'Pour les pays :',
  3236. 'report.list.forStates': 'Pour les états :',
  3237. 'report.list.forCities': 'Pour les villes :',
  3238. 'report.list.params': 'Paramètres à configurer dans le pack de localisation :',
  3239. 'report.list.enabled': '${n} vérifications sont activés pour',
  3240. 'report.list.disabled': '${n} vérifications sont désactivés pour',
  3241. 'report.list.total': 'Il y a ${n} points de contôles activés',
  3242. 'report.list.title': 'Liste complète des vérifications pour',
  3243. 'report.list.see': 'Voir',
  3244. 'report.list.checks': 'Paramètres->À propos->Les vérifications',
  3245. 'report.list.fallback': 'Règles de regroupement géographique :',
  3246. 'report.and': 'et',
  3247. 'report.segments': 'Nombre total de segments vérifiés :',
  3248. 'report.customs': 'Les vérifications personnalisés adaptés (vert/bleu):',
  3249. 'report.reported': 'Signalement',
  3250. 'report.errors': 'd\'erreurs',
  3251. 'report.warnings': 'd\'avertissements',
  3252. 'report.notes': 'de remarques',
  3253. 'report.contents': 'Contenus :',
  3254. 'report.summary': 'Récapitulatif',
  3255. 'report.title': 'Rapport de WME Validator',
  3256. 'report.share': 'à partager',
  3257. 'report.generated.by': 'généré par',
  3258. 'report.generated.on': 'le',
  3259. 'report.source': 'Source du rapport :',
  3260. 'report.filter.duplicate': 'les segments doublons',
  3261. 'report.filter.streets': 'Rue et Routes de service',
  3262. 'report.filter.other': 'Autres',
  3263. 'report.filter.noneditable': 'segments non modifiables',
  3264. 'report.filter.notes': 'notes',
  3265. 'report.filter.title': 'Filtre :',
  3266. 'report.filter.excluded': 'sont exclues de ce rapport.',
  3267. 'report.search.updated.by': 'mis à jour par',
  3268. 'report.search.updated.since': 'mis à jour depuis',
  3269. 'report.search.city': 'à partir de',
  3270. 'report.search.reported': 'signalé comme',
  3271. 'report.search.title': 'Rechercher:',
  3272. 'report.search.only': 'seulement les segments',
  3273. 'report.search.included': 'sont inclus dans le rapport.',
  3274. 'report.beta.warning': 'avertissement WME Beta !',
  3275. 'report.beta.text': 'Ce rapport est généré pour WME beta avec des permaliens en beta.',
  3276. 'report.beta.share': 'Ne pas partager ces permaliens !',
  3277. 'report.size.warning':
  3278. '<b>Avertissement !</b><br>Le rapport est trop long de ${n} charactères de sorte qu\'<b>il ne passe pas</b> dans un seul forum ou message privé.\n<br>Ajoutez <b>des filtres</b> pour réduire la taille du rapport.',
  3279. 'report.note.limit': '* Remarque: il y avait trop de problèmes signalés, de sorte que certains d\'entre eux ne sont pas pris en compte dans le récapitulatif.',
  3280. 'report.forum': 'Pour soutenir le développement, merci de laisser un commentaire sur',
  3281. 'report.thanks': 'Merci d\'utiliser WME Validator !',
  3282. 'msg.limit.segments': 'Il y a trop de segments.\n\nCliquez sur \'Le rapport\' pour examiner le rapport, ensuite\n',
  3283. 'msg.limit.segments.continue': 'cliquez sur \'▶\' pour continuer.',
  3284. 'msg.pan.text': 'Déplacez-vous sur pour valider la carte',
  3285. 'msg.zoomout.text': 'Effectuer un zoom arrière pour démarrer WME Validator',
  3286. 'msg.click.text': 'Cliquez sur \'▶\' pour valider la zone visible de la carte',
  3287. 'msg.autopaused': 'Pause automatique',
  3288. 'msg.autopaused.text': 'Pause automatique ! Cliquez sur \'▶\' pour continuer.',
  3289. 'msg.autopaused.tip': 'WME Validator est automatiquement suspendu si la carte est déplacée ou si la taille de la fenêtre change',
  3290. 'msg.finished.text': 'Cliquez sur <b>\'Le rapport\'</b> pour examiner les problèmes de carte',
  3291. 'msg.finished.tip': 'Cliquez sur \'✉\' (Partager) pour poster un rapport sur un\nforum ou par message privé',
  3292. 'msg.noissues.text': 'Terminé ! Aucun problème trouvé !',
  3293. 'msg.noissues.tip': 'Essayez de désactiver quelques filtres ou démarrez WME Validator sur une autre zone de la carte !',
  3294. 'msg.scanning.text': 'Scan en cours ! Terminé dans ~ ${n} min',
  3295. 'msg.scanning.text.soon': 'Scan en cours ! Terminé dans une minute !',
  3296. 'msg.scanning.tip': 'Cliquez sur \'Pause\' pour suspendre ou \'■\' pour stopper',
  3297. 'msg.starting.text': 'Lancement ! Les calques ne peuvent scanner plus vite !',
  3298. 'msg.starting.tip': 'Utilisez le bouton \'Pause\' pour suspendre ou le bouton \'■\' pour stopper',
  3299. 'msg.paused.text': 'En pause ! Cliquez sur \'▶\' pour continuer.',
  3300. 'msg.paused.tip': 'Pour voirla raport, cliquez sur \'Le rapport\' (si disponible)',
  3301. 'msg.continuing.text': 'En cours !',
  3302. 'msg.continuing.tip': 'WME Validator continuera à l\'endroit où il a été suspendu',
  3303. 'msg.settings.text': 'Cliquez sur <b>\'Retour\'</b> pour retourner sur la vue principale',
  3304. 'msg.settings.tip': 'Cliquez sur \'Par défaut\' pour réinitialiser tous les réglages en un clic !',
  3305. 'msg.reset.text': 'Toutes les options de filtrage et les paramètres ont été remis à leurs valeurs par défaut',
  3306. 'msg.reset.tip': 'Cliquez sur \'Retour\' pour retourner sur la vue principale',
  3307. 'msg.textarea.pack': 'Merci de copier le texte ci-dessous et de le coller dans un nouveau fichier <b>.user.js</b>',
  3308. 'msg.textarea': 'Merci de copier le texte ci-dessous et de le coller dans votre forum pour par message privé',
  3309. 'noaccess.text':
  3310. '<b>Désolé,</b><br>Vous ne pouvez utiliser WME Validator ici.<br>Merci de visiter (en anglais) <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488\'>ce forum</a><br>pour plus d\'informations.',
  3311. 'noaccess.tip': 'Merci de visiter le forum du programme pour plus d\'informations !',
  3312. 'tab.switch.tip.on': 'Cliquez pour activer la surbrillance',
  3313. 'tab.switch.tip.off': 'Cliquez pour désactiver la surbrillance',
  3314. 'tab.filter.text': 'filtre',
  3315. 'tab.filter.tip': 'Options pour filtrer le rapport et les segments à mettre en évidence',
  3316. 'tab.search.text': 'cherche',
  3317. 'tab.search.tip': 'Options avancées de filtrage pour inclure uniquement des segments spécifiques',
  3318. 'tab.help.text': 'aide',
  3319. 'tab.help.tip': 'Besoins d\'aide ?',
  3320. 'filter.noneditables.text': 'Exclure les segments <b>non modifiables</b>',
  3321. 'filter.noneditables.tip': 'Ne pas éxaminer les segments verrouillés ou en dehors de vos zones modifiables',
  3322. 'filter.duplicates.text': 'Exclure les segments <b>doublons</b>',
  3323. 'filter.duplicates.tip': 'Ne pas éxaminer le même segment dans différentes\nparties du rapport\n* Remarque: cette option n\'affecte pas la surbrillance',
  3324. 'filter.streets.text': 'Exclure les <b>Rues et Routes de service</b>',
  3325. 'filter.streets.tip': 'Ne pas éxaminer les rues et routes/chemins de service',
  3326. 'filter.other.text': 'Exclure les <b>autres rues carrossables</b>',
  3327. 'filter.other.tip': 'Ne pas éxaminer les chemins de terres, les parkings, les routes privées\net les segments non carrossables',
  3328. 'filter.notes.text': 'Exclure les <b>remarques</b>',
  3329. 'filter.notes.tip': 'Rapporte uniquement les avertissements et les erreurs',
  3330. 'search.youredits.text': 'Inclure <b>uniquement vos modifications</b>',
  3331. 'search.youredits.tip': 'Inclure uniquement les segments modifiés par vous',
  3332. 'search.updatedby.text': '<b>Mis à jour par:</b>',
  3333. 'search.updatedby.tip':
  3334. 'Inclure uniquement les segments mis à jour par un éditeur déterminé\nCe champ prend en charge:\n - les listes: me, otherEditor\n - les métacaractères: world*\n - la négation: !me, *\n* Remarque: vous pouvez utiliser \'me\' pour vous désigner',
  3335. 'search.updatedby.example': 'Example: me',
  3336. 'search.updatedsince.text': '<b>Mis à jour depuis:</b>',
  3337. 'search.updatedsince.tip': 'Inclure uniquement les segments modifiés depuis la date spécifiée\nFormat de date Firefox: AAAA-MM-JJ',
  3338. 'search.updatedsince.example': 'AAAA-MM-JJ',
  3339. 'search.city.text': '<b>Nom de Ville:</b>',
  3340. 'search.city.tip':
  3341. 'Inclure uniquement les segments d\'une ville spécifiée\nCe champ prend en charge:\n - les listes: Paris, Meudon\n - les métacaractères (wildcards): Greater * Area\n - la négaction: !Paris, *',
  3342. 'search.city.example': 'Example: !Paris, *',
  3343. 'search.checks.text': '<b>Signalé comme:</b>',
  3344. 'search.checks.tip':
  3345. 'Inclure uniquement les segments \nCe champ correspond:\n - aux gravités: erreur\n - aux noms: Nouvelle route\n - aux identifiants (IDs): 40\nCe champ prend en charge:\n - les listes: 36, 37\n - les métacaractères (wildcards): *roundabout*\n - la négation: !unconfirmed*, *',
  3346. 'search.checks.example': 'Example: reverse*',
  3347. 'help.text':
  3348. '<b>Rubriques d\'aide (en anglais):</b><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=666476#p666476\'>F.A.Q.</a><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488\'>Posez votre question sur le forum</a><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=661300#p661185\'>Comment ajuster Validator à votre pays</a><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=663286#p663286\'>À propos de \'Might be Incorrect City Name\'</a>',
  3349. 'help.tip': 'S\'ouvre dans un nouvel onglet du navigateur',
  3350. 'button.scan.tip': 'Commencer à scanner la zone actuelle de la carte\n* Remarque: cela peut prendre quelques minutes',
  3351. 'button.scan.tip.NA': 'Dézoomez pour commencer à scanner la zone actuelle de la carte',
  3352. 'button.pause.tip': 'Scan en pause',
  3353. 'button.continue.tip': 'Continuer à scanner la zone de la carte',
  3354. 'button.stop.tip': 'Arrêter le scan et retourner à la position de départ',
  3355. 'button.clear.tip': 'Effacer la mémoire cache des rapports et segments',
  3356. 'button.clear.tip.red': 'Il y a trop de segments signalés:\n 1. Cliquez sur \'Le rapport\' pour générer le rapport.\n 2. Cliquez sur ce bouton pour effacer le rapport et recommencer.',
  3357. 'button.report.text': 'Le rapport',
  3358. 'button.report.tip': 'Appliquer le filtre et générer un rapport HTML dans un nouvel onglet.',
  3359. 'button.BBreport.tip': 'Partagez le rapport sur le forum Waze ou dans un message privé.',
  3360. 'button.settings.tip': 'Configurer les paramètres',
  3361. 'tab.custom.text': 'perso',
  3362. 'tab.custom.tip': 'Paramètres de vérification personnalisés définis par l\'utilisateur',
  3363. 'tab.settings.text': 'Params',
  3364. 'tab.scanner.text': 'scan',
  3365. 'tab.scanner.tip': 'Paramètres du scan de la carte',
  3366. 'tab.about.text': 'à propos</span>',
  3367. 'tab.about.tip': 'À propos de WME Validator',
  3368. 'scanner.sounds.text': 'Activer les sons',
  3369. 'scanner.sounds.tip': 'Joue un \'bip\' pendant le scan',
  3370. 'scanner.sounds.NA': 'Votre navigateur ne supporte pas AudioContext',
  3371. 'scanner.highlight.text': 'Mettre en surbrillance sur la carte',
  3372. 'scanner.highlight.tip': 'Mettre en surbrillance les problèmes repérés sur la carte',
  3373. 'scanner.slow.text': 'Activer le mode \'lent\'',
  3374. 'scanner.slow.tip': 'Permet un scan plus poussé et précis de la carte\n* Remarque: cette option peut ralentir le processus de scan',
  3375. 'scanner.ext.text': 'Signaler des surbrillances externes',
  3376. 'scanner.ext.tip': 'Signaler des segments mis en évidence par WME Toolbox ou WME Color Highlights',
  3377. 'custom.template.text': 'Modèle perso',
  3378. 'custom.template.tip': 'Modèle de contrôle personnalisé définis par l\'utilisateur.\n\nVous pouvez utiliser les variables suivantes:\n${country}, ${state}, ${city}, ${street},' +
  3379. '\n${altCity[index or delimeter]} Example: ${altCity[0]},' +
  3380. '\n${altStreet[index or delimeter]} Example: ${altStreet[##]},' +
  3381. '\n${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},\n${length}, ${ID}, ${roundabout}, ${hasHNs},\n${drivable}, ${softTurns}, ${Uturn}, ${deadEnd},\n${segmentsA}, ${inA}, ${outB}, ${UturnA},\n${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  3382. 'custom.template.example': 'Example: ${street}',
  3383. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a> perso',
  3384. 'custom.regexp.tip':
  3385. 'Modèle de contrôle personnalisé définis par l\'utilisateur (en utilisant le Regular Expressions).\n\nInsensible à la casse: /regexp/i\nNegation (ne fonctionne pas): !/regexp/\nInformation en mode debug des log sur la console: D/regexp/',
  3386. 'custom.regexp.example': 'Example: !/.+/',
  3387. 'about.tip': 'Ouvre le lien dans un nouvel onglet',
  3388. 'button.reset.text': 'Par défaut',
  3389. 'button.reset.tip': 'Rétablir les options de filtrage et les paramètres par défaut',
  3390. 'button.list.text': 'Les vérifications...',
  3391. 'button.list.tip': 'Montre une liste des vérifications possibles dans WME Validator',
  3392. 'button.wizard.tip': 'Créer un pack géographique',
  3393. 'button.back.text': 'Ret.',
  3394. 'button.back.tip': 'Fermer les paramètres et revenir à l\'ecran principal',
  3395. '1.solutionLink': 'W:Tout_sur_les_ronds-points',
  3396. '1.title': 'WME Toolbox: Rond-point pouvant causer des problèmes',
  3397. '1.problem': 'Les ID des segments du rond-point ne sont pas consécutif',
  3398. '1.solution': 'Refaire le rond-point',
  3399. '2.title': 'WME Toolbox: Simple segment (une voie)',
  3400. '2.problem': 'Ce segments a des nœuds de géométrie inutile',
  3401. '2.solution': 'Simplifier le tracé du segment sélectionné en survolant les nœuds en trop en appuyant sur le \'d\' du clavier',
  3402. '3.title': 'WME Toolbox: Verrouillage de niveau 2',
  3403. '3.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3404. '4.title': 'WME Toolbox: Verrouillage de niveau 3',
  3405. '4.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3406. '5.title': 'WME Toolbox: Verrouillage de niveau 4',
  3407. '5.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3408. '6.title': 'WME Toolbox: Verrouillage de niveau 5',
  3409. '6.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3410. '7.title': 'WME Toolbox: Verrouillage de niveau 6',
  3411. '7.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3412. '8.title': 'WME Toolbox: Numéros de maison',
  3413. '8.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3414. '9.title': 'WME Toolbox: Segment avec une restriction programmée',
  3415. '9.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3416. '13.title': 'WME Color Highlights: Verrouillage de l\'éditeur',
  3417. '13.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3418. '14.title': 'WME Color Highlights: Péage / Route à sens unique',
  3419. '14.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3420. '15.title': 'WME Color Highlights: Récemment modifié',
  3421. '15.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3422. '16.title': 'WME Color Highlights: Rang de la route',
  3423. '16.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3424. '17.title': 'WME Color Highlights: Pas de ville',
  3425. '17.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3426. '18.title': 'WME Color Highlights: Restriction programmée / Type de route mis en évidence',
  3427. '18.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3428. '19.title': 'WME Color Highlights: Pas de nom',
  3429. '19.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3430. '20.title': 'WME Color Highlights: Filtrer par ville',
  3431. '20.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3432. '21.title': 'WME Color Highlights: Filtrer par ville (ville alt.)',
  3433. '21.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3434. '22.title': 'WME Color Highlights: Filtrer par éditeur',
  3435. '22.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3436. '23.problemLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3437. '23.solutionLink': 'W:Nommage_France',
  3438. '23.title': 'Route non confirmée',
  3439. '23.problem': 'Création de segment incomplète ville et nom de rue non renseigné',
  3440. '23.solution': 'Terminer la création en complétant les propriétés',
  3441. '24.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3442. '24.solutionLink': 'F:t=29403',
  3443. '24.title': 'Nom de ville peut-être erroné (uniquement disponible dans le rapport)',
  3444. '24.problem': 'Le nom de la ville est peut-être incorrecte',
  3445. '24.solution': 'Comparer le nom avec celui proposé et éventuellement signaler le problème sur le forum',
  3446. '25.title': 'Direction inconnue de la route carrossable',
  3447. '25.problem': 'Un sens de circulation \'Inconnu\' n\'empêchera Waze de faire emprunter le segment',
  3448. '25.solution': 'Régler le sens de circulation du segment',
  3449. '27.enabled': true,
  3450. '27.title': 'Nom de ville sur une voie ferrée',
  3451. '27.problem': 'Un nom de ville sur les segment voie ferré provoque des incohérence des polygones Ville',
  3452. '27.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum ',
  3453. '28.problemLink': 'W:Guide_des_intersections#Noms_3',
  3454. '28.title': 'Nom de rue sur une rampe',
  3455. '28.problem': 'Une rampe sans nom \'hérite\' du nom du segment suivant',
  3456. '28.solution': 'Régler le nom du segment à \'Sans\'',
  3457. '29.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3458. '29.solutionLink': 'W:Tout_sur_les_ronds-points',
  3459. '29.title': 'Nom de rue sur rond-point',
  3460. '29.problem': 'Dans Waze pas de nom de rue sur les rond-point',
  3461. '29.solution': 'Régler le nom des segment du RP à \'Sans\' et créer un POI Jonction/ échangeur avec le nom du RP',
  3462. '34.title': 'Nom de rue alternatif vide',
  3463. '34.problem': 'Le nom de rue alternatif vide',
  3464. '34.solution': 'Supprimer le nom alternatif',
  3465. '35.title': 'Route carrossable non terminé',
  3466. '35.problem': 'Waze ne propose pas de guidage vers/dans les segment non terminés',
  3467. '35.solution': 'Déplacer légèrement l\'extrémité libre du segment pour afin que le nœuds de terminaison soit ajouté',
  3468. '36.title': 'Noeud A: inutil (mode lent)',
  3469. '36.problem': 'Les segments de part et d\'autres du nœud A ont les mêmes propriétés',
  3470. '36.solution': 'Sélectionner le nœud A et appuyer sur Suppr pour fusionner les 2 segments',
  3471. '37.title': 'Noeud B: inutil (mode lent)',
  3472. '37.problem': 'Les segments de part et d\'autres du nœud B ont les mêmes propriétés',
  3473. '37.solution': 'Sélectionner le nœud B et appuyer sur Suppr pour fusionner les 2 segments',
  3474. '38.problemLink': 'W:Les_fermetures_programmées#Segments',
  3475. '38.title': 'Fermetures programmées périmées (mode lent)',
  3476. '38.problem': 'Il y a des fermetures programmées périmées sur ce segment',
  3477. '38.solution': 'Cliquer \'Modifier les restrictions\' et supprimer les restrictions périmées',
  3478. '39.problemLink': 'W:Les_fermetures_programmées#Restriction_de_tourner',
  3479. '39.title': 'Restrictions de tourner périmés (mode lent)',
  3480. '39.problem': 'Il y a des restrictions de tourner périmées sur ce nœud de jonction',
  3481. '39.solution': 'Cliquer l\'icône horloge accolée à la flèche jaune et supprimer les restrictions périmées',
  3482. '41.title': 'Noeud A: Autorisation en sens interdit',
  3483. '41.problem': 'Au nœud A il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3484. '41.solution': 'Passer le segment à double sens, corriger la flèche au nœud A puis repasser en sens unique',
  3485. '42.title': 'Noeud B: Autorisation en sens interdit',
  3486. '42.problem': 'Au nœud B il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3487. '42.solution': 'Passer le segment à double sens, corriger la flèche au nœud B puis repasser en sens unique',
  3488. '43.title': 'Connecté à lui-même',
  3489. '43.problem': 'Le segment est connecté à lui même',
  3490. '43.solution': 'Couper le segment en deux',
  3491. '44.title': 'Pas ne connexion sortante',
  3492. '44.problem': 'Le segment carrossable n\'a pas de connexion sortante',
  3493. '44.solution': 'Activer au moins une connexion sortante = une flèche verte',
  3494. '45.title': 'Pas de connexion entrante',
  3495. '45.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante',
  3496. '45.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte)',
  3497. '46.title': 'Noeud A: Pas de connexion entrante pour le segment (mode lent)',
  3498. '46.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud A',
  3499. '46.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud A',
  3500. '47.title': 'Noeud B: Pas de connexion entrante pour le segment (mode lent)',
  3501. '47.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud B',
  3502. '47.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud B',
  3503. '48.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3504. '48.title': 'Segment de rond-point à double sens',
  3505. '48.problem': 'Segment de rond-point à double sens de circulation',
  3506. '48.solution': 'Refaire le rond-point',
  3507. '50.solutionLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3508. '50.title': 'Pas de connectivité sur le rond-point (mode lent)',
  3509. '50.problem': 'Le segment du rond-point n\'a pas de connectivité avec le segment adjacent',
  3510. '50.solution': 'Autoriser un virage vers le segment adjacent = Corriger la flèche rouge',
  3511. '57.enabled': true,
  3512. '57.title': 'Nom de ville sur une rampe',
  3513. '57.problem': 'Un Nom de ville sur une rampe peu affecter la recherche dans Waze',
  3514. '57.solution': 'Cocher la case \'Sans\' pour ville',
  3515. '59.enabled': true,
  3516. '59.title': 'Nom de ville sur Freeway',
  3517. '59.problem': 'Un nom de ville sur les segment Freeway provoque des incohérence des polygones Ville',
  3518. '59.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum',
  3519. '74.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3520. '74.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3521. '74.title': 'Noeud A: Plusieurs segments connectés',
  3522. '74.problem': 'La jonction A du rond-point est connectée à plusieurs segments',
  3523. '74.solution': 'Refaire le rond-point',
  3524. '77.title': 'Demi-tour autorisé',
  3525. '77.problem': 'L\'impasse carrossable à un demi-tour autorisé à son extrémité',
  3526. '77.solution': 'Éventuellement Interdire le demi-tour',
  3527. '78.title': 'Mêmes extrémités des segments carrossables (mode lent)',
  3528. '78.problem': 'Deux segments carrossables partagent les deux mêmes extrémités',
  3529. '78.solution': 'Diviser le segment. Vous pouvez également supprimer l\'un des segments si ils sont identiques',
  3530. '79.title': 'Demi-tour trop court (mode lent)',
  3531. '79.problem': 'Le segment fait moins de 15m si nécessaire Waze ne proposera pas de demi-tour',
  3532. '79.solution': 'Agrandisseur le segment à 15m mini (si le demi-tour est autorisé)',
  3533. '87.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3534. '87.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3535. '87.title': 'Noeud A: Plusieurs sorties au rond-point',
  3536. '87.problem': 'La jonction A du rond-point est connectée à plusieurs segments sortant',
  3537. '87.solution': 'Refaire le rond-point',
  3538. '99.title': 'Demi-tour à l\'entrée du rond-point (mode lent)',
  3539. '99.problem': 'Le segment d\'entrée du rond-point à un demi-tour autorisé',
  3540. '99.solution': 'Désactiver le demi-tour',
  3541. '101.title': 'Route fermée (seulement disponible dans le rapport)',
  3542. '101.problem': 'Le segment est marqué comme étant fermé',
  3543. '101.solution': 'Si la construction est terminée, restaurez la connectivité du segment et supprimez le suffixe',
  3544. '101.params': {'regexp': '/(^|\\b)travaux(\\b|$)/i'},
  3545. '102.title': 'Noeud A: Pas de connexion sortante (mode lent)',
  3546. '102.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud A',
  3547. '102.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud A',
  3548. '103.title': 'Noeud B: Pas de connexion sortante (mode lent)',
  3549. '103.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud B',
  3550. '103.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud B',
  3551. '104.title': 'Voie ferré utilisée pour des commentaires',
  3552. '104.problem': 'Le segment de voie ferré est probablement utilisé pour mettre un commentaire',
  3553. '104.solution': 'Supprimez le commentaire car les voies ferrée sont affichées pour le client',
  3554. '107.title': 'Noeud A: Pas de connexion (mode lent)',
  3555. '107.problem': 'Le noeud A du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3556. '107.solution': 'Connectez le noeud A à un segment à proximité ou le déplacer un peu plus loin',
  3557. '108.title': 'Noeud B: pas de connexion (mode lent)',
  3558. '108.problem': 'Le noeud B du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3559. '108.solution': 'Connectez le noeud B à un segment à proximité ou le déplacer un peu plus loin',
  3560. '109.title': 'Segment trop court',
  3561. '109.problem': 'Le segment carrossables non-terminal est de moins de 2m de long, il est difficile de le voir sur la carte',
  3562. '109.solution': 'Augmentez sa taille, supprimez le ou connectez le à un segment adjacent',
  3563. '112.title': 'Plus de ${n} lettres en trop pour le nom de la rampe',
  3564. '112.problem': 'Le nom de la rampe est trop long',
  3565. '112.solution': 'Renommez de façon plus courte le nom de la rampe',
  3566. '114.title': 'Noeud A: non carrossable connecté à un carrossable (mode lent)',
  3567. '114.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud A',
  3568. '114.solution': 'Déconnectez le noeud A de tous les segments carrossables',
  3569. '115.title': 'Noeud B: non carrossable connecté à un carrossable (mode lent)',
  3570. '115.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud B',
  3571. '115.solution': 'Déconnectez le noeud B de tous les segments carrossables',
  3572. '116.title': 'Élévation hors de portée',
  3573. '116.problem': 'L\'élévation est en dehors des limites habituelle',
  3574. '116.solution': 'Corrigez l\'élévation',
  3575. '117.title': 'Obsolete CONST ZN marker',
  3576. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  3577. '117.solution': 'Change CONST ZN to (closed)',
  3578. '118.title': 'Noeud A: Chevauchement des segments (mode lent)',
  3579. '118.problem': 'Le segment se chevauche avec le segment adjacent au noeud A',
  3580. '118.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud A',
  3581. '119.title': 'Noeud B: Chevauchement des segments (mode lent)',
  3582. '119.problem': 'Le segment se chevauche avec le segment adjacent au noeud B',
  3583. '119.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud B',
  3584. '120.title': 'Noeud A: Virage trop fort (mode lent)',
  3585. '120.problem': 'Le segment carrossable a un virage très fort au noeud A',
  3586. '120.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3587. '121.title': 'Noeud B: Virage trop fort (mode lent)',
  3588. '121.problem': 'Le segment carrossable a un virage très fort au noeud B',
  3589. '121.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3590. '128.title': 'Vérification personnalisée définie par l\'utilisateur (vert)',
  3591. '128.problem': 'Certaines des propriétés du segment sont à l\'encontre de la Regular Expression définie par l\'utilisateur (voir Paramètres→Personnaliser)',
  3592. '128.solution': 'Résoudre le problème',
  3593. '129.title': 'Vérification personnalisée définie par l\'utilisateur (bleu)',
  3594. '129.problem': 'Certaines des propriétés du segment sont à l\'encontre de la Regular Expression définie par l\'utilisateur (voir Paramètres→Personnaliser)',
  3595. '129.solution': 'Résoudre le problème',
  3596. '163.enabled': true,
  3597. '163.title': '\'Vers\' dans le nom de la rue',
  3598. '163.problem': 'Nom de rue contenant \'vers\'',
  3599. '163.solution': 'Renommer le segment selon les règles du wiki ou signaler sur le forum',
  3600. '163.solutionLink': 'W:Nommage_France#Nommage_des_entr.C3.A9es.2C_sorties_et_des_embranchements_d.27autoroutes',
  3601. '163.params':
  3602. {'titleEN': '\'Vers\' in Ramp name', 'problemEN': 'The Ramp name contains word \'vers\'', 'solutionEN': 'Rename the Ramp in accordance with the guidelines', 'regexp': '/(^|\\b)vers\\b/i'},
  3603. '170.enabled': true,
  3604. '170.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3605. '170.title': 'Majuscule dans le nom de rue',
  3606. '170.problem': 'Le nom de la rue commence par une miniscule',
  3607. '170.solution': 'Passer la première lettre en majuscule',
  3608. '171.enabled': true,
  3609. '171.title': 'Abréviation dans le nom de rue',
  3610. '171.problem': 'Abréviation indésirable dans le nom de rue',
  3611. '171.solution': 'Écrire le mot abréger en toute lettre',
  3612. '171.params': {
  3613. 'regexp':
  3614. '/((^| )([Ss]t-|[Ss]te-))|((^| )([Ss]t|[Ss]te|[Mm]al(?! Assis)|[Gg]al|[Aa]v|[Bb]lvd|[Ii]mp|[Pp]l|[Ss]q|[Aa]ll|[Bb][Dd])($| ))|((^| )(?!(Z\\.I|Z\\.A|Z\\.A\\.C|C\\.C|S\\.N\\.C\\.F|R\\.E\\.R)\\.)[^ ]+\\.)/'
  3615. },
  3616. '172.title': 'Nom de rue avec des espaces inutiles',
  3617. '172.problem': 'Double espace dans le nom de rue',
  3618. '172.problemLink': 'W:Comment_nommer_les_routes_et_les_villes',
  3619. '172.solution': 'Supprimer les espaces inutiles',
  3620. '173.enabled': false,
  3621. '173.title': 'Nom de rue sans espace avant ou après une abrévation',
  3622. '173.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jan\') une abrévation dans le nom de rue',
  3623. '173.solution': 'Ajouter un espace avant/après l\'abrévation',
  3624. '174.enabled': true,
  3625. '174.title': 'Mauvais orthographe',
  3626. '174.problem': 'Mauvais orthographe qui provoque une mauvaise prononciation',
  3627. '174.solution': 'Corriger l\'orthographe (É = Alt-144 etc)',
  3628. '174.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3629. '174.params': {
  3630. 'regexp':
  3631. '/(^|\\b)(allee|acces|chateau|ecole|egalit[eé]|[eé]galite|eglise|etang|gen[eé]ral|g[eé]neral|hotel|hopital|marechal|president|republique|ocean|ev[eê]ch[eé]|[eé]vech[eé]|[eé]v[eê]che|periphérique|elodie|etienne|eric|emile|emilie|edouard|elisabeth)/i'
  3632. },
  3633. '175.title': 'Nom de rue avec uniquement des espaces',
  3634. '175.problem': 'Le nom de la rue n\'a que des espaces',
  3635. '175.solution': 'Dans les propriétés de l\'adresse, cocher \'Sans\' pour le nom de la rue et cliquer sur \'Appliquer\' OU entrer un nom de rue approprié',
  3636. '190.title': 'Minuscule dans le nom de ville',
  3637. '190.problem': 'Le nom de ville commence avec une lettre en majuscule',
  3638. '190.solution': 'Utilisé ce formulaire pour renommer la ville',
  3639. '192.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3640. '192.solutionLink': 'F:t=29403',
  3641. '192.title': 'Nom de ville avec des espaces inutiles',
  3642. '192.problem': 'Double espace dans le nom de ville',
  3643. '192.solution': 'Utiliser le formulaire suivant pour faire une demande de modification',
  3644. '193.enabled': false,
  3645. '193.title': 'Nom de bille sans espace avant ou après une abrévation',
  3646. '193.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jana\') une abrévation dans le nom de rue',
  3647. '193.solution': 'Utiliser ce formulaire pour renommer la ville',
  3648. '200.problemLink': 'W:Soft_et_hard_turns',
  3649. '200.solutionLink': 'W:Soft_et_hard_turns#Bonnes_pratiques',
  3650. '200.title': 'Noeud A: Autorisation de tourner non confirmée',
  3651. '200.problem': 'Le segment carrossable à une autorisation de tourner non confirmée au noeud A',
  3652. '200.solution': 'Cliquer l\'autorisation de tourner avec un ? violet pour la confirmer. Il peut être nécessaire de passer les sens unique à double sens pour afficher des flèches cachées'
  3653. },
  3654. 'ES': {
  3655. '.codeISO': 'ES',
  3656. '.country': [
  3657. 'Spain', 'Andorra', 'Bolivia', 'Costa Rica', 'Colombia', 'Cuba', 'Dominican Republic', 'Ecuador', 'Equatorial Guinea', 'Guatemala', 'Honduras', 'Nicaragua', 'Panama', 'Peru', 'Paraguay',
  3658. 'El Salvador', 'Uruguay', 'Venezuela'
  3659. ],
  3660. '.author': 'robindlc and fernandoanguita',
  3661. '.updated': '2014-08-30',
  3662. '.lng': ['ES', 'ES-419', 'GL'],
  3663. 'city.consider': 'considerar este nombre de ciudad:',
  3664. 'city.1': 'nombre de ciudad demasiado corto',
  3665. 'city.2': 'expandir la abreviación',
  3666. 'city.3': 'completar nombre corto',
  3667. 'city.4': 'completar nombre de ciudad',
  3668. 'city.5': 'corregir mayúsculas',
  3669. 'city.6': 'comprobar orden de palabras',
  3670. 'city.7': 'comprobar abreviaciones',
  3671. 'city.8a': 'añadir nombre de país',
  3672. 'city.8r': 'eliminar nombre de país',
  3673. 'city.9': 'comprobar nombre de país',
  3674. 'city.10a': 'añadir palabra',
  3675. 'city.10r': 'eliminar palabra',
  3676. 'city.11': 'añadir código de país',
  3677. 'city.12': 'nombres idénticos, pero ciudades con diferentes IDs',
  3678. 'city.13a': 'añadir espacio',
  3679. 'city.13r': 'eliminar espacio',
  3680. 'city.14': 'revisar el número',
  3681. 'props.skipped.title': 'El segmento no está revisado',
  3682. 'props.skipped.problem': 'El segmento se modificó después del 01-05-2014 Y está bloqueado por ti, por lo que Validator no lo revisó',
  3683. 'err.regexp': 'Error al analizar la opción de revisión #${n}:',
  3684. 'props.disabled': 'WME Validator deshabilitado',
  3685. 'props.limit.title': 'Demasiados problemas notificados',
  3686. 'props.limit.problem': 'Hay demasiados problemas notificados, puede que no se muestren todos',
  3687. 'props.limit.solution': 'Deselecciona el segmento y detiene el proceso de escaneo. Luego pincha el botón con la \'✘\' roja (Limpiar Reporte)',
  3688. 'props.reports': 'informes',
  3689. 'props.noneditable': 'No puedes editar este segmento',
  3690. 'report.save': 'Guardar este informe',
  3691. 'report.list.andUp': 'y subiendo',
  3692. 'report.list.severity': 'Severidad:',
  3693. 'report.list.reportOnly': 'sólo en el informe',
  3694. 'report.list.forEditors': 'Para editores nivel:',
  3695. 'report.list.forCountries': 'Para paises:',
  3696. 'report.list.forStates': 'Para estados:',
  3697. 'report.list.forCities': 'Para ciudades:',
  3698. 'report.list.params': 'Parámetros para configurar en el paquete de localización:',
  3699. 'report.list.params.set': 'Parámetros ajustados en el paquete de localización:',
  3700. 'report.list.enabled': '${n} revisiones están habilitadas para',
  3701. 'report.list.disabled': '${n} revisiones están deshabilitadas para',
  3702. 'report.list.total': 'Hay ${n} revisiones disponibles',
  3703. 'report.list.title': 'Lista Completa de Revisiones para',
  3704. 'report.list.see': 'Ver',
  3705. 'report.list.checks': 'Configuración>Acerca>Revisiones disponibles',
  3706. 'report.list.fallback': 'Reglas de Localización de respaldo:',
  3707. 'report.and': 'y',
  3708. 'report.segments': 'Número total de segmentos revisados:',
  3709. 'report.customs': 'Revisiones personalizadas combinadas (verde/azul):',
  3710. 'report.reported': 'Reportados',
  3711. 'report.errors': 'errores',
  3712. 'report.warnings': 'advertencias',
  3713. 'report.notes': 'notas',
  3714. 'report.contents': 'Contenidos:',
  3715. 'report.summary': 'Resumen',
  3716. 'report.title': 'Informe de WME Validator',
  3717. 'report.share': 'para Compartir',
  3718. 'report.generated.by': 'generado por',
  3719. 'report.generated.on': 'activo',
  3720. 'report.source': 'Fuente del informe:',
  3721. 'report.filter.duplicate': 'segmentos duplicados',
  3722. 'report.filter.streets': 'Calles y Calles de Servicio',
  3723. 'report.filter.other': 'Otros conducibles y no conducibles',
  3724. 'report.filter.noneditable': 'segmentos no-editables',
  3725. 'report.filter.notes': 'notas',
  3726. 'report.filter.title': 'Filtro:',
  3727. 'report.filter.excluded': 'están excluidos de este informe.',
  3728. 'report.search.updated.by': 'actualizado por',
  3729. 'report.search.updated.since': 'actualizado desde',
  3730. 'report.search.city': 'desde',
  3731. 'report.search.reported': 'reportado como',
  3732. 'report.search.title': 'Búsqueda:',
  3733. 'report.search.only': 'sólo segmentos',
  3734. 'report.search.included': 'están incluídos en el informe.',
  3735. 'report.beta.warning': '¡Advertencia WME Beta!',
  3736. 'report.beta.text': 'Este informe se genera en WME Beta con permalinks beta.',
  3737. 'report.beta.share': 'Por favor no comparta estos permalinks!',
  3738. 'report.size.warning':
  3739. '<b>¡Advertencia!</b><br> El informe tiene ${n} caracteres, por lo que <b>no cabrá</b> en un mensaje de foro o privado.\n<br>Por favor agrega <b>más filtros</b> para reducir el tamaño del informe.',
  3740. 'report.note.limit': '* Nota: había demasiados problemas reportados, por lo que algunos de ellos no se incluyen en el resumen.',
  3741. 'report.forum': 'Para motivar futuros desarrollos, por favor deje su mensaje en el',
  3742. 'report.thanks': 'Gracias por usar WME Validator!',
  3743. 'msg.limit.segments': 'Hay demasiados segmentos.\n\nPincha \'Mostrar informe\' para revisar el informe, luego\n',
  3744. 'msg.limit.segments.continue': 'pincha \'▶\' para continuar.',
  3745. 'msg.limit.segments.clear': 'pulsa \'✘\' para borrar el informe.',
  3746. 'msg.pan.text': 'Desplaza el mapa para validarlo',
  3747. 'msg.zoomout.text': 'Aleja el zoom\tpara iniciar WME Validator',
  3748. 'msg.click.text': 'Pincha \'▶\' para validar el área visible del mapa',
  3749. 'msg.autopaused': 'autopausado',
  3750. 'msg.autopaused.text': '¡Autopausado! Pincha \'▶\' para continuar.',
  3751. 'msg.autopaused.tip': 'WME Validator automáticamente pausó al arrastrar el mapa o cambiar el tamaño de la ventana',
  3752. 'msg.finished.text': 'Pincha <b>\'Mostrar informe\'</b> para ver los problemas del mapa',
  3753. 'msg.finished.tip': 'Pincha el botón \'✉\' (Compartir) para publicar el informe en un \nforo o en un mensaje privado',
  3754. 'msg.noissues.text': '¡Terminado! ¡No se encontraron problemas!',
  3755. 'msg.noissues.tip': '¡Trata de deseleccionar algunas opciones de filtro o inicia WME Validator sobre otra zona del mapa!',
  3756. 'msg.scanning.text': '¡Escaneando! Finalizando en ~ ${n} minutos',
  3757. 'msg.scanning.text.soon': '¡Escaneando! ¡Finalizando en un minuto!',
  3758. 'msg.scanning.tip': 'Pincha el botón \'Pausa\' para pausar o \'■\' para detener',
  3759. 'msg.starting.text': '¡Comenzando! ¡Las capas están desactivadas para escanear más rápido!',
  3760. 'msg.starting.tip': 'Usa el botón \'Pausa\' para pausar o el botón \'■\' para detener',
  3761. 'msg.paused.text': '¡En pausa! Pincha el botón \'▶\' para continuar.',
  3762. 'msg.paused.tip': 'Para ver el informe pincha el botón \'Mostrar informe\' (si está disponible)',
  3763. 'msg.continuing.text': '¡Continuando!',
  3764. 'msg.continuing.tip': 'WME Validator continuará desde la ubicación en que fue pausado',
  3765. 'msg.settings.text': 'Pincha <b>\'Atrás\'</b> para retornar a la vista principal',
  3766. 'msg.settings.tip': 'Pincha el botón \'Restaurar valores predeterminados\' para resetear todos los parámetros en un clic!',
  3767. 'msg.reset.text': 'Todas las opciones de filtro y configuración han sido reseteadas a sus valores por defecto',
  3768. 'msg.reset.tip': 'Pincha el botón \'Atrás\' para retornar a la vista principal',
  3769. 'msg.textarea.pack': 'Por favor copia el texto abajo y luego pégalo en el nuevo archivo <b>.user.js</b>',
  3770. 'msg.textarea': 'Por favor copia el texto abajo y luego pégalo en tu publicación del foro o mensaje privado',
  3771. 'noaccess.text':
  3772. '<b>Lo sentimos,</b><br> No puedes usar WME Validator\taquí.<br>Por favor revisa <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488\'>el hilo del foro</a><br>para más información.',
  3773. 'noaccess.tip': 'Por favor revisa el hilo del foro para más información!',
  3774. 'tab.switch.tip.on': 'Pincha para activar el resaltado',
  3775. 'tab.switch.tip.off': 'Pincha para desactivar el resaltado',
  3776. 'tab.filter.text': 'filtro',
  3777. 'tab.filter.tip': 'Opciones para filtrar el informe y los segmentos resaltados',
  3778. 'tab.search.text': 'buscar',
  3779. 'tab.search.tip': 'Opciones de filtro avanzadas para incluir sólo segmentos específicos',
  3780. 'tab.help.text': 'ayuda',
  3781. 'tab.help.tip': '¿Necesitas ayuda?',
  3782. 'filter.noneditables.text': 'Excluir segmentos <b>no-editables</b>',
  3783. 'filter.noneditables.tip': 'No reportar segmentos bloqueados o \nsegmentos fuera de su área de edición',
  3784. 'filter.duplicates.text': 'Excluir segmentos <b>duplicados</b>',
  3785. 'filter.duplicates.tip': 'No mostrar el mismo segmento en diferentes \npartes del reporte\n* Nota: esta opción NO AFECTA el resaltado',
  3786. 'filter.streets.text': 'Excluir <b>Calles y Vías de Servicio</b>',
  3787. 'filter.streets.tip': 'No reportar Calles y Vías de Servicio',
  3788. 'filter.other.text': 'Excluir <b>otros conducibles y no-conducibles</b>',
  3789. 'filter.other.tip': 'No reportar Caminos de Tierra, Vías de Estacionamiento y Caminos Privados\ny no-conducibles',
  3790. 'filter.notes.text': 'Excluir <b>notas</b>',
  3791. 'filter.notes.tip': 'Reportar sólo advertencias y errores',
  3792. 'search.youredits.text': 'Incluir <b>sólo tus ediciones</b>',
  3793. 'search.youredits.tip': 'Incluir sólo los segmentos editados por ti',
  3794. 'search.updatedby.text': '<b>Actualizado por:</b>',
  3795. 'search.updatedby.tip':
  3796. 'Incluir sólo segmentos actualizados por el editor especificado\nEste campo soporta:\n - listas: yo, OtrosEditores\n - comodines: palabra*\n - negación: !yo, *\n* Nota: puedes usar \'me\' para indicarte a ti mismo',
  3797. 'search.updatedby.example': 'Ejemplo: me',
  3798. 'search.updatedsince.text': '<b>Actualizado desde:</b>',
  3799. 'search.updatedsince.tip': 'Incluir sólo segmentos editados desde la fecha especificada formato de fecha\nFirefox: AAAA-MM-DD',
  3800. 'search.updatedsince.example': 'AAAA-MM-DD',
  3801. 'search.city.text': '<b>Nombre de ciudad:</b>',
  3802. 'search.city.tip': 'Incluir sólo segmentos con el nombre de ciudad especificado\nEste campo soporta:\n - listas: Paris, Meudon\n - comodines: Área * Mayor\n - negación: !Paris, *',
  3803. 'search.city.example': 'Ejemplo: !Paris, *',
  3804. 'search.checks.text': '<b>Reportado como:</b>',
  3805. 'search.checks.tip':
  3806. 'Incluir sólo segmentos reportados como específicos\nEste campo empareja:\n - severidades: errores\n - revisar nombres: Calle nueva\n - revisar IDs: 40\nEste campo soporta:\n - listas: 36, 37\n - comodines: *rotonda*\n - negación: !giros suaves*, *',
  3807. 'search.checks.example': 'Ejemplo: inverso*',
  3808. 'help.text':
  3809. ' <b>Hilos de Ayuda:</b><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=666476#p666476\'>F.A.Q.</a><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488\'>Consulta tu duda en el foro</a><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=661300#p661185\'>Como ajustar Validator para tu país</a><br><a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=663286#p663286\'>Acerca de \'Puede ser un nombre de Ciudad incorrecto\'</a>',
  3810. 'help.tip': 'Abrir en una nueva pestaña del explorador',
  3811. 'button.scan.tip': 'Comenzar escaneo del área del mapa actual \n* Nota: esto puede tomar unos minutos',
  3812. 'button.scan.tip.NA': 'Aleja el zoom para comenzar a escanear el área del mapa actual',
  3813. 'button.pause.tip': 'Pausar escaneo',
  3814. 'button.continue.tip': 'Continuar escaneando el área del mapa',
  3815. 'button.stop.tip': 'Detener el escaneo y volver a la posición de inicio',
  3816. 'button.clear.tip': 'Borrar informe y caché de segmentos',
  3817. 'button.clear.tip.red': 'Hay demasiados segmentos reportados:\n 1. Pincha \'Mostrar informe\' para generar informe.\n 2. Pincha este botón para borrar el informe y comenzar de nuevo.',
  3818. 'button.report.text': 'Mostrar informe',
  3819. 'button.report.tip': 'Aplicar el filtro y generar informe HTML en una nueva pestaña',
  3820. 'button.BBreport.tip': 'Compartir el informe en el foro Waze o en un mensaje privado',
  3821. 'button.settings.tip': 'Configurar ajustes',
  3822. 'tab.custom.text': 'personalizado',
  3823. 'tab.custom.tip': 'Ajustes de revisión personalizados definidos por el usuario',
  3824. 'tab.settings.text': 'Ajustes',
  3825. 'tab.scanner.text': 'escanear',
  3826. 'tab.scanner.tip': 'Ajustes de escaneo de mapa',
  3827. 'tab.about.text': 'acerca de</span>',
  3828. 'tab.about.tip': 'Acerca de WME Validator',
  3829. 'scanner.sounds.text': 'Habilitar sonidos',
  3830. 'scanner.sounds.tip': 'Pitidos y sonidos mientras escanea',
  3831. 'scanner.sounds.NA': 'Su navegador no admite AudioContext',
  3832. 'scanner.highlight.text': 'Resalta problemas en el mapa',
  3833. 'scanner.highlight.tip': 'Resalta problemas reportados en el mapa',
  3834. 'scanner.slow.text': 'Activa \'slow\' verificaciones',
  3835. 'scanner.slow.tip': 'Activa análisis profundo del mapa\n* Nota: esta opción puede ralentizar el proceso de escaneo',
  3836. 'scanner.ext.text': 'Informa de resaltados externos',
  3837. 'scanner.ext.tip': 'Informa de segmentos resaltados por WME Toolbox o WME Color Highlights',
  3838. 'custom.template.text': 'Plantilla personalizada',
  3839. 'custom.template.tip':
  3840. 'Plantilla para comprobaciones definidas por el usuario.\n\nPuede usar las siguientes variables expandibles:\n${country}, ${state}, ${city}, ${street},\n${country}, ${state}, ${city}, ${street},\n${altCity[index or delimeter]} Example: ${altCity[0]},\n${altStreet[index or delimeter]} Example: ${altStreet[##]},\n${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},\n${length}, ${ID}, ${roundabout}, ${hasHNs},\n${drivable}, ${softTurns}, ${Uturn}, ${deadEnd},\n${segmentsA}, ${inA}, ${outB}, ${UturnA},\n${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  3841. 'custom.template.example': 'Ejemplo: ${street}',
  3842. 'custom.regexp.text': 'Personalizado <a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a>',
  3843. 'custom.regexp.tip':
  3844. 'Expresión regular de comprobación personalizada definida por el usuario para que coincida con la plantilla.\n\nCase-insensitive match: /regexp/i\nNegation (do not match): !/regexp/\nLog debug information on console: D/regexp/',
  3845. 'custom.regexp.example': 'Ejemplo: !/.+/',
  3846. 'about.tip': 'Pincha \'actualizar\' para abrir el hilo del foro en una pestaña nueva',
  3847. 'button.reset.text': 'Restablecer predeterminados',
  3848. 'button.reset.tip': 'Revertir opciones de filtro y ajustes a sus valores predeterminados',
  3849. 'button.list.text': 'Comprobaciones disponibles...',
  3850. 'button.list.tip': 'Muestra una lista de las comprobaciones disponibles en WME Validator',
  3851. 'button.wizard.tip': 'Crear paquete de localización',
  3852. 'button.back.text': 'Atrás',
  3853. 'button.back.tip': 'Cerrar configuración y volver a la vista principal',
  3854. '1.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3855. '1.title': 'WME Toolbox: Rotonda que puede causar problemas',
  3856. '1.problem': 'Los números de identificación de los puntos de unión de los segmentos de la rotonda no son consecutivos',
  3857. '1.solution': 'Rehacer la rotonda',
  3858. '2.title': 'WME Toolbox: Segmento Simple',
  3859. '2.problem': 'El segmento tiene nodos de geometría innecesarios',
  3860. '2.solution': 'Simplifica la geometría del segmento pasando el puntero del ratón por encima y pulsando la tecla \'d\'',
  3861. '3.title': 'WME Toolbox: Bloqueo nivel 2',
  3862. '3.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3863. '4.title': 'WME Toolbox: Bloqueo nivel 3',
  3864. '4.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3865. '5.title': 'WME Toolbox: Bloqueo nivel 4',
  3866. '5.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3867. '6.title': 'WME Toolbox: Bloqueo nivel 5',
  3868. '6.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3869. '7.title': 'WME Toolbox: Bloqueo nivel 6',
  3870. '7.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3871. '8.title': 'WME Toolbox: Numeros de casas',
  3872. '8.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3873. '9.title': 'WME Toolbox: Segmento con restricciones de tiempo',
  3874. '9.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3875. '13.title': 'WME Colour Highlights: Bloqueo de editor',
  3876. '13.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3877. '14.title': 'WME Colour Highlights: Peaje / Vía de sentido único',
  3878. '14.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3879. '15.title': 'WME Colour Highlights: Editado recientemente',
  3880. '15.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3881. '16.title': 'WME Colour Highlights: Rango de vías',
  3882. '16.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3883. '17.title': 'WME Colour Highlights: Sin ciudad',
  3884. '17.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3885. '18.title': 'WME Colour Highlights: Restricción horaria / Tipo de vía resaltado',
  3886. '18.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3887. '19.title': 'WME Colour Highlights: Sin nombre',
  3888. '19.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3889. '20.title': 'WME Colour Highlights: Filtro por ciudad',
  3890. '20.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3891. '21.title': 'WME Colour Highlights: Filtro por ciudad (alt. ciudad)',
  3892. '21.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3893. '22.title': 'WME Colour Highlights: Filtro por editor',
  3894. '22.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3895. '23.title': 'Segmento no confirmado',
  3896. '23.problem': 'Cada segmento debe tener al menos el nombre del país o estado',
  3897. '23.solution': 'Confirma la vía actualizando sus detalles',
  3898. '24.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3899. '24.title': 'Puede haber nombre incorrecto de ciudad (sólo disponible en el informe)',
  3900. '24.problem': 'El segmento puede tener un nombre de ciudad incorrecto',
  3901. '24.solution': 'Considera el nombre de ciudad sugerido y use este formulario para renombrar la ciudad',
  3902. '25.title': 'Dirección del segmento marcada como desconocida',
  3903. '25.problem': 'La dirección del segmento \'Desconocida\' no impedirá enrutar por la vía',
  3904. '25.solution': 'Fijar la dirección de la vía',
  3905. '27.enabled': true,
  3906. '27.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3907. '27.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3908. '27.title': 'Nombre de ciudad en vía férrea',
  3909. '27.problem': 'Poner nombres de ciudad en la vía férrea puede generar ciudades manchadas',
  3910. '27.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3911. '28.problemLink': 'W:Puntos_de_Unión._Guía_de_estilo#Bifurcaciones_de_rampas',
  3912. '28.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3913. '28.title': 'Nombre de calle en una rampa bidireccional',
  3914. '28.problem': 'Si la rampa no tiene nombre, el nombre del segmento siguiente se propagará hacia atrás',
  3915. '28.solution': 'En la caja de propiedades de la dirección, marca la casilla \'Ninguno\' en el nombre de la calle y haz clic en \'Aplicar\'',
  3916. '29.problemLink': 'W:Crear_y_editar_rotondas#Creaci.C3.B3n_de_una_rotonda_a_partir_de_una_intersecci.C3.B3n',
  3917. '29.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3918. '29.title': 'Nombre de calle en rotonda',
  3919. '29.problem': 'En Waze, no nombramos los segmentos de las rotondas',
  3920. '29.solution':
  3921. 'En la caja de propiedades de la dirección, marca la casilla \'Ninguno\' en el nombre de la calle y haz clic en \'Aplicar\' y después crea un punto de interés tipo \'intersección / intercambio\' para nombrar la rotonda',
  3922. '34.title': 'Nombre de calle alternativo vacío',
  3923. '34.problem': 'El nombre de calle alternativo está vacío',
  3924. '34.solution': 'Borrar el nombre alternativo de calle vacío',
  3925. '35.title': 'Segmento de vía sin terminar',
  3926. '35.problem': 'Waze no enrutará desde un segmento sin terminar',
  3927. '35.solution': 'Mover un poco el segmento para que el extremo sin terminar sea añadido automáticamente al punto de unión',
  3928. '36.title': 'Punto de unión A innecesario (slow)',
  3929. '36.problem': 'Los segmentos adyacentes al punto de unión A son idénticos',
  3930. '36.solution': 'Selecciona el punto de unión A y pulsa la tecla borrar para unir los dos segmentos',
  3931. '37.title': 'Punto de unión B innecesario (slow)',
  3932. '37.problem': 'Los segmentos adyacentes al punto de unión B son idénticos',
  3933. '37.solution': 'Selecciona el punto de unión B y pulsa la tecla borrar para unir los dos segmentos',
  3934. '38.problemLink': 'W:Restricciones_horarias#En_segmentos',
  3935. '38.title': 'Restricción de segmento caducada (slow)',
  3936. '38.problem': 'El segmento tiene una restricción caducada',
  3937. '38.solution': 'Hacer clic en \'Editar restricciones\' y borrar la restricción caducada',
  3938. '39.problemLink': 'W:Restricciones_horarias#En_giros',
  3939. '39.title': 'Restricción de giro caducada (slow)',
  3940. '39.problem': 'El segmento tiene un giro con una restricción caducada',
  3941. '39.solution': 'Hacer clic en el icono de reloj cerca de la flecha amarilla y borrar la restricción caducada',
  3942. '41.title': 'Conectividad inversa en punto de unión A del segmento',
  3943. '41.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión A del segmento',
  3944. '41.solution': 'Hacer el segmento \'bidireccional\', restringir todos los giros en el punto de unión A y luego hacer el segmento \'Unidireccional (A→B)\' nuevamente',
  3945. '42.title': 'Conectividad inversa en punto de unión B del segmento',
  3946. '42.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión B del segmento',
  3947. '42.solution': 'Hacer el segmento \'bidireccional\', restringir todos los giros en el punto de unión B y luego hacer el segmento \'Unidireccional (B→A)\' nuevamente',
  3948. '43.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  3949. '43.title': 'Auto conectividad',
  3950. '43.problem': 'El segmento está conectado a si mismo',
  3951. '43.solution': 'Divide el segmento en TRES partes',
  3952. '44.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3953. '44.title': 'Sin conexión de salida',
  3954. '44.problem': 'El segmento no tiene ningún giro de salida permitido',
  3955. '44.solution': 'Activa al menos un giro de salida desde el segmento',
  3956. '45.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3957. '45.title': 'Sin conexión de entrada',
  3958. '45.problem': 'El segmento no privado no tiene ningún giro de entrada permitido',
  3959. '45.solution': 'Selecciona un segmento adyacente y activa por lo menos un giro hacia el segmento',
  3960. '46.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3961. '46.title': 'Sin entrada en A (slow)',
  3962. '46.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión A',
  3963. '46.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión A',
  3964. '47.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3965. '47.title': 'Sin entrada en B (slow)',
  3966. '47.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión B',
  3967. '47.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión B',
  3968. '48.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3969. '48.title': 'Segmento de rotonda bidireccional',
  3970. '48.problem': 'El segmento de rotonda es bidireccional',
  3971. '48.solution': 'Rehacer la rotonda',
  3972. '50.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3973. '50.title': 'No hay conectividad en la rotonda (slow)',
  3974. '50.problem': 'El segmento de la rotonda no tiene conectividad con el segmento de rotonda siguiente',
  3975. '50.solution': 'Permitir un giro al segmento adyacente o rehacer la rotonda',
  3976. '57.enabled': true,
  3977. '57.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3978. '57.title': 'Nombre de ciudad en rampa con nombre',
  3979. '57.problem': 'Poner el nombre de ciudad en las rampas puede afectar a los resultados de búsqueda',
  3980. '57.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3981. '59.enabled': true,
  3982. '59.problemLink': 'W:Corrigiendo_ciudades_\'manchadas\'',
  3983. '59.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3984. '59.title': 'Nombre de Ciudad en Autopista',
  3985. '59.problem': 'Poner nombres de ciudad en la Autopista puede generar ciudades manchadas',
  3986. '59.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3987. '73.enabled': true,
  3988. '73.title': 'Menos de 3 caracteres de longitud en el nombre de la calle',
  3989. '73.problem': 'El nombre de la calle tiene una longitud de menos de 3 caracteres',
  3990. '73.solution': 'Corrige el nombre de la calle',
  3991. '74.problemLink': 'W:Crear_y_editar_rotondas',
  3992. '74.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3993. '74.title': 'Varios segmentos en el punto de unión A de la rotonda',
  3994. '74.problem': 'La rotonda tiene en el punto de unión A más de un segmento conectado',
  3995. '74.solution': 'Rehacer la rotonda',
  3996. '77.title': 'Calle sin salida con giro en U',
  3997. '77.problem': 'La calle sin salida tiene un giro en U habilitado',
  3998. '77.solution': 'Deshabilitar el giro en U',
  3999. '78.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  4000. '78.title': 'Segmentos con los mismos puntos de inicio y final (slow)',
  4001. '78.problem': 'Dos segmentos comparten los puntos de inicio y final',
  4002. '78.solution': 'Divide el segmento. También puedes borrar uno de los segmentos si son idénticos',
  4003. '79.title': 'Conector para giros en U demasiado corto (slow)',
  4004. '79.problem': 'La longitud del segmento es menor de 15 metros por lo que el giro en U no es posible',
  4005. '79.solution': 'Aumente la longitud del segmento',
  4006. '87.problemLink': 'W:Crear_y_editar_rotondas',
  4007. '87.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  4008. '87.title': 'Más de un segmento de salida en el punto de unión A de la rotonda',
  4009. '87.problem': 'La rotonda tiene en el punto de unión A más de un segmento de salida conectado',
  4010. '87.solution': 'Rehacer la rotonda',
  4011. '90.enabled': true,
  4012. '90.title': 'Segmento de Autopista bidireccional',
  4013. '90.problem': 'La mayoría de las Autopistas están separadas en dos vías de un sentido, por lo que este segmento bidireccional puede ser un error',
  4014. '90.solution': 'Revisar dirección de Autopista',
  4015. '99.title': 'Giro en U en la entrada de rotonda (slow)',
  4016. '99.problem': 'El segmento de entrada a la rotonda tiene un giro en U habilitado',
  4017. '99.solution': 'Deshabilitar el giro en U',
  4018. '101.enabled': false,
  4019. '101.title': 'Zona en construcción (sólo disponible en el informe)',
  4020. '101.problem': 'El segmento está marcado como zona de construcción',
  4021. '101.solution': 'Si la construcción está terminada, volver a conectar el segmento y borrar el sufijo',
  4022. '102.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4023. '102.title': 'Sin salida en A (slow)',
  4024. '102.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión A',
  4025. '102.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión A',
  4026. '103.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4027. '103.title': 'Sin salida en B (slow)',
  4028. '103.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión B',
  4029. '103.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión B',
  4030. '104.title': 'Vía férrea usada para comentarios',
  4031. '104.problem': 'El segmento de vía férrea es probablemente usado como comentario de mapa',
  4032. '104.solution': 'Borrar el comentario ya que las vías férreas serán añadidas al mapa del cliente',
  4033. '107.title': 'Sin conexión en punto de unión A (slow)',
  4034. '107.problem': 'El punto de unión A del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4035. '107.solution': 'Conectar el punto de unión A a un segmento cercano o separarlos un poco más',
  4036. '108.title': 'Sin conexión en punto de unión B (slow)',
  4037. '108.problem': 'El punto de unión B del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4038. '108.solution': 'Conectar el punto de unión B a un segmento cercano o separarlos un poco más',
  4039. '109.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Eliminar_un_punto_de_uni.C3.B3n',
  4040. '109.title': 'Segmento muy corto',
  4041. '109.problem': 'El segmento tiene menos de 2 metros de longitud, así que es difícil de ver en el mapa',
  4042. '109.solution': 'Aumentar la longitud, borrar el segmento, o unirlo a un segmento adyacente',
  4043. '112.title': 'Más de 55 caracteres en el nombre de la Rampa',
  4044. '112.problem': 'El nombre de la Rampa tiene más de 55 caracteres',
  4045. '112.solution': 'Acorta el nombre de la Rampa',
  4046. '114.enabled': false,
  4047. '114.title': 'No transitable conectada a transitable en el punto de unión A (slow)',
  4048. '114.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo A',
  4049. '114.solution': 'Desconecta el extremo A de todos los segmentos transitables',
  4050. '115.enabled': false,
  4051. '115.title': 'No transitable conectada a transitable en el punto de unión B (slow)',
  4052. '115.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo B',
  4053. '115.solution': 'Desconecta el extremo B de todos los segmentos transitables',
  4054. '116.title': 'Elevación fuera de rango',
  4055. '116.problem': 'La elevación del segmento está fuera de rango',
  4056. '116.solution': 'Corrige la elevación',
  4057. '117.enabled': false,
  4058. '117.title': 'Marcado obsoleto: CONST ZN',
  4059. '117.problem': 'El segmento está marcado con el sufijo obsoleto CONST ZN',
  4060. '117.solution': 'Cambiar CONST ZN a (closed)',
  4061. '118.title': 'Segmentos superpuestos en A (slow)',
  4062. '118.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión A',
  4063. '118.solution': 'Separa los dos segmentos al menos 2º o elimina el nodo de geometría innecesario o borra el segmento duplicado en el punto de unión A',
  4064. '119.title': 'Segmentos superpuestos en B (slow)',
  4065. '119.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión B',
  4066. '119.solution': 'Separa los dos segmentos al menos 2º o elimina el nodo de geometría innecesario o borra el segmento duplicado en el punto de unión B',
  4067. '120.title': 'Giro demasiado cerrado en A (slow)',
  4068. '120.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión A',
  4069. '120.solution': 'Desactiva el giro cerrado en el punto de unión A o considera separar los segmentos hasta un ángulo de 30°',
  4070. '121.title': 'Giro demasiado cerrado en B (slow)',
  4071. '121.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión B',
  4072. '121.solution': 'Desactiva el giro cerrado en el punto de unión B o considera separar los segmentos hasta un ángulo de 30°',
  4073. '128.title': 'Comprobación personalizada por el usuario 1',
  4074. '128.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4075. '128.solution': 'Resolver el problema',
  4076. '129.title': 'Comprobación personalizada por el usuario 2',
  4077. '129.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4078. '129.solution': 'Resolver el problema',
  4079. '130.enabled': true,
  4080. '130.severity': 'N',
  4081. '130.title': 'Nivel de bloqueo de Autopista incorrecto',
  4082. '130.problem': 'El segmento de Autopista no está bloqueado a nivel 4',
  4083. '130.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4084. '130.solution': 'Bloquear el segmento de Autopista a nivel 4',
  4085. '130.params':
  4086. {'titleEN': 'No lock on Freeway', 'problemEN': 'The Freeway segment should be locked to Lvl 4', 'solutionEN': 'Lock the segment', 'template': '${type}:${lock}', 'regexp': '/^3:[^4]/'},
  4087. '131.enabled': true,
  4088. '131.severity': 'N',
  4089. '131.title': 'No lock on Major Highway',
  4090. '131.problem': 'The Major Highway segment should be locked to Lvl 3',
  4091. '131.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4092. '131.solution': 'Lock the segment',
  4093. '131.params': {
  4094. 'titleEN': 'No lock on Major Highway',
  4095. 'problemEN': 'The Major Highway segment should be locked to Lvl 3',
  4096. 'solutionEN': 'Lock the segment',
  4097. 'template': '${type}:${lock}:${street}',
  4098. 'regexp': '/^6:[^3]:N-/'
  4099. },
  4100. '133.enabled': true,
  4101. '133.severity': 'N',
  4102. '133.title': 'No lock on Ramp',
  4103. '133.problem': 'The Ramp segment should be locked to Lvl 3',
  4104. '133.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4105. '133.solution': 'Lock the segment',
  4106. '133.params': {'titleEN': 'No lock on Ramp', 'problemEN': 'The Ramp segment should be locked to Lvl 3', 'solutionEN': 'Lock the segment', 'template': '${type}:${lock}', 'regexp': '/^4:[^3]/'},
  4107. '150.title': 'Nivel de bloqueo de Autopista incorrecto',
  4108. '150.problem': 'El segmento de Autopista no está bloqueado a nivel ${n}',
  4109. '150.solution': 'Bloquear el segmento de Autopista a nivel ${n}',
  4110. '169.title': 'Calle nombrada incorrectamente',
  4111. '169.problem': 'La calle tiene el nombre incorrecto, usando caracteres o palabras ilegales',
  4112. '169.solution': 'Renombre la calle de acuerdo a los criterios establecidos',
  4113. '170.enabled': true,
  4114. '170.title': 'Nombre de calle comienza con minúscula',
  4115. '170.problem': 'El nombre de la calle comienza con minúscula',
  4116. '170.solution': 'Escribir en mayúscula la primera letra del nombre',
  4117. '172.title': 'Nombre de calle con espacios innecesarios',
  4118. '172.problem': 'Espacio en blanco inicial/final o doble en el nombre de la calle',
  4119. '172.solution': 'Borrar los espacios innecesarios del nombre de Calle',
  4120. '173.enabled': false,
  4121. '173.title': 'Nombre de segmento sin espacio antes o después de una abreviación',
  4122. '173.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jan\') de una abreviación en el nombre del segmento',
  4123. '173.solution': 'Agregar un espacio antes/después de la abreviación',
  4124. '175.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  4125. '175.title': 'Nombre del segmento sólo con espacios',
  4126. '175.problem': 'El nombre del segmento sólo tiene espacios en blanco en el nombre',
  4127. '175.solution': 'En la caja de propiedades de la dirección, marca la casilla \'Ninguno\' en el nombre de la calle y haz clic en \'Aplicar\' o escribe un nombre de calle correcto',
  4128. '190.title': 'Nombre de ciudad con minúscula',
  4129. '190.problem': 'El nombre de la ciudad comienza con minúscula',
  4130. '190.solution': 'Utiliza este formulario para renombrar la ciudad',
  4131. '192.title': 'Nombre de Ciudad con espacios innecesarios',
  4132. '192.problem': 'Espacio en blanco inicial/final o doble en el nombre de la ciudad',
  4133. '192.solution': 'Use este formulario para renombrar la Ciudad',
  4134. '193.enabled': false,
  4135. '193.title': 'Nombre de Ciudad sin espacio delante o atrás de una abreviación',
  4136. '193.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jean\') de una abreviación en el nombre de la ciudad',
  4137. '193.solution': 'Use este formulario para renombrar la Ciudad',
  4138. '200.problemLink': 'W:Giros_implícitos_y_explícitos',
  4139. '200.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4140. '200.title': 'Unión A: Giro suave (implícito) en segmento',
  4141. '200.problem': 'El segmento tiene un giro no confirmado',
  4142. '200.solution': 'Haz clic en el giro indicado con un signo de interrogación color púrpura para confirmarlo. Nota: es posible que debas hacer el segmento bidireccional para ver todos los giros',
  4143. '201.problemLink': 'W:Giros_implícitos_y_explícitos',
  4144. '201.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4145. '201.title': 'Unión A: Giro suave (implícito) en segmento principal',
  4146. '201.problem': 'El segmento principal tiene un giro no confirmado',
  4147. '201.solution': 'Haz clic en el giro indicado con un signo de interrogación color púrpura para confirmarlo. Nota: es posible que debas hacer el segmento bidireccional para ver todos los giros'
  4148. },
  4149. 'DE': {
  4150. '.codeISO': 'DE',
  4151. '.country': 'Germany',
  4152. '59.enabled': true,
  4153. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4154. '90.enabled': true,
  4155. '110.enabled': true,
  4156. '150.enabled': true,
  4157. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen',
  4158. '214.params': {'regexp': '/^7|.+0$/'},
  4159. '215.params': {'regexp': '/^7|.+0$/'}
  4160. },
  4161. 'CZ': {
  4162. '.codeISO': 'CZ',
  4163. '.country': 'Czech Republic',
  4164. '27.enabled': true,
  4165. '52.enabled': true,
  4166. '73.enabled': true,
  4167. '90.enabled': true,
  4168. '105.enabled': true,
  4169. '150.enabled': true,
  4170. '150.problemLink': 'F:t=64980&p=572847#p572847',
  4171. '150.params': {'n': 4},
  4172. '151.enabled': true,
  4173. '151.problemLink': 'F:t=64980&p=572847#p572847',
  4174. '151.params': {'n': 4},
  4175. '152.enabled': true,
  4176. '152.problemLink': 'F:t=64980&p=572847#p572847',
  4177. '152.params': {'n': 4},
  4178. '153.enabled': true,
  4179. '153.problemLink': 'F:t=64980&p=572847#p572847',
  4180. '153.params': {'n': 4},
  4181. '154.enabled': true,
  4182. '154.problemLink': 'F:t=64980&p=572847#p572847',
  4183. '154.params': {'n': 3},
  4184. '170.enabled': true,
  4185. '170.params': {
  4186. 'regexp':
  4187. '/^(?!(alej|bratranců|bratří|bří|dr\\.|gen\\.|generála|kapitána|kpt\\.|krále|majora|mjr\\.|most|nábř\\.|nábřeží|nám\\.|náměstí|park|plk\\.|plukovníka|podplukovníka|por\\.|poručíka|pplk\\.|prap\\.|praporčíka|prof\\.|promenáda|sad|sady|sídl\\.|sídliště|tř\\.|třída|tunel|ul\\.|ulice|zahrada) [^a-z])[a-z]/'
  4188. }
  4189. },
  4190. 'CL': {'.codeISO': 'CL', '.country': 'Chile', '.fallbackCode': 'ES', '59.enabled': true, '150.enabled': true, '170.enabled': true, '200.enabled': false},
  4191. 'CH': {
  4192. '.codeISO': 'CH',
  4193. '.country': 'Switzerland',
  4194. '59.enabled': true,
  4195. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4196. '90.enabled': true,
  4197. '110.enabled': true,
  4198. '150.enabled': true,
  4199. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4200. },
  4201. 'BN': {
  4202. '.codeISO': 'BN',
  4203. '.country': 'Brunei',
  4204. '69.enabled': true,
  4205. '73.enabled': true,
  4206. '150.enabled': true,
  4207. '150.params': {'n': 2},
  4208. '151.enabled': true,
  4209. '151.params': {'n': 2},
  4210. '152.enabled': true,
  4211. '152.params': {'n': 2}
  4212. },
  4213. 'BG': {'.codeISO': 'BG', '.country': 'Bulgaria', '27.enabled': true},
  4214. 'BE': {
  4215. '.codeISO': 'BE',
  4216. '.country': 'Belgium',
  4217. '109.params': {'n': 6},
  4218. '150.enabled': true,
  4219. '150.problemLink': 'W:Belgium/Freeway',
  4220. '151.enabled': true,
  4221. '151.problemLink': 'W:Belgium/Major_Highway',
  4222. '152.enabled': true,
  4223. '152.problemLink': 'W:Belgium/Minor_Highway',
  4224. '154.enabled': true,
  4225. '154.problemLink': 'W:Belgium/Primary_Street',
  4226. '160.enabled': true,
  4227. '160.problemLink': 'W:Belgium/Freeway',
  4228. '160.params': {'solutionEN': 'Rename the Freeway segment to a \'Anum\' or \'Anum - Enum\' or \'Anum > Dir1 / Dir2\'', 'regexp': '!/^(A|B|E)[0-9]+( - (A|E)[0-9]+)*( > [^\\/]+( \\/ [^\\/]+)*)?$/'},
  4229. '163.enabled': true,
  4230. '163.problemLink': 'W:Belgium/Roads#Highways',
  4231. '163.solutionLink': 'W:Belgium/Ramp',
  4232. '163.params':
  4233. {'titleEN': 'Ramp name starts with a number', 'problemEN': 'The Ramp name starts with a number', 'solutionEN': 'Rename the Ramp in accordance with the guidelines', 'regexp': '/^([0-9]+)/'},
  4234. '171.enabled': true,
  4235. '171.problemLink': 'W:Belgium/Ramp#Text_To_Speech_.28TTS.29_-_ri_-_di',
  4236. '171.params': {'problemEN': 'The street name contains incorrect \'ri.\' abbreviation', 'solutionEN': 'Change the \'ri.\' abbreviation to \'ri\' (no dot)', 'regexp': '/(^|\\b)ri\\./i'}
  4237. },
  4238. 'AU': {
  4239. '.codeISO': 'AU',
  4240. '.country': 'Australia',
  4241. '27.enabled': true,
  4242. '59.enabled': true,
  4243. '59.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4244. '112.enabled': false,
  4245. '150.enabled': true,
  4246. '150.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4247. '151.enabled': true,
  4248. '151.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Major_Highway',
  4249. '151.params': {'n': 3},
  4250. '152.enabled': true,
  4251. '152.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Minor_Highway'
  4252. },
  4253. 'AT': {
  4254. '.codeISO': 'AT',
  4255. '.country': 'Austria',
  4256. '59.enabled': true,
  4257. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4258. '90.enabled': true,
  4259. '110.enabled': true,
  4260. '150.enabled': true,
  4261. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4262. },
  4263. 'AR': {
  4264. '.codeISO': 'AR',
  4265. '.country': 'Argentina',
  4266. '.fallbackCode': 'ES',
  4267. '150.enabled': true,
  4268. '169.enabled': true,
  4269. '169.solutionLink': 'W:Como_categorizar_y_nombrar_calles_(Argentina)#Calles',
  4270. '169.params': {'regexp': '/(^|\\b)[Cc]alle(?! [0-9]+( ([A-Z]|bis))?$)/'}
  4271. }
  4272. };
  4273. var CC_UNDEFINED = 48;
  4274. var CC_NULL = 34;
  4275. var CC_BOOL = 46;
  4276. var CC_NUMBER = 44;
  4277. var CC_STRING = 58;
  4278. var CC_GLOBAL = 5;
  4279. var CC_FUNCTION = 37;
  4280. var CC_ARRAY = 32;
  4281. var CC_OBJECT = 42;
  4282. var CC_REGEXP = 23;
  4283. var CC_DATE = 33;
  4284. function classOf(val) {
  4285. return {}.toString.call(val).slice(8, -1)
  4286. }
  4287. function classCode(obj) {
  4288. return {}.toString.call(obj).charCodeAt(8) ^ {}.toString.call(obj).charCodeAt(11)
  4289. }
  4290. function classCodeIs(obj, cc) {
  4291. return cc === classCode(obj)
  4292. }
  4293. function classCodeDefined(obj) {
  4294. return CC_UNDEFINED !== classCode(obj)
  4295. }
  4296. function isEmpty(obj) {
  4297. for (var k in obj)
  4298. if (obj.hasOwnProperty(k)) return false;
  4299. return true
  4300. }
  4301. function deepCopy(obj) {
  4302. switch (classCode(obj)) {
  4303. case CC_ARRAY:
  4304. var cpy = [];
  4305. for (var i = 0, len = obj.length; i < len; i++) cpy[i] = deepCopy(obj[i]);
  4306. return cpy;
  4307. case CC_OBJECT:
  4308. var cpy = {};
  4309. for (var attr in obj)
  4310. if (obj.hasOwnProperty(attr)) cpy[attr] = deepCopy(obj[attr]);
  4311. return cpy
  4312. }
  4313. return obj
  4314. }
  4315. function deepCompare(obj1, obj2) {
  4316. if (obj1 === obj2) return true;
  4317. if (classCode(obj1) !== classCode(obj2)) return false;
  4318. switch (classCode(obj1)) {
  4319. case CC_ARRAY:
  4320. if (obj1.length != obj2.length) return false;
  4321. for (var i = 0; i < obj1.length; i++)
  4322. if (!deepCompare(obj1[i], obj2[i])) return false;
  4323. return true;
  4324. case CC_OBJECT:
  4325. for (var k in obj1) {
  4326. if (!obj1.hasOwnProperty(k)) continue;
  4327. if (!obj2.hasOwnProperty(k)) return false;
  4328. if (!deepCompare(obj1[k], obj2[k])) return false
  4329. }
  4330. return true
  4331. }
  4332. return false
  4333. }
  4334. function getDirection(seg) {
  4335. return (seg.attributes.fwdDirection ? 1 : 0) + (seg.attributes.revDirection ? 2 : 0)
  4336. }
  4337. function getLocalizedValue(val, country) {
  4338. var ipu = OpenLayers.INCHES_PER_UNIT;
  4339. var mph = false;
  4340. if (country == 'United Kingdom' || country == 'Jersey' || country == 'Guernsey' || country == 'United States') mph = true;
  4341. return mph ? Math.round(val * ipu['km'] / ipu['mi']) : val
  4342. };
  4343. var DEF_DEBUG = false;
  4344. var _THUI = {};
  4345. _THUI.NONE = 1;
  4346. _THUI.DIV = 2;
  4347. _THUI.NUMBER = 3;
  4348. _THUI.RADIO = 4;
  4349. _THUI.CHECKBOX = 5;
  4350. _THUI.BUTTON = 6;
  4351. _THUI.TEXT = 7;
  4352. _THUI.PASSWORD = 8;
  4353. _THUI.DATE = 9;
  4354. var _WV = {};
  4355. var WME_BETA = false;
  4356. _WV.$loggedIn = 0;
  4357. _WV.$functions = [];
  4358. var _UI = {};
  4359. var _RT = {};
  4360. var _REP = {};
  4361. var GL_SHOWLAYERS = false;
  4362. var GL_LAYERNAME = 'WME Validator';
  4363. var GL_LAYERUNAME = 'WMEValidator';
  4364. var GL_LAYERACCEL = 'toggleWMEValidator';
  4365. var GL_LAYERSHORTCUT = 'A+v';
  4366. var GL_TBCOLOR = 'WMETB_color';
  4367. var GL_TBPREFIX = 'WMETB';
  4368. var GL_WMECHCOLOR = 'WMECH_color';
  4369. var GL_NOTECOLOR = '#30E';
  4370. var GL_NOTEBGCOLOR = '#EEF';
  4371. var GL_WARNINGCOLOR = '#DA0';
  4372. var GL_WARNINGBGCOLOR = '#FFE';
  4373. var GL_ERRORCOLOR = '#E00';
  4374. var GL_ERRORBGCOLOR = '#FEE';
  4375. var GL_CUSTOM1COLOR = '#0A0';
  4376. var GL_CUSTOM1BGCOLOR = '#EFE';
  4377. var GL_CUSTOM2COLOR = '#09E';
  4378. var GL_CUSTOM2BGCOLOR = '#EFF';
  4379. var GL_VISITEDCOLOR = '#0E0';
  4380. var GL_VISITEDBGCOLOR = '#EFE';
  4381. var GL_NOID = 'No ID';
  4382. var GL_GRAYCOLOR = '#AAA';
  4383. var GL_TODOMARKER = 'TODO: ';
  4384. var RT_RUNWAY = 19;
  4385. var RR_RUNWAY = 1;
  4386. var RT_RAILROAD = 18;
  4387. var RR_RAILROAD = 2;
  4388. var RT_STAIRWAY = 16;
  4389. var RR_STAIRWAY = 3;
  4390. var RT_BOARDWALK = 10;
  4391. var RR_BOARDWALK = 4;
  4392. var RT_TRAIL = 5;
  4393. var RR_TRAIL = 5;
  4394. var RT_PRIVATE = 17;
  4395. var RR_PRIVATE = 6;
  4396. var RT_PARKING = 20;
  4397. var RR_PARKING = 7;
  4398. var RT_DIRT = 8;
  4399. var RR_DIRT = 8;
  4400. var RT_SERVICE = 21;
  4401. var RR_SERVICE = 9;
  4402. var RT_STREET = 1;
  4403. var RR_STREET = 10;
  4404. var RT_PRIMARY = 2;
  4405. var RR_PRIMARY = 11;
  4406. var RT_RAMP = 4;
  4407. var RR_RAMP = 12;
  4408. var RT_MINOR = 7;
  4409. var RR_MINOR = 13;
  4410. var RT_MAJOR = 6;
  4411. var RR_MAJOR = 14;
  4412. var RT_FREEWAY = 3;
  4413. var RR_FREEWAY = 15;
  4414. var DIR_UNKNOWN = 0;
  4415. var DIR_AB = 1;
  4416. var DIR_BA = 2;
  4417. var DIR_TWO = 3;
  4418. var ST_STOP = 1116352408;
  4419. var ST_RUN = 1899447441;
  4420. var ST_PAUSE = 3049323471;
  4421. var ST_CONTINUE = 3921009573;
  4422. var DIR_L2R = 961987163;
  4423. var DIR_R2L = -961987163;
  4424. var RF_HTML = 1508970993;
  4425. var RF_BB = 2453635748;
  4426. var RF_LIST = 2870763221;
  4427. var RF_UPDATEMAXSEVERITY = 1;
  4428. var RF_CREATEPACK = 2;
  4429. var RT_STOP = 1;
  4430. var RT_NEXTCHECK = 2;
  4431. var RS_NOTE = 1;
  4432. var RS_WARNING = 2;
  4433. var RS_ERROR = 3;
  4434. var RS_CUSTOM2 = 4;
  4435. var RS_CUSTOM1 = 5;
  4436. var RS_MAX = 6;
  4437. var LIMIT_PERCHECK = 300;
  4438. var LIMIT_TOLERANCE = 6;
  4439. var LIMIT_DEBUG = 20;
  4440. var CK_TBFIRST = 1;
  4441. var CK_TBLAST = 9;
  4442. var CK_WMECHFIRST = 13;
  4443. var CK_WMECHLAST = 22;
  4444. var CK_TYPEFIRST = 70;
  4445. var CK_TYPELAST = 72;
  4446. var CK_MATCHFIRST = 128;
  4447. var CK_MATCHLAST = 139;
  4448. var CK_CUSTOMFIRST = 130;
  4449. var CK_CUSTOMLAST = 139;
  4450. var CK_LOCKFIRST = 150;
  4451. var CK_LOCKLAST = 158;
  4452. var CK_STREETTNFIRST = 160;
  4453. var CK_STREETTNLAST = 167;
  4454. var CK_STREETNAMEFIRST = 170;
  4455. var CK_STREETNAMELAST = 175;
  4456. var CK_CITYNAMEFIRST = 190;
  4457. var CK_CITYNAMELAST = 193;
  4458. var CK_MIRRORFIRST = 200;
  4459. var CK_MIRRORLAST = 201;
  4460. var CL_UI = 2821834349 - 1;
  4461. var ID_PREFIX = 2554220882;
  4462. var CL_TABS = 2821834349;
  4463. var CL_PANEL = 2952996808;
  4464. var CL_BUTTONS = 3210313671;
  4465. var CL_MSG = 3336571891;
  4466. var CL_MSGY = 3584528711;
  4467. var CL_TRANSLATETIP = 3584528711 + 1;
  4468. var AS_LICENSE = 'license';
  4469. var AS_VERSION = 'version';
  4470. var AS_NONEDITABLES = 'non_editables';
  4471. var AS_DUPLICATES = 'duplicates';
  4472. var AS_PLACES = 'enable_places';
  4473. var AS_STREETS = 'streets';
  4474. var AS_OTHERS = 'others';
  4475. var AS_NOTES = 'notes';
  4476. var AS_YOUREDITS = 'your_edits';
  4477. var AS_UPDATEDSINCE = 'updated_since';
  4478. var AS_CITYNAME = 'city_name';
  4479. var AS_CHECKS = 'checks';
  4480. var AS_UPDATEDBY = 'updated_by';
  4481. var AS_SOUNDS = 'sounds';
  4482. var AS_HLISSUES = 'hl_issues';
  4483. var AS_SLOWCHECKS = 'slow_checks';
  4484. var AS_CUSTOM1TEMPLATE = 'custom1_template';
  4485. var AS_CUSTOM1REGEXP = 'custom1_regexp';
  4486. var AS_CUSTOM2TEMPLATE = 'custom2_template';
  4487. var AS_CUSTOM2REGEXP = 'custom2_regexp';
  4488. var AS_REPORTEXT = 'report_ext';
  4489. var ID_PROPERTY = 3835390401;
  4490. var ID_PROPERTY_DISABLED = 3835390401 + 1;
  4491. var CL_COLLAPSE = 4022224774;
  4492. var CL_NOTE = 264347078;
  4493. var CL_WARNING = 604807628;
  4494. var CL_ERROR = 770255983;
  4495. var CL_CUSTOM1 = 770255983 + 1;
  4496. var CL_CUSTOM2 = 770255983 + 2;
  4497. var CL_RIGHTTIP = 1249150122;
  4498. var CL_RIGHTTIPPOPUP = 1249150122 + 1;
  4499. var CL_RIGHTTIPDESCR = 1249150122 + 2;
  4500. var AS_NAME = 'WME_Validator';
  4501. var SZ_PANEL_HEIGHT = 190;
  4502. var SCAN_ZOOM = 17;
  4503. var SCAN_STEP = 100;
  4504. var HL_WIDTH = 30;
  4505. var HL_OPACITY = .4;
  4506. var I_SEVERITY = 0;
  4507. var I_OBJECTCOPY = 1;
  4508. var I_ISTBCOLOR = 2;
  4509. var I_ISWMECHCOLOR = 3;
  4510. var I_ISPARTIAL = 4;
  4511. var I_CITYID = 5;
  4512. var I_VENUECOPY = 6;
  4513. var CO_MIN = 0;
  4514. var CO_REGEXP = 0;
  4515. var CO_STRING = 1;
  4516. var CO_NUMBER = 2;
  4517. var CO_BOOL = 3;
  4518. var CO_MAX = 3;
  4519. var WD_SHORT = 5;
  4520. var WD_LONG = 1E4;
  4521. var nW = null;
  4522. var WM = null;
  4523. var WLM = null;
  4524. var WSM = null;
  4525. var WMo = null;
  4526. var WC = null;
  4527. var UW = null;
  4528. var R = null;
  4529. var policySafeHTML = null;
  4530. function setupPolicy() {
  4531. if (typeof trustedTypes !== 'undefined') policySafeHTML = trustedTypes.createPolicy('policySafeHTML', {createHTML: innerText => innerText})
  4532. }
  4533. function createSafeHtml(text) {
  4534. if (policySafeHTML !== null)
  4535. return policySafeHTML.createHTML(text);
  4536. else
  4537. return text
  4538. }
  4539. function esc(msg) {
  4540. return msg.split('"').join('\\"').split('\n').join('\\n')
  4541. }
  4542. function escRE(e) {
  4543. return e.split('\\')
  4544. .join('\\\\')
  4545. .split('^')
  4546. .join('\\^')
  4547. .split('$')
  4548. .join('\\$')
  4549. .split('+')
  4550. .join('\\+')
  4551. .split('?')
  4552. .join('\\?')
  4553. .split(':')
  4554. .join('\\:')
  4555. .split('!')
  4556. .join('\\!')
  4557. .split('.')
  4558. .join('\\.')
  4559. .split('-')
  4560. .join('\\-')
  4561. .split('*')
  4562. .join('.*')
  4563. .split('(')
  4564. .join('\\(')
  4565. .split(')')
  4566. .join('\\)')
  4567. .split('[')
  4568. .join('\\[')
  4569. .split(']')
  4570. .join('\\]')
  4571. .split('{')
  4572. .join('\\{')
  4573. .split('}')
  4574. .join('\\}')
  4575. }
  4576. function getMsg(mType, msg, newLine) {
  4577. return 'WME Validator v' + WV_VERSION + (mType ? ' ' + mType : '') + (msg ? ':' + (newLine ? '\n' : ' ') + msg : '')
  4578. }
  4579. function log(msg) {
  4580. window.console.log(getMsg('', msg))
  4581. }
  4582. function error(msg) {
  4583. var s = getMsg('error', msg, true);
  4584. log(s);
  4585. if (!isErrorFlag()) {
  4586. setErrorFlag();
  4587. alert(s)
  4588. }
  4589. async(F_PAUSE);
  4590. return -1
  4591. }
  4592. function warning(msg) {
  4593. var s = getMsg('warning', msg, true);
  4594. log(s);
  4595. alert(s);
  4596. return -1
  4597. }
  4598. function info(msg) {
  4599. var s = getMsg('', msg, true);
  4600. alert(s);
  4601. return -1
  4602. }
  4603. function sync(func, param) {
  4604. return func(param)
  4605. }
  4606. function async(func, param, inter) {
  4607. var i = 0;
  4608. if (inter) i = inter;
  4609. window.setTimeout(func, i, param)
  4610. }
  4611. function clearWD() {
  4612. window.clearTimeout(_RT.$WDmoveID);
  4613. window.clearTimeout(_RT.$WDloadID);
  4614. _RT.$WDmoveID = -1;
  4615. _RT.$WDloadID = -1
  4616. }
  4617. function updateTimer(nstate) {
  4618. var csec = Date.now() / 1E3;
  4619. if (RTStateIs(ST_RUN)) _RT.$timer.$secInRun += csec - _RT.$timer.$lastUpdate;
  4620. if (RTStateIs(ST_STOP)) _RT.$timer.$secInRun = 0;
  4621. _RT.$timer.$lastUpdate = csec
  4622. }
  4623. function setRTState(nstate) {
  4624. if (RTStateIs(ST_STOP) && ST_PAUSE === nstate) nstate = ST_STOP;
  4625. updateTimer(nstate);
  4626. _RT.$state = nstate;
  4627. async(F_UPDATEUI)
  4628. }
  4629. function clearReport() {
  4630. _RT.$seen = {};
  4631. _RT.$revalidate = {};
  4632. _REP = {
  4633. $debugCounter: LIMIT_DEBUG,
  4634. $isLimitPerCheck: false,
  4635. $isEditableFound: false,
  4636. $counterTotal: 0,
  4637. $maxSeverity: 0,
  4638. $incompleteIDs: {},
  4639. $users: {},
  4640. $reportCounters: {},
  4641. $cityCounters: {},
  4642. $countries: {},
  4643. $cities: {},
  4644. $streets: {},
  4645. $cityIDs: {},
  4646. $unsortedCityIDs: [],
  4647. $sortedCityIDs: []
  4648. };
  4649. _RT.$reportEditableNotFound = false
  4650. }
  4651. function beep(dur, oscType) {
  4652. try {
  4653. if (_UI.pSettings.pScanner.oSounds.CHECKED) _AUDIO.beep(dur, oscType)
  4654. } catch (e) {
  4655. }
  4656. }
  4657. function setErrorFlag() {
  4658. _RT.$error = true
  4659. }
  4660. function isErrorFlag() {
  4661. return _RT.$error
  4662. }
  4663. function clearErrorFlag() {
  4664. _RT.$error = false
  4665. }
  4666. function RTStateIs(st) {
  4667. return getRTState() === st
  4668. }
  4669. function getRTState() {
  4670. return _RT.$state
  4671. }
  4672. function HLAllObjects() {
  4673. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))
  4674. if (_UI.pSettings.pScanner.oHLReported.CHECKED)
  4675. sync(F_VALIDATE, false);
  4676. else
  4677. sync(F_VALIDATE, true);
  4678. async(F_UPDATEUI)
  4679. }
  4680. function ForceHLAllObjects() {
  4681. _RT.$isMapChanged = true;
  4682. HLAllObjects()
  4683. }
  4684. function delayForceHLAllObjects(e) {
  4685. const ldf = nW.app.layout.model.attributes.loadingFeatures;
  4686. if (ldf)
  4687. setTimeout(function() {
  4688. delayForceHLAllObjects(e)
  4689. }, 50);
  4690. else
  4691. ForceHLAllObjects()
  4692. }
  4693. function resetDefaults() {
  4694. _UI.pMain.pFilter.oEnablePlaces.CHECKED = false;
  4695. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = true;
  4696. _UI.pMain.pFilter.oExcludeDuplicates.CHECKED = true;
  4697. _UI.pMain.pFilter.oExcludeStreets.CHECKED = false;
  4698. _UI.pMain.pFilter.oExcludeOther.CHECKED = false;
  4699. _UI.pMain.pFilter.oExcludeNotes.CHECKED = false;
  4700. _UI.pMain.pSearch.oIncludeYourEdits.CHECKED = false;
  4701. _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE = '';
  4702. _RT.$includeUpdatedByCache = {};
  4703. _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE = '';
  4704. _RT.$includeUpdatedSinceTime = 0;
  4705. _UI.pMain.pSearch.oIncludeCityName.VALUE = '';
  4706. _RT.$includeCityNameCache = {};
  4707. _UI.pMain.pSearch.oIncludeChecks.VALUE = '';
  4708. _RT.$includeChecksCache = {};
  4709. _UI.pSettings.pScanner.oSlowChecks.CHECKED = true;
  4710. _UI.pSettings.pScanner.oReportExt.CHECKED = true;
  4711. _UI.pSettings.pScanner.oHLReported.CHECKED = true;
  4712. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  4713. _UI.pSettings.pCustom.oTemplate1.VALUE = '';
  4714. _UI.pSettings.pCustom.oRegExp1.VALUE = '';
  4715. _UI.pSettings.pCustom.oTemplate2.VALUE = '';
  4716. _UI.pSettings.pCustom.oRegExp2.VALUE = ''
  4717. }
  4718. function cmpCheckIDs(a, b) {
  4719. var checkA = _RT.$checks[a], checkB = _RT.$checks[b];
  4720. if (checkA.SEVERITY !== checkB.SEVERITY) return checkB.SEVERITY - checkA.SEVERITY;
  4721. var cmp = checkA.TITLE.localeCompare(checkB.TITLE);
  4722. if (!cmp) return a - b;
  4723. return cmp
  4724. }
  4725. function checkNoCity(str) {
  4726. return str ? str : 'No City'
  4727. }
  4728. function checkNoStreet(str) {
  4729. return str ? str : 'No Street'
  4730. }
  4731. function getFilteredSeverity(oldSeverity, checkID, checkToHL) {
  4732. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4733. var check = _RT.$checks[checkID];
  4734. if (checkToHL && check.REPORTONLY) return 0;
  4735. var textSeverity = getTextSeverity(check.SEVERITY).toUpperCase();
  4736. var cache = _RT.$includeChecksCache;
  4737. var hash = checkID;
  4738. if (hash in cache) {
  4739. if (cache[hash]) return check.SEVERITY
  4740. } else {
  4741. var forChecks = _UI.pMain.pSearch.oIncludeChecks.VALUE;
  4742. var ccode = _RT.$cachedTopCCode;
  4743. var options = trO(check.OPTIONS, ccode);
  4744. var curTitle = exSOS(check.TITLE, options, 'titleEN');
  4745. try {
  4746. cache[hash] = false;
  4747. if (_WV.checkAccessFor(forChecks, function(e) {
  4748. if (/^#?\d+$/.test(e)) {
  4749. if ('#' === e.charAt(0)) e = e.slice(1);
  4750. return +checkID === +e
  4751. }
  4752. if (e.toUpperCase() === textSeverity) return true;
  4753. e = escRE(e);
  4754. var r = new RegExp('^' + e + '$', 'i');
  4755. return r.test(curTitle)
  4756. })) {
  4757. cache[hash] = true;
  4758. return check.SEVERITY
  4759. }
  4760. } catch (e) {
  4761. }
  4762. }
  4763. return 0
  4764. }
  4765. function getFilteredSeverityObj(oldSeverity, checkIDs, checkToHL) {
  4766. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4767. var ret = 0;
  4768. for (var cid in checkIDs) {
  4769. if (!checkIDs.hasOwnProperty(cid)) continue;
  4770. var check = _RT.$checks[cid];
  4771. if (getFilteredSeverity(check.SEVERITY, cid, checkToHL))
  4772. if (ret < check.SEVERITY) {
  4773. ret = check.SEVERITY;
  4774. if (_RT.$curMaxSeverity === ret) return ret
  4775. }
  4776. }
  4777. return ret
  4778. }
  4779. function checkFilter(severity, objectCopy, seenObjects) {
  4780. if (seenObjects) {
  4781. if (objectCopy.$objectID in seenObjects && _UI.pMain.pFilter.oExcludeDuplicates.CHECKED) return false;
  4782. seenObjects[objectCopy.$objectID] = null
  4783. }
  4784. if ((RR_STREET === objectCopy.$typeRank || RR_SERVICE === objectCopy.$typeRank) && _UI.pMain.pFilter.oExcludeStreets.CHECKED) return false;
  4785. if (RR_SERVICE > objectCopy.$typeRank && _UI.pMain.pFilter.oExcludeOther.CHECKED) return false;
  4786. if (!objectCopy.$isEditable && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) return false;
  4787. if (RS_NOTE === severity && _UI.pMain.pFilter.oExcludeNotes.CHECKED) return false;
  4788. if (objectCopy.$userID !== _RT.$topUser.$userID && !_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) return false;
  4789. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) {
  4790. var cache = _RT.$includeUpdatedByCache;
  4791. var hash = objectCopy.$userID;
  4792. if (hash in cache) {
  4793. if (!cache[hash]) return false
  4794. } else {
  4795. var forUser = _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE;
  4796. var curUser = _REP.$users[objectCopy.$userID];
  4797. try {
  4798. cache[hash] = false;
  4799. if (curUser !== _RT.$topUser.$userName && !_RT.$topUser.$isCM) return false;
  4800. if (_RT.$topUser.$isCM && -1 === _RT.$topUser.$countryIDs.indexOf(objectCopy.$countryID)) return false;
  4801. if (!_WV.checkAccessFor(forUser, function(e) {
  4802. e = escRE(e);
  4803. e = e.replace(/(^|\b)(me|i)($|\b)/gi, _RT.$topUser.$userName);
  4804. var r = new RegExp('^' + e + '$', 'i');
  4805. return r.test(curUser)
  4806. }))
  4807. return false;
  4808. cache[hash] = true
  4809. } catch (e) {
  4810. }
  4811. }
  4812. }
  4813. if (objectCopy.$updated && _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) try {
  4814. if (!_RT.$includeUpdatedSinceTime) _RT.$includeUpdatedSinceTime = (new Date(_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE)).getTime();
  4815. if (objectCopy.$updated < _RT.$includeUpdatedSinceTime) return false
  4816. } catch (e) {
  4817. }
  4818. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) {
  4819. if (!objectCopy.$cityID) return false;
  4820. var cache = _RT.$includeCityNameCache;
  4821. var hash = objectCopy.$cityID;
  4822. if (hash in cache) {
  4823. if (!cache[hash]) return false
  4824. } else {
  4825. var forCity = _UI.pMain.pSearch.oIncludeCityName.VALUE;
  4826. var curCity = _REP.$cities[objectCopy.$cityID];
  4827. try {
  4828. cache[hash] = false;
  4829. if (!_WV.checkAccessFor(forCity, function(e) {
  4830. e = escRE(e);
  4831. var r = new RegExp('^' + e + '$', 'i');
  4832. return r.test(curCity)
  4833. }))
  4834. return false;
  4835. cache[hash] = true
  4836. } catch (e) {
  4837. }
  4838. }
  4839. }
  4840. return true
  4841. }
  4842. function trO(obj, ccode) {
  4843. if (obj) return _I18n.getValueOC(obj, ccode)
  4844. }
  4845. function getCheckOptions(checkID, ccode) {
  4846. return _I18n.getValueOC(_RT.$checks[checkID].OPTIONS, ccode)
  4847. }
  4848. function trLeft(dir) {
  4849. if ('ltr' === dir)
  4850. return 'left';
  4851. else
  4852. return 'right'
  4853. }
  4854. function trRight(dir) {
  4855. if ('ltr' === dir)
  4856. return 'right';
  4857. else
  4858. return 'left'
  4859. }
  4860. function trS(label) {
  4861. return _I18n.getString(label)
  4862. }
  4863. function trSO(label, options) {
  4864. return _I18n.expandSO(_I18n.getString(label), options)
  4865. }
  4866. function exSOS(str, options, subst) {
  4867. if (options && _I18n.$defLng === _RT.$lng && options[subst])
  4868. return _I18n.expandSO(options[subst], options);
  4869. else
  4870. return _I18n.expandSO(str, options)
  4871. }
  4872. function getTextSeverity(sev) {
  4873. switch (sev) {
  4874. case RS_WARNING:
  4875. return 'warning';
  4876. case RS_ERROR:
  4877. return 'error';
  4878. case RS_CUSTOM1:
  4879. return 'custom1';
  4880. case RS_CUSTOM2:
  4881. return 'custom2'
  4882. }
  4883. return 'note'
  4884. }
  4885. function onUpdateUI(e) {
  4886. async(F_UPDATEUI, e)
  4887. }
  4888. function onShowChecks(e) {
  4889. sync(F_SHOWREPORT, RF_LIST)
  4890. }
  4891. function onCreatePack(e) {
  4892. sync(F_SHOWREPORT, RF_CREATEPACK)
  4893. }
  4894. function onShowReport(e) {
  4895. sync(F_SHOWREPORT, RF_HTML)
  4896. }
  4897. function onShareReport(e) {
  4898. sync(F_SHOWREPORT, RF_BB)
  4899. }
  4900. function onWarning(e) {
  4901. async(F_ONWARNING, e)
  4902. }
  4903. function onLogin() {
  4904. async(F_ONLOGIN)
  4905. }
  4906. function onMergeEnd() {
  4907. _RT.$isMapChanged = true;
  4908. window.clearTimeout(_RT.$WDmoveID);
  4909. window.clearTimeout(_RT.$WDloadID);
  4910. async(F_ONMERGEEND)
  4911. }
  4912. function onMoveEnd(e) {
  4913. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE))
  4914. async(F_ONMOVEEND);
  4915. else
  4916. delayForceHLAllObjects(e)
  4917. }
  4918. function onLoadStart() {
  4919. async(F_ONLOADSTART)
  4920. }
  4921. function onChangeLayer(e) {
  4922. sync(F_ONCHANGELAYER, e)
  4923. }
  4924. function onSegmentsChanged(e) {
  4925. _RT.$isMapChanged = true;
  4926. sync(F_ONSEGMENTSCHANGED, e)
  4927. }
  4928. function onSegmentsRemoved(e) {
  4929. _RT.$isMapChanged = true;
  4930. if (1 === e.length)
  4931. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONSEGMENTSCHANGED, e)
  4932. }
  4933. function onSegmentsAdded(e) {
  4934. _RT.$isMapChanged = true
  4935. }
  4936. function onNodesChanged(e) {
  4937. _RT.$isMapChanged = true;
  4938. sync(F_ONNODESCHANGED, e)
  4939. }
  4940. function onNodesRemoved(e) {
  4941. _RT.$isMapChanged = true;
  4942. if (1 === e.length)
  4943. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONNODESCHANGED, e)
  4944. }
  4945. function onChangeIsImperial() {
  4946. clearReport();
  4947. _RT.$HLedObjects = {};
  4948. _RT.$HLlayer.destroyFeatures();
  4949. _RT.$isMapChanged = true;
  4950. async(F_LOGIN)
  4951. }
  4952. function onVenuesAdded(e) {
  4953. _RT.$isMapChanged = true
  4954. }
  4955. function onVenuesChanged(e) {
  4956. _RT.$isMapChanged = true;
  4957. sync(F_ONVENUESCHANGED, e)
  4958. }
  4959. function onVenuesRemoved(e) {
  4960. _RT.$isMapChanged = true;
  4961. if (1 === e.length)
  4962. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONVENUESCHANGED, e)
  4963. };
  4964. function F_SHOWREPORT(reportFormat) {
  4965. var _now = new Date;
  4966. var _nowISO = _now.toISOString().slice(0, 10);
  4967. var _repU = _REP.$users;
  4968. var _repC = _REP.$cities;
  4969. var _repCC = _REP.$cityCounters;
  4970. var _repRC = _REP.$reportCounters;
  4971. var _repS = _REP.$streets;
  4972. var isBeta = -1 !== window.location.href.indexOf('beta');
  4973. var noFilters = true;
  4974. var FR = '';
  4975. var FRheader = '';
  4976. var FRfooter = '';
  4977. var newWin = null;
  4978. var Bh1, Eh1;
  4979. var Bh2, Eh2;
  4980. var Bsmall, Esmall;
  4981. var Bbig, Ebig;
  4982. var Ba, Ca, Ea;
  4983. var BaV;
  4984. var Bcolor, Ccolor, Ecolor;
  4985. var Bb, Eb;
  4986. var Bp, Ep;
  4987. var Br;
  4988. var Bol, Eol;
  4989. var Bul, Eul;
  4990. var Bli, Eli;
  4991. var Bcode, Ecode;
  4992. var Mdash, Nbsp;
  4993. var curFormat;
  4994. function setFormat(fmt) {
  4995. curFormat = fmt;
  4996. switch (fmt) {
  4997. case RF_HTML:
  4998. Bh1 = '\n<h1>', Eh1 = '</h1>\n<hr>\n';
  4999. Bh2 = '\n\n<h2>', Eh2 = '</h2>\n';
  5000. Bsmall = '<small>', Esmall = '</small>';
  5001. Bbig = '<big>', Ebig = '</big>';
  5002. Ba = '<a target="_blank" href="', Ca = '">', Ea = '</a>';
  5003. BaV = '<a target="Validator" href="';
  5004. Bcolor = '<span style="color:', Ccolor = '">', Ecolor = '</span>';
  5005. Bb = '<b>', Eb = '</b>';
  5006. Bp = '<p>', Ep = '</p>';
  5007. Br = '<br>\n';
  5008. Bul = '\n<ul>\n', Eul = '\n</ul>\n';
  5009. Bcode = '\n<div style="text-align:left" dir="ltr" class="code" onclick="selectAll(this)">', Ecode = '</div>\n';
  5010. Bol = '\n<ol>\n', Eol = '\n</ol>\n';
  5011. Bli = '\n<li>', Eli = '</li>\n';
  5012. Mdash = ' &mdash; ';
  5013. Nbsp = '&nbsp;';
  5014. break;
  5015. case RF_BB:
  5016. Bh1 = '\n[size=200]', Eh1 = '[/size]\n';
  5017. Bh2 = '\n[size=150]', Eh2 = '[/size]\n';
  5018. Bsmall = '[size=85]', Esmall = '[/size]';
  5019. Bbig = '[size=120]', Ebig = '[/size]';
  5020. Ba = '[url=', Ca = ']', Ea = '[/url]';
  5021. BaV = Ba;
  5022. Bcolor = '[color=', Ccolor = ']', Ecolor = '[/color]';
  5023. Bb = '[b]', Eb = '[/b]';
  5024. Bp = '\n', Ep = '\n';
  5025. Br = '\n';
  5026. Bul = '\n[list]', Eul = '[/list]\n';
  5027. Bcode = '\n[code]', Ecode = '\n[/code]';
  5028. Bol = '\n[list=1]', Eol = '[/list]\n';
  5029. Bli = '\n[*]', Eli = '[/*]\n';
  5030. Mdash = ' - ';
  5031. Nbsp = ' ';
  5032. break
  5033. }
  5034. return ''
  5035. }
  5036. function getReportSource() {
  5037. var m = 0;
  5038. var n = '';
  5039. for (var cid in _repCC)
  5040. if (_repCC.hasOwnProperty(cid) && m < _repCC[cid] && _repC[cid]) {
  5041. m = _repCC[cid];
  5042. n = _repC[cid]
  5043. }
  5044. return n
  5045. }
  5046. function getTopPermalink() {
  5047. var center, zoom;
  5048. if (_RT.$startCenter) {
  5049. center = _RT.$startCenter;
  5050. zoom = _RT.$startZoom
  5051. } else {
  5052. center = WM.getCenter();
  5053. zoom = WM.getZoom()
  5054. }
  5055. var c = center.clone().transform(nW.Config.map.projection.local, nW.Config.map.projection.remote);
  5056. return window.location.origin + window.location.pathname + '?zoomLevel=' + zoom + '&lat=' + Math.round(c.lat * 1E5) / 1E5 + '&lon=' + Math.round(c.lon * 1E5) / 1E5 +
  5057. '&env=' + nW.app.getAppRegionCode()
  5058. }
  5059. function getHTMLHeader(strTitle) {
  5060. var dir = _I18n.getDir();
  5061. var dirLeft = trLeft(dir);
  5062. var dirRight = trRight(dir);
  5063. return '<html dir="' + dir + '"><head><style>' +
  5064. '\na{background-color:white}' +
  5065. '\na:visited{background-color:' + GL_VISITEDBGCOLOR + ' !important;color:' + GL_VISITEDCOLOR + ' !important}' +
  5066. '\n.note a{background-color:' + GL_NOTEBGCOLOR + ';color:' + GL_NOTECOLOR + '}' +
  5067. '\n.warning a{background-color:' + GL_WARNINGBGCOLOR + ';color:' + GL_WARNINGCOLOR + '}' +
  5068. '\n.error a{background-color:' + GL_ERRORBGCOLOR + ';color:' + GL_ERRORCOLOR + '}' +
  5069. '\n.custom1 a{background-color:' + GL_CUSTOM1BGCOLOR + ';color:' + GL_CUSTOM1COLOR + '}' +
  5070. '\n.custom2 a{background-color:' + GL_CUSTOM2BGCOLOR + ';color:' + GL_CUSTOM2COLOR + '}' +
  5071. '\ndiv.note{background-color:' + GL_NOTEBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5072. '\ndiv.warning{background-color:' + GL_WARNINGBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5073. '\ndiv.error{background-color:' + GL_ERRORBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5074. '\nh2+ul>li{margin-bottom:1em}' +
  5075. '\nul{margin-top:0}' +
  5076. '\nh1,h2{margin-bottom:4px;font-family:Georgia,Times,"Times New Roman",serif}' +
  5077. '\nbody{margin:2em;font-family:"Lucida Grande","Lucida Sans Unicode","DejaVu Sans",Lucida,Arial,Helvetica,sans-serif}' +
  5078. '\ndiv#contents{display:inline-block;margin:1em 0;padding:1em;background-color:#f9f9f9;border:1px solid #aaa}' +
  5079. '\ndiv#contents li{margin-bottom:0.1em}' +
  5080. '\ndiv.code::before{content: "CODE: SELECT ALL";display:block;border-bottom:1px solid #ccc;font:bold 1em "Lucida Grande","Trebuchet MS",Verdana,Helvetica,Arial,sans-serif;color:#105289;margin-bottom:5px;}' +
  5081. '\ndiv.code{margin-top:0.5em;display:block;width:650px;overflow:auto;padding:0.5em;border:1px solid #ccc;background-color:#f4fff4;white-space:pre;font:0.9em Monaco,"Andale Mono","Courier New",Courier,mono;line-height:1.3em;color:#2E8B57;cursor:pointer}' +
  5082. '\n</style>' +
  5083. '\n<script>' +
  5084. '\nfunction selectAll(e){' +
  5085. 'if(window.getSelection){' +
  5086. 'var s = window.getSelection();' +
  5087. 'var r = document.createRange();' +
  5088. 'r.selectNodeContents(e);' +
  5089. 's.removeAllRanges();' +
  5090. 's.addRange(r);' +
  5091. '}}' +
  5092. '\n\x3c/script>' +
  5093. '\n<title>' + strTitle + ' ' + _nowISO + '</title>' +
  5094. '\n<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>' +
  5095. '\n</head><body>'
  5096. }
  5097. function getNaturalList(arr) {
  5098. if (1 === arr.length) return arr[0];
  5099. var ret = '';
  5100. arr.forEach(function(e, i) {
  5101. if (arr.length - 1 === i)
  5102. ret += ' ' + trS('report.and') + ' ';
  5103. else if (0 !== i)
  5104. ret += ', ';
  5105. ret += e
  5106. });
  5107. return ret
  5108. }
  5109. function getHeader(strTitle) {
  5110. var ret = Bh1 + strTitle + Eh1;
  5111. if (RF_LIST !== reportFormat && RF_CREATEPACK !== reportFormat) {
  5112. ret += Bsmall + trS('report.generated.by') + ' ' + _RT.$curUserName + ' ' + trS('report.generated.on') + ' ' + _nowISO + Esmall + Br + Br + Bb + trS('report.source') + ' ' + Eb + Ba +
  5113. getTopPermalink() + Ca + checkNoCity(getReportSource()) + Ea + Br;
  5114. var filters = [];
  5115. if (_UI.pMain.pFilter.oExcludeDuplicates.CHECKED) filters.push(trS('report.filter.duplicate'));
  5116. if (!_UI.pMain.pFilter.oEnablePlaces.CHECKED) filters.push(trS('report.filter.places'));
  5117. if (_UI.pMain.pFilter.oExcludeStreets.CHECKED) filters.push(trS('report.filter.streets'));
  5118. if (_UI.pMain.pFilter.oExcludeOther.CHECKED) filters.push(trS('report.filter.other'));
  5119. if (_UI.pMain.pFilter.oExcludeNonEditables.CHECKED) filters.push(trS('report.filter.noneditable'));
  5120. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED) filters.push(trS('report.filter.notes'));
  5121. if (filters.length) {
  5122. noFilters = false;
  5123. ret += Bb + trS('report.filter.title') + ' ' + Eb + getNaturalList(filters) + ' ' + trS('report.filter.excluded') + Br
  5124. }
  5125. filters = [];
  5126. if (!_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) filters.push(trS('report.search.updated.by') + ' ' + _RT.$curUserName);
  5127. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) filters.push(trS('report.search.updated.by') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE);
  5128. if (_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) filters.push(trS('report.search.updated.since') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE);
  5129. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) filters.push(trS('report.search.city') + ' ' + _UI.pMain.pSearch.oIncludeCityName.VALUE);
  5130. if (_UI.pMain.pSearch.oIncludeChecks.VALUE) filters.push(trS('report.search.reported') + ' ' + _UI.pMain.pSearch.oIncludeChecks.VALUE);
  5131. if (filters.length) {
  5132. noFilters = false;
  5133. ret += Bb + trS('report.search.title') + Eb + ' ' + trS('report.search.only') + ' ' + getNaturalList(filters) + ' ' + trS('report.search.included') + Br
  5134. }
  5135. if (isBeta) ret += Br + Bb + trS('report.beta.warning') + Eb + Br + trS('report.beta.text') + Br + Bb + trS('report.beta.share') + Eb + Br
  5136. }
  5137. return ret
  5138. }
  5139. function getSubHeader(strTitle) {
  5140. return Bh2 + strTitle + Eh2
  5141. }
  5142. function getTextACL(acl) {
  5143. if (acl)
  5144. return acl.split(',').join(', ');
  5145. else
  5146. return '*'
  5147. }
  5148. function getCheckProperties(checkID, ccode, showSeverity, showCountry) {
  5149. var check = _RT.$checks[checkID];
  5150. var ret = '';
  5151. if (showSeverity && check.SEVERITY && RS_MAX > check.SEVERITY)
  5152. ret += Bb + trS('report.list.severity') + ' ' + Eb + getTextSeverity(check.SEVERITY) + (check.REPORTONLY ? ' (' + trS('report.list.reportOnly') + ')' : '') + Br;
  5153. if (1 < check.FORLEVEL) ret += Bb + trS('report.list.forEditors') + ' ' + Eb + check.FORLEVEL + ' ' + trS('report.list.andUp') + Br;
  5154. if (showCountry) ret += Bb + trS('report.list.forCountries') + ' ' + Eb + getTextACL(check.FORCOUNTRY) + Br;
  5155. if (check.FORCITY) ret += Bb + trS('report.list.forCities') + ' ' + Eb + getTextACL(check.FORCITY) + Br;
  5156. var options;
  5157. if (check.OPTIONS && (options = getCheckOptions(checkID, ccode))) {
  5158. var defParams = ccode === _I18n.$defLng;
  5159. var arrParams = [];
  5160. for (var optionName in options) {
  5161. if (!/^[a-z]+$/i.test(optionName)) continue;
  5162. var optionTitle = options[optionName + '.title'];
  5163. if (defParams && !optionTitle) continue;
  5164. arrParams.push({$name: optionName, $title: optionTitle, $value: options[optionName]})
  5165. }
  5166. if (arrParams.length) {
  5167. ret += Bb;
  5168. var country = _I18n.getCapitalizedCountry(ccode) || ccode;
  5169. if (defParams)
  5170. ret += trS('report.list.params');
  5171. else
  5172. ret += trSO('report.list.params.set', {'country': country});
  5173. ret += Eb + Bcode + '"' + checkID + '.params": {\n';
  5174. for (var i = 0; i < arrParams.length; i++) {
  5175. var param = arrParams[i];
  5176. if (defParams) ret += ' // ' + param.$title + '\n';
  5177. ret += ' "' + param.$name + '": ' + JSON.stringify(param.$value) + ',' +
  5178. '\n'
  5179. }
  5180. ret += '},' + Ecode
  5181. }
  5182. }
  5183. return ret
  5184. }
  5185. function addTextLabels(pack, label, defSet, oldPack) {
  5186. var defData = (defSet[label] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM).replace(new RegExp('^D:'), PFX_DISCUSS);
  5187. var origData = oldPack[label] || '';
  5188. if (origData) {
  5189. var oldData = origData.replace(new RegExp('^' + GL_TODOMARKER), '')
  5190. .replace(new RegExp('^W:'), PFX_WIKI)
  5191. .replace(new RegExp('^P:'), PFX_PEDIA)
  5192. .replace(new RegExp('^F:'), PFX_FORUM)
  5193. .replace(new RegExp('^D:'), PFX_DISCUSS);
  5194. var oldDataEN =
  5195. (oldPack[label + '.en'] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM).replace(new RegExp('^D:'), PFX_DISCUSS);
  5196. if (oldDataEN)
  5197. if (oldDataEN === defData) {
  5198. pack[label + '.en'] = defData;
  5199. pack[label] = origData
  5200. } else {
  5201. pack[label + '.en'] = defData;
  5202. pack[label] = GL_TODOMARKER + oldData
  5203. }
  5204. else {
  5205. pack[label + '.en'] = defData;
  5206. pack[label] = origData
  5207. }
  5208. } else {
  5209. pack[label + '.en'] = defData;
  5210. pack[label] = GL_TODOMARKER + defData
  5211. }
  5212. }
  5213. function getPackHeader(country, lng) {
  5214. return '// ==UserScript==' + Br + '// @name WME Validator Localization for ' + country + Br + '// @version ' + WV_VERSION + Br +
  5215. '// @description This script localizes WME Validator for ' + country + '. You also need main package (WME Validator) installed.' + Br +
  5216. '// @match https://beta.waze.com/*editor*' + Br + '// @match https://www.waze.com/*editor*' + Br + '// @exclude https://www.waze.com/*user/*editor/*' +
  5217. Br + '// @grant none' + Br + '// @run-at document-start' + Br + '// ==/UserScript==' + Br + '//' + Br + '/*' + Br +
  5218. (lng ? ' Please translate all the lines marked with "' + GL_TODOMARKER + '"' + Br + ' Please DO NOT change ".en" properties. To override english text use "titleEN",' + Br +
  5219. ' "problemEN" and "solutionEN" properties (see an example below).' + Br + Br :
  5220. '') +
  5221. ' See Settings->About->Available checks for complete list of checks and their params.' + Br + Br + ' Examples:' + Br + Br +
  5222. ' Enable #170 "Lowercase street name" but allow lowercase "exit" and "to":' + Br + ' "170.enabled": true,' + Br + ' "170.params": {' + Br +
  5223. ' "regexp": "/^((exit|to) )?[a-z]/",' + Br + ' "},' + Br + Br + ' Enable #130 "Custom check" to find a dot in street names, but allow dots at Ramps:' + Br +
  5224. ' "130.enabled": true,' + Br + ' "130.params": {' + Br + ' "titleEN": "Street name with a dot",' + Br +
  5225. ' "problemEN": "There is a dot in the street name (excluding Ramps)",' + Br + ' "solutionEN": "Expand the abbreviation or remove the dot",' + Br +
  5226. ' "template": "${type}:${street}",' + Br + ' "regexp": "D/^[^4][0-9]?:.*\\\\./",' + Br + ' },' + Br +
  5227. ' *Note: use D at the beginning of RegExp to enable debugging on JS console.' + Br + ' *Note: do not forget to escape backslashes in strings, i.e. use "\\\\" instead of "\\".' + Br +
  5228. '*/' + Br
  5229. }
  5230. function getPack(country, ccode, lng) {
  5231. var ucountry = country.toUpperCase();
  5232. var _country = country.split(' ').join('_');
  5233. var oldPack = _I18n.$translations[ccode] || {};
  5234. var ret = '' + Br + 'window.WME_Validator_' + _country + ' = ';
  5235. var newCountries = [];
  5236. for (var k in _I18n.$country2code)
  5237. if (ccode === _I18n.$country2code[k] && ucountry !== k) newCountries.push(_I18n.capitalize(k));
  5238. newCountries.unshift(country);
  5239. var newAuthor = oldPack['.author'] || _RT.$topUser.$userName;
  5240. if (-1 === newAuthor.indexOf(_RT.$topUser.$userName)) newAuthor += ' and ' + _RT.$topUser.$userName;
  5241. var newLink = oldPack['.link'] || GL_TODOMARKER;
  5242. var pack = {'.country': 1 === newCountries.length ? newCountries[0] : newCountries, '.codeISO': ccode, '.author': newAuthor, '.updated': _nowISO, '.link': newLink};
  5243. if (ccode in _I18n.$code2code) pack['.fallbackCode'] = _I18n.$code2code[ccode];
  5244. if (lng) {
  5245. if (ccode in _I18n.$code2dir) pack['.dir'] = _I18n.$code2dir[ccode];
  5246. var newLngs = [];
  5247. for (var k in _I18n.$lng2code)
  5248. if (ccode === _I18n.$lng2code[k] && k !== lng) newLngs.push(k);
  5249. newLngs.unshift(lng);
  5250. pack['.lng'] = 1 === newLngs.length ? newLngs[0] : newLngs
  5251. }
  5252. if (lng)
  5253. for (var label in _I18n.$defSet) {
  5254. if (/^\./.test(label) || /^[0-9]/.test(label)) continue;
  5255. addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5256. }
  5257. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  5258. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5259. for (var i = 1; i < MAX_CHECKS; i++) {
  5260. if (CK_MIRRORFIRST + 100 <= i && CK_MIRRORLAST + 100 >= i) continue;
  5261. var label = i + '.enabled';
  5262. var checkEnabled = false;
  5263. if (_I18n.$defSet[label] || oldPack[label]) checkEnabled = true;
  5264. if (!checkEnabled)
  5265. for (var depC = 0; depC < arrDepCodes.length; depC++) {
  5266. var depCode = arrDepCodes[depC];
  5267. if (_I18n.$translations[depCode] && _I18n.$translations[depCode][label]) checkEnabled = true
  5268. }
  5269. if (checkEnabled && !(i + '.title' in _I18n.$defSet)) {
  5270. pack[i + '.note'] = GL_TODOMARKER + 'The check #' + i + ' is no longer exist. See the forum thread for more details.';
  5271. continue
  5272. }
  5273. for (var j = 0; j < allLabels.length; j++) {
  5274. var labelSfx = allLabels[j];
  5275. label = i + '.' + labelSfx;
  5276. var defData = _I18n.$defSet[label];
  5277. var oldData = oldPack[label];
  5278. if (classCodeDefined(defData) || classCodeDefined(oldData))
  5279. if (-1 !== _RT.$textLabels.indexOf(labelSfx)) {
  5280. if (lng && checkEnabled) addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5281. } else {
  5282. if ('params' === labelSfx) {
  5283. if (!classCodeDefined(oldData)) continue;
  5284. defData = deepCopy(defData || {});
  5285. oldData = deepCopy(oldData);
  5286. for (var k = CO_MIN; k <= CO_MAX; k++) {
  5287. delete defData[k];
  5288. delete oldData[k]
  5289. }
  5290. for (var k in defData) {
  5291. if (!defData.hasOwnProperty(k)) continue;
  5292. if (/\.title$/.test(k)) delete defData[k]
  5293. }
  5294. }
  5295. if (!deepCompare(defData, oldData)) pack[label] = oldData
  5296. }
  5297. }
  5298. }
  5299. ret += JSON.stringify(pack, null, ' ') + ';\n';
  5300. return ret
  5301. }
  5302. function getListOfChecks(countryID, country) {
  5303. var ucountry = country.toUpperCase();
  5304. var ccode = '';
  5305. if (countryID) ccode = _I18n.getCountryCode(ucountry);
  5306. var ret = trS('report.list.see') + ' ' + Bb + trS('report.list.checks') + Eb + Br + Br;
  5307. var fallbacks = '';
  5308. if (ccode)
  5309. for (var i in _I18n.$country2code) {
  5310. if (!_I18n.$country2code.hasOwnProperty(i)) continue;
  5311. if (i === ucountry) continue;
  5312. var acode = _I18n.$country2code[i];
  5313. if (ccode && acode !== ccode) continue;
  5314. fallbacks += _I18n.capitalize(i) + ' → ' + country + Br
  5315. }
  5316. for (var i in _I18n.$code2code) {
  5317. if (!_I18n.$code2code.hasOwnProperty(i)) continue;
  5318. var countryFrom = _I18n.getCapitalizedCountry(i);
  5319. var countryTo = _I18n.getCapitalizedCountry(_I18n.$code2code[i]);
  5320. if (ccode && i !== ccode && _I18n.$code2code[i] !== ccode) continue;
  5321. if (country && countryFrom !== country && countryTo !== country) continue;
  5322. fallbacks += countryFrom + ' (' + i + ') → ' + countryTo + ' (' + _I18n.$code2code[i] + ')' + Br
  5323. }
  5324. if (fallbacks) ret += Bb + trS('report.list.fallback') + Eb + Br + fallbacks;
  5325. var sortedIDs = getSortedCheckIDs();
  5326. if (ccode) {
  5327. var enabledIDs = [];
  5328. var disabledIDs = [];
  5329. sortedIDs.forEach(function(cid) {
  5330. var c = _RT.$checks[cid];
  5331. if (!c) return;
  5332. if (RS_MAX === c.SEVERITY) return;
  5333. var en = true;
  5334. var forCountry = c.FORCOUNTRY;
  5335. if (forCountry)
  5336. if (!_WV.checkAccessFor(forCountry, function(e) {
  5337. if (e in _I18n.$code2country) return _I18n.$code2country[e] === ucountry;
  5338. error('Please report: fc=' + e);
  5339. return false
  5340. }))
  5341. en = false;
  5342. if (en)
  5343. enabledIDs.push(cid);
  5344. else
  5345. disabledIDs.push(cid)
  5346. });
  5347. ret += Bh2 + trSO('report.list.enabled', {'n': enabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5348. enabledIDs.forEach(function(cid) {
  5349. ret += Bli + getCheckDescription(cid, countryID, Bb, Eb + Br) + Bsmall;
  5350. ret += getCheckProperties(cid, ccode, false, false);
  5351. ret += Esmall + Eli
  5352. });
  5353. ret += Eul;
  5354. ret += Bh2 + trSO('report.list.disabled', {'n': disabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5355. disabledIDs.forEach(function(cid) {
  5356. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5357. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5358. ret += Esmall + Eli
  5359. });
  5360. ret += Eul
  5361. } else {
  5362. ret += Bh2 + trSO('report.list.total', {'n': sortedIDs.length}) + ':' + Eh2 + Bul;
  5363. sortedIDs.forEach(function(cid) {
  5364. var c = _RT.$checks[cid];
  5365. if (!c) return;
  5366. if (RS_MAX === c.SEVERITY) return;
  5367. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5368. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5369. ret += Esmall + Eli
  5370. });
  5371. ret += Eul
  5372. }
  5373. return ret
  5374. }
  5375. function getHTMLFooter() {
  5376. return '\n<hr>' +
  5377. '\n<center dir="ltr"><small>WME Validator v' + WV_VERSION + '<br>&copy; 2013-2018 Andriy Berestovskyy</small></center>' +
  5378. '\n</body></html>'
  5379. }
  5380. function getTAHeader(h) {
  5381. var ret = '\n<p>' + (RF_CREATEPACK === reportFormat ? trS('msg.textarea.pack') : trS('msg.textarea')) + ':</p>' +
  5382. '\n<p><textarea style="resize:vertical;width:100%;height:' + h + '">';
  5383. setFormat(RF_BB);
  5384. return ret
  5385. }
  5386. function getTAFooter() {
  5387. setFormat(RF_HTML);
  5388. return '\n</textarea></p>'
  5389. }
  5390. function getSizeWarning(size) {
  5391. return 5E4 < size ? '\n<p style="color:#e00">' + trSO('report.size.warning', {'n': size}) + '</p>' : ''
  5392. }
  5393. function openWindow(data) {
  5394. var nw = UW.open('', '_blank');
  5395. nw.document.write(data)
  5396. }
  5397. function openWindowFR(title) {
  5398. var encFR = 'data:text/html;charset=UTF-8,';
  5399. if (newWin)
  5400. if (reportFormat === RF_HTML) {
  5401. title = title.split(' ').join('_');
  5402. newWin.document.write(FRheader);
  5403. var saveRep = FRheader;
  5404. saveRep += FR;
  5405. saveRep += FRfooter;
  5406. saveRep = encodeURIComponent(saveRep);
  5407. var saveLink = '<br><a download="';
  5408. saveLink += title;
  5409. saveLink += '_';
  5410. saveLink += _nowISO;
  5411. saveLink += '.html" href="data:text/html;charset=UTF-8,';
  5412. saveLink += saveRep;
  5413. saveRep = '';
  5414. saveLink += '"><button>';
  5415. saveLink += trS('report.save');
  5416. saveLink += '</button></a><br>';
  5417. newWin.document.write(saveLink);
  5418. newWin.document.write(FR);
  5419. newWin.document.write(saveLink);
  5420. newWin.document.write(FRfooter)
  5421. } else
  5422. newWin.document.write(FR);
  5423. else {
  5424. encFR += encodeURIComponent(FRheader);
  5425. FRheader = '';
  5426. encFR += encodeURIComponent(FR);
  5427. FR = '';
  5428. encFR += encodeURIComponent(FRfooter);
  5429. FRfooter = '';
  5430. UW.open(encFR, '_blank')
  5431. }
  5432. }
  5433. var seenObjects = {};
  5434. var lastCheckID = -1;
  5435. var lastCityID = -1;
  5436. var lastStreetID = -1;
  5437. var counterNotes = 0;
  5438. var counterWarnings = 0;
  5439. var counterErrors = 0;
  5440. var counterCustoms1 = 0;
  5441. var counterCustoms2 = 0;
  5442. function resetFilter() {
  5443. seenObjects = {};
  5444. lastCheckID = -1;
  5445. lastCityID = -1;
  5446. lastStreetID = -1;
  5447. counterNotes = 0;
  5448. counterWarnings = 0;
  5449. counterErrors = 0;
  5450. counterCustoms1 = 0;
  5451. counterCustoms2 = 0
  5452. }
  5453. function getTOC() {
  5454. resetFilter();
  5455. FR += '\n<br><div id="contents">';
  5456. FR += '\n<big><b>';
  5457. FR += trS('report.contents');
  5458. FR += '</b></big>';
  5459. FR += '\n<ol>';
  5460. traverseReport(function(obj) {
  5461. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false))
  5462. if (obj.$checkID !== lastCheckID) {
  5463. lastCheckID = obj.$checkID;
  5464. var check = obj.$check;
  5465. var strCountry = _REP.$countries[obj.$objectCopy.$countryID];
  5466. var ccode = '';
  5467. if (strCountry)
  5468. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5469. else
  5470. ccode = _RT.$cachedTopCCode;
  5471. var options = trO(check.OPTIONS, ccode);
  5472. FR += '\n<li class="';
  5473. FR += getTextSeverity(obj.$check.SEVERITY);
  5474. FR += '"><a href="#a';
  5475. FR += lastCheckID;
  5476. FR += '">';
  5477. FR += exSOS(check.TITLE, options, 'titleEN');
  5478. FR += '</a></li>'
  5479. }
  5480. });
  5481. FR += '\n<li><a href="#a">';
  5482. FR += trS('report.summary');
  5483. FR += '</a></li>';
  5484. FR += '\n</ol>\n</div>'
  5485. }
  5486. function getSortedCheckIDs() {
  5487. return _RT.$sortedCheckIDs ? _RT.$sortedCheckIDs : _RT.$sortedCheckIDs = Object.keys(_RT.$checks).sort(cmpCheckIDs)
  5488. }
  5489. function traverseReport(handler) {
  5490. var mapCenter = WM.getCenter();
  5491. function getSortedCities() {
  5492. var ret = _REP.$sortedCityIDs;
  5493. if (!ret || ret.length != _REP.$unsortedCityIDs.length)
  5494. return _REP.$sortedCityIDs = [].concat(_REP.$unsortedCityIDs).sort(function(a, b) {
  5495. return _repC[a].localeCompare(_repC[b])
  5496. });
  5497. return ret
  5498. }
  5499. function getSortedStreets(repC) {
  5500. var ret = repC.$sortedStreetIDs;
  5501. if (!ret || ret.length != repC.$unsortedStreetIDs.length)
  5502. return repC.$sortedStreetIDs = [].concat(repC.$unsortedStreetIDs).sort(function(a, b) {
  5503. return _repS[a].localeCompare(_repS[b])
  5504. });
  5505. return ret
  5506. }
  5507. function getHypot(c1, c2) {
  5508. return Math.sqrt(c1 * c1 + c2 * c2)
  5509. }
  5510. function getSortedObjects(repS) {
  5511. var ret = repS.$sortedObjectIDs;
  5512. var repSeg = repS.$objectIDs;
  5513. if (!ret || ret.length != repS.$unsortedObjectIDs.length)
  5514. return repS.$sortedSegmentIDs = [].concat(repS.$unsortedObjectIDs).sort(function(a, b) {
  5515. var segA = repSeg[a], segB = repSeg[b];
  5516. if (segA.$typeRank !== segB.$typeRank) return segB.$typeRank - segA.$typeRank;
  5517. var distAB = getHypot(segA.$center.lat - segB.$center.lat, segA.$center.lon - segB.$center.lon);
  5518. if (.002 > distAB) return 0;
  5519. var distA = getHypot(mapCenter.lat - segA.$center.lat, mapCenter.lon - segA.$center.lon);
  5520. var distB = getHypot(mapCenter.lat - segB.$center.lat, mapCenter.lon - segB.$center.lon);
  5521. return distA - distB
  5522. });
  5523. return ret
  5524. }
  5525. var checkIDs = getSortedCheckIDs();
  5526. nextCheck: for (var i = 1; i < checkIDs.length; i++) {
  5527. var checkID = checkIDs[i];
  5528. var check = _RT.$checks[checkID];
  5529. if (!check) continue;
  5530. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED && RS_NOTE === check.SEVERITY) continue;
  5531. var sortedCities = getSortedCities();
  5532. for (var sorcid = 0; sorcid < sortedCities.length; sorcid++) {
  5533. var cid = sortedCities[sorcid];
  5534. var repC = _REP.$cityIDs[cid];
  5535. var sortedStreets = getSortedStreets(repC);
  5536. for (var sorsid = 0; sorsid < sortedStreets.length; sorsid++) {
  5537. var sid = sortedStreets[sorsid];
  5538. var repS = repC.$streetIDs[sid];
  5539. if (repS.$unsortedObjectIDs) {
  5540. var sortedObjects = getSortedObjects(repS);
  5541. for (var sorscid = 0; sorscid < sortedObjects.length; sorscid++) {
  5542. var scid = sortedObjects[sorscid];
  5543. var sc = repS.$objectIDs[scid];
  5544. if (checkID in sc.$reportIDs) {
  5545. var obj = {$checkID: checkID, $check: check, $param: sc.$reportIDs[checkID], $cityParam: repC.$params[checkID], $streetParam: repS.$params[checkID], $objectCopy: sc};
  5546. switch (handler(obj)) {
  5547. case RT_STOP:
  5548. return;
  5549. case RT_NEXTCHECK:
  5550. continue nextCheck
  5551. }
  5552. }
  5553. }
  5554. }
  5555. }
  5556. }
  5557. }
  5558. }
  5559. function closeReportStreet() {
  5560. if (0 <= lastStreetID || 0 <= lastCityID) {
  5561. lastStreetID = -1;
  5562. FR += Eli
  5563. }
  5564. }
  5565. function closeReportCity() {
  5566. if (0 <= lastCityID) {
  5567. lastCityID = -1;
  5568. closeReportStreet();
  5569. FR += Eul
  5570. }
  5571. }
  5572. function closeReportCheck() {
  5573. if (0 <= lastCheckID) {
  5574. if (LIMIT_PERCHECK < _repRC[lastCheckID])
  5575. if (1 === _repRC[lastCheckID] - LIMIT_PERCHECK)
  5576. FR += '[and more...]';
  5577. else {
  5578. FR += '[and ';
  5579. FR += _repRC[lastCheckID] - LIMIT_PERCHECK;
  5580. FR += ' objects more...]'
  5581. }
  5582. lastCheckID = -1;
  5583. closeReportCity()
  5584. }
  5585. if (RF_HTML === curFormat) FR += '</div>'
  5586. }
  5587. function getCheckDescription(checkID, countryID, headB, headE) {
  5588. var check = _RT.$checks[checkID];
  5589. var ret = headB;
  5590. var strCountry = _REP.$countries[countryID];
  5591. var ccode = '';
  5592. if (strCountry)
  5593. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5594. else
  5595. ccode = _RT.$cachedTopCCode;
  5596. var options = trO(check.OPTIONS, ccode);
  5597. if (check.COLOR) ret += Bcolor + check.COLOR + Ccolor + '██ ' + Ecolor;
  5598. ret += '' + (countryID ? exSOS(check.TITLE, options, 'titleEN') : check.TITLE) + ' (#' + checkID + ')' + headE;
  5599. var sevColor = GL_NOTECOLOR;
  5600. switch (check.SEVERITY) {
  5601. case RS_WARNING:
  5602. sevColor = GL_WARNINGCOLOR;
  5603. break;
  5604. case RS_ERROR:
  5605. sevColor = GL_ERRORCOLOR;
  5606. break;
  5607. case RS_CUSTOM1:
  5608. sevColor = GL_CUSTOM1COLOR;
  5609. break;
  5610. case RS_CUSTOM2:
  5611. sevColor = GL_CUSTOM2COLOR;
  5612. break
  5613. }
  5614. if (check.PROBLEM) {
  5615. ret += Bcolor + sevColor + Ccolor + (countryID ? exSOS(check.PROBLEM, options, 'problemEN') : check.PROBLEM);
  5616. var pl = trO(check.PROBLEMLINK, ccode);
  5617. if (pl)
  5618. ret += ': ' + Ba + pl + Ca + trO(check.PROBLEMLINKTEXT, ccode) + Ea;
  5619. else
  5620. ret += '.';
  5621. ret += Ecolor + Br
  5622. }
  5623. if (check.SOLUTION) {
  5624. ret += countryID ? exSOS(check.SOLUTION, options, 'solutionEN') : check.SOLUTION;
  5625. var sl = trO(check.SOLUTIONLINK, ccode);
  5626. if (sl)
  5627. ret += ': ' + Ba + sl + Ca + trO(check.SOLUTIONLINKTEXT, ccode) + Ea;
  5628. else
  5629. ret += '.';
  5630. ret += Br
  5631. }
  5632. return ret
  5633. }
  5634. function getReportCheck(obj) {
  5635. closeReportCheck();
  5636. if (RF_HTML === curFormat) {
  5637. FR += '<div class="';
  5638. FR += getTextSeverity(obj.$check.SEVERITY);
  5639. FR += '"><a name="a';
  5640. FR += obj.$checkID;
  5641. FR += '"></a>'
  5642. }
  5643. FR += getCheckDescription(obj.$checkID, obj.$objectCopy.$countryID, Bh2, Eh2);
  5644. FR += Br
  5645. }
  5646. function getReportCity(obj) {
  5647. closeReportCity();
  5648. FR += Bbig;
  5649. FR += Bb;
  5650. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5651. FR += Eb;
  5652. FR += Ebig;
  5653. if (obj.$cityParam) {
  5654. FR += Mdash;
  5655. FR += obj.$cityParam
  5656. }
  5657. FR += Bul
  5658. }
  5659. function getReportStreet(obj) {
  5660. closeReportStreet();
  5661. FR += Bli;
  5662. FR += checkNoStreet(_repS[obj.$objectCopy.$streetID]);
  5663. FR += ', ';
  5664. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5665. if (obj.$streetParam) {
  5666. FR += Mdash;
  5667. FR += obj.$streetParam
  5668. }
  5669. FR += Br
  5670. }
  5671. function getPermalink(obj) {
  5672. var z = SCAN_ZOOM;
  5673. if (obj.$objectCopy)
  5674. if (50 > obj.$objectCopy.$length)
  5675. z = 19;
  5676. else if (500 > obj.$objectCopy.$length) {
  5677. if (18 > z) z += 1
  5678. } else
  5679. z = 16;
  5680. else
  5681. z = 16;
  5682. FR += window.location.origin;
  5683. FR += window.location.pathname;
  5684. FR += '?zoomLevel=';
  5685. FR += z;
  5686. FR += '&lat=';
  5687. FR += obj.$objectCopy.$center.lat;
  5688. FR += '&lon=';
  5689. FR += obj.$objectCopy.$center.lon;
  5690. FR += '&env=';
  5691. FR += nW.app.getAppRegionCode();
  5692. FR += '&' + obj.$objectCopy.$model.name + '=';
  5693. FR += obj.$objectCopy.$objectID
  5694. }
  5695. function getReportItem(obj) {
  5696. if (!checkFilter(0, obj.$objectCopy, seenObjects) || !getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) return;
  5697. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5698. if (obj.$checkID !== lastCheckID) {
  5699. getReportCheck(obj);
  5700. if (noFilters) {
  5701. var c = _repRC[obj.$checkID];
  5702. switch (obj.$check.SEVERITY) {
  5703. case RS_NOTE:
  5704. counterNotes += c;
  5705. break;
  5706. case RS_WARNING:
  5707. counterWarnings += c;
  5708. break;
  5709. case RS_ERROR:
  5710. counterErrors += c;
  5711. break;
  5712. case RS_CUSTOM1:
  5713. counterCustoms1 += c;
  5714. break;
  5715. case RS_CUSTOM2:
  5716. counterCustoms2 += c;
  5717. break
  5718. }
  5719. }
  5720. }
  5721. if (obj.$objectCopy.$cityID !== lastCityID) getReportCity(obj);
  5722. if (obj.$objectCopy.$streetID !== lastStreetID) getReportStreet(obj);
  5723. lastCityID = obj.$objectCopy.$cityID;
  5724. lastStreetID = obj.$objectCopy.$streetID;
  5725. lastCheckID = obj.$checkID;
  5726. if (!noFilters) switch (obj.$check.SEVERITY) {
  5727. case RS_NOTE:
  5728. counterNotes++;
  5729. break;
  5730. case RS_WARNING:
  5731. counterWarnings++;
  5732. break;
  5733. case RS_ERROR:
  5734. counterErrors++;
  5735. break;
  5736. case RS_CUSTOM1:
  5737. counterCustoms1++;
  5738. break;
  5739. case RS_CUSTOM2:
  5740. counterCustoms2++;
  5741. break
  5742. }
  5743. FR += BaV;
  5744. getPermalink(obj);
  5745. FR += Ca;
  5746. if (isBeta) FR += 'B:';
  5747. if (obj.$objectCopy.$model === WMo.segments)
  5748. FR += obj.$objectCopy.$objectID;
  5749. else if (obj.$objectCopy.$name !== '')
  5750. FR += obj.$objectCopy.$name;
  5751. else
  5752. FR += obj.$objectCopy.$objectID;
  5753. FR += Ea;
  5754. FR += ' '
  5755. }
  5756. function getSummary() {
  5757. if (RF_HTML === curFormat) FR += '<a name="a"></a>';
  5758. FR += Bh2;
  5759. FR += trS('report.summary');
  5760. FR += Eh2;
  5761. FR += Bb;
  5762. FR += trS('report.segments');
  5763. FR += Eb;
  5764. FR += ' ';
  5765. FR += _REP.$counterTotal;
  5766. FR += Br;
  5767. if (counterCustoms1 || counterCustoms2) {
  5768. FR += Bb;
  5769. FR += trS('report.customs');
  5770. FR += Eb;
  5771. FR += ' ';
  5772. FR += counterCustoms1;
  5773. FR += '/';
  5774. FR += counterCustoms2;
  5775. if (_REP.$isLimitPerCheck) FR += '*';
  5776. FR += Br
  5777. }
  5778. FR += Bb;
  5779. FR += trS('report.reported');
  5780. FR += Eb;
  5781. FR += ' ';
  5782. var summary = [];
  5783. if (counterErrors)
  5784. summary.push(Bb + trS('report.errors') + Mdash + Eb + ' ' + counterErrors + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterErrors * 1E3 / _REP.$counterTotal) + '‰)');
  5785. if (counterWarnings)
  5786. summary.push(Bb + trS('report.warnings') + Mdash + Eb + ' ' + counterWarnings + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterWarnings * 1E3 / _REP.$counterTotal) + '‰)');
  5787. if (counterNotes) summary.push(Bb + trS('report.notes') + Mdash + Eb + ' ' + counterNotes + (_REP.$isLimitPerCheck ? '*' : ''));
  5788. FR += getNaturalList(summary);
  5789. FR += Br;
  5790. if (_REP.$isLimitPerCheck) {
  5791. FR += trS('report.note.limit');
  5792. FR += Br
  5793. }
  5794. FR += Br;
  5795. FR += trS('report.forum');
  5796. FR += ' ';
  5797. FR += Ba;
  5798. FR += PFX_DISCUSS;
  5799. FR += DISCUSS_HOME;
  5800. FR += Ca;
  5801. FR += trS('report.forum.link');
  5802. FR += Ea;
  5803. FR += Br;
  5804. FR += Br;
  5805. FR += trS('report.thanks');
  5806. FR += Br
  5807. }
  5808. function getReport(fmt) {
  5809. var oldFormat = curFormat;
  5810. setFormat(fmt);
  5811. resetFilter();
  5812. _REP.$maxSeverity = 0;
  5813. traverseReport(function(e) {
  5814. getReportItem(e)
  5815. });
  5816. closeReportCheck();
  5817. getSummary();
  5818. setFormat(oldFormat)
  5819. }
  5820. function updateMaxSeverity() {
  5821. resetFilter();
  5822. _REP.$maxSeverity = 0;
  5823. traverseReport(function(obj) {
  5824. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) {
  5825. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5826. if (_RT.$curMaxSeverity === _REP.$maxSeverity) return RT_STOP
  5827. }
  5828. })
  5829. }
  5830. setFormat(RF_HTML);
  5831. var t = trS('report.title');
  5832. switch (reportFormat) {
  5833. case RF_UPDATEMAXSEVERITY:
  5834. updateMaxSeverity();
  5835. break;
  5836. case RF_CREATEPACK:
  5837. var wType = 'Localization Package Wizard';
  5838. if (!window.confirm(getMsg(
  5839. wType,
  5840. '\nBefore starting the Wizard:' +
  5841. '\n\n1. Position WME over your country' +
  5842. '\n so the Wizard will know your country name' +
  5843. '\n\n2. Switch WME to your language' +
  5844. '\n so the Wizard will add translations into the package' +
  5845. '\n\n3. Enable any previous version of localization pack' +
  5846. '\n so the Wizard will preserve already translated text',
  5847. true)))
  5848. break;
  5849. var country = _RT.$topCity && _RT.$topCity.$country ? _RT.$topCity.$country : window.prompt(getMsg(wType, '\nWME country name (example: United Kingdom):', true));
  5850. if (!country) break;
  5851. var ucountry = country.toUpperCase();
  5852. var ccode = _I18n.getCountryCode(ucountry) ? _I18n.getCountryCode(ucountry) : window.prompt(getMsg(wType, '\nISO 3166-1 Alpha-2 country code (example: UK):', true));
  5853. if (!ccode) break;
  5854. ccode = ccode.toUpperCase();
  5855. var lng = window.prompt(
  5856. getMsg(
  5857. wType,
  5858. '\nPlease confirm the WME language code:' +
  5859. '\n\nfor "EN" no translations will be included into the package' +
  5860. '\nfor any other code the translations will be included',
  5861. true),
  5862. _RT.$lng);
  5863. if (!lng) break;
  5864. lng = lng.toUpperCase();
  5865. if (_I18n.$defLng === lng)
  5866. t = 'Minimal Localization for ' + country;
  5867. else
  5868. t = 'Localization and Translation for ' + country;
  5869. if (_I18n.$defLng === lng) lng = '';
  5870. var lPack = getHTMLHeader(t) + getHeader(t) + getTAHeader('400px') + getPackHeader(country, lng) + getPack(country, ccode, lng);
  5871. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5872. for (var i = 0; i < arrDepCodes.length; i++) {
  5873. var depCode = arrDepCodes[i];
  5874. var depCountry = _I18n.getCapitalizedCountry(depCode);
  5875. if (depCountry && depCode) {
  5876. lPack += '\n// Dependant package:';
  5877. lPack += getPack(depCountry, depCode, '')
  5878. }
  5879. }
  5880. openWindow(lPack + getTAFooter() + getHTMLFooter());
  5881. break;
  5882. case RF_LIST:
  5883. var countryID = 0;
  5884. var country = '';
  5885. t = trS('report.list.title') + ' ';
  5886. if (_RT.$topCity && _RT.$topCity.$country) {
  5887. countryID = _RT.$topCity.$countryID;
  5888. country = _RT.$topCity.$country;
  5889. t += country + ' (v' + WV_VERSION + ')'
  5890. } else
  5891. t += 'v' + WV_VERSION;
  5892. openWindow(getHTMLHeader(t) + getHeader(t) + getListOfChecks(countryID, country) + getTAHeader('200px') + getHeader(t) + getListOfChecks(countryID, country) + getTAFooter() + getHTMLFooter());
  5893. break;
  5894. case RF_HTML:
  5895. newWin = UW.open('', '_blank');
  5896. FR += getHTMLHeader(t);
  5897. FR += getHeader(t);
  5898. FRheader = FR;
  5899. FR = '';
  5900. getTOC();
  5901. getReport(RF_HTML);
  5902. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5903. if (newWin) newWin.close();
  5904. async(F_UPDATEUI);
  5905. break
  5906. }
  5907. FRfooter += getHTMLFooter();
  5908. openWindowFR(t);
  5909. break;
  5910. case RF_BB:
  5911. newWin = UW.open('', '_blank');
  5912. var tf = t + ' ' + trS('report.share');
  5913. FR += getHTMLHeader(tf);
  5914. FR += getHeader(tf);
  5915. FR += getTAHeader('200px');
  5916. var beforeShareLen = FR.length;
  5917. FR += getHeader(t);
  5918. getReport(RF_BB);
  5919. var shareLen = FR.length - beforeShareLen;
  5920. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5921. if (newWin) newWin.close();
  5922. async(F_UPDATEUI);
  5923. break
  5924. }
  5925. FR += getTAFooter();
  5926. FR += getSizeWarning(shareLen);
  5927. FR += getHTMLFooter();
  5928. openWindowFR();
  5929. break
  5930. }
  5931. resetFilter()
  5932. };
  5933. function F_VALIDATE(disabledHL) {
  5934. if (!_RT.$isMapChanged) return;
  5935. _RT.$isMapChanged = false;
  5936. var bUpdateMaxSeverity = false;
  5937. if (RTStateIs(ST_RUN)) beep(10);
  5938. var options;
  5939. var skippedObject = false;
  5940. if (disabledHL) {
  5941. updateObjectProperties([], true);
  5942. return
  5943. }
  5944. if (LIMIT_TOTAL < _REP.$counterTotal && !isErrorFlag()) {
  5945. setErrorFlag();
  5946. if (RTStateIs(ST_RUN)) {
  5947. window.alert(getMsg(trS('msg.autopaused'), '\n' + trS('msg.limit.segments') + trS('msg.limit.segments.continue'), true));
  5948. sync(F_PAUSE)
  5949. } else
  5950. warning(trS('msg.limit.segments') + trS('msg.limit.segments.clear'));
  5951. return
  5952. }
  5953. _RT.$topCenter = WM.getCenter();
  5954. if (_UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED) {
  5955. var el = document.getElementById(_RT.oReportWMECH.FORID);
  5956. if (el) {
  5957. var ev = new CustomEvent('click');
  5958. el.dispatchEvent(ev)
  5959. }
  5960. }
  5961. var _repC = _REP.$cities;
  5962. var _repCC = _REP.$cityCounters;
  5963. var _repRC = _REP.$reportCounters;
  5964. var _repS = _REP.$streets;
  5965. var _repU = _REP.$users;
  5966. function isLimitOk(id) {
  5967. if (DEF_DEBUG)
  5968. return true;
  5969. else
  5970. return !(LIMIT_PERCHECK < _repRC[id])
  5971. }
  5972. function formatDate(d) {
  5973. var n = new Date(d);
  5974. return n.toISOString().substr(0, 10)
  5975. }
  5976. function getUserName(objID) {
  5977. var u = WMo.users.getObjectById(objID);
  5978. return u ? u.attributes.userName : objID.toString()
  5979. }
  5980. function getUserLevel(objID) {
  5981. var u = WMo.users.getObjectById(objID);
  5982. return u ? u.attributes.rank + 1 : 0
  5983. }
  5984. function SimpleNODE(objID, segID) {
  5985. this.$rawNode = null;
  5986. this.$nodeID = objID;
  5987. this._center = null;
  5988. this.$center = null;
  5989. this.$isUturn = false;
  5990. this.$isEditable = true;
  5991. this.$isPartial = true;
  5992. this._rawRestrictions = [];
  5993. this._rawRestrictionIDs = [];
  5994. this._restrictions = null;
  5995. this.$restrictions = null;
  5996. this._rawOtherSegments = [];
  5997. this._otherSegments = null;
  5998. this.$otherSegments = null;
  5999. this._rawOutConnections = [];
  6000. this._outConnections = null;
  6001. this.$outConnections = null;
  6002. this._rawInConnections = [];
  6003. this._inConnections = null;
  6004. this.$inConnections = null;
  6005. this.$restrictionsLen = 0;
  6006. this.$otherSegmentsLen = 0;
  6007. this.$outConnectionsLen = 0;
  6008. this.$inConnectionsLen = 0;
  6009. var n = WMo.nodes.getObjectById(objID);
  6010. this.$rawNode = n;
  6011. if (n) {
  6012. this.$isPartial = n.attributes.partial;
  6013. this.$isEditable = true;
  6014. var co = n.attributes.restrictions;
  6015. for (var k in co) {
  6016. if (!co[k]) continue;
  6017. var _con = k.split(',');
  6018. var con0 = +_con[0];
  6019. if (+segID === con0) {
  6020. var con1 = +_con[1];
  6021. var cok = co[k];
  6022. for (var j = 0, l = cok.length; j < l; j++) {
  6023. this._rawRestrictions.push(cok[j]);
  6024. this._rawRestrictionIDs.push(con1)
  6025. }
  6026. }
  6027. }
  6028. this.$restrictionsLen = this._rawRestrictions.length;
  6029. for (var i = 0; i < n.attributes.segIDs.length; i++) {
  6030. var si = n.attributes.segIDs[i];
  6031. if (+segID === +si || !WMo.segments.getObjectById(si)) continue;
  6032. this._rawOtherSegments.push(si)
  6033. }
  6034. this.$otherSegmentsLen = this._rawOtherSegments.length;
  6035. co = n.attributes.connections;
  6036. for (var k in co) {
  6037. if (!co[k]) continue;
  6038. var _con = k.split(',');
  6039. var con0 = +_con[0];
  6040. var con1 = +_con[1];
  6041. if (+segID === con0 && +segID === con1) {
  6042. this.$isUturn = true;
  6043. continue
  6044. }
  6045. if (+segID === con0) this._rawOutConnections.push(con1);
  6046. if (+segID === con1) this._rawInConnections.push(con0)
  6047. }
  6048. }
  6049. this.$outConnectionsLen = this._rawOutConnections.length;
  6050. this.$inConnectionsLen = this._rawInConnections.length;
  6051. Object.defineProperties(this, {
  6052. $rawNode: {enumerable: false},
  6053. $nodeID: {writable: false},
  6054. _center: {enumerable: false},
  6055. $center: {get: this.getCenter},
  6056. $isUturn: {writable: false},
  6057. $isEditable: {writable: false},
  6058. $isPartial: {writable: false},
  6059. _rawRestrictions: {enumerable: false},
  6060. _rawRestrictionIDs: {enumerable: false},
  6061. _restrictions: {enumerable: false},
  6062. $restrictions: {get: this.getRestrictions},
  6063. _rawOtherSegments: {enumerable: false},
  6064. _otherSegments: {enumerable: false},
  6065. $otherSegments: {get: this.getOtherSegments},
  6066. _rawOutConnections: {enumerable: false},
  6067. _outConnections: {enumerable: false},
  6068. $outConnections: {get: this.getOutConnections},
  6069. _rawInConnections: {enumerable: false},
  6070. _inConnections: {enumerable: false},
  6071. $inConnections: {get: this.getInConnections},
  6072. $restrictionsLen: {writable: false},
  6073. $otherSegmentsLen: {writable: false},
  6074. $outConnectionsLen: {writable: false},
  6075. $inConnectionsLen: {writable: false}
  6076. })
  6077. }
  6078. SimpleNODE.prototype.getCenter = function() {
  6079. if (this._center) return this._center;
  6080. if (!this.$rawNode) return null;
  6081. var bounds = this.$rawNode.getOLGeometry().bounds;
  6082. this._center = (new OpenLayers.LonLat(bounds.left, bounds.bottom)).transform(nW.Config.map.projection.local, nW.Config.map.projection.remote);
  6083. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6084. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6085. return this._center
  6086. };
  6087. SimpleNODE.prototype.getRestrictions = function() {
  6088. var t;
  6089. return this._restrictions ? this._restrictions : (t = this, this._restrictions = this._rawRestrictions.map(function(e, i) {
  6090. return new SimpleRESTRICTION(e, t._rawRestrictionIDs[i])
  6091. }))
  6092. };
  6093. SimpleNODE.prototype.getOutConnections = function() {
  6094. return this._outConnections ? this._outConnections : this._outConnections = this._rawOutConnections.map(function(e) {
  6095. return new SimpleOBJECT(e, WMo.segments)
  6096. })
  6097. };
  6098. SimpleNODE.prototype.getInConnections = function() {
  6099. return this._inConnections ? this._inConnections : this._inConnections = this._rawInConnections.map(function(e) {
  6100. return new SimpleOBJECT(e, WMo.segments)
  6101. })
  6102. };
  6103. SimpleNODE.prototype.getOtherSegments = function() {
  6104. return this._otherSegments ? this._otherSegments : this._otherSegments = this._rawOtherSegments.map(function(e) {
  6105. return new SimpleOBJECT(e, WMo.segments)
  6106. })
  6107. };
  6108. function SimpleROADCLOSURE(obj) {
  6109. this.$id = obj.id;
  6110. this.$segID = obj.segID;
  6111. this.$active = obj.active;
  6112. this.$updatedOn = '';
  6113. this.$updatedBy = '';
  6114. this.$updatedByID = 0;
  6115. this.$updatedByLevel = 0;
  6116. this.$createdOn = '';
  6117. this.$createdBy = '';
  6118. this.$createdByID = 0;
  6119. this.$createdByLevel = 0;
  6120. this.$startDate = Date.parse(obj.startDate);
  6121. this.$endDate = Date.parse(obj.endDate);
  6122. this.$location = obj.location;
  6123. this.$reason = obj.reason;
  6124. if (obj.updatedOn) this.$updatedOn = formatDate('' + obj.updatedOn);
  6125. if (0 < obj.updatedBy) {
  6126. this.$updatedByID = obj.updatedBy;
  6127. this.$updatedBy = getUserName(obj.updatedBy);
  6128. this.$updatedByLevel = getUserLevel(obj.updatedBy)
  6129. }
  6130. if (obj.createdOn) this.$createdOn = formatDate('' + obj.createdOn);
  6131. if (obj.createdBy) {
  6132. this.$createdByID = obj.createdBy;
  6133. this.$createdBy = getUserName(obj.createdBy);
  6134. this.$createdByLevel = getUserLevel(obj.createdBy)
  6135. }
  6136. var past = new Date;
  6137. past.setDate(past.getDate() - 2);
  6138. this.$isInThePast = this.$endDate < past
  6139. }
  6140. function SimpleRESTRICTION(obj, segID) {
  6141. var timeFrame = obj.getTimeFrame();
  6142. this._to = null;
  6143. this.$to = null;
  6144. this.$toID = segID;
  6145. this.$allDay = timeFrame.isAllDay() || false;
  6146. this.$days = timeFrame.getWeekdays();
  6147. this.$description = obj.getDescription() || '';
  6148. this.$isEnabled = true;
  6149. this.$fromDate = timeFrame.getStartDate() || '';
  6150. this.$fromTime = timeFrame.getFromTime() || '';
  6151. this.$toDate = timeFrame.getEndDate() || '';
  6152. this.$toTime = timeFrame.getToTime() || '';
  6153. var past = new Date;
  6154. past.setDate(past.getDate() - 2);
  6155. this.$isInThePast = new Date(this.$toDate + ' ' + this.$toTime) < past;
  6156. Object.defineProperties(this, {
  6157. _to: {enumerable: false},
  6158. $to: {get: this.getTo},
  6159. $toID: {writable: false},
  6160. $allDay: {writable: false},
  6161. $days: {writable: false},
  6162. $description: {writable: false},
  6163. $isInThePast: {writable: false},
  6164. $isEnabled: {writable: false},
  6165. $fromDate: {writable: false},
  6166. $fromTime: {writable: false},
  6167. $toDate: {writable: false},
  6168. $toTime: {writable: false}
  6169. })
  6170. }
  6171. SimpleRESTRICTION.prototype.getTo = function() {
  6172. return this._to ? this._to : this._to = new SimpleOBJECT('' + this.$toID, WMo.segments)
  6173. };
  6174. function SimpleOBJECT(objID, model) {
  6175. this.$model = model;
  6176. var raw = this.$model.getObjectById(objID);
  6177. this.$rawObject = raw;
  6178. this._nodeA = null;
  6179. this.$nodeA = null;
  6180. this.$nodeAID = 0;
  6181. this._nodeB = null;
  6182. this.$nodeB = null;
  6183. this.$nodeBID = 0;
  6184. this._center = null;
  6185. this.$center = null;
  6186. this._restrictions = null;
  6187. this.$restrictions = null;
  6188. this.$name = '';
  6189. this.$brand = '';
  6190. this.$objectID = objID;
  6191. this.$address = null;
  6192. this.$isPoint = false;
  6193. this.$isTurnALocked = false;
  6194. this.$isTurnBLocked = false;
  6195. this.$isRoundabout = false;
  6196. this.$hasHNs = false;
  6197. this.$isEditable = false;
  6198. this.$forceNonEditable = false;
  6199. this.$mainCategory = '';
  6200. this.$categories = [];
  6201. this.$openingHours = [];
  6202. this.$phone = '';
  6203. this.$url = '';
  6204. this.$services = [];
  6205. this.$externalProviders = [];
  6206. this.$type = 0;
  6207. this.$typeRank = 0;
  6208. this.$direction = 0;
  6209. this.$isToll = false;
  6210. this.$elevation = 0;
  6211. this.$lock = 0;
  6212. this.$rank = 0;
  6213. this.$length = 0;
  6214. this.$updatedOn = '';
  6215. this.$updatedBy = '';
  6216. this.$updatedByID = 0;
  6217. this.$updatedByLevel = 0;
  6218. this.$createdOn = '';
  6219. this.$createdBy = '';
  6220. this.$createdByID = 0;
  6221. this.$createdByLevel = 0;
  6222. this.$alts = [];
  6223. this.restrictionsLen = 0;
  6224. this.$fwdMaxSpeed = 0;
  6225. this.$fwdMaxSpeedUnverified = true;
  6226. this.$revMaxSpeed = 0;
  6227. this.$revMaxSpeedUnverified = false;
  6228. this.$flags = null;
  6229. this.$hasClosures = false;
  6230. if (classCodeIs(raw, CC_UNDEFINED) || classCodeIs(raw, CC_NULL)) return;
  6231. var attrs = raw.attributes;
  6232. if (this.$model === WMo.segments) {
  6233. this.$nodeAID = attrs.fromNodeID;
  6234. this.$nodeBID = attrs.toNodeID;
  6235. this.$isRoutable = this.isRoutable();
  6236. this.$isTurnALocked = attrs.revTurnsLocked;
  6237. this.$isTurnBLocked = attrs.fwdTurnsLocked;
  6238. this.$isRoundabout = classCodeDefined(attrs.junctionID) && null !== attrs.junctionID;
  6239. this.$hasHNs = attrs.hasHNs;
  6240. this.$hasRestrictions = raw.hasRestrictions();
  6241. this.$restrictions = attrs.restrictions;
  6242. this.$type = attrs.roadType;
  6243. this.$typeRank = this.getTypeRank(attrs.roadType);
  6244. this.$direction = getDirection(raw);
  6245. this.$elevation = attrs.level;
  6246. if ('length' in attrs)
  6247. this.$length = attrs.length;
  6248. else
  6249. this.$length = Math.round(raw.getOLGeometry().getGeodesicLength(WM.projection));
  6250. this.$alts = attrs.streetIDs.map(function(objID) {
  6251. return new _WV.SimpleADDRESS(objID)
  6252. });
  6253. this.$restrictionsLen = attrs.restrictions.length;
  6254. this.$address = new _WV.SimpleADDRESS(attrs.primaryStreetID);
  6255. this.$fwdMaxSpeed = getLocalizedValue(+attrs.fwdMaxSpeed, this.$address.$country);
  6256. this.$fwdMaxSpeedUnverified = attrs.fwdMaxSpeedUnverified;
  6257. this.$revMaxSpeed = getLocalizedValue(+attrs.revMaxSpeed, this.$address.$country);
  6258. this.$revMaxSpeedUnverified = attrs.revMaxSpeedUnverified;
  6259. this.$hasClosures = attrs.hasClosures;
  6260. if (raw.getFlagAttributes) this.$flags = raw.getFlagAttributes()
  6261. } else {
  6262. this.$name = attrs.name;
  6263. this.$brand = attrs.brand;
  6264. if (this.$brand === null) this.$brand = '';
  6265. this.$isApproved = attrs.approved;
  6266. this.$mainCategory = raw.getMainCategory();
  6267. this.$categories = attrs.categories;
  6268. this.$categoryAttributes = attrs.categoryAttributes;
  6269. this.$openingHours = attrs.openingHours;
  6270. this.$services = attrs.services;
  6271. this.$externalProviders = attrs.externalProviderIDs;
  6272. this.$entryExitPoints = attrs.entryExitPoints;
  6273. this.$alts = attrs.aliases;
  6274. this.$address = new _WV.SimpleADDRESS(attrs.streetID);
  6275. this.$geometry = raw.getOLGeometry();
  6276. this.$phone = attrs.phone;
  6277. this.$url = attrs.url;
  6278. this.$isPoint = raw.isPoint()
  6279. }
  6280. this.$isEditable = raw.arePropertiesEditable();
  6281. this.$lock = attrs.lockRank + 1;
  6282. this.$rank = attrs.rank + 1;
  6283. if (attrs.updatedOn) this.$updatedOn = formatDate(attrs.updatedOn);
  6284. if (0 < attrs.updatedBy) {
  6285. this.$updatedByID = attrs.updatedBy;
  6286. this.$updatedBy = getUserName(attrs.updatedBy);
  6287. this.$updatedByLevel = getUserLevel(attrs.updatedBy)
  6288. }
  6289. if (attrs.createdOn) this.$createdOn = formatDate(attrs.createdOn);
  6290. if (attrs.createdBy) {
  6291. this.$createdByID = attrs.createdBy;
  6292. this.$createdBy = getUserName(attrs.createdBy);
  6293. this.$createdByLevel = getUserLevel(attrs.createdBy)
  6294. }
  6295. Object.defineProperties(this, {
  6296. $rawObject: {enumerable: false},
  6297. _nodeA: {enumerable: false},
  6298. $nodeA: {get: this.getNodeA},
  6299. $nodeAID: {writable: false},
  6300. _nodeB: {enumerable: false},
  6301. $nodeB: {get: this.getNodeB},
  6302. $nodeBID: {writable: false},
  6303. _center: {enumerable: false},
  6304. $center: {get: this.getCenter},
  6305. _restrictions: {enumerable: false},
  6306. $restrictions: {get: this.getRestrictions},
  6307. $segmentID: {writable: false},
  6308. $isRoutable: {writable: false},
  6309. $isPoint: {writable: false},
  6310. $isTurnALocked: {writable: false},
  6311. $isTurnBLocked: {writable: false},
  6312. $isRoundabout: {writable: false},
  6313. $hasHNs: {writable: false},
  6314. $typeRank: {writable: false},
  6315. $isEditable: {writable: false},
  6316. $rank: {writable: false},
  6317. $length: {writable: false},
  6318. $mainCategory: {writable: false},
  6319. $updatedOn: {writable: false},
  6320. $updatedBy: {writable: false},
  6321. $updatedByID: {writable: false},
  6322. $updatedByLevel: {writable: false},
  6323. $createdOn: {writable: false},
  6324. $createdBy: {writable: false},
  6325. $createdByID: {writable: false},
  6326. $createdByLevel: {writable: false},
  6327. $restrictionsLen: {writable: false}
  6328. })
  6329. }
  6330. SimpleOBJECT.prototype.isRoutable = function() {
  6331. var routeableRoadTypes = [RT_STREET, RT_PRIMARY, RT_MINOR, RT_MAJOR, RT_FREEWAY];
  6332. return routeableRoadTypes.includes(this.$type)
  6333. };
  6334. SimpleOBJECT.prototype.getTypeRank = function(typeID) {
  6335. return {19: 1, 18: 2, 16: 3, 10: 4, 5: 5, 17: 6, 20: 7, 8: 8, 21: 9, 1: 10, 2: 11, 4: 12, 7: 13, 6: 14, 3: 15}[typeID]
  6336. };
  6337. SimpleOBJECT.prototype.getNodeA = function() {
  6338. return this._nodeA ? this._nodeA : this._nodeA = new SimpleNODE(this.$nodeAID, this.$objectID)
  6339. };
  6340. SimpleOBJECT.prototype.getNodeB = function() {
  6341. return this._nodeB ? this._nodeB : this._nodeB = new SimpleNODE(this.$nodeBID, this.$objectID)
  6342. };
  6343. SimpleOBJECT.prototype.getCenter = function() {
  6344. if (this._center) return this._center;
  6345. this._center = this.$rawObject.getOLGeometry().getBounds().getCenterLonLat().clone().transform(nW.Config.map.projection.local, nW.Config.map.projection.remote);
  6346. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6347. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6348. return this._center
  6349. };
  6350. SimpleOBJECT.prototype.getRestrictions = function() {
  6351. var t;
  6352. return this._restrictions ? this._restrictions : this._restrictions = this.$model == WMo.venues ? [] : (t = this, this.$rawObject.attributes.restrictions.map(function(e) {
  6353. return new SimpleRESTRICTION(e, t.$objectID)
  6354. }))
  6355. };
  6356. SimpleOBJECT.prototype.report = function(params) {
  6357. if (classCodeIs(params, CC_NUMBER)) params = {$checkID: params};
  6358. var id = params.$checkID;
  6359. if (!id || !isLimitOk(id)) return;
  6360. function getObjectCopy(ss) {
  6361. return {
  6362. $objectID: ss.$objectID, $model: ss.$model, $name: ss.$name, $countryID: +ss.$address.$countryID, $cityID: +ss.$address.$cityID, $streetID: +ss.$address.$streetID, $reportIDs: {},
  6363. $updated: ss.$updatedOn ? ss.$rawObject.attributes.updatedOn :
  6364. ss.$createdOn ? ss.$rawObject.attributes.createdOn :
  6365. 0,
  6366. $userID: ss.$updatedByID ? +ss.$updatedByID :
  6367. ss.$createdByID ? +ss.$createdByID :
  6368. 0,
  6369. $isEditable: ss.$isEditable && (ss.$nodeA.$isEditable || ss.$nodeA.$isPartial) && (ss.$nodeB.$isEditable || ss.$nodeB.$isPartial), $typeRank: +ss.$typeRank, $center: ss.$center,
  6370. $length: +ss.$length
  6371. }
  6372. }
  6373. var rep = _REP.$cityIDs[this.$address.$cityID];
  6374. var check = _RT.$checks[id];
  6375. if (_repRC[id])
  6376. _repRC[id]++;
  6377. else
  6378. _repRC[id] = 1;
  6379. if (LIMIT_PERCHECK < _repRC[id]) {
  6380. _REP.$isLimitPerCheck = true;
  6381. return
  6382. }
  6383. if (params.$cityParam) rep.$params[id] = params.$cityParam;
  6384. var sid = this.$address.$streetID;
  6385. if (!(sid in rep.$streetIDs)) {
  6386. rep.$unsortedStreetIDs.push(sid);
  6387. _repS[sid] = this.$address.$street;
  6388. rep.$streetIDs[sid] = {};
  6389. rep.$streetIDs[sid].$params = {};
  6390. rep.$streetIDs[sid].$objectIDs = {};
  6391. rep.$streetIDs[sid].$unsortedObjectIDs = [];
  6392. rep.$streetIDs[sid].$sortedObjectIDs = []
  6393. }
  6394. rep = rep.$streetIDs[sid];
  6395. if (params.$streetParam) rep.$params[id] = params.$streetParam;
  6396. if (!(this.$objectID in rep.$objectIDs)) {
  6397. rep.$unsortedObjectIDs.push(this.$objectID);
  6398. rep.$objectIDs[this.$objectID] = getObjectCopy(this)
  6399. }
  6400. var objectCopy = rep.$objectIDs[this.$objectID];
  6401. var uid = objectCopy.$userID;
  6402. if (!(uid in _repU)) {
  6403. var n = '';
  6404. if (uid === this.$createdByID)
  6405. n = this.$createdBy;
  6406. else if (uid === this.$updatedByID)
  6407. n = this.$updatedBy;
  6408. _repU[uid] = n
  6409. }
  6410. var seenObj = _RT.$seen[this.$objectID];
  6411. if (this.$forceNonEditable) {
  6412. this.$forceNonEditable = false;
  6413. objectCopy.$isEditable = false;
  6414. if (_REP.$maxSeverity <= seenObj[I_SEVERITY] || _REP.$maxSeverity <= check.SEVERITY) bUpdateMaxSeverity = true
  6415. }
  6416. objectCopy.$reportIDs[id] = params.$param;
  6417. if (_REP.$maxSeverity < check.SEVERITY)
  6418. if (checkFilter(check.SEVERITY, objectCopy, null) && getFilteredSeverity(check.SEVERITY, id, true)) _REP.$maxSeverity = check.SEVERITY;
  6419. if (!check.REPORTONLY && seenObj[I_SEVERITY] < check.SEVERITY) seenObj[I_SEVERITY] = check.SEVERITY;
  6420. seenObj[I_OBJECTCOPY] = objectCopy
  6421. };
  6422. SimpleOBJECT.prototype.incCityCounter = function() {
  6423. var rep = _REP.$cityIDs;
  6424. var cid = this.$address.$cityID;
  6425. if (!(cid in rep)) {
  6426. _REP.$countries[this.$address.$countryID] = this.$address.$country;
  6427. _REP.$unsortedCityIDs.push(cid);
  6428. _repC[cid] = this.$address.$city;
  6429. _repCC[cid] = 0;
  6430. rep[cid] = {};
  6431. rep[cid].$params = {};
  6432. rep[cid].$streetIDs = {};
  6433. rep[cid].$unsortedStreetIDs = [];
  6434. rep[cid].$sortedStreetIDs = []
  6435. }
  6436. _repCC[cid]++;
  6437. _REP.$counterTotal++
  6438. };
  6439. function deleteCityCheck(cityID, checkID) {
  6440. var repS = _REP.$cityIDs[cityID].$streetIDs;
  6441. for (var sid in repS) {
  6442. if (!repS.hasOwnProperty(sid)) continue;
  6443. var repSG = repS[sid].$objectIDs;
  6444. for (var sgid in repSG) {
  6445. if (!repSG.hasOwnProperty(sgid)) continue;
  6446. var reportIDs = repSG[sgid].$reportIDs;
  6447. if (!(checkID in reportIDs)) continue;
  6448. var seen = _RT.$seen[sgid];
  6449. var maxSev = 0;
  6450. var filSev = 0;
  6451. delete reportIDs[checkID];
  6452. for (var repID in reportIDs) {
  6453. if (!reportIDs.hasOwnProperty(repID)) continue;
  6454. var check = _RT.$checks[repID];
  6455. if (!check) continue;
  6456. if (filSev < check.SEVERITY && getFilteredSeverity(check.SEVERITY, repID, true)) filSev = check.SEVERITY;
  6457. if (maxSev < check.SEVERITY) {
  6458. maxSev = check.SEVERITY;
  6459. if (_RT.$curMaxSeverity === maxSev) break
  6460. }
  6461. }
  6462. seen[I_SEVERITY] = maxSev;
  6463. reHLObjectID(+sgid, filSev)
  6464. }
  6465. }
  6466. }
  6467. function getCityCmpObj(cityID, city, otherCity) {
  6468. var obj = {
  6469. $cityID: cityID,
  6470. $counterReported: 0,
  6471. $limit: 0,
  6472. $city: city,
  6473. $otherCity: otherCity,
  6474. $CITY: city.toUpperCase(),
  6475. $noCountyCity: '',
  6476. $noAbbreviationCity: '',
  6477. $sortedCity: '',
  6478. $noSpaceCity: '',
  6479. $reason: ''
  6480. };
  6481. obj.$noCountyCity = obj.$CITY.replace(/ *\([^\)]+\) */g, '').replace(/ *,.*/g, '');
  6482. obj.$noAbbreviationCity = obj.$noCountyCity.replace(/ *[^\. ]+ *\. */g, '');
  6483. obj.$noDigitsCity = obj.$noCountyCity.replace(/ *\d+ */g, ' ');
  6484. obj.$sortedCity = obj.$noAbbreviationCity.split(' ').sort().join(' ');
  6485. obj.$noSpaceCity = obj.$noAbbreviationCity.split(' ').join('');
  6486. return obj
  6487. }
  6488. function setCmpObjLimits(obj1, obj2) {
  6489. var curCase = '';
  6490. if (obj1.$city === obj2.$city) {
  6491. curCase = trS('city.12') + ' ' + obj1.$cityID + ' & ' + obj2.$cityID;
  6492. obj1.$reason = obj2.$reason = curCase;
  6493. obj1.$limit = obj2.$limit = 100;
  6494. return
  6495. }
  6496. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity && obj1.$noSpaceCity === obj2.$noAbbreviationCity) {
  6497. obj1.$reason = trS('city.13r');
  6498. obj2.$reason = trS('city.13a');
  6499. obj1.$limit = 10;
  6500. obj2.$limit = 1E3;
  6501. return
  6502. }
  6503. if ((new RegExp('(^| )' + obj1.$sortedCity)).test(obj2.$sortedCity)) {
  6504. if (obj1.$noCountyCity.length !== obj1.$noAbbreviationCity.length) {
  6505. curCase = trS('city.2');
  6506. obj1.$reason = obj2.$reason = curCase;
  6507. obj1.$limit = 1E3;
  6508. obj2.$limit = 10;
  6509. return
  6510. }
  6511. if (3 > obj1.$city.length) {
  6512. curCase = trS('city.3');
  6513. obj1.$reason = obj2.$reason = curCase;
  6514. obj1.$limit = 1E3;
  6515. obj2.$limit = 0;
  6516. return
  6517. }
  6518. if (obj1.$CITY === obj2.$CITY) {
  6519. curCase = trS('city.5');
  6520. obj1.$reason = obj2.$reason = curCase;
  6521. if (obj1.$city.charAt(0) !== obj1.$CITY.charAt(0)) {
  6522. obj1.$limit = 1E3;
  6523. obj2.$limit = 10
  6524. } else {
  6525. obj1.$limit = 10;
  6526. obj2.$limit = 1E3
  6527. }
  6528. return
  6529. }
  6530. if (obj1.$sortedCity === obj2.$sortedCity) {
  6531. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity) {
  6532. curCase = trS('city.6');
  6533. obj1.$reason = obj2.$reason = curCase;
  6534. obj1.$limit = obj2.$limit = 1E3;
  6535. return
  6536. }
  6537. if (obj1.$city.length === obj1.$noCountyCity.length) {
  6538. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6539. curCase = trS('city.7');
  6540. obj1.$reason = obj2.$reason = curCase;
  6541. obj1.$limit = obj2.$limit = 1E3
  6542. } else {
  6543. obj1.$reason = trS('city.8a');
  6544. obj2.$reason = trS('city.8r');
  6545. obj1.$limit = 1E3;
  6546. obj2.$limit = 10
  6547. }
  6548. return
  6549. }
  6550. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6551. obj1.$reason = trS('city.8r');
  6552. obj2.$reason = trS('city.8a');
  6553. obj1.$limit = 10;
  6554. obj2.$limit = 1E3
  6555. } else {
  6556. curCase = trS('city.9');
  6557. obj1.$reason = obj2.$reason = curCase;
  6558. obj1.$limit = obj2.$limit = 1E3
  6559. }
  6560. return
  6561. }
  6562. if ((new RegExp(obj1.$sortedCity + '( |$)')).test(obj2.$sortedCity)) {
  6563. if (4 < obj2.$sortedCity.length - obj1.$sortedCity.length) {
  6564. obj1.$reason = trS('city.10a');
  6565. obj2.$reason = trS('city.10r');
  6566. obj1.$limit = obj2.$limit = 10;
  6567. return
  6568. }
  6569. if (obj1.$noDigitsCity === obj2.$noDigitsCity) {
  6570. curCase = trS('city.14');
  6571. obj1.$reason = obj2.$reason = curCase;
  6572. obj1.$limit = obj2.$limit = 1;
  6573. return
  6574. }
  6575. curCase = trS('city.11');
  6576. obj1.$reason = obj2.$reason = curCase;
  6577. obj1.$limit = 1E3;
  6578. obj2.$limit = 10;
  6579. return
  6580. }
  6581. curCase = trS('city.4');
  6582. obj1.$reason = obj2.$reason = curCase;
  6583. obj1.$limit = 1E3;
  6584. obj2.$limit = 10;
  6585. return
  6586. }
  6587. }
  6588. function addHLedObjects() {
  6589. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6590. var features = [];
  6591. for (var i in _RT.$HLedObjects) {
  6592. if (!_RT.$HLedObjects.hasOwnProperty(i)) continue;
  6593. var obj = _RT.$HLedObjects[i];
  6594. if (obj.$severity) features.push(new OpenLayers.Feature.Vector(obj.$geometry.clone(), {0: obj.$severity}))
  6595. }
  6596. _RT.$HLlayer.destroyFeatures();
  6597. _RT.$HLlayer.addFeatures(features)
  6598. }
  6599. function HLObject(rawObject) {
  6600. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6601. var objectID = rawObject.getID();
  6602. var seenObj = _RT.$seen[objectID];
  6603. var severity = seenObj[I_SEVERITY];
  6604. var objectCopy = seenObj[I_OBJECTCOPY];
  6605. if (!severity || !objectCopy || !checkFilter(severity, objectCopy, null)) return;
  6606. var filteredSeverity = getFilteredSeverityObj(severity, objectCopy.$reportIDs, true);
  6607. if (!filteredSeverity) return;
  6608. var obj = {$severity: filteredSeverity, $geometry: rawObject.getOLGeometry()};
  6609. _RT.$HLedObjects[objectID] = obj
  6610. }
  6611. function reHLObjectID(objectID, newSeverity) {
  6612. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6613. if (_REP.$maxSeverity !== newSeverity) bUpdateMaxSeverity = true;
  6614. if (oExcludeNotes && RS_NOTE === newSeverity) newSeverity = 0;
  6615. if (objectID in _RT.$HLedObjects) {
  6616. var hlObj = _RT.$HLedObjects[objectID];
  6617. hlObj.$severity = newSeverity
  6618. }
  6619. }
  6620. function deleteSeenObject(objectID) {
  6621. reHLObjectID(objectID, 0);
  6622. var seen = null;
  6623. if (objectID in _RT.$seen) seen = _RT.$seen[objectID];
  6624. if (!seen) return;
  6625. if (_REP.$maxSeverity <= seen[I_SEVERITY]) bUpdateMaxSeverity = true;
  6626. var objectCopy = seen[I_OBJECTCOPY];
  6627. var cityID = seen[I_CITYID];
  6628. delete _RT.$seen[objectID];
  6629. if (0 < _REP.$counterTotal) _REP.$counterTotal--;
  6630. if (0 < _repCC[cityID]) _repCC[cityID]--;
  6631. if (!objectCopy) return;
  6632. var repC = _REP.$cityIDs;
  6633. for (var cid in repC) {
  6634. if (!repC.hasOwnProperty(cid)) continue;
  6635. var repS = repC[cid].$streetIDs;
  6636. for (var sid in repS) {
  6637. if (!repS.hasOwnProperty(sid)) continue;
  6638. var repSG = repS[sid].$objectIDs;
  6639. for (var sgid in repSG) {
  6640. if (!repSG.hasOwnProperty(sgid) || sgid !== objectID) continue;
  6641. var reportIDs = repSG[sgid].$reportIDs;
  6642. for (var repID in reportIDs) {
  6643. if (!reportIDs.hasOwnProperty(repID)) continue;
  6644. if (0 < _repRC[repID]) _repRC[repID]--
  6645. }
  6646. delete repSG[sgid];
  6647. var repUSG = repS[sid].$unsortedObjectIDs;
  6648. repUSG.splice(repUSG.indexOf(sgid), 1);
  6649. repS[sid].$sortedObjectIDs = [];
  6650. return
  6651. }
  6652. }
  6653. }
  6654. }
  6655. function updateObjectProperties(selectedObjects, disabledHL) {
  6656. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6657. var prop = document.getElementById('i' + ID_PROPERTY);
  6658. var propDis = document.getElementById('i' + ID_PROPERTY_DISABLED);
  6659. var defID = ID_PROPERTY;
  6660. var defHTML = '';
  6661. if (disabledHL) {
  6662. defID = ID_PROPERTY_DISABLED;
  6663. defHTML = '<div class="direction-message">' +
  6664. '<i class="fa fa-info-circle" aria-hidden="true"></i> ' + trS('props.disabled') + '</div> ';
  6665. if (prop) prop.parentNode.removeChild(prop);
  6666. prop = propDis
  6667. } else if (propDis)
  6668. propDis.parentNode.removeChild(propDis);
  6669. if (prop)
  6670. prop.innerHTML = createSafeHtml(defHTML);
  6671. else {
  6672. var objectProperties = document.getElementsByClassName('address-edit')[0];
  6673. if (!objectProperties) objectProperties = document.getElementsByClassName('venue-edit-general')[0];
  6674. if (objectProperties) {
  6675. var d = document.createElement('div');
  6676. d.innerHTML = createSafeHtml(defHTML);
  6677. d.id = 'i' + defID;
  6678. d.style.cssText = 'text-transform: none; padding: 5px;';
  6679. prop = objectProperties.appendChild(d)
  6680. }
  6681. }
  6682. if (disabledHL) return;
  6683. if (!selectedObjects.length) return;
  6684. var selectedIssues = [];
  6685. for (var i = 0; i < selectedObjects.length; i++) {
  6686. var objectID = selectedObjects[i];
  6687. if (objectID in _RT.$seen) {
  6688. var objectCopy = _RT.$seen[objectID][I_OBJECTCOPY];
  6689. if (!objectCopy) continue;
  6690. for (var cid in objectCopy.$reportIDs)
  6691. if (objectCopy.$reportIDs.hasOwnProperty(cid)) {
  6692. var check = _RT.$checks[cid];
  6693. if (check.REPORTONLY) continue;
  6694. selectedIssues.push([check, objectCopy, cid])
  6695. }
  6696. }
  6697. }
  6698. var newProp = '<b style="display:block"><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_HOME + '">WME Validator</a> ' + trS('props.reports') + ':</b>';
  6699. if (_REP.$isLimitPerCheck)
  6700. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6701. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6702. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.limit.title') + '</a></span>' +
  6703. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6704. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6705. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.limit.problem') + '.</div>' +
  6706. '<i class="fa fa-check-square-o fa-lg fa-pull-left" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6707. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6708. '<p>' + trS('props.limit.solution') + '.</p>' +
  6709. '</div></div><br></div>';
  6710. if (skippedObject)
  6711. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6712. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6713. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.skipped.title') + '</a></span>' +
  6714. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6715. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6716. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.skipped.problem') + '.</div>' +
  6717. '</div><br></div>';
  6718. if (!selectedIssues.length) {
  6719. if (prop && (_REP.$isLimitPerCheck || skippedObject)) prop.innerHTML = createSafeHtml(newProp);
  6720. return
  6721. }
  6722. selectedIssues.sort(function(a, b) {
  6723. return cmpCheckIDs(a[2], b[2])
  6724. });
  6725. var selectedCounters = {};
  6726. selectedIssues = selectedIssues.filter(function(e, i, arr) {
  6727. var checkID = e[2];
  6728. if (i && arr[i - 1][2] === checkID) {
  6729. selectedCounters[checkID]++;
  6730. return false
  6731. }
  6732. selectedCounters[checkID] = 1;
  6733. return true
  6734. });
  6735. selectedIssues.forEach(function(e) {
  6736. var check = e[0];
  6737. var objectCopy = e[1];
  6738. var checkID = e[2];
  6739. var checkCounter = selectedCounters[checkID];
  6740. var sevClass = 0;
  6741. var sevIcon = '';
  6742. var sevBG = '';
  6743. var strCountry = _REP.$countries[objectCopy.$countryID];
  6744. var ccode = '';
  6745. if (strCountry)
  6746. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  6747. else
  6748. ccode = _RT.$cachedTopCCode;
  6749. options = trO(check.OPTIONS, ccode);
  6750. switch (check.SEVERITY) {
  6751. case RS_NOTE:
  6752. sevClass = CL_NOTE;
  6753. sevIcon = 'info-circle';
  6754. sevBG = GL_NOTEBGCOLOR;
  6755. break;
  6756. case RS_WARNING:
  6757. sevClass = CL_WARNING;
  6758. sevIcon = 'exclamation-triangle';
  6759. sevBG = GL_WARNINGBGCOLOR;
  6760. break;
  6761. case RS_ERROR:
  6762. sevClass = CL_ERROR;
  6763. sevIcon = 'times-circle';
  6764. sevBG = GL_ERRORBGCOLOR;
  6765. break;
  6766. case RS_CUSTOM1:
  6767. sevClass = CL_CUSTOM1;
  6768. sevIcon = 'user';
  6769. sevBG = GL_CUSTOM1BGCOLOR;
  6770. break;
  6771. case RS_CUSTOM2:
  6772. sevClass = CL_CUSTOM2;
  6773. sevIcon = 'user';
  6774. sevBG = GL_CUSTOM2BGCOLOR;
  6775. break
  6776. }
  6777. var shortTitle = exSOS(check.TITLE, options, 'titleEN').replace('WME Color Highlights', 'WMECH').replace('WME Toolbox', 'WMETB');
  6778. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + sevClass + '">' +
  6779. '<span><i class="fa fa-' + sevIcon + '" aria-hidden="true"></i>' +
  6780. ' <a class="c' + sevClass + '" href="#">' + shortTitle + (1 < checkCounter ? ' (' + checkCounter + ')' : '') + '</a></span>' +
  6781. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6782. '<i class="fa fa-' + sevIcon + ' fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6783. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6784. '#' + checkID + ' ' + exSOS(check.PROBLEM, options, 'problemEN');
  6785. var pl = trO(check.PROBLEMLINK, ccode);
  6786. if (pl)
  6787. newProp += ': <a target="_blank" href="' + pl + '">' + trO(check.PROBLEMLINKTEXT, ccode) + '</a>';
  6788. else
  6789. newProp += '.';
  6790. newProp += '</div>';
  6791. if (objectCopy.$isEditable) {
  6792. newProp += '<i class="fa fa-check-square-o fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6793. '<div class="c' + CL_RIGHTTIPDESCR + '">';
  6794. if (check.SOLUTION) {
  6795. newProp += '<p>' + exSOS(check.SOLUTION, options, 'solutionEN');
  6796. var sl = trO(check.SOLUTIONLINK, ccode);
  6797. if (sl)
  6798. newProp += ': <a target="_blank" href="' + sl + '">' + trO(check.SOLUTIONLINKTEXT, ccode) + '</a>';
  6799. else
  6800. newProp += '.';
  6801. newProp += '</p>'
  6802. }
  6803. } else
  6804. newProp += '<i class="fa fa-ban fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6805. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6806. '<p>' + trS('props.noneditable') + '.</p>';
  6807. var cityID = objectCopy.$cityID;
  6808. var cityParam = _REP.$cityIDs[cityID].$params[checkID];
  6809. if (cityParam) newProp += '<p>' + cityParam + '</p>';
  6810. var streetID = objectCopy.$streetID;
  6811. var streetParam = _REP.$cityIDs[cityID].$streetIDs[streetID].$params[checkID];
  6812. if (streetParam) newProp += '<p>' + streetParam + '</p>';
  6813. newProp += '</div></div><br></div>'
  6814. });
  6815. if (prop) prop.innerHTML = createSafeHtml(newProp)
  6816. }
  6817. function matchRegExp(checkID, objectID, expandedString, options) {
  6818. var optRegExp = options[CO_REGEXP];
  6819. if (!optRegExp) return false;
  6820. var optString = options[CO_STRING];
  6821. var optBool = options[CO_BOOL];
  6822. if (options[CO_NUMBER] && 0 < _REP.$debugCounter) {
  6823. var checkTitle = '';
  6824. if (_RT.$checks[checkID] && _RT.$checks[checkID].TITLE) checkTitle = _RT.$checks[checkID].TITLE;
  6825. var reported = optRegExp.test(expandedString) ? optBool ? false : true : optBool ? true : false;
  6826. _REP.$debugCounter--;
  6827. log(getMsg(
  6828. 'debug log for segment ' + objectID + ', check #' + checkID,
  6829. '\n1. ' + (optString ? 'Expand template: ' + optString + ' -> ' : 'String: ') + expandedString + '\n2. Match RegExp: ' + (optBool ? 'not ' : '') + optRegExp + ' -> ' +
  6830. JSON.stringify(expandedString.match(optRegExp)) + '\n=> ' + (reported ? 'REPORT the segment as #' + checkID + ' \'' + checkTitle + '\'' : 'skip the segment') +
  6831. (0 < _REP.$debugCounter ? '' : '\nEnd of debug log. Click \'✘\' (Clear report) button to start debug over.')))
  6832. }
  6833. if (optRegExp.test(expandedString)) {
  6834. if (!optBool) return true
  6835. } else if (optBool)
  6836. return true;
  6837. return false
  6838. }
  6839. function checkPublicConnection(seg, ignoreSegment) {
  6840. var foundPublicConnection = false;
  6841. if (!seg.$nodeA.$isPartial && seg.$nodeA.$otherSegmentsLen > 0)
  6842. for (var i = 0; i < seg.$nodeA.$otherSegmentsLen; i++) {
  6843. var otherSegment = seg.$nodeA.$otherSegments[i];
  6844. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6845. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6846. foundPublicConnection = true;
  6847. break
  6848. }
  6849. }
  6850. if (!seg.$nodeB.$isPartial && seg.$nodeB.$otherSegmentsLen > 0)
  6851. for (var i = 0; i < seg.$nodeB.$otherSegmentsLen; i++) {
  6852. var otherSegment = seg.$nodeB.$otherSegments[i];
  6853. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6854. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6855. foundPublicConnection = true;
  6856. break
  6857. }
  6858. }
  6859. return foundPublicConnection
  6860. }
  6861. var reportWMECH = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED;
  6862. var reportToolbox = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportToolbox.CHECKED;
  6863. var currentZoom = WM.getZoom();
  6864. var slowChecks = _UI.pSettings.pScanner.oSlowChecks.CHECKED && 15 < currentZoom;
  6865. var oExcludeNotes = _UI.pMain.pFilter.oExcludeNotes.CHECKED;
  6866. var selectedObjects = [];
  6867. _RT.$HLedObjects = {};
  6868. for (var segmentKey in WMo.segments.objects) {
  6869. var rawSegment = WMo.segments.objects[segmentKey];
  6870. var segmentID = rawSegment.getID();
  6871. if (_RT.$topUser.$userLevel <= rawSegment.attributes.lockRank && rawSegment.attributes.updatedOn && 13989024E5 < rawSegment.attributes.updatedOn) {
  6872. if (rawSegment.selected) {
  6873. skippedObject = true;
  6874. if (!DEF_DEBUG) selectedObjects.push(segmentID)
  6875. }
  6876. if (!DEF_DEBUG) continue
  6877. }
  6878. if (rawSegment.layer && rawSegment.id in rawSegment.layer.unrenderedFeatures) continue;
  6879. if ('Delete' === rawSegment.state) continue;
  6880. var seen = null;
  6881. if (segmentID in _RT.$seen) seen = _RT.$seen[segmentID];
  6882. if (rawSegment.selected) {
  6883. selectedObjects.push(segmentID);
  6884. _RT.$revalidate[segmentID] = true;
  6885. if (seen && !seen[I_ISWMECHCOLOR]) {
  6886. deleteSeenObject(segmentID);
  6887. seen = null
  6888. }
  6889. } else if (segmentID in _RT.$revalidate) {
  6890. deleteSeenObject(segmentID);
  6891. seen = null;
  6892. delete _RT.$revalidate[segmentID];
  6893. delete rawSegment[GL_WMECHCOLOR]
  6894. }
  6895. var segmentGeometry = nW.userscripts.getFeatureElementByDataModel(rawSegment);
  6896. if (segmentGeometry) {
  6897. var strokeColor = segmentGeometry.getAttribute('stroke').toUpperCase();
  6898. if (4 === strokeColor.length) strokeColor = '#' + strokeColor.charAt(1) + strokeColor.charAt(1) + strokeColor.charAt(2) + strokeColor.charAt(2) + strokeColor.charAt(3) + strokeColor.charAt(3);
  6899. if (strokeColor in _RT.$WMECHcolors) rawSegment[GL_WMECHCOLOR] = strokeColor
  6900. }
  6901. if (seen) {
  6902. var isTBColor = GL_TBCOLOR in rawSegment;
  6903. var isWMECHColor = GL_WMECHCOLOR in rawSegment;
  6904. if (!seen[I_ISPARTIAL] && isTBColor === seen[I_ISTBCOLOR] && isWMECHColor === seen[I_ISWMECHCOLOR]) {
  6905. HLObject(rawSegment);
  6906. continue
  6907. }
  6908. }
  6909. var segment = new SimpleOBJECT(segmentID, WMo.segments);
  6910. Object.seal(segment);
  6911. var address = segment.$address;
  6912. var country = address.$country;
  6913. var countryLen = country.length;
  6914. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  6915. var city = address.$city;
  6916. var cityLen = city.length;
  6917. var cityID = address.$cityID;
  6918. var street = address.$street;
  6919. var state = address.$state;
  6920. var streetLen = street.length;
  6921. var alts = segment.$alts;
  6922. var roadType = segment.$type;
  6923. var typeRank = segment.$typeRank;
  6924. var isToll = segment.$isToll;
  6925. var direction = segment.$direction;
  6926. var elevation = segment.$elevation;
  6927. var lock = Math.max(segment.$lock, segment.$rank);
  6928. var segmentLen = segment.$length;
  6929. var isRoundabout = segment.$isRoundabout;
  6930. var hasHNs = segment.$hasHNs;
  6931. var isDrivable = RR_TRAIL < typeRank;
  6932. var nodeA = segment.$nodeA;
  6933. var nodeB = segment.$nodeB;
  6934. var nodeAID = segment.$nodeAID;
  6935. var nodeBID = segment.$nodeBID;
  6936. var isPartial = nodeA.$isPartial || nodeB.$isPartial;
  6937. var forwardSpeed = segment.$fwdMaxSpeed;
  6938. var reverseSpeed = segment.$revMaxSpeed;
  6939. var forwardSpeedUnverified = segment.$fwdMaxSpeedUnverified;
  6940. var reverseSpeedUnverified = segment.$revMaxSpeedUnverified;
  6941. var hasRestrictions = segment.$hasRestrictions;
  6942. var hasClosures = segment.$hasClosures;
  6943. var flags = segment.$flags;
  6944. var now = Date.now();
  6945. if (seen) {
  6946. if (seen[I_ISPARTIAL] && isPartial) {
  6947. HLObject(rawSegment);
  6948. continue
  6949. }
  6950. deleteSeenObject(segmentID);
  6951. seen = null
  6952. }
  6953. _RT.$seen[segmentID] = seen = [0, null, GL_TBCOLOR in rawSegment, GL_WMECHCOLOR in rawSegment, isPartial || 16 > currentZoom, cityID];
  6954. segment.incCityCounter();
  6955. if (segment.$isEditable) _REP.$isEditableFound = true;
  6956. if (GL_NOID === street) {
  6957. deleteSeenObject(segmentID);
  6958. continue
  6959. }
  6960. _RT.$isGlobalAccess = true;
  6961. if (!address.isOkFor(0)) {
  6962. _RT.$isGlobalAccess = false;
  6963. continue
  6964. }
  6965. if (slowChecks && RT_RAILROAD !== roadType) {
  6966. if (nodeA.$otherSegmentsLen && isLimitOk(118)) {
  6967. var rawNode = nodeA.$rawNode;
  6968. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6969. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  6970. var otherSegment = nodeA.$otherSegments[i];
  6971. if (!otherSegment.$rawObject) continue;
  6972. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  6973. var angle = Math.abs(baseAngle - curAngle);
  6974. if (angle > 180) angle = 360 - angle;
  6975. if (2 > angle && address.isOkFor(118)) {
  6976. segment.report(118);
  6977. break
  6978. }
  6979. }
  6980. }
  6981. if (nodeB.$otherSegmentsLen && isLimitOk(119)) {
  6982. var rawNode = nodeB.$rawNode;
  6983. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6984. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  6985. var otherSegment = nodeB.$otherSegments[i];
  6986. if (!otherSegment.$rawObject) continue;
  6987. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  6988. var angle = Math.abs(baseAngle - curAngle);
  6989. if (angle > 180) angle = 360 - angle;
  6990. if (2 > angle && address.isOkFor(119)) {
  6991. segment.report(119);
  6992. break
  6993. }
  6994. }
  6995. }
  6996. }
  6997. if (!countryLen && isLimitOk(23)) {
  6998. seen[I_ISPARTIAL] = false;
  6999. if (address.isOkFor(23)) {
  7000. segment.report(23);
  7001. HLObject(rawSegment)
  7002. }
  7003. continue
  7004. }
  7005. if (streetLen && address.isOkFor(101)) {
  7006. options = getCheckOptions(101, countryCode);
  7007. if (options[CO_REGEXP].test(street)) {
  7008. segment.report(101);
  7009. HLObject(rawSegment);
  7010. continue
  7011. }
  7012. }
  7013. if (!state && address.isOkFor(106)) segment.report(106);
  7014. if (reportToolbox && address.isOkFor(CK_TBFIRST)) {
  7015. var col = rawSegment[GL_TBCOLOR];
  7016. if (col) {
  7017. col = col.toUpperCase();
  7018. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7019. var check = _RT.$checks[i];
  7020. if (check.COLOR === col) {
  7021. segment.report(i);
  7022. break
  7023. }
  7024. }
  7025. }
  7026. }
  7027. if (reportWMECH && address.isOkFor(CK_WMECHFIRST)) {
  7028. var col = rawSegment[GL_WMECHCOLOR];
  7029. if (col)
  7030. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7031. var check = _RT.$checks[i];
  7032. if (check && check.COLOR === col) {
  7033. segment.report(i);
  7034. break
  7035. }
  7036. }
  7037. }
  7038. if (alts.length && address.isOkFor(34))
  7039. for (var i = 0; i < alts.length; i++)
  7040. if (!alts[i].$street) {
  7041. segment.report(34);
  7042. break
  7043. }
  7044. if (slowChecks && segment.$restrictionsLen && isLimitOk(38) && address.isOkFor(38)) {
  7045. var restrictions = segment.$restrictions;
  7046. for (var i = 0; i < restrictions.length; i++)
  7047. if (restrictions[i].$isInThePast) {
  7048. segment.report(38);
  7049. break
  7050. }
  7051. }
  7052. if (slowChecks && (nodeA.$restrictionsLen || nodeB.$restrictionsLen) && isLimitOk(39) && address.isOkFor(39)) {
  7053. var restrictions = nodeA.$restrictions.concat(nodeB.$restrictions);
  7054. for (var i = 0; i < restrictions.length; i++) {
  7055. var restriction = restrictions[i];
  7056. if (restriction.$isInThePast) {
  7057. var param = '';
  7058. if (restriction.$to.$address && restriction.$to.$address.$street) param = 'turn to ' + restriction.$to.$address.$street;
  7059. segment.report({$checkID: 39, $streetParam: param});
  7060. break
  7061. }
  7062. }
  7063. }
  7064. if (nodeAID && nodeAID === nodeBID && address.isOkFor(43)) segment.report(43);
  7065. if (RT_RAILROAD === roadType && 100 > segmentLen && !isPartial && !nodeA.$otherSegmentsLen && !nodeB.$otherSegmentsLen && address.isOkFor(104)) segment.report(104);
  7066. if (RT_TRAIL === roadType && -5 === elevation && address.isOkFor(105)) segment.report(105);
  7067. if ((9 < elevation || -5 > elevation) && address.isOkFor(116)) segment.report(116);
  7068. var expandOptions = {
  7069. 'country': country,
  7070. 'state': state,
  7071. 'city': city,
  7072. 'street': street,
  7073. 'altStreet': alts.map(function(e) {
  7074. return e.$street
  7075. }),
  7076. 'altCity': alts.map(function(e) {
  7077. return e.$city
  7078. }),
  7079. 'type': roadType,
  7080. 'typeRank': typeRank,
  7081. 'toll': +isToll,
  7082. 'direction': direction,
  7083. 'elevation': elevation,
  7084. 'lock': lock,
  7085. 'length': segmentLen,
  7086. 'ID': segmentID,
  7087. 'roundabout': +isRoundabout,
  7088. 'hasHNs': +hasHNs,
  7089. 'drivable': +isDrivable,
  7090. 'Uturn': +(nodeA.$isUturn || nodeB.$isUturn),
  7091. 'deadEnd': +!(isPartial || nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen),
  7092. 'partialA': +nodeA.$isPartial,
  7093. 'deadEndA': +!(nodeA.$isPartial || nodeA.$otherSegmentsLen),
  7094. 'segmentsA': nodeA.$otherSegmentsLen,
  7095. 'inA': nodeA.$inConnectionsLen,
  7096. 'outA': nodeA.$outConnectionsLen,
  7097. 'UturnA': +nodeA.$isUturn,
  7098. 'partialB': +nodeB.$isPartial,
  7099. 'deadEndB': +!(nodeB.$isPartial || nodeB.$otherSegmentsLen),
  7100. 'segmentsB': nodeB.$otherSegmentsLen,
  7101. 'inB': nodeB.$inConnectionsLen,
  7102. 'outB': nodeB.$outConnectionsLen,
  7103. 'UturnB': +nodeB.$isUturn,
  7104. 'softTurns': +!(segment.$isTurnALocked && segment.$isTurnBLocked),
  7105. 'speedLimit': forwardSpeed || reverseSpeed,
  7106. 'speedLimitAB': forwardSpeed,
  7107. 'speedLimitBA': reverseSpeed,
  7108. 'checkSpeedLimit': isDrivable && (reverseSpeedUnverified || forwardSpeedUnverified)
  7109. };
  7110. for (var i = CK_MATCHFIRST; i <= CK_MATCHLAST; i++) {
  7111. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7112. options = getCheckOptions(i, countryCode);
  7113. var optString = options[CO_STRING];
  7114. var optRegExp = options[CO_REGEXP];
  7115. if (!optString || !optRegExp) continue;
  7116. var expandedString = _I18n.expandSO(optString, expandOptions);
  7117. if (matchRegExp(i, segmentID, expandedString, options)) segment.report(i)
  7118. }
  7119. if (!cityLen && RT_FREEWAY === roadType && isLimitOk(69) && address.isOkFor(69)) segment.report(69);
  7120. if (slowChecks) {
  7121. if (1 === nodeA.$otherSegmentsLen && DIR_UNKNOWN !== direction && !nodeA.$isPartial && !nodeA.$isUturn && !nodeA.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(36) &&
  7122. address.isOkFor(36)) {
  7123. var otherSegment = nodeA.$otherSegments[0];
  7124. var otherNode, nextNode;
  7125. if (otherSegment.$nodeAID === nodeAID) {
  7126. otherNode = otherSegment.$nodeA;
  7127. nextNode = otherSegment.$nodeB
  7128. } else {
  7129. otherNode = otherSegment.$nodeB;
  7130. nextNode = otherSegment.$nodeA
  7131. }
  7132. if ((!nodeB.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawObject && (1E4 > otherSegment.$length + segmentLen || 1E3 > segmentLen) &&
  7133. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7134. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7135. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7136. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7137. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7138. otherSegment.$nodeAID !== nodeBID && otherSegment.$nodeBID !== nodeBID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7139. var loopFound = false;
  7140. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7141. var thirdSegment = nextNode.$otherSegments[i];
  7142. if (thirdSegment.$nodeAID === nodeBID || thirdSegment.$nodeBID === nodeBID) {
  7143. loopFound = true;
  7144. break
  7145. }
  7146. }
  7147. if (!loopFound) segment.report(36)
  7148. }
  7149. }
  7150. if (DIR_UNKNOWN !== direction && !nodeB.$isPartial && 1 === nodeB.$otherSegmentsLen && !nodeB.$isUturn && !nodeB.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(37) &&
  7151. address.isOkFor(37)) {
  7152. var otherSegment = nodeB.$otherSegments[0];
  7153. var otherNode, nextNode;
  7154. if (otherSegment.$nodeAID === nodeBID) {
  7155. otherNode = otherSegment.$nodeA;
  7156. nextNode = otherSegment.$nodeB
  7157. } else {
  7158. otherNode = otherSegment.$nodeB;
  7159. nextNode = otherSegment.$nodeA
  7160. }
  7161. if ((!nodeA.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawObject && 1E4 > otherSegment.$length + segmentLen &&
  7162. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7163. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7164. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7165. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7166. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7167. otherSegment.$nodeAID !== nodeAID && otherSegment.$nodeBID !== nodeAID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7168. var loopFound = false;
  7169. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7170. var thirdSegment = nextNode.$otherSegments[i];
  7171. if (thirdSegment.$nodeAID === nodeAID || thirdSegment.$nodeBID === nodeAID) {
  7172. loopFound = true;
  7173. break
  7174. }
  7175. }
  7176. if (!loopFound) segment.report(37)
  7177. }
  7178. }
  7179. }
  7180. if (cityLen) {
  7181. for (var i = CK_CITYNAMEFIRST; i <= CK_CITYNAMELAST; i++) {
  7182. if (!address.isOkFor(i) || !isLimitOk(i)) continue;
  7183. if (matchRegExp(i, segmentID, city, getCheckOptions(i, countryCode))) segment.report(i)
  7184. }
  7185. if (isLimitOk(24) && address.isOkFor(24)) {
  7186. var param = trS('city.1');
  7187. var r = 3 > cityLen ? true : false;
  7188. var cityCounter = _repCC[cityID];
  7189. if (1 === cityCounter || cityID in _REP.$incompleteIDs && !_REP.$incompleteIDs[cityID].$counterReported)
  7190. for (var i = 0, len = _REP.$unsortedCityIDs.length; i < len; i++) {
  7191. var cid = _REP.$unsortedCityIDs[i];
  7192. if (cid === cityID) continue;
  7193. var c = _repC[cid];
  7194. var cLen = c.length;
  7195. if (1 > cLen) continue;
  7196. var cityObj = getCityCmpObj(cityID, city, c);
  7197. var cObj = getCityCmpObj(cid, c, city);
  7198. setCmpObjLimits(cityObj, cObj);
  7199. setCmpObjLimits(cObj, cityObj);
  7200. if (cityObj.$limit) _REP.$incompleteIDs[cityID] = cityObj;
  7201. if (cObj.$limit && !_REP.$incompleteIDs[cid]) _REP.$incompleteIDs[cid] = cObj;
  7202. if (cityObj.$limit || cObj.$limit) break
  7203. }
  7204. if (cityID in _REP.$incompleteIDs) {
  7205. var incompleteCity = _REP.$incompleteIDs[cityID];
  7206. incompleteCity.$counterReported++;
  7207. if (incompleteCity.$limit < cityCounter) {
  7208. r = false;
  7209. deleteCityCheck(cityID, 24);
  7210. delete _REP.$incompleteIDs[cityID]
  7211. } else {
  7212. r = true;
  7213. param = trS('city.consider') + ' ' + incompleteCity.$otherCity + ' [' + incompleteCity.$reason + ']'
  7214. }
  7215. }
  7216. if (r) segment.report({$checkID: 24, $cityParam: param})
  7217. }
  7218. if (RT_RAILROAD === roadType && isLimitOk(24) && address.isOkFor(27)) segment.report(27);
  7219. if (RT_FREEWAY === roadType && isLimitOk(59) && address.isOkFor(59)) segment.report(59)
  7220. }
  7221. if (isDrivable) {
  7222. if (slowChecks) {
  7223. if (nodeA.$outConnectionsLen && (DIR_TWO === direction || DIR_BA === direction) && isLimitOk(120)) {
  7224. var rawNode = nodeA.$rawNode;
  7225. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7226. for (var i = 0; i < nodeA.$outConnectionsLen; i++) {
  7227. var otherSegment = nodeA.$outConnections[i];
  7228. if (!otherSegment.$rawObject) continue;
  7229. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  7230. var angle = Math.abs(baseAngle - curAngle);
  7231. if (angle > 180) angle = 360 - angle;
  7232. if (30 > angle && 2 <= angle && address.isOkFor(120))
  7233. if (10 > angle) {
  7234. segment.report(120);
  7235. break
  7236. } else if (!nodeA.$isPartial && 3 > nodeA.$otherSegmentsLen && RR_STREET < typeRank) {
  7237. segment.report(120);
  7238. break
  7239. }
  7240. }
  7241. }
  7242. if (nodeB.$outConnectionsLen && (DIR_TWO === direction || DIR_AB === direction) && isLimitOk(121)) {
  7243. var rawNode = nodeB.$rawNode;
  7244. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7245. for (var i = 0; i < nodeB.$outConnectionsLen; i++) {
  7246. var otherSegment = nodeB.$outConnections[i];
  7247. if (!otherSegment.$rawObject) continue;
  7248. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  7249. var angle = Math.abs(baseAngle - curAngle);
  7250. if (angle > 180) angle = 360 - angle;
  7251. if (30 > angle && 2 <= angle && address.isOkFor(121))
  7252. if (10 > angle) {
  7253. segment.report(121);
  7254. break
  7255. } else if (!nodeB.$isPartial && 3 > nodeB.$otherSegmentsLen && RR_STREET < typeRank) {
  7256. segment.report(121);
  7257. break
  7258. }
  7259. }
  7260. }
  7261. }
  7262. if (RT_PRIVATE !== roadType && isLimitOk(45) && address.isOkFor(45))
  7263. if (!nodeA.$isPartial && !nodeA.$inConnectionsLen)
  7264. if (DIR_AB === direction)
  7265. segment.report(45);
  7266. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7267. segment.report(45);
  7268. else {
  7269. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(46))
  7270. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7271. var otherSegment = nodeA.$otherSegments[i];
  7272. if (!otherSegment.$rawObject) continue;
  7273. if (RR_TRAIL < otherSegment.$typeRank &&
  7274. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7275. DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7276. segment.report(46);
  7277. break
  7278. }
  7279. }
  7280. }
  7281. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7282. if (DIR_BA === direction)
  7283. segment.report(45);
  7284. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(47))
  7285. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7286. var otherSegment = nodeB.$otherSegments[i];
  7287. if (!otherSegment.$rawObject) continue;
  7288. if (RR_TRAIL < otherSegment.$typeRank &&
  7289. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7290. DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7291. segment.report(47);
  7292. break
  7293. }
  7294. }
  7295. if (5 < segmentLen && isLimitOk(44) && address.isOkFor(44))
  7296. if (!nodeA.$isPartial && !nodeA.$outConnectionsLen)
  7297. if (DIR_BA === direction)
  7298. segment.report(44);
  7299. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7300. segment.report(44);
  7301. else {
  7302. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(102))
  7303. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7304. var otherSegment = nodeA.$otherSegments[i];
  7305. if (!otherSegment.$rawObject) continue;
  7306. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7307. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7308. DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7309. segment.report(102);
  7310. break
  7311. }
  7312. }
  7313. }
  7314. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7315. if (DIR_AB === direction)
  7316. segment.report(44);
  7317. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(103))
  7318. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7319. var otherSegment = nodeB.$otherSegments[i];
  7320. if (!otherSegment.$rawObject) continue;
  7321. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7322. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7323. DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7324. segment.report(103);
  7325. break
  7326. }
  7327. }
  7328. if (slowChecks && segment.$isRoutable && !nodeA.$isPartial && !nodeB.$isPartial && nodeA.$otherSegmentsLen > 0 && nodeB.$otherSegmentsLen > 0 && isLimitOk(202) && address.isOkFor(202)) {
  7329. var foundPublicConnection = checkPublicConnection(segment, null);
  7330. if (!foundPublicConnection)
  7331. if (nodeA.$otherSegmentsLen == 1 && nodeB.$otherSegmentsLen == 1) {
  7332. var nodeASegment = nodeA.$otherSegments[0];
  7333. var nodeBSegment = nodeB.$otherSegments[0];
  7334. if (checkPublicConnection(nodeASegment, segment) && checkPublicConnection(nodeBSegment, segment)) foundPublicConnection = true
  7335. }
  7336. if (!foundPublicConnection) segment.report(202)
  7337. }
  7338. if (RR_STREET < typeRank && RT_RAMP !== roadType && !segment.$isRoundabout && segmentLen > 5) {
  7339. if (DIR_AB === direction || DIR_TWO === direction) {
  7340. if (forwardSpeedUnverified && isLimitOk(210) && address.isOkFor(210)) segment.report(210);
  7341. if (!forwardSpeed && isLimitOk(212) && address.isOkFor(212)) segment.report(212);
  7342. if (forwardSpeed) {
  7343. options = getCheckOptions(214, countryCode);
  7344. if (!options[CO_REGEXP].test(forwardSpeed) && isLimitOk(214) && address.isOkFor(214)) segment.report(214)
  7345. }
  7346. }
  7347. if (DIR_BA === direction || DIR_TWO == direction) {
  7348. if (reverseSpeedUnverified && isLimitOk(211) && address.isOkFor(211)) segment.report(211);
  7349. if (!reverseSpeed && isLimitOk(213) && address.isOkFor(213)) segment.report(213);
  7350. if (reverseSpeed) {
  7351. options = getCheckOptions(215, countryCode);
  7352. if (!options[CO_REGEXP].test(reverseSpeed) && isLimitOk(215) && address.isOkFor(215)) segment.report(215)
  7353. }
  7354. }
  7355. }
  7356. if (!cityLen && streetLen && RT_RAMP !== roadType && RT_FREEWAY !== roadType && (isLimitOk(54) || isLimitOk(55))) {
  7357. var noCity = true;
  7358. if (alts.length)
  7359. for (var i = 0; i < alts.length; i++)
  7360. if (alts[i].$city) {
  7361. noCity = false;
  7362. break
  7363. }
  7364. if (noCity) {
  7365. if (hasHNs && isLimitOk(54) && address.isOkFor(54)) segment.report(54);
  7366. if (!hasHNs && isLimitOk(55) && address.isOkFor(55)) segment.report(55)
  7367. }
  7368. }
  7369. if (DIR_UNKNOWN === direction && isLimitOk(25) && address.isOkFor(25)) segment.report(25);
  7370. if (!(nodeAID && nodeBID) && isLimitOk(35) && address.isOkFor(35)) segment.report(35);
  7371. if (RR_PRIMARY > typeRank) {
  7372. if (nodeAID && nodeBID && address.isOkFor(200)) {
  7373. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(200)) segment.report(200);
  7374. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(300)) segment.report(300)
  7375. }
  7376. } else if (nodeAID && nodeBID && address.isOkFor(201)) {
  7377. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(201)) segment.report(201);
  7378. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(301)) segment.report(301)
  7379. }
  7380. if ((DIR_AB === direction && nodeA.$outConnectionsLen || DIR_BA === direction && nodeA.$inConnectionsLen) && isLimitOk(41) && address.isOkFor(41)) segment.report(41);
  7381. if ((DIR_BA === direction && nodeB.$outConnectionsLen || DIR_AB === direction && nodeB.$inConnectionsLen) && isLimitOk(42) && address.isOkFor(42)) segment.report(42);
  7382. if (!nodeA.$isPartial) {
  7383. if (slowChecks && 5 < segmentLen && !nodeA.$otherSegmentsLen && nodeA.$rawNode.getOLGeometry().bounds && isLimitOk(107) && address.isOkFor(107)) {
  7384. var IDs = nodeA.$rawNode.attributes.segIDs;
  7385. var pt = new OpenLayers.Geometry.Point(nodeA.$rawNode.getOLGeometry().bounds.left, nodeA.$rawNode.getOLGeometry().bounds.bottom);
  7386. for (var segKey in WMo.segments.objects) {
  7387. var seg = WMo.segments.objects[segKey];
  7388. if (segmentID === seg.getID()) continue;
  7389. if (!seg.geometry) continue;
  7390. if (elevation !== seg.attributes.level) continue;
  7391. if ('Delete' === seg.state) continue;
  7392. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7393. if (LIMIT_TOLERANCE > seg.getOLGeometry().distanceTo(pt, null)) {
  7394. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7395. segment.report(107);
  7396. break
  7397. }
  7398. }
  7399. }
  7400. if (nodeA.$isUturn)
  7401. if (slowChecks && 1 === nodeA.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeA.$outConnections[0].$isRoundabout) segment.report(99);
  7402. if (slowChecks && nodeA.$otherSegmentsLen && !isRoundabout && isLimitOk(78) && address.isOkFor(78))
  7403. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7404. var otherSegment = nodeA.$otherSegments[i];
  7405. if (!otherSegment.$rawObject) continue;
  7406. if (RR_TRAIL < otherSegment.$typeRank && nodeAID && nodeBID &&
  7407. (otherSegment.$nodeAID === nodeAID && otherSegment.$nodeBID === nodeBID || otherSegment.$nodeAID === nodeBID && otherSegment.$nodeBID === nodeAID))
  7408. if (otherSegment.$typeRank > typeRank || otherSegment.$length < segmentLen && otherSegment.$typeRank === typeRank ||
  7409. otherSegment.$segmentID < segmentID && otherSegment.$length === segmentLen && otherSegment.$typeRank === typeRank) {
  7410. segment.report(78);
  7411. break
  7412. }
  7413. }
  7414. if (!nodeB.$isPartial) {
  7415. options = getCheckOptions(109, countryCode);
  7416. if (options[CO_NUMBER] > segmentLen && nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen && !isRoundabout && address.isOkFor(109)) segment.report(109);
  7417. if (slowChecks && 15 > segmentLen && !streetLen && 2 === nodeA.$otherSegmentsLen && 2 === nodeB.$otherSegmentsLen && isLimitOk(79) && address.isOkFor(79) &&
  7418. nodeA.$otherSegments[0].$rawObject && nodeA.$otherSegments[1].$rawObject && nodeB.$otherSegments[0].$rawObject && nodeB.$otherSegments[1].$rawObject &&
  7419. nodeA.$otherSegments[0].$address.$street && nodeA.$otherSegments[0].$type === nodeA.$otherSegments[1].$type && nodeB.$otherSegments[0].$type === nodeB.$otherSegments[1].$type &&
  7420. nodeA.$otherSegments[0].$address.$street === nodeA.$otherSegments[1].$address.$street && nodeB.$otherSegments[0].$address.$street === nodeB.$otherSegments[1].$address.$street &&
  7421. nodeA.$otherSegments[0].$address.$street === nodeB.$otherSegments[0].$address.$street) {
  7422. if ((DIR_TWO === direction || DIR_BA === direction) && 1 === nodeA.$outConnectionsLen && 2 > nodeA.$inConnectionsLen && 1 === nodeB.$inConnectionsLen && 2 > nodeB.$outConnectionsLen)
  7423. segment.report(79);
  7424. if ((DIR_TWO === direction || DIR_AB === direction) && 1 === nodeB.$outConnectionsLen && 2 > nodeB.$inConnectionsLen && 1 === nodeA.$inConnectionsLen && 2 > nodeA.$outConnectionsLen)
  7425. segment.report(79)
  7426. }
  7427. }
  7428. }
  7429. if (!nodeB.$isPartial) {
  7430. if (slowChecks && 5 < segmentLen && !nodeB.$otherSegmentsLen && nodeB.$rawNode.getOLGeometry().bounds && isLimitOk(108) && address.isOkFor(108)) {
  7431. var IDs = nodeB.$rawNode.attributes.segIDs;
  7432. var pt = new OpenLayers.Geometry.Point(nodeB.$rawNode.getOLGeometry().bounds.left, nodeB.$rawNode.getOLGeometry().bounds.bottom);
  7433. for (var segKey in WMo.segments.objects) {
  7434. var seg = WMo.segments.objects[segKey];
  7435. if (segmentID === seg.getID()) continue;
  7436. if (!seg.geometry) continue;
  7437. if (elevation !== seg.attributes.level) continue;
  7438. if ('Delete' === seg.state) continue;
  7439. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7440. if (LIMIT_TOLERANCE > seg.getOLGeometry().distanceTo(pt, null)) {
  7441. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7442. segment.report(108);
  7443. break
  7444. }
  7445. }
  7446. }
  7447. if (nodeB.$isUturn) {
  7448. if (!nodeB.$otherSegmentsLen && isLimitOk(77) && address.isOkFor(77)) segment.report(77);
  7449. if (slowChecks && 1 === nodeB.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeB.$outConnections[0].$isRoundabout) segment.report(99)
  7450. }
  7451. }
  7452. if (RT_FREEWAY === roadType) {
  7453. if (0 !== elevation && isLimitOk(110) && address.isOkFor(110)) segment.report(110);
  7454. options = getCheckOptions(150, countryCode);
  7455. if (options[CO_NUMBER] > lock && isLimitOk(150) && address.isOkFor(150)) segment.report(150);
  7456. if (DIR_TWO === direction && address.isOkFor(90)) segment.report(90)
  7457. }
  7458. if (RT_MAJOR === roadType) {
  7459. options = getCheckOptions(151, countryCode);
  7460. if (options[CO_NUMBER] > lock && isLimitOk(151) && address.isOkFor(151)) segment.report(151)
  7461. }
  7462. if (RT_MINOR === roadType) {
  7463. options = getCheckOptions(152, countryCode);
  7464. if (options[CO_NUMBER] > lock && isLimitOk(152) && address.isOkFor(152)) segment.report(152)
  7465. }
  7466. if (RT_RAMP === roadType) {
  7467. if (DIR_TWO === direction && isLimitOk(91) && address.isOkFor(91)) segment.report(91);
  7468. options = getCheckOptions(153, countryCode);
  7469. if (options[CO_NUMBER] > lock && isLimitOk(153) && address.isOkFor(153)) segment.report(153)
  7470. }
  7471. if (RT_PRIMARY === roadType) {
  7472. options = getCheckOptions(154, countryCode);
  7473. if (options[CO_NUMBER] > lock && isLimitOk(154) && address.isOkFor(154)) segment.report(154)
  7474. }
  7475. if (RT_STREET === roadType) {
  7476. options = getCheckOptions(155, countryCode);
  7477. if (options[CO_NUMBER] > lock && isLimitOk(155) && address.isOkFor(155)) segment.report(155)
  7478. }
  7479. if (RT_PARKING === roadType) {
  7480. options = getCheckOptions(156, countryCode);
  7481. if (options[CO_NUMBER] > lock && isLimitOk(156) && address.isOkFor(156)) segment.report(156)
  7482. }
  7483. if (RT_RAILROAD === roadType) {
  7484. options = getCheckOptions(157, countryCode);
  7485. if (options[CO_NUMBER] > lock && isLimitOk(157) && address.isOkFor(157)) segment.report(157)
  7486. }
  7487. if (RT_PRIVATE === roadType) {
  7488. options = getCheckOptions(158, countryCode);
  7489. if (options[CO_NUMBER] > lock && isLimitOk(158) && address.isOkFor(158)) segment.report(158)
  7490. }
  7491. } else if (slowChecks && !hasHNs && RT_RAILROAD !== roadType) {
  7492. if (nodeA.$otherSegmentsLen && (nodeB.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(114) && address.isOkFor(114))
  7493. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7494. var otherSegment = nodeA.$otherSegments[i];
  7495. if (!otherSegment.$rawObject) continue;
  7496. if (RR_TRAIL < otherSegment.$typeRank) {
  7497. segment.report(114);
  7498. break
  7499. }
  7500. }
  7501. if (nodeB.$otherSegmentsLen && (nodeA.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(115) && address.isOkFor(115))
  7502. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7503. var otherSegment = nodeB.$otherSegments[i];
  7504. if (!otherSegment.$rawObject) continue;
  7505. if (RR_TRAIL < otherSegment.$typeRank) {
  7506. segment.report(115);
  7507. break
  7508. }
  7509. }
  7510. }
  7511. if (streetLen) {
  7512. var checkIDType = {160: RT_FREEWAY, 161: RT_MAJOR, 162: RT_MINOR, 163: RT_RAMP, 164: RT_PRIMARY, 165: RT_STREET, 166: RT_PARKING, 167: RT_RAILROAD, 169: 0};
  7513. var checkIDID = {160: 70, 161: 71, 162: 72};
  7514. for (var i in checkIDType) {
  7515. i = +i;
  7516. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7517. var rType = checkIDType[i];
  7518. options = getCheckOptions(i, countryCode);
  7519. if (rType === roadType || !rType) {
  7520. if (matchRegExp(i, segmentID, street, options)) segment.report(i)
  7521. } else {
  7522. var mi = checkIDID[i];
  7523. if (mi && address.isOkFor(mi) && !matchRegExp(i, segmentID, street, options)) segment.report(mi)
  7524. }
  7525. }
  7526. for (var i = CK_STREETNAMEFIRST; i <= CK_STREETNAMELAST; i++) {
  7527. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7528. if (matchRegExp(i, segmentID, street, getCheckOptions(i, countryCode))) segment.report(i)
  7529. }
  7530. if (cityLen && RT_RAMP === roadType && isLimitOk(57) && address.isOkFor(57)) segment.report(57);
  7531. if (-1 !== street.indexOf('CONST ZN') && isLimitOk(117) && address.isOkFor(117)) segment.report(117);
  7532. if (RT_RAMP !== roadType && -1 !== street.indexOf('.') && isLimitOk(95) && address.isOkFor(95)) segment.report(95);
  7533. if (RT_RAMP === roadType)
  7534. if (DIR_TWO === direction)
  7535. if (isLimitOk(28) && address.isOkFor(28)) segment.report(28);
  7536. if (RR_RAMP > typeRank) {
  7537. options = getCheckOptions(73, countryCode);
  7538. if (options[CO_NUMBER] > streetLen && isLimitOk(73) && address.isOkFor(73)) segment.report(73)
  7539. }
  7540. if (isDrivable)
  7541. if (RT_RAMP === roadType) {
  7542. options = getCheckOptions(112, countryCode);
  7543. if (options[CO_NUMBER] < streetLen && isLimitOk(112) && address.isOkFor(112)) segment.report(112)
  7544. } else {
  7545. options = getCheckOptions(52, countryCode);
  7546. if (options[CO_NUMBER] < streetLen && isLimitOk(52) && address.isOkFor(52)) segment.report(52)
  7547. }
  7548. }
  7549. if (isRoundabout && isDrivable) {
  7550. if (streetLen && isLimitOk(29) && address.isOkFor(29)) segment.report(29);
  7551. if (DIR_TWO === direction && address.isOkFor(48)) segment.report(48);
  7552. if (!nodeA.$isPartial && 2 < nodeA.$otherSegmentsLen)
  7553. if (2 < nodeA.$outConnectionsLen) {
  7554. if (address.isOkFor(87)) segment.report(87)
  7555. } else if (address.isOkFor(74))
  7556. segment.report(74);
  7557. if (slowChecks && !isPartial && (DIR_AB === direction || DIR_BA === direction)) {
  7558. var okA = false;
  7559. var okB = false;
  7560. var anode, bnode;
  7561. if (DIR_AB === direction)
  7562. anode = nodeA, bnode = nodeB;
  7563. else
  7564. anode = nodeB, bnode = nodeA;
  7565. for (var i = 0; i < bnode.$outConnectionsLen; i++) {
  7566. var otherSegment = bnode.$outConnections[i];
  7567. if (otherSegment.$isRoundabout) {
  7568. okB = true;
  7569. break
  7570. }
  7571. }
  7572. if (okB)
  7573. for (var i = 0; i < anode.$inConnectionsLen; i++) {
  7574. var otherSegment = anode.$inConnections[i];
  7575. if (otherSegment.$isRoundabout) {
  7576. okA = true;
  7577. break
  7578. }
  7579. }
  7580. if ((!okB || !okA) && address.isOkFor(50)) segment.report(50)
  7581. }
  7582. }
  7583. HLObject(rawSegment)
  7584. }
  7585. if (_UI.pMain.pFilter.oEnablePlaces.CHECKED)
  7586. for (var venueKey in WMo.venues.objects) {
  7587. var rawVenue = WMo.venues.objects[venueKey];
  7588. var venueID = rawVenue.getID();
  7589. if (rawVenue.layer && rawVenue.id in rawVenue.layer.unrenderedFeatures) continue;
  7590. if ('Delete' === rawVenue.state) continue;
  7591. if (rawVenue.outOfScope) continue;
  7592. var seen = null;
  7593. if (venueID in _RT.$seen) seen = _RT.$seen[venueID];
  7594. if (rawVenue.selected) {
  7595. selectedObjects.push(venueID);
  7596. _RT.$revalidate[venueID] = true;
  7597. if (seen) {
  7598. deleteSeenObject(venueID);
  7599. seen = null
  7600. }
  7601. } else if (segmentID in _RT.$revalidate) {
  7602. deleteSeenObject(venueID);
  7603. seen = null;
  7604. delete _RT.$revalidate[segmentID]
  7605. }
  7606. if (seen) {
  7607. HLObject(rawVenue);
  7608. continue
  7609. }
  7610. var venue = new SimpleOBJECT(venueID, WMo.venues);
  7611. Object.seal(venue);
  7612. var address = venue.$address;
  7613. var country = address.$country;
  7614. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  7615. var city = address.$city;
  7616. var cityLen = city.length;
  7617. var cityID = address.$cityID;
  7618. var street = address.$street;
  7619. var streetLen = street.length;
  7620. var lock = venue.$lock;
  7621. _RT.$seen[venueID] = seen = [0, null, false, false, 16 > currentZoom, cityID];
  7622. venue.incCityCounter();
  7623. if (venue.$isEditable) _REP.$isEditableFound = true;
  7624. if (!cityLen && isLimitOk(250)) {
  7625. options = getCheckOptions(250, countryCode);
  7626. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(250)) venue.report(250)
  7627. }
  7628. if (!streetLen && isLimitOk(251)) {
  7629. options = getCheckOptions(251, countryCode);
  7630. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(251)) venue.report(251)
  7631. }
  7632. if (isLimitOk(252)) {
  7633. options = getCheckOptions(252, countryCode);
  7634. if (options[CO_REGEXP].test(venue.$updatedByID.toString()) || options[CO_REGEXP].test(venue.$updatedBy.toString()) && address.isOkFor(252)) venue.report(252)
  7635. }
  7636. if (venue.$categories.indexOf('OTHER') > -1 && isLimitOk(253) && address.isOkFor(253)) venue.report(253);
  7637. if (venue.$entryExitPoints && venue.$entryExitPoints.length && isLimitOk(254)) {
  7638. var stopPoint = venue.$entryExitPoints[0].getPoint();
  7639. var spt = new OpenLayers.Geometry.Point(stopPoint.coordinates[0], stopPoint.coordinates[1]);
  7640. stopPoint = spt.transform(nW.Config.map.projection.remote, nW.Config.map.projection.local);
  7641. var areaCenter = venue.$geometry.getCentroid();
  7642. if (areaCenter && areaCenter.equals(stopPoint) && address.isOkFor(254)) venue.report(254)
  7643. }
  7644. if (venue.$phone && isLimitOk(255)) {
  7645. options = getCheckOptions(255, countryCode);
  7646. if (!options[CO_REGEXP].test(venue.$phone) && address.isOkFor(255)) venue.report(255)
  7647. }
  7648. if (venue.$url && isLimitOk(256)) {
  7649. options = getCheckOptions(256, countryCode);
  7650. if (!options[CO_REGEXP].test(venue.$url) && address.isOkFor(256)) venue.report(256)
  7651. }
  7652. if (venue.$isPoint && isLimitOk(257)) {
  7653. options = getCheckOptions(257, countryCode);
  7654. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(257)) venue.report(257)
  7655. } else if (isLimitOk(258)) {
  7656. options = getCheckOptions(258, countryCode);
  7657. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(258)) venue.report(258)
  7658. }
  7659. if (isLimitOk(259)) {
  7660. options = getCheckOptions(259, countryCode);
  7661. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(259)) venue.report(259)
  7662. }
  7663. if (isLimitOk(260)) {
  7664. options = getCheckOptions(260, countryCode);
  7665. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(260)) venue.report(260)
  7666. }
  7667. if (venue.$rawObject.isParkingLot()) {
  7668. var catAttr = venue.$categoryAttributes;
  7669. var parkAttr = catAttr ? catAttr.PARKING_LOT : undefined;
  7670. if ((!parkAttr || !parkAttr.parkingType) && address.isOkFor(270)) venue.report(270);
  7671. if ((!parkAttr || !parkAttr.costType || parkAttr.costType === 'UNKNOWN') && address.isOkFor(271)) venue.report(271);
  7672. if (parkAttr && parkAttr.costType && parkAttr.costType !== 'FREE' && parkAttr.costType !== 'UNKNOWN' && (!parkAttr.paymentType || !parkAttr.paymentType.length) && address.isOkFor(272))
  7673. venue.report(272);
  7674. if ((!parkAttr || !parkAttr.lotType || parkAttr.lotType.length === 0) && address.isOkFor(273)) venue.report(273);
  7675. if ((!venue.$entryExitPoints || !venue.$entryExitPoints.length) && address.isOkFor(274)) venue.report(274)
  7676. }
  7677. if (venue.$rawObject.isGasStation())
  7678. if (isLimitOk(275) && venue.$name.toLowerCase().indexOf(venue.$brand.toLowerCase().split(' ')[0]) === -1 && address.isOkFor(275)) venue.report(275)
  7679. }
  7680. if (bUpdateMaxSeverity && (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))) async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  7681. updateObjectProperties(selectedObjects, false);
  7682. addHLedObjects()
  7683. };
  7684. async function F_LOGIN() {
  7685. log('login ' + WLM.user.attributes.userName);
  7686. _WV.parseAccessList = function(s) {
  7687. var a = s.split(/\s*,\s*/);
  7688. var res = [];
  7689. a.forEach(function(r, i) {
  7690. var n = false;
  7691. if ('!' === r.charAt(0)) n = true, r = r.slice(1);
  7692. res[i] = { $id: r, $not: n }
  7693. });
  7694. return res
  7695. };
  7696. _WV.checkAccessFor = function(forStr, cmpFunc) {
  7697. if (!forStr) return true;
  7698. var l = _WV.parseAccessList(forStr);
  7699. if (!l.length) return true;
  7700. for (var i = 0; i < l.length; i++) {
  7701. var r = l[i];
  7702. if ('*' === r.$id || cmpFunc(r.$id))
  7703. if (r.$not)
  7704. return false;
  7705. else
  7706. return true
  7707. }
  7708. return false
  7709. };
  7710. function mirrorChecks(defTranslation) {
  7711. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  7712. for (var i = CK_MIRRORFIRST; i <= CK_MIRRORLAST; i++)
  7713. allLabels.forEach(function(l) {
  7714. var label = i + '.' + l;
  7715. if (!(label in defTranslation)) return;
  7716. var value = defTranslation[label];
  7717. var mLabel = i + 100 + '.' + l;
  7718. switch (l) {
  7719. case 'title':
  7720. case 'problem':
  7721. case 'solution':
  7722. defTranslation[mLabel] = value.replace(/ A($|\b)/g, ' B');
  7723. break;
  7724. case 'params':
  7725. defTranslation[mLabel] = deepCopy(value);
  7726. break;
  7727. default:
  7728. defTranslation[mLabel] = value;
  7729. break
  7730. }
  7731. })
  7732. }
  7733. _RT = {
  7734. $textLabels: ['title', 'problem', 'solution'],
  7735. $otherLabels: ['enabled', 'color', 'severity', 'reportOnly', 'params', 'problemLink', 'solutionLink'],
  7736. $curMaxSeverity: RS_ERROR,
  7737. $RegExp1: '',
  7738. $RegExp2: '',
  7739. oReportWMECH: {FORID: '_cbHighlightLocked', CHECKED: false, NA: true},
  7740. oReportToolbox: {FORID: 'WMETB_NavBar', CHECKED: false, NA: true},
  7741. $isMapChanged: false,
  7742. $lng: I18n.locale.toUpperCase(),
  7743. $includeUpdatedByCache: {},
  7744. $includeUpdatedSinceTime: 0,
  7745. $includeCityNameCache: {},
  7746. $includeChecksCache: {},
  7747. $switchValidator: false,
  7748. $HLlayer: null,
  7749. $HLedObjects: {},
  7750. $isGlobalAccess: false,
  7751. $timer: {$secInRun: 0, $lastUpdate: 0},
  7752. $curMessage: {TEXT: '', TITLE: '', CLASS: CL_MSG},
  7753. $topCity: null,
  7754. $cachedTopCCode: '',
  7755. $topUser: {$userID: WLM.user.attributes.id, $userName: WLM.user.attributes.userName, $userLevel: WLM.user.attributes.rank + 1},
  7756. $topCenter: null,
  7757. $WDmoveID: -1,
  7758. $WDloadID: -1,
  7759. $layersVisibility: '',
  7760. $state: ST_STOP,
  7761. $direction: DIR_L2R,
  7762. $firstStep: true,
  7763. $startExtent: null,
  7764. $startCenter: null,
  7765. $startZoom: null,
  7766. $nextCenter: null,
  7767. $moveEndCenter: null,
  7768. $seen: {},
  7769. $revalidate: {},
  7770. $curUserName: WLM.user.attributes.userName,
  7771. $error: false,
  7772. $reportEditableNotFound: false,
  7773. $checks: {},
  7774. $sortedCheckIDs: null,
  7775. $WMECHcolors: {},
  7776. $untranslatedLngs: ['IT']
  7777. };
  7778. _RT.$topUser.$isCM = WLM.user.attributes.editableCountryIDs ? 0 !== WLM.user.attributes.editableCountryIDs.length : false;
  7779. _RT.$topUser.$countryIDs = WLM.user.attributes.editableCountryIDs ? WLM.user.attributes.editableCountryIDs : [];
  7780. _RT.$checks = {
  7781. 0: {
  7782. SEVERITY: RS_MAX,
  7783. REPORTONLY: false,
  7784. TITLE: 'Global access list to test before any of the checks below',
  7785. FORCOUNTRY: GA_FORCOUNTRY,
  7786. FORCITY: GA_FORCITY,
  7787. FORUSER: GA_FORUSER,
  7788. FORLEVEL: GA_FORLEVEL,
  7789. OPTIONS: {},
  7790. COLOR: '',
  7791. PROBLEM: '',
  7792. PROBLEMLINK: '',
  7793. PROBLEMLINKTEXT: '',
  7794. SOLUTION: '',
  7795. SOLUTIONLINK: '',
  7796. SOLUTIONLINKTEXT: ''
  7797. }
  7798. };
  7799. _I18n.init({$lng: _RT.$lng});
  7800. var defTranslation = _translations[_I18n.$defLng];
  7801. var defTBProblem = 'The segment is highlighted by WME Toolbox. It is not a problem';
  7802. var defTBProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Toolbox';
  7803. var TBchecks = [
  7804. [
  7805. '#3030FF', 'W', , 'Roundabout which may cause issues', 'Junction IDs of the roundabout segments are not consecutive', '', 'Redo the roundabout',
  7806. 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts'
  7807. ],
  7808. [
  7809. '#FF30FF', , , 'Simple segment', 'The segment has unneeded geometry nodes', , 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  7810. 'W:Creating_and_Editing_street_segments#Adjusting_road_geometry_.28nodes.29'
  7811. ],
  7812. ['#11F247', , true, 'Lvl 2 lock'], ['#71F211', , true, 'Lvl 3 lock'], ['#E2F211', , true, 'Lvl 4 lock'], ['#F29011', , true, 'Lvl 5 lock'], ['#F22011', , true, 'Lvl 6 lock'],
  7813. ['#00A8FF', , true, 'House numbers'], ['#F7B020', , true, 'Segment with time restrictions']
  7814. ];
  7815. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7816. var cc = TBchecks[i - CK_TBFIRST];
  7817. var cp = cc[4] || defTBProblem;
  7818. var cpl = cc[5];
  7819. if (!classCodeDefined(cpl)) cpl = defTBProblemLink;
  7820. defTranslation[i + '.enabled'] = true;
  7821. defTranslation[i + '.color'] = cc[0];
  7822. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7823. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7824. defTranslation[i + '.title'] = 'WME Toolbox: ' + cc[3];
  7825. defTranslation[i + '.problem'] = cp;
  7826. if (cpl) defTranslation[i + '.problemLink'] = cpl;
  7827. if (cc[6]) defTranslation[i + '.solution'] = cc[6];
  7828. if (cc[7]) defTranslation[i + '.solutionLink'] = cc[7]
  7829. }
  7830. var defWMECHProblem = 'The segment is highlighted by WME Color Highlights. It is not a problem';
  7831. var defWMECHProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Color_Highlights_.28WMECH.29';
  7832. var WMECHchecks = [
  7833. ['#000000', , true, 'Editor lock'], ['#0000FF', , true, 'Toll road / One way road'], ['#00FF00', , true, 'Recently edited'], ['#880000', , true, 'Road rank'], ['#888888', , true, 'No city'],
  7834. ['#990099', , true, 'Time restriction / Highlighted road type'], ['#FFBB00', , true, 'No name'], ['#FFFF00', , true, 'Filter by city'], ['#FFFF01', , true, 'Filter by city (alt. city)'],
  7835. ['#00FF00', , true, 'Filter by editor']
  7836. ];
  7837. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7838. var cc = WMECHchecks[i - CK_WMECHFIRST];
  7839. var cp = defWMECHProblem;
  7840. var cpl = defWMECHProblemLink;
  7841. defTranslation[i + '.enabled'] = true;
  7842. defTranslation[i + '.color'] = cc[0];
  7843. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7844. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7845. defTranslation[i + '.title'] = 'WME Color Highlights: ' + cc[3];
  7846. defTranslation[i + '.problem'] = cp;
  7847. if (cpl) defTranslation[i + '.problemLink'] = cpl
  7848. }
  7849. var streetNames = ['Freeway', 'Major Highway', 'Minor Highway', 'Ramp', 'Primary Street', 'Street', 'Parking Lot Road', 'Railroad', 'Private Road'];
  7850. for (var i = CK_TYPEFIRST; i <= CK_TYPELAST; i++) {
  7851. var streetName = streetNames[i - CK_TYPEFIRST];
  7852. defTranslation[i + '.severity'] = 'W';
  7853. defTranslation[i + '.title'] = 'Must be a ' + streetName;
  7854. defTranslation[i + '.problem'] = 'This segment must be a ' + streetName;
  7855. defTranslation[i + '.solution'] = 'Set the road type to ' + streetName + ' or change the road name'
  7856. }
  7857. for (var i = CK_CUSTOMFIRST; i <= CK_CUSTOMLAST; i++) {
  7858. defTranslation[i + '.title'] = 'Custom check';
  7859. defTranslation[i + '.severity'] = 'W';
  7860. defTranslation[i + '.problem'] = 'The segment matched custom conditions';
  7861. defTranslation[i + '.solution'] = 'Solve the issue';
  7862. defTranslation[i + '.params'] = {
  7863. 'template.title': '{string} expandable template',
  7864. 'template': '${street}',
  7865. 'regexp.title': '{string} regular expression to match the template',
  7866. 'regexp': '!/.+/',
  7867. 'titleEN.title': '{string} check title in English',
  7868. 'titleEN': '',
  7869. 'problemEN.title': '{string} problem description in English',
  7870. 'problemEN': '',
  7871. 'solutionEN.title': '{string} solution instructions in English',
  7872. 'solutionEN': ''
  7873. }
  7874. }
  7875. var lockLevels = {150: 5, 151: 4, 152: 3, 153: 4, 154: 2, 155: 0, 156: 0, 157: 2, 158: 2};
  7876. for (var i = CK_LOCKFIRST; i <= CK_LOCKLAST; i++) {
  7877. var lockName = streetNames[i - CK_LOCKFIRST];
  7878. var lockLevel = lockLevels[i];
  7879. defTranslation[i + '.title'] = 'No lock on ' + lockName;
  7880. defTranslation[i + '.problem'] = 'The ' + lockName + ' segment should be locked at least to Lvl ${n}';
  7881. defTranslation[i + '.solution'] = 'Lock the segment';
  7882. defTranslation[i + '.params'] = { 'n.title': '{number} minimum lock level', 'n': lockLevel }
  7883. }
  7884. var streetRegExps = {160: '!/^[AS][0-9]{1,2}/', 161: '!/^[0-9]{1,2}/', 162: '!/^[0-9]{1,3}/', 163: '!/^[AS]?[0-9]* ?> /'};
  7885. var streetDefRegExp = '!/.?/';
  7886. for (var i = CK_STREETTNFIRST; i <= CK_STREETTNLAST; i++) {
  7887. var streetName = streetNames[i - CK_STREETTNFIRST];
  7888. var streetRegExp = streetRegExps[CK_STREETTNFIRST] || streetDefRegExp;
  7889. if (i < 165 || i > 167) defTranslation[i + '.severity'] = 'W';
  7890. defTranslation[i + '.title'] = 'Incorrect ' + streetName + ' name';
  7891. defTranslation[i + '.problem'] = 'The ' + streetName + ' segment has incorrect street name';
  7892. defTranslation[i + '.solution'] = 'Rename the segment in accordance with the guidelines';
  7893. defTranslation[i + '.params'] = { 'regexp.title': '{string} regular expression to match incorrect ' + streetName + ' name', 'regexp': streetRegExp }
  7894. }
  7895. mirrorChecks(defTranslation);
  7896. var listOfIntPacks = '';
  7897. for (var translationsKey in _translations) {
  7898. var translation = _translations[translationsKey];
  7899. mirrorChecks(translation);
  7900. _I18n.addTranslation(translation);
  7901. var country = translation['.country'];
  7902. if (!country) continue;
  7903. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7904. country = country.split(' ').join('&nbsp;');
  7905. if (listOfIntPacks) listOfIntPacks += ', ';
  7906. if ('.lng' in translation)
  7907. listOfIntPacks += '<b>' + country + '*';
  7908. else
  7909. listOfIntPacks += country;
  7910. if ('.author' in translation) listOfIntPacks += ' by&nbsp;' + translation['.author'];
  7911. if ('.lng' in translation) listOfIntPacks += '</b>';
  7912. if ('.updated' in translation) listOfIntPacks += ' (' + translation['.updated'] + ')'
  7913. }
  7914. listOfIntPacks += '.';
  7915. listOfIntPacks += '<br>* localization pack with translations';
  7916. var listOfPacks = '';
  7917. for (var gObject in window) {
  7918. if (!window.hasOwnProperty(gObject)) continue;
  7919. if (-1 !== gObject.indexOf('WME_Validator')) {
  7920. var translation = window[gObject];
  7921. log('found localization pack: ' + gObject.replace('WME_Validator_', ''));
  7922. mirrorChecks(translation);
  7923. _I18n.addTranslation(translation);
  7924. if ('.country' in translation) {
  7925. var country = translation['.country'];
  7926. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7927. listOfPacks += '<b>' + country;
  7928. if ('.author' in translation) listOfPacks += ' by&nbsp;' + translation['.author'];
  7929. listOfPacks += '</b>';
  7930. if (!('.lng' in translation)) listOfPacks += '<br>(does not include translations)';
  7931. if ('.updated' in translation) {
  7932. listOfPacks += '<br>Updated: ' + translation['.updated'];
  7933. if ('.link' in translation && translation['.link']) listOfPacks += ' <a target="_blank" href="' + translation['.link'] + '">check&nbsp;for&nbsp;updates</a>'
  7934. }
  7935. listOfPacks += '<br>'
  7936. }
  7937. }
  7938. }
  7939. listOfPacks = listOfPacks ? listOfPacks : 'No external localization packs found';
  7940. listOfPacks += '<br><b>See</b> <a target="_blank" href="' + PFX_DISCUSS + DISCUSS_LOCAL + '">' +
  7941. 'how to create a localization pack</a>';
  7942. for (var i = 1; i < MAX_CHECKS; i++) {
  7943. var check = {ENABLED: {}, PROBLEMLINK: {}, PROBLEMLINKTEXT: {}, SOLUTIONLINK: {}, SOLUTIONLINKTEXT: {}};
  7944. var label = i + '.title';
  7945. if (!_I18n.isLabelExist(label)) continue;
  7946. check.TITLE = trS(label);
  7947. label = i + '.color';
  7948. if (_I18n.isLabelExist(label)) {
  7949. var col = trS(label).toUpperCase();
  7950. check.COLOR = col;
  7951. if (CK_WMECHFIRST <= i && CK_WMECHLAST >= i) _RT.$WMECHcolors[col] = true
  7952. }
  7953. label = i + '.problem';
  7954. if (_I18n.isLabelExist(label)) check.PROBLEM = trS(label);
  7955. label = i + '.solution';
  7956. if (_I18n.isLabelExist(label)) check.SOLUTION = trS(label);
  7957. label = i + '.reportOnly';
  7958. if (_I18n.isLabelExist(label)) check.REPORTONLY = trS(label);
  7959. label = i + '.severity';
  7960. var s = 'N';
  7961. if (_I18n.isLabelExist(label)) s = trS(label);
  7962. if (s) switch (s.charAt(0)) {
  7963. case 'w':
  7964. case 'W':
  7965. check.SEVERITY = RS_WARNING;
  7966. break;
  7967. case 'e':
  7968. case 'E':
  7969. check.SEVERITY = RS_ERROR;
  7970. break;
  7971. case '1':
  7972. check.SEVERITY = RS_CUSTOM1;
  7973. break;
  7974. case '2':
  7975. check.SEVERITY = RS_CUSTOM2;
  7976. break;
  7977. default:
  7978. check.SEVERITY = RS_NOTE;
  7979. break
  7980. }
  7981. else
  7982. check.SEVERITY = RS_NOTE;
  7983. label = i + '.enabled';
  7984. var labelP = i + '.params';
  7985. var labelPL = i + '.problemLink';
  7986. var labelSL = i + '.solutionLink';
  7987. var defEnabled = false;
  7988. var arrCodes = [];
  7989. for (var ccode in _I18n.$translations) {
  7990. var translation = _I18n.$translations[ccode];
  7991. if (label in translation) {
  7992. var e = translation[label];
  7993. check.ENABLED[ccode] = e;
  7994. if (_I18n.$defLng === ccode) {
  7995. if (e) defEnabled = true
  7996. } else if (e)
  7997. arrCodes.push(ccode);
  7998. else
  7999. arrCodes.push('!' + ccode)
  8000. }
  8001. if (labelPL in translation) {
  8002. var l = translation[labelPL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM).replace('D:', PFX_DISCUSS);
  8003. check.PROBLEMLINK[ccode] = encodeURI(l);
  8004. if (-1 !== l.indexOf(PFX_WIKI) || -1 !== l.indexOf(PFX_PEDIA))
  8005. check.PROBLEMLINKTEXT[ccode] = trS('report.link.wiki');
  8006. else if (-1 !== l.indexOf(PFX_FORUM))
  8007. check.PROBLEMLINKTEXT[ccode] = trS('report.link.forum');
  8008. else
  8009. check.PROBLEMLINKTEXT[ccode] = trS('report.link.other')
  8010. }
  8011. if (labelSL in translation) {
  8012. var l = translation[labelSL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM).replace('D:', PFX_DISCUSS);
  8013. check.SOLUTIONLINK[ccode] = encodeURI(l);
  8014. if (-1 !== l.indexOf(PFX_WIKI || -1 !== l.indexOf(PFX_PEDIA)))
  8015. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.wiki');
  8016. else if (-1 !== l.indexOf(PFX_FORUM))
  8017. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.forum');
  8018. else
  8019. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.other')
  8020. }
  8021. if (labelP in translation) {
  8022. var params = translation[labelP];
  8023. if (!check.OPTIONS) check.OPTIONS = {};
  8024. if (!(ccode in check.OPTIONS)) check.OPTIONS[ccode] = params;
  8025. if (params['template']) check.OPTIONS[ccode][CO_STRING] = params['template'];
  8026. if (params['regexp']) _WV.buildRegExp(i, check.OPTIONS[ccode], params['regexp']);
  8027. if (params['n']) check.OPTIONS[ccode][CO_NUMBER] = +params['n']
  8028. }
  8029. }
  8030. if (defEnabled) {
  8031. if (arrCodes.length) check.FORCOUNTRY = arrCodes.join(',') + ',*'
  8032. } else if (arrCodes.length)
  8033. check.FORCOUNTRY = arrCodes.join(',');
  8034. else
  8035. check.FORCOUNTRY = '!*';
  8036. _RT.$checks[i] = check
  8037. }
  8038. var dir = _I18n.getDir();
  8039. var dirLeft = trLeft(dir);
  8040. var dirRight = trRight(dir);
  8041. var cssRules, cssRules2, cssRulesA = '>a{text-decoration:underline;cursor:pointer;pointer-events:auto}';
  8042. _THUI.addElemetClassStyle('div', CL_TABS, '{border-bottom:2px solid #ddd;height:29px}');
  8043. _THUI.addElemetClassStyle('div', CL_TABS, '>input{display:none}');
  8044. _THUI.addElemetClassStyle(
  8045. 'div', CL_TABS,
  8046. '>label{white-space:nowrap;overflow:hidden;max-width:100px;text-overflow:ellipsis;cursor:pointer;display:inline-block;margin:0px;margin-' + dirRight +
  8047. ':3px;padding:4px 12px;border-radius:4px 4px 0 0;background-color:#dadbdc}');
  8048. _THUI.addElemetClassStyle(
  8049. 'div', CL_TABS,
  8050. '>input:checked+label{font-weight:normal;margin:-2px;min-height:31px;margin-' + dirRight + ':2px;cursor:default;border:2px solid #ddd;border-bottom-color:#fff;background-color:#fff}');
  8051. _THUI.addElemetClassStyle('div', CL_TABS, '>input:disabled+label{font-weight:bold !important;padding-' + dirLeft + ':0px;color:#333;cursor:default;background-color:transparent}');
  8052. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label:hover{background-color:#fff}');
  8053. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label:hover{background-color:#fff}');
  8054. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label>span>span.c' + CL_COLLAPSE + '{display:none}');
  8055. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label>span>span.c' + CL_COLLAPSE + '{display:inline}');
  8056. _THUI.addElemetClassStyle(
  8057. 'div', CL_PANEL,
  8058. '{background-color:#fff;padding:4px;margin:0;margin-bottom:4px;border-bottom:2px solid #ddd;white-space:nowrap;overflow-x:hidden;overflow-y:auto;text-overflow:ellipsis;width:100%;height:' +
  8059. SZ_PANEL_HEIGHT + 'px}');
  8060. _THUI.addElemetClassStyle('div', CL_PANEL, '>span' + cssRulesA);
  8061. _THUI.addElemetClassStyle('div', CL_PANEL, '>label>span' + cssRulesA);
  8062. _THUI.addElemetClassStyle('div', CL_PANEL, '>span>p' + cssRulesA);
  8063. cssRules = '>span{border-radius:5px;background-color:';
  8064. _THUI.addElemetClassStyle('label', 'c1', cssRules + GL_CUSTOM1COLOR + ';color:' + GL_CUSTOM1BGCOLOR + '}');
  8065. _THUI.addElemetClassStyle('label', 'c2', cssRules + GL_CUSTOM2COLOR + ';color:' + GL_CUSTOM2BGCOLOR + '}');
  8066. cssRules = '>span>a{color:white}';
  8067. _THUI.addElemetClassStyle('label', 'c1', cssRules);
  8068. _THUI.addElemetClassStyle('label', 'c2', cssRules);
  8069. _THUI.addElemetClassStyle('div', CL_BUTTONS, '{overflow:hidden;margin-bottom:1em}');
  8070. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button{font-weight:normal;padding:4px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8071. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button>i{pointer-events:none}');
  8072. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button:disabled{background-color:#eee;border-bottom:0px;cursor:default;pointer-events:auto}');
  8073. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox{display:block;height:24px;font-weight:normal;margin:0}');
  8074. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox>span{display:inline-block;height:20px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8075. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.date{display:block;height:32px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8076. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.date>span{display:inline-block;line-height:28px;vertical-align:middle;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8077. _THUI.addElemetClassStyle(
  8078. 'div', CL_PANEL,
  8079. '>label.date>input[type=date]{box-sizing:border-box;height:28px;padding:2px 10px;padding-' + dirRight + ':2px;float:' + dirRight + ';margin-' + dirRight + ':-155px;width:150px}');
  8080. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.text{display:block;height:30px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8081. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.text>span{display:inline-block;line-height:28px;vertical-align:middle;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8082. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.text>input[type=text]{box-sizing:border-box;height:28px;padding:2px 10px;float:' + dirRight + ';margin-' + dirRight + ':-155px;width:150px}');
  8083. cssRules = '{position:relative;height:2em;width:100%;margin-bottom:';
  8084. cssRules2 = '>span{position:absolute;' + dirLeft + ':0;bottom:0;display:inline-block;padding:4px 12px;margin:0px;border-radius:8px;border-bottom-' + dirLeft +
  8085. '-radius:0;box-shadow:3px 3px 3px #aaa;border:1px solid ';
  8086. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules + '12px}');
  8087. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules2 + '#aea;background-color:#cfc;' + dirLeft + ':auto;' + dirRight + ':0;border-radius:8px;border-bottom-' + dirRight + '-radius:0}');
  8088. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, '>span' + cssRulesA);
  8089. _THUI.addElemetClassStyle('div', CL_MSG, cssRules + '1em}');
  8090. _THUI.addElemetClassStyle('div', CL_MSG, cssRules2 + '#ded;background-color:#efe}');
  8091. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules + '1em}');
  8092. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules2 + '#ee9;background-color:#ffa}');
  8093. _THUI.addElemetIdStyle('div', ID_PROPERTY, '{padding-bottom:5px}');
  8094. _THUI.addElemetIdStyle('div', ID_PROPERTY, '>b' + cssRulesA);
  8095. cssRules = '{color:' + GL_NOTECOLOR + '}';
  8096. _THUI.addElemetClassStyle('div', CL_NOTE, cssRules);
  8097. _THUI.addElemetClassStyle('a', CL_NOTE, cssRules);
  8098. cssRules = '{color:' + GL_WARNINGCOLOR + '}';
  8099. _THUI.addElemetClassStyle('div', CL_WARNING, cssRules);
  8100. _THUI.addElemetClassStyle('a', CL_WARNING, cssRules);
  8101. cssRules = '{color:' + GL_ERRORCOLOR + '}';
  8102. _THUI.addElemetClassStyle('div', CL_ERROR, cssRules);
  8103. _THUI.addElemetClassStyle('a', CL_ERROR, cssRules);
  8104. cssRules = '{color:' + GL_CUSTOM1COLOR + '}';
  8105. _THUI.addElemetClassStyle('div', CL_CUSTOM1, cssRules);
  8106. _THUI.addElemetClassStyle('a', CL_CUSTOM1, cssRules);
  8107. cssRules = '{color:' + GL_CUSTOM2COLOR + '}';
  8108. _THUI.addElemetClassStyle('div', CL_CUSTOM2, cssRules);
  8109. _THUI.addElemetClassStyle('a', CL_CUSTOM2, cssRules);
  8110. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '{white-space:nowrap;position:relative;cursor:help}');
  8111. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span{display:inline-block;overflow:hidden;text-overflow:ellipsis;width:279px}');
  8112. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span' + cssRulesA);
  8113. cssRules = ';z-index:1000000;position:absolute;visibility:hidden;opacity:0;transition:0.1s ease;' + dirLeft + ':30px;top:-1.7em;cursor:default}';
  8114. _THUI.addElemetClassStyle(
  8115. 'div', CL_RIGHTTIP, ':before{content:"";position:absolute;border:1em solid transparent;border-' + dirRight + '-color:#ddd;margin-' + dirLeft + ':-2em;margin-top:1.5em' + cssRules);
  8116. _THUI.addElemetClassStyle(
  8117. 'div', CL_RIGHTTIPPOPUP, '{white-space:normal;background-color:#fafafa;padding:1em;width:230px;box-shadow:3px 3px 3px #aaa;border-radius:1em;border:1px solid #ddd' + cssRules);
  8118. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '{margin-' + dirLeft + ':2em}');
  8119. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, cssRulesA);
  8120. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p{color:black;margin-top:0.5em;margin-bottom:0.5em !important}');
  8121. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p' + cssRulesA);
  8122. cssRules = '{visibility:visible;opacity:1}';
  8123. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover:before' + cssRules);
  8124. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover>div' + cssRules);
  8125. _UI = {
  8126. _DISABLED: undefined,
  8127. _NODISPLAY: undefined,
  8128. MAXLENGTH: undefined,
  8129. REVERSE: undefined,
  8130. WARNING: undefined,
  8131. TYPE: undefined,
  8132. FORUSER: undefined,
  8133. FORCITY: undefined,
  8134. FORCOUNTRY: undefined,
  8135. FORLEVEL: undefined,
  8136. ACCESSKEY: undefined,
  8137. STYLEI: '',
  8138. DISCLOSE: 0,
  8139. _NAME: '',
  8140. READONLY: 0,
  8141. _STYLE: '',
  8142. ONWARNING: null,
  8143. ONCHANGE: null,
  8144. _ONCHANGE: undefined,
  8145. ONCLICKO: undefined,
  8146. MIN: undefined,
  8147. MAX: undefined,
  8148. STEP: undefined,
  8149. CLASS: CL_UI,
  8150. _TYPE: _THUI.DIV,
  8151. _ONWARNING: onWarning,
  8152. pTips: {},
  8153. pTranslateBanner: {
  8154. CLASS: CL_TRANSLATETIP,
  8155. TEXT: 'Please help to ' +
  8156. '<a target="_blank" href="' + PFX_DISCUSS + DISCUSS_LOCAL + '">' +
  8157. 'translate Validator!</a>',
  8158. TITLE: trS('about.tip')
  8159. },
  8160. pNoAccess: {CLASS: CL_PANEL, NODISPLAY: 1, STYLE: 'text-align:center', TEXT: trS('noaccess.text'), TITLE: trS('noaccess.tip')},
  8161. pMain: {
  8162. pTabs: {
  8163. CLASS: CL_TABS,
  8164. _DISCLOSE: 1,
  8165. _TYPE: _THUI.RADIO,
  8166. _ONCLICK: onUpdateUI,
  8167. tMain: {TEXT: '', TITLE: '', DISABLED: 1, STYLEO: 'cursor:pointer;max-width:97px', ONCLICKO: onUpdateUI},
  8168. tFilter: {
  8169. TEXT: '<i class="fa fa-filter" aria-hidden="true"></i>' +
  8170. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.filter.text') + '</span>',
  8171. TITLE: trS('tab.filter.tip'),
  8172. CHECKED: 1
  8173. },
  8174. tSearch: {
  8175. TEXT: '<i class="fa fa-search" aria-hidden="true"></i>' +
  8176. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.search.text') + '</span>',
  8177. TITLE: trS('tab.search.tip')
  8178. },
  8179. tHelp: {
  8180. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8181. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.help.text') + '</span>',
  8182. TITLE: trS('tab.help.tip'),
  8183. STYLEO: 'float:' + dirRight
  8184. }
  8185. },
  8186. pFilter: {
  8187. CLASS: CL_PANEL,
  8188. _CLASS: 'checkbox',
  8189. _TYPE: _THUI.CHECKBOX,
  8190. _REVERSE: 1,
  8191. _ONCHANGE: onUpdateUI,
  8192. oEnablePlaces: {TEXT: trS('filter.places.text'), TITLE: trS('filter.places.tip'), AUTOSAVE: AS_PLACES},
  8193. oExcludeNonEditables: {TEXT: trS('filter.noneditables.text'), TITLE: trS('filter.noneditables.tip'), AUTOSAVE: AS_NONEDITABLES},
  8194. oExcludeDuplicates: {TEXT: trS('filter.duplicates.text'), TITLE: trS('filter.duplicates.tip'), AUTOSAVE: AS_DUPLICATES},
  8195. oExcludeStreets: {TEXT: trS('filter.streets.text'), TITLE: trS('filter.streets.tip'), AUTOSAVE: AS_STREETS},
  8196. oExcludeOther: {TEXT: trS('filter.other.text'), TITLE: trS('filter.other.tip'), AUTOSAVE: AS_OTHERS},
  8197. oExcludeNotes: {TEXT: trS('filter.notes.text'), TITLE: trS('filter.notes.tip'), AUTOSAVE: AS_NOTES}
  8198. },
  8199. pSearch: {
  8200. CLASS: CL_PANEL,
  8201. NODISPLAY: 1,
  8202. _REVERSE: 1,
  8203. _ONCHANGE: onUpdateUI,
  8204. oIncludeYourEdits: {NODISPLAY: 1, TYPE: _THUI.CHECKBOX, TEXT: trS('search.youredits.text'), TITLE: trS('search.youredits.tip'), CLASS: 'checkbox', AUTOSAVE: AS_YOUREDITS},
  8205. oIncludeUpdatedBy: {
  8206. TYPE: _THUI.TEXT,
  8207. TEXT: trS('search.updatedby.text'),
  8208. TITLE: trS('search.updatedby.tip'),
  8209. PLACEHOLDER: trS('search.updatedby.example'),
  8210. CLASS: 'form-label text',
  8211. CLASSI: 'form-control',
  8212. AUTOSAVE: AS_UPDATEDBY
  8213. },
  8214. oIncludeUpdatedSince: {
  8215. TYPE: _THUI.DATE,
  8216. TEXT: trS('search.updatedsince.text'),
  8217. TITLE: trS('search.updatedsince.tip'),
  8218. PLACEHOLDER: trS('search.updatedsince.example'),
  8219. CLASS: 'form-label date',
  8220. CLASSI: 'form-control',
  8221. AUTOSAVE: AS_UPDATEDSINCE
  8222. },
  8223. oIncludeCityName: {
  8224. TYPE: _THUI.TEXT,
  8225. TEXT: trS('search.city.text'),
  8226. TITLE: trS('search.city.tip'),
  8227. PLACEHOLDER: trS('search.city.example'),
  8228. CLASS: 'form-label text',
  8229. CLASSI: 'form-control',
  8230. AUTOSAVE: AS_CITYNAME
  8231. },
  8232. oIncludeChecks: {
  8233. TYPE: _THUI.TEXT,
  8234. TEXT: trS('search.checks.text'),
  8235. TITLE: trS('search.checks.tip'),
  8236. PLACEHOLDER: trS('search.checks.example'),
  8237. CLASS: 'form-label text',
  8238. CLASSI: 'form-control',
  8239. AUTOSAVE: AS_CHECKS
  8240. }
  8241. },
  8242. pHelp: {CLASS: CL_PANEL, NODISPLAY: 1, TEXT: trS('help.text'), TITLE: trS('help.tip')},
  8243. pButtons: {
  8244. CLASS: CL_BUTTONS,
  8245. _CLASS: 'btn btn-default',
  8246. _TYPE: _THUI.BUTTON,
  8247. _ONCLICK: onUpdateUI,
  8248. bScan: {TEXT: '', TITLE: '', STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8249. bPause: {NODISPLAY: 1, TEXT: '', TITLE: trS('button.pause.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8250. bContinue: {TEXT: '', TITLE: trS('button.continue.tip'), NODISPLAY: 1, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8251. bStop: {TEXT: '', TITLE: trS('button.stop.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome;margin-' + dirRight + ':10px'},
  8252. bClear: {TEXT: '✘', TITLE: '', NODISPLAY: 1, DISABLED: 1, STYLE: 'float:' + dirLeft + ';width:38px;margin-' + dirRight + ':10px'},
  8253. bReport: {TEXT: trS('button.report.text'), TITLE: trS('button.report.tip'), STYLE: 'float:' + dirLeft + ';max-width:110px', ONCLICK: onShowReport},
  8254. bReportBB: {TEXT: '', TITLE: trS('button.BBreport.tip'), ONCLICK: onShareReport, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8255. bSettings: {TEXT: '', TITLE: trS('button.settings.tip'), STYLE: 'float:' + dirRight + ';width:38px;font-family:FontAwesome'}
  8256. }
  8257. },
  8258. pSettings: {
  8259. NODISPLAY: 1,
  8260. pTabs: {
  8261. CLASS: CL_TABS,
  8262. _DISCLOSE: 1,
  8263. _TYPE: _THUI.RADIO,
  8264. _ONCLICK: onUpdateUI,
  8265. tMain: {TEXT: trS('tab.settings.text') + ':', TITLE: 'WME Validator Version ' + WV_VERSION, STYLEO: 'max-width:85px', DISABLED: 1},
  8266. tCustom: {
  8267. TEXT: '<i class="fa fa-user" aria-hidden="true"></i>' +
  8268. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.custom.text') + '</span>',
  8269. STYLEO: 'max-width:110px',
  8270. TITLE: trS('tab.custom.tip'),
  8271. CHECKED: 1
  8272. },
  8273. tScanner: {
  8274. TEXT: '<i class="fa fa-wrench" aria-hidden="true"></i>' +
  8275. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.scanner.text') + '</span>',
  8276. TITLE: trS('tab.scanner.tip'),
  8277. STYLEO: 'max-width:110px'
  8278. },
  8279. tAbout: {
  8280. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8281. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.about.text') + '</span>',
  8282. TITLE: trS('tab.about.tip'),
  8283. STYLEO: 'float:' + dirRight + ';max-width:110px'
  8284. }
  8285. },
  8286. pCustom: {
  8287. CLASS: CL_PANEL,
  8288. _CLASS: 'form-label text',
  8289. _REVERSE: 1,
  8290. _ONCHANGE: onUpdateUI,
  8291. oTemplate1: {
  8292. TYPE: _THUI.TEXT,
  8293. TEXT: '&nbsp;' + trS('custom.template.text'),
  8294. TITLE: trS('custom.template.tip'),
  8295. PLACEHOLDER: trS('custom.template.example'),
  8296. CLASS: 'form-label text c1',
  8297. CLASSI: 'form-control',
  8298. AUTOSAVE: AS_CUSTOM1TEMPLATE
  8299. },
  8300. oRegExp1: {
  8301. TYPE: _THUI.TEXT,
  8302. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8303. TITLE: trS('custom.regexp.tip'),
  8304. PLACEHOLDER: trS('custom.regexp.example'),
  8305. CLASSI: 'form-control',
  8306. AUTOSAVE: AS_CUSTOM1REGEXP
  8307. },
  8308. oTemplate2: {
  8309. TYPE: _THUI.TEXT,
  8310. TEXT: '&nbsp;' + trS('custom.template.text'),
  8311. TITLE: trS('custom.template.tip'),
  8312. PLACEHOLDER: trS('custom.template.example'),
  8313. CLASS: 'form-label text c2',
  8314. CLASSI: 'form-control',
  8315. AUTOSAVE: AS_CUSTOM2TEMPLATE
  8316. },
  8317. oRegExp2: {
  8318. TYPE: _THUI.TEXT,
  8319. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8320. TITLE: trS('custom.regexp.tip'),
  8321. PLACEHOLDER: trS('custom.regexp.example'),
  8322. CLASSI: 'form-control',
  8323. AUTOSAVE: AS_CUSTOM2REGEXP
  8324. }
  8325. },
  8326. pScanner: {
  8327. NODISPLAY: 1,
  8328. CLASS: CL_PANEL,
  8329. _CLASS: 'checkbox',
  8330. _TYPE: _THUI.CHECKBOX,
  8331. _REVERSE: 1,
  8332. _ONCHANGE: onUpdateUI,
  8333. oSlowChecks: {TEXT: trS('scanner.slow.text'), TITLE: trS('scanner.slow.tip'), AUTOSAVE: AS_SLOWCHECKS},
  8334. oReportExt: {TEXT: trS('scanner.ext.text'), TITLE: trS('scanner.ext.tip'), AUTOSAVE: AS_REPORTEXT},
  8335. oHLReported: {TEXT: trS('scanner.highlight.text'), TITLE: trS('scanner.highlight.tip'), AUTOSAVE: AS_HLISSUES},
  8336. oSounds: {TEXT: trS('scanner.sounds.text'), TITLE: trS('scanner.sounds.tip'), NATITLE: trS('scanner.sounds.NA'), AUTOSAVE: AS_SOUNDS}
  8337. },
  8338. pAbout: {
  8339. CLASS: CL_PANEL,
  8340. NODISPLAY: 1,
  8341. TEXT: '<p><b>WME Validator</b>' +
  8342. '<br>Version ' + WV_VERSION + ' <a target="_blank" href="' + PFX_DISCUSS + DISCUSS_HOME + '">check for updates</a>' +
  8343. '<br>&copy; 2013-2018 Andriy Berestovskyy</p>' +
  8344. '<p><b>Built-in localization packs for:</b><br>' + listOfIntPacks + '<p><b>External localization packs for:</b><br>' + listOfPacks + '</p>' +
  8345. '<p><b>Special thanks to:</b><br>OyyoDams, Timbones, paulkok_my, petervdveen, MdSyah, sketch, AlanOfTheBerg, arbaot, Zniwek, orbitc, robindlc, fernandoanguita, BellHouse, vidalnit, Manzareck, gad_m, Zirland and <b>YOU!</b></p>',
  8346. TITLE: trS('about.tip'),
  8347. STYLE: 'direction:ltr;text-align:center;white-space:normal'
  8348. },
  8349. pButtons: {
  8350. CLASS: CL_BUTTONS,
  8351. _CLASS: 'btn btn-default',
  8352. _TYPE: _THUI.BUTTON,
  8353. _ONCLICK: onUpdateUI,
  8354. bReset: {TEXT: '<i class="fa fa-undo" aria-hidden="true"></i> ' + trS('button.reset.text'), TITLE: trS('button.reset.tip'), STYLE: 'float:' + dirLeft + ';max-width:165px'},
  8355. bList: {
  8356. NODISPLAY: 1,
  8357. TEXT: '<i class="fa fa-list" aria-hidden="true"></i> ' + trS('button.list.text'),
  8358. TITLE: trS('button.list.tip'),
  8359. STYLE: 'float:' + dirLeft + ';max-width:165px',
  8360. ONCLICK: onShowChecks
  8361. },
  8362. bWizard: {
  8363. NODISPLAY: 1,
  8364. TEXT: '<i class="fa fa-magic" aria-hidden="true"></i>',
  8365. TITLE: trS('button.wizard.tip'),
  8366. STYLE: 'float:' + dirLeft + ';margin-' + dirLeft + ':6px;width:38px',
  8367. ONCLICK: onCreatePack
  8368. },
  8369. bBack: {TEXT: '<i class="fa fa-angle-double-' + dirLeft + '" aria-hidden="true"></i> ' + trS('button.back.text'), TITLE: trS('button.back.tip'), STYLE: 'float:' + dirRight + ';max-width:70px'}
  8370. }
  8371. }
  8372. };
  8373. clearReport();
  8374. if (_RT.$topUser.$isCM) {
  8375. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 1;
  8376. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 0
  8377. } else {
  8378. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 0;
  8379. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 1
  8380. }
  8381. if (-1 !== _RT.$untranslatedLngs.indexOf(_RT.$lng.split('-')[0]))
  8382. _UI.pTranslateBanner.NODISPLAY = 0;
  8383. else
  8384. _UI.pTranslateBanner.NODISPLAY = 1;
  8385. if (!classCodeDefined(UW.AudioContext) && !classCodeDefined(UW.webkitAudioContext)) {
  8386. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  8387. _UI.pSettings.pScanner.oSounds.NA = true
  8388. }
  8389. resetDefaults();
  8390. var storageObj = null;
  8391. var s = null;
  8392. try {
  8393. s = window.localStorage.getItem(AS_NAME);
  8394. storageObj = s ? JSON.parse(s) : null;
  8395. if (!(AS_PASSWORD in storageObj)) storageObj = null
  8396. } catch (e) {
  8397. }
  8398. if (!storageObj || WV_LICENSE_VERSION !== storageObj[AS_LICENSE])
  8399. if (!confirm(WV_LICENSE)) {
  8400. _UI = {};
  8401. WLM.events.un({'afterloginchanged': onLogin, 'login': onLogin});
  8402. return
  8403. }
  8404. var showWhatsNew = false;
  8405. if (s && !storageObj) {
  8406. warning('\nDue to the major changes in Validator, all filter options\nand settings have been RESET to their DEFAULTS.');
  8407. showWhatsNew = true
  8408. }
  8409. if (storageObj && WV_VERSION !== storageObj[AS_VERSION]) showWhatsNew = true;
  8410. if (showWhatsNew) info(WV_WHATSNEW);
  8411. _THUI.loadValues(_UI, storageObj);
  8412. var styleMap = new OpenLayers.StyleMap({strokeWidth: HL_WIDTH});
  8413. var lookup = {};
  8414. lookup[RS_NOTE] = {strokeColor: GL_NOTECOLOR, graphicZIndex: 10};
  8415. lookup[RS_WARNING] = {strokeColor: GL_WARNINGCOLOR, graphicZIndex: 20};
  8416. lookup[RS_ERROR] = {strokeColor: GL_ERRORCOLOR, graphicZIndex: 30};
  8417. lookup[RS_CUSTOM2] = {strokeColor: GL_CUSTOM2COLOR, graphicZIndex: 40};
  8418. lookup[RS_CUSTOM1] = {strokeColor: GL_CUSTOM1COLOR, graphicZIndex: 50};
  8419. styleMap.addUniqueValueRules('default', 0, lookup);
  8420. _RT.$HLlayer = new OpenLayers.Layer.Vector(GL_LAYERNAME, {
  8421. uniqueName: GL_LAYERUNAME,
  8422. shortcutKey: GL_LAYERSHORTCUT,
  8423. accelerator: GL_LAYERACCEL,
  8424. units: 'm',
  8425. styleMap: styleMap,
  8426. projection: new OpenLayers.Projection('EPSG:4326'),
  8427. visibility: _UI.pSettings.pScanner.oHLReported.CHECKED
  8428. });
  8429. I18n.translations[I18n.currentLocale()].layers.name[GL_LAYERUNAME] = GL_LAYERNAME;
  8430. _RT.$HLlayer.setOpacity(HL_OPACITY);
  8431. WM.addLayer(_RT.$HLlayer);
  8432. _RT.$HLlayer.setVisibility(_UI.pSettings.pScanner.oHLReported.CHECKED);
  8433. WM.raiseLayer(_RT.$HLlayer, 99);
  8434. var tabLabel;
  8435. var tabPane;
  8436. var res = W.userscripts.registerSidebarTab('validator');
  8437. tabLabel = res.tabLabel;
  8438. tabPane = res.tabPane;
  8439. tabLabel.innerText = ' Validator';
  8440. await W.userscripts.waitForElementConnected(tabPane);
  8441. $(tabLabel.parentElement).prepend($('<span>', {class: 'fa fa-check-square-o'}));
  8442. _THUI.appendUI(tabPane, _UI, 'i' + ID_PREFIX);
  8443. async(F_UPDATEUI);
  8444. async(ForceHLAllObjects, null, 700);
  8445. WMo.events.on({'mergeend': onMergeEnd});
  8446. WM.events.on({'moveend': onMoveEnd, 'zoomend': delayForceHLAllObjects, 'changelayer': onChangeLayer});
  8447. WSM.addEventListener('selectionchanged', delayForceHLAllObjects);
  8448. WC.events.on({'loadstart': onLoadStart});
  8449. WMo.segments.on({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  8450. WMo.venues.on({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  8451. WMo.nodes.on({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved});
  8452. W.prefs.on({'change:isImperial': onChangeIsImperial})
  8453. };
  8454. function F_ONSEGMENTSCHANGED(e) {
  8455. var changedNodes = [];
  8456. for (var i = 0; i < e.length; i++) {
  8457. var nodeIDs = [e[i].attributes.fromNodeID, e[i].attributes.toNodeID];
  8458. for (var j = 0; j < nodeIDs.length; j++) {
  8459. var nodeID = nodeIDs[j];
  8460. if (!nodeID) continue;
  8461. var node = WMo.nodes.getObjectById(nodeID);
  8462. if (node) changedNodes.push(node)
  8463. }
  8464. }
  8465. if (changedNodes.length) sync(F_ONNODESCHANGED, changedNodes)
  8466. }
  8467. function F_ONNODESCHANGED(e) {
  8468. var reHL = false;
  8469. for (var i = 0; i < e.length; i++) {
  8470. var ids = e[i].attributes.segIDs;
  8471. for (var j = 0; j < ids.length; j++) _RT.$revalidate[ids[j]] = true, reHL = true
  8472. }
  8473. if (reHL) HLAllObjects()
  8474. }
  8475. function F_ONVENUESCHANGED(e) {
  8476. var reHL = false;
  8477. for (var i = e.length - 1; i >= 0; i--) {
  8478. var id = e[i].attributes.id;
  8479. _RT.$revalidate[id] = true;
  8480. reHL = true
  8481. }
  8482. if (reHL) HLAllObjects()
  8483. }
  8484. function F_ONCHANGELAYER(e) {
  8485. if (!e.hasOwnProperty('layer')) return;
  8486. if (-1 !== e.layer.id.indexOf(GL_TBPREFIX)) {
  8487. if (!e.layer.visibility)
  8488. for (var segmentID in WMo.segments.objects) {
  8489. if (!WMo.segments.objects.hasOwnProperty(segmentID)) continue;
  8490. delete WMo.segments.objects[segmentID][GL_TBCOLOR]
  8491. }
  8492. ForceHLAllObjects()
  8493. } else if (GL_LAYERUNAME === e.layer.uniqueName && e.layer.visibility !== _UI.pSettings.pScanner.oHLReported.CHECKED) {
  8494. _RT.$switchValidator = true;
  8495. async(F_UPDATEUI)
  8496. }
  8497. }
  8498. function F_ONMOVEEND() {
  8499. var c = WM.getCenter();
  8500. if (-1 === _RT.$WDmoveID && -1 === _RT.$WDloadID && c.equals(_RT.$nextCenter))
  8501. _RT.$WDmoveID = window.setTimeout(onMergeEnd, WD_SHORT);
  8502. else if (RTStateIs(ST_RUN) && !_RT.$firstStep && !c.equals(_RT.$nextCenter) && !c.equals(_RT.$startCenter)) {
  8503. _RT.$curMessage = {TEXT: trS('msg.autopaused.text'), TITLE: trS('msg.autopaused.tip')};
  8504. async(F_PAUSE)
  8505. }
  8506. _RT.$moveEndCenter = c
  8507. }
  8508. function F_ONLOADSTART() {
  8509. var c = WM.getCenter();
  8510. window.clearTimeout(_RT.$WDmoveID);
  8511. if (-1 === _RT.$WDloadID && c.equals(_RT.$nextCenter)) _RT.$WDloadID = window.setTimeout(onMergeEnd, WD_LONG);
  8512. _RT.$WDmoveID = -1
  8513. }
  8514. function F_LAYERSOFF() {
  8515. _RT.$HLlayer.destroyFeatures();
  8516. if (_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8517. WM.layers.forEach(function(el) {
  8518. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName) {
  8519. if (el.getVisibility())
  8520. _RT.$layersVisibility += 'T';
  8521. else
  8522. _RT.$layersVisibility += 'F';
  8523. el.setVisibility(false)
  8524. }
  8525. })
  8526. }
  8527. function F_LAYERSON() {
  8528. if (!_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8529. var j = 0;
  8530. WM.layers.forEach(function(el) {
  8531. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName)
  8532. if (_RT.$layersVisibility.length > j) {
  8533. el.setVisibility('T' === _RT.$layersVisibility.charAt(j));
  8534. j++
  8535. }
  8536. });
  8537. _RT.$layersVisibility = ''
  8538. }
  8539. function F_PAUSE() {
  8540. if (!RTStateIs(ST_RUN)) return;
  8541. beep(50, 'square');
  8542. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8543. setRTState(ST_PAUSE);
  8544. async(F_LAYERSON)
  8545. }
  8546. function F_STOP() {
  8547. if (!RTStateIs(ST_STOP)) {
  8548. beep(100, 'square');
  8549. if (_RT.$startCenter) {
  8550. WM.panTo(_RT.$startCenter);
  8551. WM.zoomTo(_RT.$startZoom)
  8552. }
  8553. if (!_REP.$maxSeverity) _RT.$curMessage = { TEXT: trS('msg.noissues.text'), TITLE: trS('msg.noissues.tip') }
  8554. }
  8555. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8556. setRTState(ST_STOP);
  8557. async(F_LAYERSON)
  8558. }
  8559. function F_ONMERGEEND() {
  8560. var c = WM.getCenter();
  8561. if (RTStateIs(ST_RUN) && _RT.$nextCenter && !c.equals(_RT.$nextCenter)) return;
  8562. var e = nW.map.getOLExtent();
  8563. var ew = e.getWidth();
  8564. var eh = e.getHeight();
  8565. var ew2 = ew / 2;
  8566. var eh2 = eh / 2;
  8567. var s = _RT.$startExtent;
  8568. if (!s) s = new UW.OpenLayers.Bounds;
  8569. var cx = c.lon;
  8570. var cy = c.lat;
  8571. var dir = Math.round(_RT.$direction / Math.abs(_RT.$direction));
  8572. var sw = s.getWidth();
  8573. var sh = s.getHeight();
  8574. var kxMax = Math.ceil(sw / (ew * SCAN_STEP / 100));
  8575. var stepX = sw / kxMax;
  8576. var kyMax = Math.ceil(sh / (eh * SCAN_STEP / 100));
  8577. var stepY = sh / kyMax;
  8578. if (RTStateIs(ST_CONTINUE)) {
  8579. if (_RT.$nextCenter) {
  8580. setRTState(ST_RUN);
  8581. WM.zoomTo(SCAN_ZOOM);
  8582. WM.panTo(_RT.$nextCenter);
  8583. clearWD();
  8584. return
  8585. }
  8586. async(F_ONRUN);
  8587. return
  8588. }
  8589. if (!RTStateIs(ST_RUN)) {
  8590. HLAllObjects();
  8591. return
  8592. }
  8593. async(F_UPDATEUI);
  8594. if (_RT.$firstStep) {
  8595. _RT.$firstStep = false;
  8596. var newX = s.left + ew2;
  8597. var newY = s.top - eh2;
  8598. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8599. WM.zoomTo(SCAN_ZOOM);
  8600. WM.panTo(_RT.$nextCenter);
  8601. clearWD();
  8602. return
  8603. }
  8604. sync(F_VALIDATE, false);
  8605. var deltaX = Number.MAX_VALUE;
  8606. var deltaY = Number.MAX_VALUE;
  8607. var kx = 0;
  8608. var ky = 0;
  8609. for (var i = 0;; i++) {
  8610. var x = s.left + ew2 + i * stepX;
  8611. var y = s.top - eh2 - i * stepY;
  8612. if (x > s.right && y < s.bottom) break;
  8613. var cd = Math.abs(x - cx);
  8614. if (cd < deltaX) deltaX = cd, kx = i;
  8615. cd = Math.abs(y - cy);
  8616. if (cd < deltaY) deltaY = cd, ky = i
  8617. }
  8618. updateTimer(ST_RUN);
  8619. var curStep = ky * kxMax + (0 < dir ? kx : kxMax - kx);
  8620. if (4 < curStep)
  8621. if (0 === curStep % 5) {
  8622. var maxStep = kyMax * kxMax;
  8623. var minETA = (maxStep / curStep - 1) * _RT.$timer.$secInRun / 60;
  8624. var strMsg = 1 > minETA ? trS('msg.scanning.text.soon') : trSO('msg.scanning.text', {'n': Math.round(minETA)});
  8625. _RT.$curMessage = { TEXT: strMsg, TITLE: trS('msg.scanning.tip') }
  8626. }
  8627. kx = kx + dir;
  8628. var newX = s.left + ew2 + kx * stepX;
  8629. if (newX < s.left || newX > s.right || Math.abs(newX - s.left) < Math.abs(newX - ew2 - s.left) || Math.abs(newX - s.right) < Math.abs(newX + ew2 - s.right)) {
  8630. newX = s.left + ew2 + (kx - dir) * stepX;
  8631. _RT.$direction = -_RT.$direction;
  8632. ky++
  8633. }
  8634. var newY = s.top - eh2 - ky * stepY;
  8635. if (newY < s.bottom || Math.abs(newY - s.bottom) < Math.abs(newY - eh2 - s.bottom)) {
  8636. if (!_REP.$isEditableFound && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) _RT.$reportEditableNotFound = true;
  8637. async(F_STOP);
  8638. return
  8639. }
  8640. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8641. WM.zoomTo(SCAN_ZOOM);
  8642. WM.panTo(_RT.$nextCenter);
  8643. clearWD()
  8644. }
  8645. function F_ONRUN() {
  8646. clearErrorFlag();
  8647. if (RTStateIs(ST_RUN)) return;
  8648. async(F_LAYERSOFF);
  8649. _RT.$curMessage = {TEXT: trS('msg.starting.text'), TITLE: trS('msg.starting.tip')};
  8650. setRTState(ST_RUN);
  8651. clearWD();
  8652. _RT.$direction = DIR_L2R;
  8653. _RT.$firstStep = true;
  8654. var e = nW.map.getOLExtent();
  8655. _RT.$startExtent = e;
  8656. _RT.$startCenter = WM.getCenter();
  8657. _RT.$startZoom = WM.getZoom();
  8658. _RT.$nextCenter = null;
  8659. _RT.$moveEndCenter = null;
  8660. _RT.$nextCenter = new UW.OpenLayers.LonLat(e.left, e.top);
  8661. WM.panTo(_RT.$nextCenter);
  8662. WM.zoomTo(SCAN_ZOOM)
  8663. }
  8664. function F_ONLOGIN() {
  8665. if (WLM.user) {
  8666. if (!_WV.$loggedIn) {
  8667. _WV.$loggedIn = true;
  8668. async(F_LOGIN)
  8669. }
  8670. } else if (_WV.$loggedIn) {
  8671. _WV.$loggedIn = false;
  8672. async(F_LOGOUT)
  8673. } else {
  8674. log('waiting for login...');
  8675. async(F_ONLOGIN, null, 1E3)
  8676. }
  8677. }
  8678. function F_INIT() {
  8679. UW = window;
  8680. nW = UW.W;
  8681. WLM = nW.loginManager;
  8682. WSM = nW.selectionManager;
  8683. WM = nW.map;
  8684. WMo = nW.model;
  8685. WC = nW.controller;
  8686. if (!nW || !WLM || !WLM.user || !WSM || !WM || !WMo || !WC || !$('#user-tabs')) {
  8687. log('waiting for WME...');
  8688. async(F_INIT, null, 1E3);
  8689. return
  8690. }
  8691. WM = nW.map.olMap;
  8692. if (classCodeDefined(UW.require)) {
  8693. R = UW.require;
  8694. WME_BETA = /beta/.test(location.href)
  8695. }
  8696. setupPolicy();
  8697. var _gaq = UW['_gaq'];
  8698. if (_gaq) {
  8699. _gaq.push(['WME_Validator._setAccount', 'UA-46853768-3']);
  8700. _gaq.push(['WME_Validator._setDomainName', 'waze.com']);
  8701. _gaq.push(['WME_Validator._trackPageview'])
  8702. }
  8703. _WV.$loggedIn = false;
  8704. WLM.events.on({'loginStatus': onLogin, 'login': onLogin});
  8705. async(F_ONLOGIN);
  8706. _WV.buildRegExp = function(checkID, options, strRegExp) {
  8707. try {
  8708. while (strRegExp && ' ' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8709. if (strRegExp) {
  8710. if ('D' === strRegExp.charAt(0)) {
  8711. strRegExp = strRegExp.substr(1);
  8712. options[CO_NUMBER] = 1
  8713. } else
  8714. options[CO_NUMBER] = 0;
  8715. if ('!' === strRegExp.charAt(0)) {
  8716. strRegExp = strRegExp.substr(1);
  8717. options[CO_BOOL] = true
  8718. } else
  8719. options[CO_BOOL] = false;
  8720. if ('/' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8721. var strRegExpOptions = '';
  8722. var arrMatch = strRegExp.match(/\/([igmy]*)$/);
  8723. if (arrMatch) {
  8724. strRegExpOptions = arrMatch[1];
  8725. strRegExp = strRegExp.slice(0, -arrMatch[0].length)
  8726. }
  8727. options[CO_REGEXP] = new RegExp(strRegExp, strRegExpOptions)
  8728. } else {
  8729. options[CO_BOOL] = false;
  8730. options[CO_NUMBER] = 0;
  8731. options[CO_REGEXP] = null
  8732. }
  8733. } catch (e) {
  8734. error(trSO('err.regexp', {'n': checkID}) + '\n\n' + e);
  8735. options[CO_BOOL] = false;
  8736. options[CO_NUMBER] = 0;
  8737. options[CO_REGEXP] = null
  8738. }
  8739. };
  8740. _WV.SimpleCITY = function(objID) {
  8741. this.$hash = 0;
  8742. this.$cityID = 0;
  8743. this.$city = '';
  8744. this.$state = '';
  8745. this.$countryID = 0;
  8746. this.$country = '';
  8747. if (objID) {
  8748. this.$cityID = objID;
  8749. var oc = WMo.cities.getObjectById(objID);
  8750. if (oc) {
  8751. this.$city = oc.attributes.isEmpty ? '' : oc.attributes.name;
  8752. var o = WMo.states.getObjectById(oc.attributes.stateID);
  8753. if (o) this.$state = o.attributes.name;
  8754. this.$countryID = oc.attributes.countryID;
  8755. o = WMo.countries.getObjectById(oc.attributes.countryID);
  8756. if (o) this.$country = o.attributes.name
  8757. }
  8758. this.$hash = this.$cityID + this.$countryID;
  8759. Object.defineProperties(this, {$hash: {writable: false}, $cityID: {writable: false}, $state: {writable: false}, $countryID: {writable: false}, $country: {writable: false}})
  8760. }
  8761. };
  8762. _WV.SimpleCITY.prototype.isOkFor = function(checkID) {
  8763. if (!_RT.$isGlobalAccess) return false;
  8764. var rep = _RT.$checks[checkID];
  8765. if (!rep.$cache) rep.$cache = {};
  8766. var cache = rep.$cache;
  8767. var forCity = rep.FORCITY;
  8768. var hash = forCity ? this.$hash : this.$countryID;
  8769. if (hash in cache) return cache[hash];
  8770. cache[hash] = false;
  8771. var forLevel = rep.FORLEVEL;
  8772. if (forLevel && forLevel > _RT.$topUser.$userLevel) return false;
  8773. if (forCity) {
  8774. var curCity = this.$city.toUpperCase();
  8775. if (!_WV.checkAccessFor(forCity, function(e) {
  8776. return e.toUpperCase() === curCity
  8777. }))
  8778. return false
  8779. }
  8780. var forUser = rep.FORUSER;
  8781. if (forUser) {
  8782. var curUser = _RT.$topUser.$userName.toUpperCase();
  8783. if (!_WV.checkAccessFor(forUser, function(e) {
  8784. return e.toUpperCase() === curUser
  8785. }))
  8786. return false
  8787. }
  8788. var forCountry = rep.FORCOUNTRY;
  8789. if (forCountry) {
  8790. var curCountry = this.$country.toUpperCase();
  8791. if (!_WV.checkAccessFor(forCountry, function(e) {
  8792. if (e in _I18n.$code2country) return _I18n.$code2country[e] === curCountry;
  8793. error('Please report: fc=' + e);
  8794. return false
  8795. }))
  8796. return false
  8797. }
  8798. cache[hash] = true;
  8799. return true
  8800. };
  8801. _WV.SimpleADDRESS = function(objID) {
  8802. this.$streetID = 0;
  8803. this.$street = '';
  8804. if (objID) {
  8805. this.$streetID = objID;
  8806. var o = WMo.streets.getObjectById(objID);
  8807. if (o)
  8808. if (o.hasOwnProperty('isEmpty')) {
  8809. this.$street = o.isEmpty ? '' : o.name;
  8810. _WV.SimpleCITY.call(this, o.cityID)
  8811. } else {
  8812. this.$street = o.attributes.isEmpty ? '' : o.attributes.name;
  8813. _WV.SimpleCITY.call(this, o.attributes.cityID)
  8814. }
  8815. else {
  8816. this.$street = GL_NOID;
  8817. _WV.SimpleCITY.call(this, 0)
  8818. }
  8819. }
  8820. Object.defineProperties(this, {$streetID: {writable: false}})
  8821. };
  8822. _WV.SimpleADDRESS.prototype = new _WV.SimpleCITY;
  8823. _WV.SimpleADDRESS.prototype.constructor = _WV.SimpleADDRESS
  8824. }
  8825. function F_ONWARNING(e) {
  8826. _THUI.viewToDoc(_UI);
  8827. var target = _THUI.getByDOM(_UI, e.target);
  8828. if (target && target.CHECKED && target.WARNING) warning(target.WARNING);
  8829. async(F_UPDATEUI)
  8830. }
  8831. function F_UPDATEUI(e) {
  8832. function destroyHLs() {
  8833. _RT.$HLedObjects = {};
  8834. _RT.$HLlayer.destroyFeatures()
  8835. }
  8836. function updateReportButtons() {
  8837. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) {
  8838. btns.bReport.CLASS = 'btn btn-default';
  8839. btns.bReport.DISABLED = true;
  8840. btns.bReportBB.DISABLED = true;
  8841. return
  8842. }
  8843. if (!_REP.$maxSeverity) {
  8844. btns.bReport.CLASS = 'btn btn-default';
  8845. btns.bReport.DISABLED = true;
  8846. btns.bReportBB.DISABLED = true
  8847. } else {
  8848. switch (_REP.$maxSeverity) {
  8849. case RS_NOTE:
  8850. btns.bReport.CLASS = 'btn btn-info';
  8851. break;
  8852. case RS_WARNING:
  8853. btns.bReport.CLASS = 'btn btn-warning';
  8854. break;
  8855. case RS_ERROR:
  8856. btns.bReport.CLASS = 'btn btn-danger';
  8857. break;
  8858. case RS_CUSTOM1:
  8859. btns.bReport.CLASS = 'btn btn-success';
  8860. break;
  8861. case RS_CUSTOM2:
  8862. btns.bReport.CLASS = 'btn btn-primary';
  8863. break
  8864. }
  8865. btns.bReport.DISABLED = false;
  8866. btns.bReportBB.DISABLED = false
  8867. }
  8868. if (15 < WM.getZoom()) {
  8869. btns.bScan.CLASS = 'btn btn-default';
  8870. btns.bScan.DISABLED = true;
  8871. btns.bScan.TITLE = trS('button.scan.tip.NA')
  8872. } else {
  8873. btns.bScan.CLASS = 'btn btn-success';
  8874. btns.bScan.DISABLED = false;
  8875. btns.bScan.TITLE = trS('button.scan.tip')
  8876. }
  8877. if (_REP.$isLimitPerCheck) {
  8878. btns.bClear.CLASS = 'btn btn-danger';
  8879. btns.bClear.TITLE = trS('button.clear.tip.red')
  8880. } else {
  8881. btns.bClear.CLASS = 'btn btn-default';
  8882. btns.bClear.TITLE = trS('button.clear.tip')
  8883. }
  8884. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  8885. _UI.pMain.pTabs.tMain.TEXT = '<i class="fa fa-check-square-o" aria-hidden="true"></i> ' +
  8886. 'Validator:';
  8887. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.off')
  8888. } else {
  8889. _UI.pMain.pTabs.tMain.TEXT = '<font color="#ccc"><i class="fa fa-power-off" aria-hidden="true"></i> ' +
  8890. 'Validator:</font>';
  8891. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.on')
  8892. }
  8893. _UI.pMain.pTabs.tMain.TITLE += '\nWME Validator Version ' + WV_VERSION
  8894. }
  8895. function getTopCity() {
  8896. var i = WMo.segments.topCityID;
  8897. if (i) return new _WV.SimpleCITY(i);
  8898. return new _WV.SimpleCITY(0)
  8899. }
  8900. _RT.$topCity = getTopCity();
  8901. if (_RT.$topCity.$country) _RT.$cachedTopCCode = _I18n.getCountryCode(_RT.$topCity.$country.toUpperCase());
  8902. _THUI.viewToDoc(_UI);
  8903. _RT.$isGlobalAccess = true;
  8904. if (!_RT.$topCity.isOkFor(0)) _RT.$isGlobalAccess = false;
  8905. if (!_RT.$isGlobalAccess) {
  8906. _UI.pMain.NODISPLAY = 1;
  8907. _UI.pSettings.NODISPLAY = 1;
  8908. _UI.pTips.NODISPLAY = 1;
  8909. _UI.pNoAccess.NODISPLAY = 0;
  8910. _THUI.docToView(_UI);
  8911. return
  8912. } else if (!_UI.pNoAccess.NODISPLAY) {
  8913. _UI.pMain.NODISPLAY = 0;
  8914. _UI.pTips.NODISPLAY = 0;
  8915. _UI.pNoAccess.NODISPLAY = 1
  8916. }
  8917. if (_RT.oReportToolbox.NA && null !== document.getElementById(_RT.oReportToolbox.FORID)) {
  8918. _RT.oReportToolbox.CHECKED = true;
  8919. _RT.oReportToolbox.NA = false;
  8920. clearReport();
  8921. async(ForceHLAllObjects, null, 1E3)
  8922. }
  8923. if (_RT.oReportWMECH.NA && null !== document.getElementById(_RT.oReportWMECH.FORID)) {
  8924. _RT.oReportWMECH.CHECKED = true;
  8925. _RT.oReportWMECH.NA = false;
  8926. clearReport();
  8927. async(ForceHLAllObjects, null, 1E3)
  8928. }
  8929. var customOptions = _RT.$checks[128].OPTIONS[_I18n.$defLng];
  8930. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate1.VALUE || _RT.$RegExp1 !== _UI.pSettings.pCustom.oRegExp1.VALUE) {
  8931. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate1.VALUE;
  8932. if (customOptions[CO_STRING]) {
  8933. clearErrorFlag();
  8934. _RT.$RegExp1 = _UI.pSettings.pCustom.oRegExp1.VALUE;
  8935. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp1.VALUE)
  8936. } else
  8937. customOptions[CO_REGEXP] = null
  8938. }
  8939. customOptions = _RT.$checks[129].OPTIONS[_I18n.$defLng];
  8940. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate2.VALUE || _RT.$RegExp2 !== _UI.pSettings.pCustom.oRegExp2.VALUE) {
  8941. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate2.VALUE;
  8942. if (customOptions[CO_STRING]) {
  8943. clearErrorFlag();
  8944. _RT.$RegExp2 = _UI.pSettings.pCustom.oRegExp2.VALUE;
  8945. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp2.VALUE)
  8946. } else
  8947. customOptions[CO_REGEXP] = null
  8948. }
  8949. if (_RT.$checks[128].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8950. _RT.$curMaxSeverity = RS_CUSTOM1;
  8951. else if (_RT.$checks[129].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8952. _RT.$curMaxSeverity = RS_CUSTOM2;
  8953. else
  8954. _RT.$curMaxSeverity = RS_ERROR;
  8955. if (e) {
  8956. switch (_THUI.getByDOM(_UI, e.target)) {
  8957. case _UI.pMain.pTabs.tMain:
  8958. _RT.$switchValidator = true;
  8959. break;
  8960. case _UI.pSettings.pCustom.oTemplate1:
  8961. case _UI.pSettings.pCustom.oRegExp1:
  8962. case _UI.pSettings.pCustom.oTemplate2:
  8963. case _UI.pSettings.pCustom.oRegExp2:
  8964. _RT.$isMapChanged = true;
  8965. clearReport();
  8966. async(ForceHLAllObjects);
  8967. break;
  8968. case _UI.pMain.pFilter.oEnablePlaces:
  8969. case _UI.pMain.pFilter.oExcludeNonEditables:
  8970. case _UI.pMain.pFilter.oExcludeDuplicates:
  8971. case _UI.pMain.pFilter.oExcludeStreets:
  8972. case _UI.pMain.pFilter.oExcludeOther:
  8973. case _UI.pMain.pFilter.oExcludeNotes:
  8974. case _UI.pMain.pSearch.oIncludeYourEdits:
  8975. case _UI.pMain.pSearch.oIncludeUpdatedBy:
  8976. case _UI.pMain.pSearch.oIncludeUpdatedSince:
  8977. case _UI.pMain.pSearch.oIncludeCityName:
  8978. case _UI.pMain.pSearch.oIncludeChecks:
  8979. _RT.$includeUpdatedByCache = {};
  8980. _RT.$includeUpdatedSinceTime = 0;
  8981. _RT.$includeCityNameCache = {};
  8982. _RT.$includeChecksCache = {};
  8983. async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8984. async(ForceHLAllObjects);
  8985. break;
  8986. case _UI.pMain.pButtons.bScan:
  8987. async(F_ONRUN);
  8988. break;
  8989. case _UI.pMain.pButtons.bStop:
  8990. async(F_STOP);
  8991. break;
  8992. case _UI.pMain.pButtons.bClear:
  8993. _RT.$isMapChanged = true;
  8994. clearErrorFlag();
  8995. clearReport();
  8996. destroyHLs();
  8997. break;
  8998. case _UI.pMain.pButtons.bPause:
  8999. _RT.$curMessage = {TEXT: trS('msg.paused.text'), TITLE: trS('msg.paused.tip')};
  9000. async(F_PAUSE);
  9001. break;
  9002. case _UI.pMain.pButtons.bContinue:
  9003. clearErrorFlag();
  9004. if (!RTStateIs(ST_PAUSE)) break;
  9005. if (LIMIT_TOTAL < _REP.$counterTotal) clearReport();
  9006. async(F_LAYERSOFF);
  9007. _RT.$curMessage = {TEXT: trS('msg.continuing.text'), TITLE: trS('msg.continuing.tip')};
  9008. setRTState(ST_CONTINUE);
  9009. if (_RT.$startCenter) {
  9010. WM.zoomTo(_RT.$startZoom);
  9011. WM.panTo(_RT.$startCenter)
  9012. }
  9013. clearWD();
  9014. break;
  9015. case _UI.pMain.pButtons.bSettings:
  9016. _UI.pMain.NODISPLAY = true;
  9017. _UI.pSettings.NODISPLAY = false;
  9018. _RT.$curMessage = {TEXT: trS('msg.settings.text'), TITLE: trS('msg.settings.tip')};
  9019. break;
  9020. case _UI.pSettings.pButtons.bReset:
  9021. resetDefaults();
  9022. _RT.$curMessage = {TEXT: trS('msg.reset.text'), TITLE: trS('msg.reset.tip')};
  9023. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  9024. async(ForceHLAllObjects);
  9025. break;
  9026. case _UI.pSettings.pButtons.bBack:
  9027. _UI.pMain.NODISPLAY = false;
  9028. _UI.pSettings.NODISPLAY = true;
  9029. break;
  9030. case _UI.pSettings.pScanner.oHLReported:
  9031. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  9032. _RT.$switchValidator = true;
  9033. break
  9034. }
  9035. async(F_ONWARNING, e)
  9036. }
  9037. if (_RT.$switchValidator) {
  9038. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  9039. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  9040. ForceHLAllObjects();
  9041. _RT.$HLlayer.setVisibility(true)
  9042. } else {
  9043. ForceHLAllObjects();
  9044. destroyHLs();
  9045. _RT.$HLlayer.setVisibility(false)
  9046. }
  9047. _RT.$switchValidator = false
  9048. }
  9049. if (_RT.$reportEditableNotFound) {
  9050. _RT.$reportEditableNotFound = false;
  9051. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = false;
  9052. info(trS('filter.noneditables.reverted'))
  9053. }
  9054. _UI.pMain.pHelp.NODISPLAY = !_UI.pMain.pTabs.tHelp.CHECKED;
  9055. _UI.pMain.pFilter.NODISPLAY = !_UI.pMain.pTabs.tFilter.CHECKED;
  9056. _UI.pMain.pSearch.NODISPLAY = !_UI.pMain.pTabs.tSearch.CHECKED;
  9057. _UI.pSettings.pScanner.NODISPLAY = !_UI.pSettings.pTabs.tScanner.CHECKED;
  9058. _UI.pSettings.pCustom.NODISPLAY = !_UI.pSettings.pTabs.tCustom.CHECKED;
  9059. _UI.pSettings.pAbout.NODISPLAY = !_UI.pSettings.pTabs.tAbout.CHECKED;
  9060. if (_UI.pSettings.pTabs.tAbout.CHECKED) {
  9061. _UI.pSettings.pButtons.bReset.NODISPLAY = 1;
  9062. _UI.pSettings.pButtons.bList.NODISPLAY = 0;
  9063. _UI.pSettings.pButtons.bWizard.NODISPLAY = 0
  9064. } else {
  9065. _UI.pSettings.pButtons.bReset.NODISPLAY = 0;
  9066. _UI.pSettings.pButtons.bList.NODISPLAY = 1;
  9067. _UI.pSettings.pButtons.bWizard.NODISPLAY = 1
  9068. }
  9069. var btns = _UI.pMain.pButtons;
  9070. switch (getRTState()) {
  9071. case ST_CONTINUE:
  9072. case ST_RUN:
  9073. btns.bScan.NODISPLAY = true;
  9074. btns.bPause.NODISPLAY = false;
  9075. btns.bContinue.NODISPLAY = true;
  9076. btns.bStop.NODISPLAY = false;
  9077. btns.bClear.NODISPLAY = true;
  9078. updateReportButtons();
  9079. btns.bSettings.DISABLED = true;
  9080. _UI.pMain.pFilter._DISABLED = true;
  9081. _UI.pMain.pSearch._DISABLED = true;
  9082. break;
  9083. case ST_STOP:
  9084. btns.bScan.NODISPLAY = false;
  9085. btns.bPause.NODISPLAY = true;
  9086. btns.bContinue.NODISPLAY = true;
  9087. btns.bStop.NODISPLAY = true;
  9088. btns.bClear.NODISPLAY = false;
  9089. if (isEmpty(_RT.$seen))
  9090. btns.bClear.DISABLED = true;
  9091. else
  9092. btns.bClear.DISABLED = false;
  9093. updateReportButtons();
  9094. if (_REP.$maxSeverity && !_UI.pMain.NODISPLAY) _RT.$curMessage = {TEXT: trS('msg.finished.text'), TITLE: trS('msg.finished.tip'), CLASS: CL_MSGY};
  9095. btns.bSettings.DISABLED = false;
  9096. _UI.pMain.pFilter._DISABLED = false;
  9097. _UI.pMain.pSearch._DISABLED = false;
  9098. break;
  9099. case ST_PAUSE:
  9100. btns.bScan.NODISPLAY = true;
  9101. btns.bPause.NODISPLAY = true;
  9102. btns.bContinue.NODISPLAY = false;
  9103. btns.bContinue.DISABLED = false;
  9104. btns.bStop.NODISPLAY = false;
  9105. btns.bClear.NODISPLAY = true;
  9106. updateReportButtons();
  9107. btns.bSettings.DISABLED = false;
  9108. _UI.pMain.pFilter._DISABLED = false;
  9109. _UI.pMain.pSearch._DISABLED = false;
  9110. break
  9111. }
  9112. if (RTStateIs(ST_STOP) && !_REP.$maxSeverity)
  9113. if (!_UI.pMain.NODISPLAY)
  9114. if (15 < WM.getZoom())
  9115. _RT.$curMessage = {TEXT: _UI.pSettings.pScanner.oHLReported.CHECKED ? trS('msg.pan.text') : trS('msg.zoomout.text'), TITLE: '', CLASS: CL_MSGY};
  9116. else
  9117. _RT.$curMessage = {TEXT: trS('msg.click.text'), TITLE: '', CLASS: CL_MSGY};
  9118. _UI.pTips.TEXT = _RT.$curMessage.TEXT;
  9119. if (_RT.$curMessage.TITLE)
  9120. _UI.pTips.TITLE = _RT.$curMessage.TITLE;
  9121. else
  9122. _UI.pTips.TITLE = '';
  9123. if (_RT.$curMessage.CLASS)
  9124. _UI.pTips.CLASS = _RT.$curMessage.CLASS;
  9125. else
  9126. _UI.pTips.CLASS = CL_MSG;
  9127. var storageObj = _THUI.saveValues(_UI);
  9128. storageObj[AS_VERSION] = WV_VERSION;
  9129. storageObj[AS_LICENSE] = WV_LICENSE_VERSION;
  9130. storageObj[AS_PASSWORD] = 1;
  9131. try {
  9132. window.localStorage.setItem(AS_NAME, JSON.stringify(storageObj))
  9133. } catch (err) {
  9134. }
  9135. _THUI.docToView(_UI)
  9136. }
  9137. function F_LOGOUT() {
  9138. log('logout');
  9139. _UI = {};
  9140. WMo.events.un({'mergeend': onMergeEnd});
  9141. WM.events.un({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  9142. WSM.removeEventListener('selectionchanged', delayForceHLAllObjects);
  9143. WC.events.un({'loadstart': onLoadStart});
  9144. WMo.segments.events.un({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  9145. WMo.venues.events.un({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  9146. WMo.nodes.events.un({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved})
  9147. }
  9148. async(F_INIT, null, 0);
  9149. var _I18n = {
  9150. $defLng: 'EN',
  9151. $lng: '',
  9152. $translations: null,
  9153. $curSet: null,
  9154. $curCode: '',
  9155. $fallbackSet: null,
  9156. $fallbackCode: '',
  9157. $defSet: null,
  9158. $country2code: null,
  9159. $code2country: null,
  9160. $code2code: null,
  9161. $lng2code: null,
  9162. $code2dir: null
  9163. };
  9164. _I18n.init = function(options) {
  9165. _I18n.$lng = options.$lng || _I18n.$defLng;
  9166. _I18n.$translations = options.$translations || {};
  9167. _I18n.$country2code = options.$country2code || {};
  9168. _I18n.$code2country = options.$code2country || {};
  9169. _I18n.$code2code = options.$code2code || {};
  9170. _I18n.$lng2code = options.$lng2code || {};
  9171. _I18n.$code2dir = options.$code2dir || {}
  9172. };
  9173. _I18n.addTranslation = function(translation) {
  9174. var ccode = translation['.codeISO'];
  9175. if (!ccode) return;
  9176. ccode = ccode.toUpperCase();
  9177. _I18n.$translations[ccode] = translation;
  9178. if (_I18n.$defLng !== ccode) {
  9179. var country = translation['.country'];
  9180. if (country) {
  9181. if (!classCodeIs(country, CC_ARRAY)) country = [country];
  9182. for (var i = 0; i < country.length; i++) {
  9183. var ucountry = country[i].toUpperCase();
  9184. _I18n.$country2code[ucountry] = ccode;
  9185. if (!(ccode in _I18n.$code2country)) _I18n.$code2country[ccode] = ucountry
  9186. }
  9187. }
  9188. var lng = translation['.lng'];
  9189. if (lng) {
  9190. if (!classCodeIs(lng, CC_ARRAY)) lng = [lng];
  9191. for (var i = 0; i < lng.length; i++) {
  9192. var ulng = lng[i].toUpperCase();
  9193. _I18n.$lng2code[ulng] = ccode
  9194. }
  9195. }
  9196. var dir = translation['.dir'];
  9197. if (dir) _I18n.$code2dir[ccode] = dir.toLowerCase();
  9198. var fcode = translation['.fallbackCode'];
  9199. if (fcode) {
  9200. fcode = fcode.toUpperCase();
  9201. if (_I18n.$defLng !== fcode) _I18n.$code2code[ccode] = fcode
  9202. }
  9203. }
  9204. _I18n.$curCode = _I18n.getCodeOL(_I18n.$translations, _I18n.$lng);
  9205. _I18n.$curSet = _I18n.getValueOC(_I18n.$translations, _I18n.$curCode);
  9206. _I18n.$fallbackCode = _I18n.getFallbackCodeOC(_I18n.$translations, _I18n.$curCode);
  9207. _I18n.$fallbackSet = _I18n.getValueOC(_I18n.$translations, _I18n.$fallbackCode);
  9208. _I18n.$defSet = _I18n.$translations[_I18n.$defLng]
  9209. };
  9210. _I18n.getDependantCodes = function(uc) {
  9211. var ret = [];
  9212. for (var depCode in _I18n.$code2code)
  9213. if (_I18n.$code2code[depCode] === uc) ret.push(depCode);
  9214. return ret
  9215. };
  9216. _I18n.getCountryCode = function(uc) {
  9217. if (uc in _I18n.$country2code) return _I18n.$country2code[uc];
  9218. return ''
  9219. };
  9220. _I18n.getCountry = function(ucc) {
  9221. if (ucc in _I18n.$code2country) return _I18n.$code2country[ucc];
  9222. return ''
  9223. };
  9224. _I18n.getCapitalizedCountry = function(ucc) {
  9225. return _I18n.capitalize(_I18n.getCountry(ucc)).toLowerCase().replace(/\b./g, function(c) {
  9226. return c.toUpperCase()
  9227. })
  9228. };
  9229. _I18n.capitalize = function(str) {
  9230. return str.toLowerCase().replace(/\b./g, function(c) {
  9231. return c.toUpperCase()
  9232. })
  9233. };
  9234. _I18n.getDir = function() {
  9235. if (_I18n.$curCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$curCode];
  9236. if (_I18n.$fallbackCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$fallbackCode];
  9237. return 'ltr'
  9238. };
  9239. _I18n.getString = function(label) {
  9240. if (label in _I18n.$curSet) return _I18n.$curSet[label];
  9241. if (label in _I18n.$fallbackSet) return _I18n.$fallbackSet[label];
  9242. if (label in _I18n.$defSet) return _I18n.$defSet[label];
  9243. var ret = '[missing ' + label + ']';
  9244. return ret
  9245. };
  9246. _I18n.isLabelExist = function(label) {
  9247. if (label in _I18n.$curSet) return true;
  9248. if (label in _I18n.$fallbackSet) return true;
  9249. if (label in _I18n.$defSet) return true;
  9250. return false
  9251. };
  9252. _I18n.getCodeOL = function(obj, lng) {
  9253. var ccode = _I18n.$lng2code[lng];
  9254. if (ccode)
  9255. if (ccode in obj)
  9256. return ccode;
  9257. else
  9258. return _I18n.getFallbackCodeOC(obj, ccode);
  9259. else
  9260. return _I18n.$defLng
  9261. };
  9262. _I18n.getFallbackCodeOC = function(obj, ccode) {
  9263. var fcode = _I18n.$code2code[ccode];
  9264. if (fcode && fcode in obj) return fcode;
  9265. return _I18n.$defLng
  9266. };
  9267. _I18n.getValueOL = function(obj, lng) {
  9268. return _I18n.getValueOC(obj, _I18n.getCodeOL(obj, lng))
  9269. };
  9270. _I18n.getValueOC = function(obj, ccode) {
  9271. if (ccode in obj)
  9272. return obj[ccode];
  9273. else if (ccode in _I18n.$code2code) {
  9274. var fcode = _I18n.$code2code[ccode];
  9275. if (fcode in obj) return obj[fcode]
  9276. }
  9277. return obj[_I18n.$defLng]
  9278. };
  9279. _I18n.expandSO = function(str, options) {
  9280. if (!options) return str;
  9281. return str.replace(/\$\{(\w+)(\[(\d+)\]|\[(\W*)\])?\}/g, function(all, name, arr, idx, delims) {
  9282. if (arr) {
  9283. if (idx) return options[name][idx] || '';
  9284. return options[name].join(delims)
  9285. } else
  9286. return options[name]
  9287. })
  9288. };
  9289. _I18n.t = function(obj, ccode, options) {
  9290. return _I18n.expandSO(_I18n.getValueOC(obj, ccode), options)
  9291. };
  9292. _I18n.tL = function(obj, options) {
  9293. return _I18n.expandSO(_I18n.getValueOL(obj, _I18n.$lng), options)
  9294. };
  9295. var _AUDIO = {};
  9296. _AUDIO.beep = function(dur, oscType) {
  9297. try {
  9298. _AUDIO._context = new (window.AudioContext || window.webkitAudioContext);
  9299. var osc = _AUDIO._context.createOscillator();
  9300. osc.connect(_AUDIO._context.destination);
  9301. osc.type = oscType || 'sine';
  9302. osc.start(0);
  9303. setTimeout(function() {
  9304. osc.stop(0)
  9305. }, dur)
  9306. } catch (e) {
  9307. log('beep!')
  9308. }
  9309. };
  9310. _THUI.$def = {
  9311. _class: '',
  9312. _disclose: 0,
  9313. _name: '',
  9314. _nodisplay: 0,
  9315. _disabled: 0,
  9316. _reverse: 0,
  9317. _style: '',
  9318. _type: '',
  9319. _onclick: null,
  9320. _onwarning: null,
  9321. _onchange: null
  9322. };
  9323. _THUI.loadValues = function(uiObj, storageObj) {
  9324. if (!storageObj) return;
  9325. if (uiObj.AUTOSAVE && uiObj.AUTOSAVE in storageObj) {
  9326. switch (uiObj.TYPE) {
  9327. case _THUI.TEXT:
  9328. case _THUI.DATE:
  9329. uiObj.VALUE = storageObj[uiObj.AUTOSAVE];
  9330. break;
  9331. default:
  9332. uiObj.CHECKED = storageObj[uiObj.AUTOSAVE];
  9333. break
  9334. }
  9335. return
  9336. }
  9337. for (var i in uiObj) {
  9338. if (!uiObj.hasOwnProperty(i)) continue;
  9339. var o = uiObj[i];
  9340. switch (classCode(o)) {
  9341. case CC_OBJECT:
  9342. _THUI.loadValues(o, storageObj);
  9343. break;
  9344. case CC_ARRAY:
  9345. for (var j = 0; j < o.length; j++) _THUI.loadValues(o[j], storageObj);
  9346. break
  9347. }
  9348. }
  9349. };
  9350. _THUI.saveValues = function(uiObj, storageObj) {
  9351. if (!storageObj) storageObj = {};
  9352. if (uiObj.AUTOSAVE) {
  9353. switch (uiObj.TYPE) {
  9354. case _THUI.TEXT:
  9355. case _THUI.DATE:
  9356. storageObj[uiObj.AUTOSAVE] = uiObj.VALUE;
  9357. break;
  9358. default:
  9359. storageObj[uiObj.AUTOSAVE] = uiObj.CHECKED;
  9360. break
  9361. }
  9362. return storageObj
  9363. }
  9364. for (var i in uiObj) {
  9365. if (!uiObj.hasOwnProperty(i)) continue;
  9366. var o = uiObj[i];
  9367. switch (classCode(o)) {
  9368. case CC_OBJECT:
  9369. _THUI.saveValues(o, storageObj);
  9370. break;
  9371. case CC_ARRAY:
  9372. for (var j = 0; j < o.length; j++) _THUI.saveValues(o[j], storageObj);
  9373. break
  9374. }
  9375. }
  9376. return storageObj
  9377. };
  9378. _THUI.storage = {
  9379. get: function(name) {
  9380. try {
  9381. var s = window.localStorage.getItem(name);
  9382. return s ? JSON.parse(s) : null
  9383. } catch (e) {
  9384. return null
  9385. }
  9386. },
  9387. set: function(name, obj) {
  9388. try {
  9389. var s = JSON.stringify(obj);
  9390. window.localStorage.setItem(name, s);
  9391. return true
  9392. } catch (e) {
  9393. return false
  9394. }
  9395. }
  9396. };
  9397. _THUI.addElemetClassStyle = function(elem, cl, newStyle) {
  9398. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9399. return _THUI.addStyle(elem + '.' + cl + newStyle)
  9400. };
  9401. _THUI.addElemetIdStyle = function(elem, id, newStyle) {
  9402. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9403. return _THUI.addStyle(elem + '#' + id + newStyle)
  9404. };
  9405. _THUI.addStyle = function(newStyle) {
  9406. for (var i = 0; i < 10; i++) {
  9407. var sheet = document.styleSheets[i];
  9408. try {
  9409. if ('cssRules' in sheet) return sheet.insertRule(newStyle, sheet.cssRules.length)
  9410. } catch (e) {
  9411. }
  9412. }
  9413. };
  9414. _THUI.getByDOM = function(uiObj, elem) {
  9415. if (uiObj.IDOM == elem || uiObj.ODOM == elem) return uiObj;
  9416. var ret = null;
  9417. for (var i in uiObj) {
  9418. if (!uiObj.hasOwnProperty(i)) continue;
  9419. var o = uiObj[i];
  9420. switch (classCode(o)) {
  9421. case CC_OBJECT:
  9422. if (ret = _THUI.getByDOM(o, elem)) return ret;
  9423. break;
  9424. case CC_ARRAY:
  9425. for (var j = 0; j < o.length; j++)
  9426. if (ret = _THUI.getByDOM(o[j], elem)) return ret;
  9427. break
  9428. }
  9429. }
  9430. return null
  9431. };
  9432. _THUI.getById = function(uiObj, id) {
  9433. if (uiObj.ID && uiObj.ID == id) return uiObj;
  9434. var ret = null;
  9435. for (var i in uiObj) {
  9436. if (!uiObj.hasOwnProperty(i)) continue;
  9437. var o = uiObj[i];
  9438. switch (classCode(o)) {
  9439. case CC_OBJECT:
  9440. if (ret = _THUI.getById(o, id)) return ret;
  9441. break;
  9442. case CC_ARRAY:
  9443. for (var j = 0; j < o.length; j++)
  9444. if (ret = _THUI.getById(o[j], id)) return ret;
  9445. break
  9446. }
  9447. }
  9448. return null
  9449. };
  9450. _THUI.docToView = function(uiObj) {
  9451. _THUI.appendUI(null, uiObj)
  9452. };
  9453. _THUI.viewToDoc = function(uiObj) {
  9454. if (uiObj.IDOM) {
  9455. if (classCodeDefined(uiObj.IDOM.value)) {
  9456. var val = uiObj.IDOM.value;
  9457. if (classCodeDefined(uiObj.MAX) && val > uiObj.MAX) val = uiObj.MAX;
  9458. if (classCodeDefined(uiObj.MIN) && val < uiObj.MIN) val = uiObj.MIN;
  9459. uiObj.VALUE = val
  9460. }
  9461. if (classCodeDefined(uiObj.IDOM.checked)) uiObj.CHECKED = uiObj.IDOM.checked
  9462. }
  9463. for (var i in uiObj) {
  9464. if (!uiObj.hasOwnProperty(i)) continue;
  9465. var o = uiObj[i];
  9466. switch (classCode(o)) {
  9467. case CC_OBJECT:
  9468. _THUI.viewToDoc(o);
  9469. break;
  9470. case CC_ARRAY:
  9471. o.forEach(_THUI.viewToDoc);
  9472. break
  9473. }
  9474. }
  9475. };
  9476. _THUI.appendUI = function(parent, uiObj, uiPrefix, uiName) {
  9477. uiPrefix = uiPrefix || '';
  9478. uiName = uiName || '';
  9479. var id = uiObj.ID;
  9480. if (!classCodeDefined(id)) id = '';
  9481. var NA = uiObj.NA || false;
  9482. var NAti = uiObj.NATITLE || '';
  9483. var ch = uiObj.CHECKED || false;
  9484. var cl = classCodeDefined(uiObj.CLASS) ? uiObj.CLASS : _THUI.$def._class;
  9485. var cli = uiObj.CLASSI;
  9486. var _cl = uiObj._CLASS;
  9487. var va = uiObj.VALUE;
  9488. var disc = classCodeDefined(uiObj.DISCLOSE) ? uiObj.DISCLOSE : _THUI.$def._disclose;
  9489. var _disc = uiObj._DISCLOSE;
  9490. var di = NA ? NA : classCodeDefined(uiObj.DISABLED) ? uiObj.DISABLED : _THUI.$def._disabled;
  9491. var _di = uiObj._DISABLED;
  9492. var no = classCodeDefined(uiObj.NODISPLAY) ? uiObj.NODISPLAY : _THUI.$def._nodisplay;
  9493. var _no = uiObj._NODISPLAY;
  9494. var ma = uiObj.MAX;
  9495. var mal = uiObj.MAXLENGTH;
  9496. var plh = uiObj.PLACEHOLDER;
  9497. var mi = uiObj.MIN;
  9498. var name = classCodeDefined(uiObj.NAME) ? uiObj.NAME : _THUI.$def._name;
  9499. var _name = uiObj._NAME;
  9500. var ro = uiObj.READONLY || false;
  9501. var re = classCodeDefined(uiObj.REVERSE) ? uiObj.REVERSE : _THUI.$def._reverse;
  9502. var _re = uiObj._REVERSE;
  9503. var step = uiObj.STEP;
  9504. var st = classCodeDefined(uiObj.STYLE) ? uiObj.STYLE : _THUI.$def._style;
  9505. var _st = uiObj._STYLE;
  9506. var sti = classCodeDefined(uiObj.STYLEI) ? uiObj.STYLEI : '';
  9507. var sto = classCodeDefined(uiObj.STYLEO) ? uiObj.STYLEO : '';
  9508. var te = uiObj.TEXT || '';
  9509. var ti = NA ? NAti ? NAti : 'Not available' : uiObj.TITLE;
  9510. var ty = classCodeDefined(uiObj.TYPE) ? uiObj.TYPE : _THUI.$def._type;
  9511. var _ty = uiObj._TYPE;
  9512. var accK = uiObj.ACCESSKEY || '';
  9513. var oncl = uiObj.ONCLICK || _THUI.$def._onclick;
  9514. var onclo = uiObj.ONCLICKO;
  9515. var _oncl = uiObj._ONCLICK;
  9516. var onwa = uiObj.ONWARNING || _THUI.$def._onwarning;
  9517. var _onwa = uiObj._ONWARNING;
  9518. var onch = uiObj.ONCHANGE || _THUI.$def._onchange;
  9519. var _onch = uiObj._ONCHANGE;
  9520. var els = [];
  9521. var iel = document.createElement('input');
  9522. var oel = document.createElement('label');
  9523. var ote = te;
  9524. if (classCodeIs(uiPrefix, CC_NUMBER)) uiPrefix = 'p' + uiPrefix;
  9525. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9526. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9527. if (classCodeIs(cli, CC_NUMBER)) cli = 'c' + cli;
  9528. if (classCodeIs(name, CC_NUMBER)) name = 'n' + name;
  9529. switch (ty) {
  9530. case _THUI.NONE:
  9531. iel = oel = null;
  9532. ote = '';
  9533. break;
  9534. case _THUI.NUMBER:
  9535. iel.type = 'number';
  9536. break;
  9537. case _THUI.RADIO:
  9538. if (disc && !id) id = uiPrefix + uiName + 'i';
  9539. if (!name) name = uiPrefix + 'n';
  9540. iel.type = 'radio';
  9541. if (disc) oel.htmlFor = id;
  9542. break;
  9543. case _THUI.CHECKBOX:
  9544. if (disc && !id) id = uiPrefix + uiName + 'i';
  9545. iel.type = 'checkbox';
  9546. if (disc) oel.htmlFor = id;
  9547. break;
  9548. case _THUI.BUTTON:
  9549. iel = document.createElement('button');
  9550. if (te) iel.innerHTML = createSafeHtml(te);
  9551. oel = null;
  9552. ote = '';
  9553. break;
  9554. case _THUI.TEXT:
  9555. iel.type = 'text';
  9556. break;
  9557. case _THUI.PASSWORD:
  9558. iel.type = 'password';
  9559. break;
  9560. case _THUI.DATE:
  9561. iel.type = 'date';
  9562. break;
  9563. default:
  9564. iel = null;
  9565. oel = document.createElement('div');
  9566. break
  9567. }
  9568. if (oel && iel && !disc)
  9569. if (re)
  9570. oel.appendChild(iel);
  9571. else
  9572. oel.insertBefore(iel, oel.firstChild);
  9573. if (classCodeDefined(uiObj.ODOM)) oel = uiObj.ODOM;
  9574. if (classCodeDefined(uiObj.IDOM)) iel = uiObj.IDOM;
  9575. if (ote) {
  9576. var spanEl = document.createElement('span');
  9577. spanEl.innerHTML = createSafeHtml(ote);
  9578. spanEl.style.pointerEvents = 'none';
  9579. var oldSpans = oel.getElementsByTagName('span');
  9580. var bInserted = false;
  9581. for (var i = 0; i < oldSpans.length; i++) oel.removeChild(oldSpans[i]);
  9582. oel.insertBefore(spanEl, oel.firstChild)
  9583. }
  9584. if (oel && iel)
  9585. if (disc)
  9586. if (re)
  9587. els.push(oel, iel);
  9588. else
  9589. els.push(iel, oel);
  9590. else
  9591. els.push(oel);
  9592. else {
  9593. if (oel) els.push(oel);
  9594. if (iel) els.push(iel)
  9595. }
  9596. if (id) {
  9597. if (iel)
  9598. iel.id = id;
  9599. else if (oel)
  9600. oel.id = id;
  9601. uiObj.ID = id
  9602. }
  9603. if (name) uiObj.NAME = name;
  9604. if (iel) {
  9605. if (cli) iel.className = cli;
  9606. if (accK) iel.accessKey = accK;
  9607. if (classCodeDefined(ch)) iel.checked = ch;
  9608. iel.disabled = di;
  9609. if (classCodeDefined(ma)) iel.max = ma;
  9610. if (classCodeDefined(mal)) iel.maxLength = mal;
  9611. if (classCodeDefined(mi)) iel.min = mi;
  9612. if (plh) iel.placeholder = plh;
  9613. if (name) iel.name = name;
  9614. if (classCodeDefined(ro)) iel.readonly = ro;
  9615. if (classCodeDefined(step)) iel.step = step;
  9616. if (classCodeDefined(va)) iel.value = va;
  9617. if (classCodeDefined(oncl)) iel.onclick = oncl;
  9618. if (classCodeDefined(onch)) iel.onchange = onch;
  9619. if (classCodeDefined(onwa) && uiObj.WARNING) iel.onchange = onwa;
  9620. if (sti) iel.style.cssText = sti
  9621. }
  9622. if (oel) {
  9623. if (classCodeDefined(onclo)) oel.onclick = onclo;
  9624. if (sto) oel.style.cssText = sto
  9625. }
  9626. var fel = els[0];
  9627. if (fel) {
  9628. if (cl) fel.className = cl;
  9629. if (st) fel.style.cssText = st
  9630. } else
  9631. fel = parent;
  9632. var oldDef = deepCopy(_THUI.$def);
  9633. if (classCodeDefined(_cl)) _THUI.$def._class = _cl;
  9634. if (classCodeDefined(_disc)) _THUI.$def._disclose = _disc;
  9635. if (classCodeDefined(_name)) _THUI.$def._name = _name;
  9636. if (classCodeDefined(_di)) _THUI.$def._disabled = _di;
  9637. if (classCodeDefined(_no)) _THUI.$def._nodisplay = _no;
  9638. if (classCodeDefined(_re)) _THUI.$def._reverse = _re;
  9639. if (classCodeDefined(_st)) _THUI.$def._style = _st;
  9640. if (classCodeDefined(_ty)) _THUI.$def._type = _ty;
  9641. if (_oncl) _THUI.$def._onclick = _oncl;
  9642. if (_onch) _THUI.$def._onchange = _onch;
  9643. if (_onwa) _THUI.$def._onwarning = _onwa;
  9644. for (var i in uiObj) {
  9645. if (!uiObj.hasOwnProperty(i)) continue;
  9646. var o = uiObj[i];
  9647. switch (classCode(o)) {
  9648. case CC_OBJECT:
  9649. fel = _THUI.appendUI(fel, o, uiPrefix + uiName, i);
  9650. break;
  9651. case CC_ARRAY:
  9652. for (var j = 0; j < o.length; j++)
  9653. if (classCodeIs(o[j], CC_OBJECT)) fel = _THUI.appendUI(fel, o[j], uiPrefix + uiName, i);
  9654. break
  9655. }
  9656. }
  9657. _THUI.$def = oldDef;
  9658. els.forEach(function(e) {
  9659. if (no)
  9660. e.style.display = 'none';
  9661. else
  9662. e.style.display = '';
  9663. if (classCodeDefined(ti)) e.title = ti;
  9664. if (e !== uiObj.IDOM && e !== uiObj.ODOM) parent.appendChild(e)
  9665. });
  9666. uiObj.IDOM = iel;
  9667. uiObj.ODOM = oel;
  9668. Object.defineProperties(uiObj, {IDOM: {enumerable: false}, ODOM: {enumerable: false}});
  9669. return parent
  9670. };
  9671. })()