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

  1. // ==UserScript==
  2. // @name WME Validator
  3. // @version 2025.02.26
  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.02.26';
  41. var AS_PASSWORD = 'v1';
  42. var WV_WHATSNEW = `v2025.02.26:
  43. - DaveAcincy: fix for #107 and #108.
  44.  
  45. v2025.01.22:
  46. - fix the build.
  47.  
  48. v2025.01.20:
  49. - DaveAcincy: fix for #78 (2 seg loop) and some others.
  50. - DaveAcincy: updates for discuss forum.
  51. - DaveAcincy: remove some console warnings for deprecated function calls.
  52. - DaveAcincy: update US and default wiki links.
  53.  
  54. v2024.01.26:
  55. - DaveAcincy: fixes for extension version (#109)
  56.  
  57. v2024.01.16:
  58. - DaveAcincy: updates for latest WME/WME beta
  59. - DaveAcincy: fix checks of rest areas in US (#257 and #258)
  60.  
  61. v2023.11.28:
  62. - DaveAcincy: updates for latest WME
  63.  
  64. v2023.8.14:
  65. - DaveAcincy: updates for latest WME
  66.  
  67. v2023.5.17:
  68. - DaveAcincy: change severity of #54 and #55
  69. - DaveAcincy: use new API to add script tab
  70.  
  71. v2023.3.8:
  72. - justins83: Minor fixes in #29 to match USA naming guidance
  73.  
  74. v2023.2.13:
  75. - DaveAcincy: New checks for US:
  76. * #54 "No city on segment with HNs"
  77. * #55 "No city on named segment"
  78.  
  79. Please report any issues/suggestions on the forum:
  80. https://www.waze.com/forum/viewtopic.php?t=76488
  81.  
  82. See the full Change Log:
  83. https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=787161#p787161`;
  84. var WV_LICENSE_VERSION = '1';
  85. var WV_LICENSE = `LICENSE:
  86. WME Validator uses Open Source GPLv3 license,
  87. i.e. you may copy, distribute and modify the software
  88. as long as you track changes/dates in source files.
  89. Any modifications to or software including (via compiler)
  90. GPL-licensed code must also be made available
  91. under the GPL along with build & install instructions.
  92.  
  93. WME Validator source code is available on GitHub:
  94. https://github.com/WMEValidator/
  95.  
  96. For questions please use official forum:
  97. https://www.waze.com/forum/viewtopic.php?f=819&t=76488
  98.  
  99. Report bugs on GitHub Issues Tracker:
  100. https://github.com/WMEValidator/validator/issues
  101.  
  102. Note: WME Validator uses local storage to remember
  103. your choices and preferences.`;
  104. var GA_FORLEVEL = 1;
  105. var GA_FORUSER = '!Dekis,*';
  106. var GA_FORCOUNTRY = '';
  107. var GA_FORCITY = '!Kraków,*';
  108. var LIMIT_TOTAL = 2E4;
  109. var MAX_CHECKS = 310;
  110. var PFX_WIKI = 'https://www.waze.com/wiki/';
  111. var PFX_PEDIA = 'https://wazeopedia.waze.com/wiki/';
  112. var PFX_FORUM = 'https://www.waze.com/forum/viewtopic.php?';
  113. var PFX_DISCUSS = 'https://www.waze.com/discuss/';
  114. var FORUM_HOME = 't=76488';
  115. var FORUM_FAQ = 't=76488&p=666476#p666476';
  116. var FORUM_LOCAL = 't=76488&p=661300#p661185';
  117. var FORUM_CUSTOM = 't=76488&p=749456#p749456';
  118. var DISCUSS_HOME = 't/script-wme-validator/44877';
  119. var DISCUSS_FAQ = 't/script-wme-validator/44877/88';
  120. var DISCUSS_LOCAL = 't/script-wme-validator/44877';
  121. var DISCUSS_CUSTOM = 't/script-wme-validator/44877/667';
  122. var _translations = {
  123. 'EN': {
  124. '.codeISO': 'EN',
  125. 'city.consider': 'consider this city name:',
  126. 'city.1': 'city name is too short',
  127. 'city.2': 'expand the abbreviation',
  128. 'city.3': 'complete short name',
  129. 'city.4': 'complete city name',
  130. 'city.5': 'correct letter case',
  131. 'city.6': 'check word order',
  132. 'city.7': 'check abbreviations',
  133. 'city.8a': 'add county name',
  134. 'city.8r': 'remove county name',
  135. 'city.9': 'check county name',
  136. 'city.10a': 'add a word',
  137. 'city.10r': 'remove a word',
  138. 'city.11': 'add county code',
  139. 'city.12': 'identical names, but different city IDs',
  140. 'city.13a': 'add a space',
  141. 'city.13r': 'remove a space',
  142. 'city.14': 'check the number',
  143. 'props.skipped.title': 'The segment is not checked',
  144. 'props.skipped.problem': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  145. 'err.regexp': 'Error parsing option for check #${n}:',
  146. 'props.disabled': 'WME Validator is disabled',
  147. 'props.limit.title': 'Too many issues reported',
  148. 'props.limit.problem': 'There are too many issues reported, so some of them might not be shown',
  149. 'props.limit.solution': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  150. 'props.reports': 'reports',
  151. 'props.noneditable': 'You cannot edit this segment',
  152. 'report.save': 'Save this report',
  153. 'report.list.andUp': 'and up',
  154. 'report.list.severity': 'Severity:',
  155. 'report.list.reportOnly': 'only in report',
  156. 'report.list.forEditors': 'For editors level:',
  157. 'report.list.forCountries': 'For countries:',
  158. 'report.list.forStates': 'For states:',
  159. 'report.list.forCities': 'For cities:',
  160. 'report.list.params': 'Params to configure in localization pack:',
  161. 'report.list.params.set': 'Current configuration for ${country}:',
  162. 'report.list.enabled': '${n} checks are enabled for',
  163. 'report.list.disabled': '${n} checks are disabled for',
  164. 'report.list.total': 'There are ${n} checks available',
  165. 'report.list.title': 'Complete List of Checks for',
  166. 'report.list.see': 'See',
  167. 'report.list.checks': 'Settings->About->Available checks',
  168. 'report.list.fallback': 'Localization Fallback Rules:',
  169. 'report.and': 'and',
  170. 'report.segments': 'Total number of segments checked:',
  171. 'report.customs': 'Custom checks matched (green/blue):',
  172. 'report.reported': 'Reported',
  173. 'report.errors': 'errors',
  174. 'report.warnings': 'warnings',
  175. 'report.notes': 'notes',
  176. 'report.link.wiki': 'wiki',
  177. 'report.link.forum': 'forum',
  178. 'report.link.other': 'link',
  179. 'report.contents': 'Contents:',
  180. 'report.summary': 'Summary',
  181. 'report.title': 'WME Validator Report',
  182. 'report.share': 'to Share',
  183. 'report.generated.by': 'generated by',
  184. 'report.generated.on': 'on',
  185. 'report.source': 'Report source:',
  186. 'report.filter.duplicate': 'duplicate segments',
  187. 'report.filter.places': 'Places',
  188. 'report.filter.streets': 'Streets and Service Roads',
  189. 'report.filter.other': 'Other drivable and Non-drivable',
  190. 'report.filter.noneditable': 'non-editable segments',
  191. 'report.filter.notes': 'notes',
  192. 'report.filter.title': 'Filter:',
  193. 'report.filter.excluded': 'are excluded from this report.',
  194. 'report.search.updated.by': 'updated by',
  195. 'report.search.updated.since': 'updated since',
  196. 'report.search.city': 'from',
  197. 'report.search.reported': 'reported as',
  198. 'report.search.title': 'Search:',
  199. 'report.search.only': 'only segments',
  200. 'report.search.included': 'are included into the report.',
  201. 'report.beta.warning': 'WME Beta Warning!',
  202. 'report.beta.text': 'This report is generated in beta WME with beta permalinks.',
  203. 'report.beta.share': 'Please do not share those permalinks!',
  204. 'report.size.warning': '<b>Warning!</b><br>The report is ${n}' +
  205. ' characters long' +
  206. ' so <b>it will not fit</b> into a single forum or private message.' +
  207. '\n<br>Please add <b>more filters</b> to reduce the size of the report.',
  208. 'report.note.limit': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  209. 'report.forum': 'To motivate further development please leave your comment on the',
  210. 'report.forum.link': 'Waze forum thread.',
  211. 'report.thanks': 'Thank you for using WME Validator!',
  212. 'msg.limit.segments': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  213. 'msg.limit.segments.continue': 'click \'▶\' (Play) to continue.',
  214. 'msg.limit.segments.clear': 'click \'✘\' (Clear) to clear the report.',
  215. 'msg.pan.text': 'Pan around to validate the map',
  216. 'msg.zoomout.text': 'Zoom out to start WME Validator',
  217. 'msg.click.text': 'Click \'▶\' (Play) to validate visible map area',
  218. 'msg.autopaused': 'autopaused',
  219. 'msg.autopaused.text': 'Auto paused! Click \'▶\' (Play) to continue.',
  220. 'msg.autopaused.tip': 'WME Validator automatically paused on map drag or window size change',
  221. 'msg.finished.text': 'Click <b>\'Show report\'</b> to review map issues',
  222. 'msg.finished.tip': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  223. 'msg.noissues.text': 'Finished! No issues found!',
  224. 'msg.noissues.tip': 'Try to uncheck some filter options or start WME Validator over another map area!',
  225. 'msg.scanning.text': 'Scanning! Finishing in ~ ${n} min',
  226. 'msg.scanning.text.soon': 'Scanning! Finishing in a minute!',
  227. 'msg.scanning.tip': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  228. 'msg.starting.text': 'Starting! Layers are off to scan faster!',
  229. 'msg.starting.tip': 'Use \'Pause\' button to pause or \'■\' button to stop',
  230. 'msg.paused.text': 'On pause! Click \'▶\' (Play) button to continue.',
  231. 'msg.paused.tip': 'To view the report click \'Show report\' button (if available)',
  232. 'msg.continuing.text': 'Continuing!',
  233. 'msg.continuing.tip': 'WME Validator will continue from the location it was paused',
  234. 'msg.settings.text': 'Click <b>\'Back\'</b> to return to main view',
  235. 'msg.settings.tip': 'Click \'Reset defaults\' button to reset all settings in one click!',
  236. 'msg.reset.text': 'All filter options and settings have been reset to their defaults',
  237. 'msg.reset.tip': 'Click \'Back\' button to return to main view',
  238. 'msg.textarea.pack':
  239. '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',
  240. 'msg.textarea': 'Please copy the text below and then paste it into your forum post or private message',
  241. 'noaccess.text':
  242. '<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.',
  243. 'noaccess.tip': 'Please check the forum thread for more information!',
  244. 'tab.switch.tip.on': 'Click to switch highlighting on (Alt+V)',
  245. 'tab.switch.tip.off': 'Click to switch highlighting off (Alt+V)',
  246. 'tab.filter.text': 'filter',
  247. 'tab.filter.tip': 'Options to filter the report and highlighted segments',
  248. 'tab.search.text': 'search',
  249. 'tab.search.tip': 'Advanced filter options to include only specific segments',
  250. 'tab.help.text': 'help',
  251. 'tab.help.tip': 'Need help?',
  252. 'filter.places.text': '<span style=\'color:#c00000\'><b>BETA:</b> Enable <b>Places</b> checks</span>',
  253. 'filter.places.tip': 'Do not run places checks',
  254. 'filter.noneditables.reverted':
  255. '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!',
  256. 'filter.noneditables.text': 'Exclude <b>non-editable</b> objects',
  257. 'filter.noneditables.tip': 'Do not report locked objects or\nobjects outside of your editable areas',
  258. 'filter.duplicates.text': 'Exclude <b>duplicate</b> objects',
  259. 'filter.duplicates.tip': 'Do not show the same object in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  260. 'filter.streets.text': 'Exclude <b>Streets and Service Roads</b>',
  261. 'filter.streets.tip': 'Do not report Streets and Service Roads',
  262. 'filter.other.text': 'Exclude <b>Other drivable and Non-drivable</b>',
  263. 'filter.other.tip': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  264. 'filter.notes.text': 'Exclude <b>notes</b>',
  265. 'filter.notes.tip': 'Report only warnings and errors',
  266. 'search.youredits.text': 'Include <b>only your edits</b>',
  267. 'search.youredits.tip': 'Include only segments edited by you',
  268. 'search.updatedby.text': '<b>Updated by*:</b>',
  269. 'search.updatedby.tip': 'Include only segments updated by the specified editor' +
  270. '\n* Note: this option is available for country managers only' +
  271. '\nThis field supports:' +
  272. '\n - lists: me, otherEditor' +
  273. '\n - wildcards: world*' +
  274. '\n - negation: !me, *' +
  275. '\n* Note: you may use \'me\' to match yourself',
  276. 'search.updatedby.example': 'Example: me',
  277. 'search.updatedsince.text': '<b>Updated since:</b>',
  278. 'search.updatedsince.tip': 'Include only segments edited since the date specified' +
  279. '\nFirefox date format: YYYY-MM-DD',
  280. 'search.updatedsince.example': 'YYYY-MM-DD',
  281. 'search.city.text': '<b>City name:</b>',
  282. 'search.city.tip': 'Include only segments with specified city name' +
  283. '\nThis field supports:' +
  284. '\n - lists: Paris, Meudon' +
  285. '\n - wildcards: Greater * Area' +
  286. '\n - negation: !Paris, *',
  287. 'search.city.example': 'Example: !Paris, *',
  288. 'search.checks.text': '<b>Reported as:</b>',
  289. 'search.checks.tip': 'Include only segments reported as specified' +
  290. '\nThis field matches:' +
  291. '\n - severities: error|warning|note|custom1|custom2' +
  292. '\n - check names: New road' +
  293. '\n - check IDs: 200' +
  294. '\nThis field supports:' +
  295. '\n - lists: 36, 37' +
  296. '\n - wildcards: *roundabout*' +
  297. '\n - negation: !unconfirmed*, *',
  298. 'search.checks.example': 'Example: reverse*',
  299. 'help.text': '<b>Help Topics:</b>' +
  300. '<br><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_FAQ + '">F.A.Q.</a>' +
  301. '<br><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_HOME + '">Ask your question on the forum</a>' +
  302. '<br><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_LOCAL + '">How to adjust Validator for your country</a>' +
  303. '<br><a target="_blank" href="' + PFX_DISCUSS + 't/script-wme-validator/44877/58">About the "Might be Incorrect City Name"</a>',
  304. 'help.tip': 'Open in a new browser tab',
  305. 'button.scan.tip': 'Start scanning current map area\n* Note: this might take few minutes',
  306. 'button.scan.tip.NA': 'Zoom out to start scanning current map area',
  307. 'button.pause.tip': 'Pause scanning',
  308. 'button.continue.tip': 'Continue scanning the map area',
  309. 'button.stop.tip': 'Stop scanning and return to the start position',
  310. 'button.clear.tip': 'Clear report and segment cache',
  311. '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.',
  312. 'button.report.text': 'Show report',
  313. 'button.report.tip': 'Apply the filter and generate HTML report in a new tab',
  314. 'button.BBreport.tip': 'Share the report on Waze forum or in a private message',
  315. 'button.settings.tip': 'Configure settings',
  316. 'tab.custom.text': 'custom',
  317. 'tab.custom.tip': 'User-defined custom checks settings',
  318. 'tab.settings.text': 'Settings',
  319. 'tab.scanner.text': 'scanner',
  320. 'tab.scanner.tip': 'Map scanner settings',
  321. 'tab.about.text': 'about</span>',
  322. 'tab.about.tip': 'About WME Validator',
  323. 'scanner.sounds.text': 'Enable sounds',
  324. 'scanner.sounds.tip': 'Bleeps and the bloops while scanning',
  325. 'scanner.sounds.NA': 'Your browser does not support AudioContext',
  326. 'scanner.highlight.text': 'Highlight issues on the map',
  327. 'scanner.highlight.tip': 'Highlight reported issues on the map',
  328. 'scanner.slow.text': 'Enable "slow" checks',
  329. 'scanner.slow.tip': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  330. 'scanner.ext.text': 'Report external highlights',
  331. 'scanner.ext.tip': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  332. 'advanced.atbottom.text': 'At the bottom',
  333. 'advanced.atbottom.tip': 'Put WME Validator at the bottom of the page',
  334. 'custom.template.text': '<a target=\'_blank\' href=\'' + PFX_DISCUSS + DISCUSS_CUSTOM + '\'>Custom template</a>',
  335. 'custom.template.tip': 'User-defined custom check expandable template.' +
  336. '\n\nYou may use the following expandable variables:' +
  337. '\nAddress:' +
  338. '\n ${country}, ${state}, ${city}, ${street},' +
  339. '\n ${altCity[index or delimeter]}, ${altStreet[index or delimeter]}' +
  340. '\nSegment properties:' +
  341. '\n ${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},' +
  342. '\n ${length}, ${ID}, ${speedLimit}, ${speedLimitAB}, ${speedLimitBA}' +
  343. '\nHelpers:' +
  344. '\n ${drivable}, ${roundabout}, ${hasHNs},' +
  345. '\n ${Uturn}, ${deadEnd}, ${softTurns},' +
  346. '\n ${deadEndA}, ${partialA},' +
  347. '\n ${deadEndB}, ${partialB},' +
  348. '\n ${checkSpeedLimit}' +
  349. '\nConnectivity:' +
  350. '\n ${segmentsA}, ${inA}, ${outA}, ${UturnA},' +
  351. '\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  352. 'custom.template.example': 'Example: ${street}',
  353. 'custom.regexp.text': 'Custom <a target=\'_blank\' href=\'' + PFX_DISCUSS + DISCUSS_CUSTOM + '\'>RegExp</a>',
  354. 'custom.regexp.tip': 'User-defined custom check regular expression to match the template.' +
  355. '\n\nCase-insensitive match: /regexp/i' +
  356. '\nNegation (do not match): !/regexp/' +
  357. '\nLog debug information on console: D/regexp/',
  358. 'custom.regexp.example': 'Example: !/.+/',
  359. 'about.tip': 'Open link in a new tab',
  360. 'button.reset.text': 'Reset defaults',
  361. 'button.reset.tip': 'Revert filter options and settings to their defaults',
  362. 'button.list.text': 'Available checks...',
  363. 'button.list.tip': 'Show a list of checks available in WME Validator',
  364. 'button.wizard.tip': 'Create localization package',
  365. 'button.back.text': 'Back',
  366. 'button.back.tip': 'Close settings and return to main view',
  367. '23.enabled': true,
  368. '23.title': 'Unconfirmed road',
  369. '23.problem': 'Each segment must minimally have the Country and State information',
  370. '23.problemLink': 'P:Global/Map_Editing_Quick-start_Guide#Creating_a_road',
  371. '23.solution': 'Confirm the road by updating its details',
  372. '23.solutionLink': 'P:Global/Road_names/USA',
  373. '24.enabled': true,
  374. '24.severity': 'W',
  375. '24.reportOnly': true,
  376. '24.title': 'Might be incorrect city name (only available in the report)',
  377. '24.problem': 'The segment might have incorrect city name',
  378. '24.problemLink': 'P:Global/Smudged_city',
  379. '24.solution': 'Consider suggested city name and use this form to rename the city',
  380. '24.solutionLink': 'D:t/city-name-change-form/38729',
  381. '25.enabled': true,
  382. '25.severity': 'W',
  383. '25.title': 'Unknown direction of drivable road',
  384. '25.problem': '\'Unknown\' road direction will not prevent routing on the road',
  385. '25.problemLink': 'W:How_to_handle_road_closures#NOTES_for_all_durations',
  386. '25.solution': 'Set the road direction',
  387. '27.title': 'City name on Railroad',
  388. '27.problem': 'City name on the Railroad may cause a city smudge',
  389. '27.problemLink': 'P:Global/Smudged_city',
  390. '27.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  391. '27.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  392. '28.enabled': true,
  393. '28.severity': 'W',
  394. '28.title': 'Street name on two-way Ramp',
  395. '28.problem': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  396. '28.problemLink': 'P:Global/Junction_Style_Guide/Interchanges#Ramp-ramp_forks',
  397. '28.solution': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  398. '28.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  399. '29.enabled': true,
  400. '29.severity': 'W',
  401. '29.title': 'Street name on roundabout',
  402. '29.problem': 'In Waze, we do not name roundabout segments',
  403. '29.problemLink': 'P:Global/Roundabouts/USA#Creating_a_roundabout_from_an_intersection',
  404. '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',
  405. '29.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  406. '34.enabled': true,
  407. '34.title': 'Empty alternate street',
  408. '34.problem': 'Alternate street name is empty',
  409. '34.solution': 'Remove empty alternate street name',
  410. '35.enabled': true,
  411. '35.severity': 'W',
  412. '35.title': 'Unterminated drivable road',
  413. '35.problem': 'Waze will not route from the unterminated segment',
  414. '35.solution': 'Move the segment a bit so the terminating node will be added automatically',
  415. '36.enabled': false,
  416. '36.title': 'Node A: Unneeded (slow)',
  417. '36.problem': 'Adjacent segments at node A are identical',
  418. '36.problemLink': 'P:Global/Creating_and_editing_road_segments#Removing_junctions_with_only_two_segments',
  419. '36.solution': 'Select node A and press Delete key to join the segments',
  420. '36.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Deleting_a_junction',
  421. '37.enabled': false,
  422. '37.title': 'Node B: Unneeded (slow)',
  423. '37.problem': 'Adjacent segments at node B are identical',
  424. '37.problemLink': 'P:Global/Creating_and_editing_road_segments#Removing_junctions_with_only_two_segments',
  425. '37.solution': 'Select node B and press Delete key to join the segments',
  426. '37.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Deleting_a_junction',
  427. '38.enabled': true,
  428. '38.title': 'Expired segment restriction (slow)',
  429. '38.problem': 'The segment has an expired restriction',
  430. '38.problemLink': 'P:Global/Partial_restrictions#Segments',
  431. '38.solution': 'Click \'Edit restrictions\' and delete the expired restriction',
  432. '39.enabled': true,
  433. '39.title': 'Expired turn restriction (slow)',
  434. '39.problem': 'The segment has a turn with an expired restriction',
  435. '39.problemLink': 'P:Global/Partial_restrictions#Turns',
  436. '39.solution': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  437. '41.enabled': true,
  438. '41.title': 'Node A: Reverse connectivity of drivable road',
  439. '41.problem': 'There is a turn which goes against the directionality of the segment at node A',
  440. '41.problemLink': 'P:Global/Reverse_connectivity',
  441. '41.solution': 'Make the segment \'Two-way\', restrict all the turns at node A and then make the segment \'One way (A→B)\' again',
  442. '42.enabled': true,
  443. '42.title': 'Node B: Reverse connectivity of drivable road',
  444. '42.problem': 'There is a turn which goes against the directionality of the segment at node B',
  445. '42.problemLink': 'P:Global/Reverse_connectivity',
  446. '42.solution': 'Make the segment \'Two-way\', restrict all the turns at node B and then make the segment \'One way (B→A)\' again',
  447. '43.enabled': true,
  448. '43.severity': 'E',
  449. '43.title': 'Self connectivity',
  450. '43.problem': 'The segment is connected back to itself',
  451. '43.problemLink': 'P:Global/Glossary#SelfCon',
  452. '43.solution': 'Split the segment into THREE pieces',
  453. '43.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Cutting_a_segment',
  454. '44.enabled': false,
  455. '44.severity': 'E',
  456. '44.title': 'No outward connectivity',
  457. '44.problem': 'The drivable segment has no single outward turn enabled',
  458. '44.solution': 'Enable at least one outward turn from the segment',
  459. '44.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  460. '45.enabled': false,
  461. '45.severity': 'E',
  462. '45.title': 'No inward connectivity',
  463. '45.problem': 'The drivable non-private segment has no single inward turn enabled',
  464. '45.solution': 'Select an adjacent segment and enable at least one turn to the segment',
  465. '45.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  466. '46.enabled': true,
  467. '46.severity': 'W',
  468. '46.title': 'Node A: No inward connectivity of drivable road (slow)',
  469. '46.problem': 'The drivable non-private segment has no single inward turn enabled at node A',
  470. '46.solution': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  471. '46.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  472. '47.enabled': true,
  473. '47.severity': 'W',
  474. '47.title': 'Node B: No inward connectivity of drivable road (slow)',
  475. '47.problem': 'The drivable non-private segment has no single inward turn enabled at node B',
  476. '47.solution': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  477. '47.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  478. '48.enabled': true,
  479. '48.severity': 'E',
  480. '48.title': 'Two-way drivable roundabout segment',
  481. '48.problem': 'The drivable roundabout segment is bidirectional',
  482. '48.solution': 'Redo the roundabout',
  483. '48.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  484. '50.enabled': false,
  485. '50.severity': 'E',
  486. '50.title': 'No connectivity on roundabout (slow)',
  487. '50.problem': 'The drivable roundabout segment has no connectivity with adjacent roundabout segment',
  488. '50.solution': 'Enable a turn to the adjacent segment or redo the roundabout',
  489. '50.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  490. '52.title': 'Too long street name',
  491. '52.problem': 'The name of the drivable segment is more than ${n} letters long and it is not a Ramp',
  492. '52.solution': 'Consider an abbreviation for the street name',
  493. '52.params': {'n.title': '{number} maximum street name length', 'n': 30},
  494. '54.severity': 'W',
  495. '54.title': 'No city on segment with HNs',
  496. '54.problem': 'Address search will fail with no city name',
  497. '54.solution': 'Make sure the primary or alt names have a city',
  498. '54.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  499. '55.title': 'No city on named segment',
  500. '55.problem': 'Address search will fail with no city name',
  501. '55.solution': 'Make sure the primary or alt names have a city',
  502. '55.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  503. '57.severity': 'W',
  504. '57.title': 'City name on named Ramp',
  505. '57.problem': 'City name on the named Ramp may affect search results',
  506. '57.problemLink': 'D:t/freeways-on-off-ramps-include-city-name/67570',
  507. '57.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  508. '57.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  509. '59.title': 'City name on Freeway',
  510. '59.problem': 'City name on the Freeway may cause a city smudge',
  511. '59.problemLink': 'P:Global/Smudged_city',
  512. '59.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  513. '59.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  514. '69.title': 'No city name on Freeway',
  515. '69.problem': 'The Freeway has no city name set',
  516. '69.solution': 'Set the city name',
  517. '73.title': 'Too short street name',
  518. '73.problem': 'The street name is less than ${n} letters long and it is not a highway',
  519. '73.solution': 'Correct the street name',
  520. '73.params': {'n.title': '{number} minimum street name length', 'n': 3},
  521. '74.enabled': false,
  522. '74.severity': 'W',
  523. '74.title': 'Node A: Multiple segments connected at roundabout',
  524. '74.problem': 'The drivable roundabout node A has more than one segment connected',
  525. '74.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  526. '74.solution': 'Redo the roundabout',
  527. '74.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  528. '77.enabled': false,
  529. '77.severity': 'W',
  530. '77.title': 'Dead-end U-turn',
  531. '77.problem': 'The drivable dead-end road has a U-turn enabled',
  532. '77.problemLink': 'P:Global/Map_Editing_Quick-start_Guide#U-turns_at_the_end_of_dead-end-streets',
  533. '77.solution': 'Disable U-turn',
  534. '78.enabled': true,
  535. '78.severity': 'W',
  536. '78.title': 'Same endpoints (2 segment loop)',
  537. '78.problem': 'Two drivable segments share the same two endpoints',
  538. '78.problemLink': 'P:Global/Junction_Style_Guide#Two-segment_loops',
  539. '78.solution': 'Split the segment. You might also remove one of the segments if they are identical',
  540. '78.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Cutting_a_segment',
  541. '79.enabled': false,
  542. '79.severity': 'W',
  543. '79.title': 'Too short U-turn connector (slow)',
  544. '79.problem': 'The length of the segment is less than 15m long so U-turn is not possible here',
  545. '79.problemLink': 'P:Global/Classification_of_crossings',
  546. '79.solution': 'Increase the length of the segment',
  547. '87.enabled': true,
  548. '87.severity': 'E',
  549. '87.title': 'Node A: Multiple outgoing segments at roundabout',
  550. '87.problem': 'The drivable roundabout node A has more than one outgoing segment connected',
  551. '87.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  552. '87.solution': 'Redo the roundabout',
  553. '87.solutionLink': 'P:Global/Roundabouts/USA#Improving_manually_drawn_roundabouts',
  554. '90.severity': 'W',
  555. '90.title': 'Two-way Freeway segment',
  556. '90.problem': 'Most of the Freeways are split into two one-way roads, so this two-way segment might be a mistake',
  557. '90.solution': 'Check Freeway direction',
  558. '91.severity': 'W',
  559. '91.title': 'Two-way Ramp segment',
  560. '91.problem': 'Most of the Ramps are one-way roads, so this two-way segment might be a mistake',
  561. '91.solution': 'Check Ramp direction',
  562. '95.severity': 'W',
  563. '95.title': 'Street name with a dot',
  564. '95.problem': 'There is a dot in the street name (excluding Ramps)',
  565. '95.solution': 'Expand the abbreviation or remove the dot',
  566. '99.enabled': true,
  567. '99.severity': 'W',
  568. '99.title': 'U-turn at roundabout entrance (slow)',
  569. '99.problem': 'The roundabout entrance segment has a U-turn enabled',
  570. '99.problemLink': 'P:Global/Map_Editing_Quick-start_Guide#U-turns_at_the_end_of_dead-end-streets',
  571. '99.solution': 'Disable U-turn',
  572. '101.enabled': true,
  573. '101.severity': 'E',
  574. '101.reportOnly': true,
  575. '101.title': 'Closed road (only available in the report)',
  576. '101.problem': 'The segment is marked as closed',
  577. '101.problemLink': 'W:How_to_handle_road_closures',
  578. '101.solution': 'If the construction is done, restore the segment connectivity and remove the suffix',
  579. '101.solutionLink': 'P:Global/Road_names/USA#Construction_zones_and_closed_roads',
  580. '101.params': {'regexp.title': '{string} regular expression to match closed road', 'regexp': '/(^|\\b)closed(\\b|$)/i'},
  581. '102.enabled': true,
  582. '102.severity': 'W',
  583. '102.title': 'Node A: No outward connectivity of drivable road (slow)',
  584. '102.problem': 'The drivable segment has no single outward turn enabled at node A',
  585. '102.solution': 'Enable at least one outward turn from the segment at node A',
  586. '102.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  587. '103.enabled': true,
  588. '103.severity': 'W',
  589. '103.title': 'Node B: No outward connectivity of drivable road (slow)',
  590. '103.problem': 'The drivable segment has no single outward turn enabled at node B',
  591. '103.solution': 'Enable at least one outward turn from the segment at node B',
  592. '103.solutionLink': 'P:Global/Creating_and_editing_road_segments#Set_allowed_turns_.28connections.29',
  593. '104.enabled': true,
  594. '104.title': 'Railroad used for comments',
  595. '104.problem': 'The Railroad segment is probably used as a map comment',
  596. '104.problemLink': 'D:t/regarding-railroads/44330',
  597. '104.solution': 'Remove the comment as Railroads will be added to the client display',
  598. '105.title': 'Walking Trail instead of a Railroad',
  599. '105.problem': 'The Walking Trail segment with elevation -5 is probably used instead of a Railroad',
  600. '105.problemLink': 'D:t/regarding-railroads/44330',
  601. '105.solution': 'Change road type to Railroad as Railroads will be added to the client display',
  602. '106.title': 'No state name selected',
  603. '106.problem': 'The segment has no state name selected',
  604. '106.solution': 'Select a state for the segment and apply the changes',
  605. '106.solutionLink': 'P:Global/Creating_and_editing_road_segments#Confirm_the_road_by_updating_details',
  606. '107.enabled': true,
  607. '107.severity': 'E',
  608. '107.title': 'Node A: No connection (slow)',
  609. '107.problem': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  610. '107.solution': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  611. '108.enabled': true,
  612. '108.severity': 'E',
  613. '108.title': 'Node B: No connection (slow)',
  614. '108.problem': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  615. '108.solution': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  616. '109.enabled': true,
  617. '109.severity': 'W',
  618. '109.title': 'Too short segment',
  619. '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',
  620. '109.problemLink': 'P:Global/Segment_length',
  621. '109.solution': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  622. '109.solutionLink': 'P:Global/Map_Editing_Quick-start_Guide#Deleting_a_junction',
  623. '109.params': {'n.title': '{number} minimum segment length', 'n': 5},
  624. '110.title': 'Incorrect Freeway elevation',
  625. '110.problem': 'The elevation of the Freeway segment is not a ground',
  626. '110.problemLink': 'P:Germany/Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#.C3.9Cber-_und_Unterf.C3.BChrungen',
  627. '110.solution': 'Set the Freeway elevation to ground',
  628. '112.enabled': true,
  629. '112.severity': 'W',
  630. '112.title': 'Too long Ramp name',
  631. '112.problem': 'The Ramp name is more than ${n} letters long',
  632. '112.solution': 'Shorten the Ramp name',
  633. '112.params': {'n.title': '{number} maximum Ramp name length', 'n': 55},
  634. '114.enabled': false,
  635. '114.severity': 'W',
  636. '114.title': 'Node A: Non-drivable connected to drivable (slow)',
  637. '114.problem': 'The non-drivable segment makes a junction with a drivable at node A',
  638. '114.problemLink': 'P:USA/Road_types#Non-drivable_roads',
  639. '114.solution': 'Disconnect node A from all of the drivable segments',
  640. '115.enabled': false,
  641. '115.severity': 'W',
  642. '115.title': 'Node B: Non-drivable connected to drivable (slow)',
  643. '115.problem': 'The non-drivable segment makes a junction with a drivable at node B',
  644. '115.problemLink': 'P:USA/Road_types#Non-drivable_roads',
  645. '115.solution': 'Disconnect node B from all of the drivable segments',
  646. '116.enabled': true,
  647. '116.severity': 'W',
  648. '116.title': 'Out of range elevation',
  649. '116.problem': 'The segment elevation is out of range',
  650. '116.solution': 'Correct the elevation',
  651. '117.enabled': true,
  652. '117.severity': 'W',
  653. '117.title': 'Obsolete CONST ZN marker',
  654. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  655. '117.solution': 'Change CONST ZN to (closed)',
  656. '117.solutionLink': 'P:Global/Road_names/USA#Construction_zones_and_closed_roads',
  657. '118.enabled': true,
  658. '118.severity': 'E',
  659. '118.title': 'Node A: Overlapping segments (slow)',
  660. '118.problem': 'The segment is overlapping with the adjacent segment at node A',
  661. '118.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  662. '119.enabled': true,
  663. '119.severity': 'E',
  664. '119.title': 'Node B: Overlapping segments (slow)',
  665. '119.problem': 'The segment is overlapping with the adjacent segment at node B',
  666. '119.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  667. '120.enabled': true,
  668. '120.severity': 'W',
  669. '120.title': 'Node A: Too sharp turn (slow)',
  670. '120.problem': 'The drivable segment has a very acute turn at node A',
  671. '120.solution': 'Disable the sharp turn at node A or spread the segments at 30°',
  672. '121.enabled': true,
  673. '121.severity': 'W',
  674. '121.title': 'Node B: Too sharp turn (slow)',
  675. '121.problem': 'The drivable segment has a very acute turn at node B',
  676. '121.solution': 'Disable the sharp turn at node B or spread the segments at 30°',
  677. '128.enabled': true,
  678. '128.severity': '1',
  679. '128.title': 'User-defined custom check (green)',
  680. '128.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  681. '128.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  682. '128.solution': 'Solve the issue',
  683. '128.params': {},
  684. '129.enabled': true,
  685. '129.severity': '2',
  686. '129.title': 'User-defined custom check (blue)',
  687. '129.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  688. '129.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  689. '129.solution': 'Solve the issue',
  690. '129.params': {},
  691. '169.severity': 'W',
  692. '169.title': 'Incorrectly named street',
  693. '169.problem': 'The street named incorrectly, illegal chars or words used',
  694. '169.solution': 'Rename the segment in accordance with the guidelines',
  695. '169.params': {'regexp.title': '{string} regular expression to match incorrect street name', 'regexp': '!/^[a-zA-Z0-9\\. :"\'(/)-]+$/'},
  696. '170.severity': 'W',
  697. '170.title': 'Lowercase street name',
  698. '170.problem': 'The street name starts with a lowercase word',
  699. '170.solution': 'Correct lettercase in the street name',
  700. '170.params': {'regexp.title': '{string} regular expression to match a lowercase name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  701. '171.severity': 'W',
  702. '171.title': 'Incorrectly abbreviated street name',
  703. '171.problem': 'The street name has incorrect abbreviation',
  704. '171.solution': 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table',
  705. '171.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\.$/'},
  706. '172.enabled': true,
  707. '172.title': 'Unneeded spaces in street name',
  708. '172.problem': 'Leading/trailing/double space in the street name',
  709. '172.solution': 'Remove unneeded spaces from the street name',
  710. '172.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  711. '173.enabled': true,
  712. '173.severity': 'W',
  713. '173.title': 'No space before/after street abbreviation',
  714. '173.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  715. '173.solution': 'Add a space before/after the abbreviation',
  716. '173.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  717. '174.severity': 'W',
  718. '174.title': 'Street name spelling mistake',
  719. '174.problem': 'The is a spelling mistake in the street name',
  720. '174.solution': 'Add/correct the mistake, check accented letters',
  721. '174.params': {
  722. 'regexp.title': '{string} regular expression to match spelling mistakes',
  723. 'regexp': '/(^|\\b)(accross|cemetary|fourty|foward|goverment|independant|liason|pavillion|portugese|posession|prefered|shcool|wat|wich)($|\\b)/i'
  724. },
  725. '175.enabled': true,
  726. '175.severity': 'W',
  727. '175.title': 'Empty street name',
  728. '175.problem': 'The street name has only space characters or a dot',
  729. '175.solution': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  730. '175.solutionLink': 'P:Global/Creating_and_editing_road_segments#Confirm_the_road_by_updating_details',
  731. '175.params': {'regexp': '/^[\\s\\.]*$/'},
  732. '190.severity': 'W',
  733. '190.enabled': true,
  734. '190.title': 'Lowercase city name',
  735. '190.problem': 'The city name starts with a lowercase letter',
  736. '190.solution': 'Use this form to rename the city',
  737. '190.solutionLink': 'D:t/city-name-change-form/38729',
  738. '190.params': {'regexp.title': '{string} regular expression to match a lowercase city name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  739. '191.severity': 'W',
  740. '191.title': 'Incorrectly abbreviated city name',
  741. '191.problem': 'The city name has incorrect abbreviation',
  742. '191.solution': 'Use this form to rename the city',
  743. '191.solutionLink': 'D:t/city-name-change-form/38729',
  744. '191.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\./'},
  745. '192.enabled': true,
  746. '192.title': 'Unneeded spaces in city name',
  747. '192.problem': 'Leading/trailing/double space in the city name',
  748. '192.solution': 'Use this form to rename the city',
  749. '192.solutionLink': 'D:t/city-name-change-form/38729',
  750. '192.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  751. '193.enabled': true,
  752. '193.title': 'No space before/after city abbreviation',
  753. '193.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  754. '193.solution': 'Use this form to rename the city',
  755. '193.solutionLink': 'D:t/city-name-change-form/38729',
  756. '193.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  757. '200.enabled': true,
  758. '200.title': 'Node A: Unconfirmed turn on minor road',
  759. '200.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  760. '200.problemLink': 'P:Global/Soft_and_hard_turns',
  761. '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',
  762. '200.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  763. '300.enabled': true,
  764. '300.title': 'Node B: Unconfirmed turn on minor road',
  765. '300.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node B',
  766. '300.problemLink': 'P:Global/Soft_and_hard_turns',
  767. '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',
  768. '300.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  769. '201.enabled': true,
  770. '201.severity': 'W',
  771. '201.title': 'Node A: Unconfirmed turn on primary road',
  772. '201.problem': 'The primary segment has an unconfirmed (soft) turn at node A',
  773. '201.problemLink': 'P:Global/Soft_and_hard_turns',
  774. '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',
  775. '201.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  776. '301.enabled': true,
  777. '301.severity': 'W',
  778. '301.title': 'Node B: Unconfirmed turn on primary road',
  779. '301.problem': 'The primary segment has an unconfirmed (soft) turn at node B',
  780. '301.problemLink': 'P:Global/Soft_and_hard_turns',
  781. '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',
  782. '301.solutionLink': 'P:Global/Soft_and_hard_turns#Best_practices',
  783. '202.enabled': true,
  784. '202.severity': 'W',
  785. '202.title': 'BETA: No public connection for public segment (slow)',
  786. '202.problem': 'The public segment is not connected to any other public segment',
  787. '202.solution': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  788. '210.enabled': true,
  789. '210.title': 'Segment has unverified speed limits from A to B',
  790. '210.problem': 'Segment has speed limit set from A to B that is unverified',
  791. '210.solution': 'Verify the speed limit on the segment and confirm or correct it',
  792. '210.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  793. '211.enabled': true,
  794. '211.title': 'Segment has unverified speed limits from B to A',
  795. '211.problem': 'Segment has speed limit set from B to A that is unverified',
  796. '211.solution': 'Verify the speed limit on the segment and confirm or correct it',
  797. '211.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  798. '212.enabled': true,
  799. '212.title': 'Segment has no speed limit set from A to B',
  800. '212.problem': 'Segment has no speed limit set from A to B',
  801. '212.solution': 'Verify the speed limit on the segment and set it',
  802. '212.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  803. '213.enabled': true,
  804. '213.title': 'Segment has no speed limit set from B to A',
  805. '213.problem': 'Segment has no speed limit set from B to A',
  806. '213.solution': 'Verify the speed limit on the segment and set it',
  807. '213.solutionLink': 'P:Global/Creating_and_editing_road_segments#Speed_limit',
  808. '214.enabled': true,
  809. '214.title': 'Segment has possibly wrong speed limit from A to B',
  810. '214.problem': 'Segment has a speed limit that seems to be incorrect',
  811. '214.solution': 'Verify the speed limit on the segment and correct it if needed',
  812. '214.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  813. '215.enabled': true,
  814. '215.title': 'Segment has possibly wrong speed limit from B to A',
  815. '215.problem': 'Segment has a speed limit that seems to be incorrect',
  816. '215.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  817. '215.solution': 'Verify the speed limit on the segment and correct it if needed',
  818. '250.enabled': true,
  819. '250.title': 'BETA: No city name on Place',
  820. '250.problem': 'The Place has no city name set',
  821. '250.solution': 'Set the city name',
  822. '250.params': {
  823. 'regexp.title': '{string} regular expression for categories to exclude from this check',
  824. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  825. },
  826. '251.enabled': true,
  827. '251.title': 'BETA: No street name on Place',
  828. '251.problem': 'The Place has no street name set',
  829. '251.solution': 'Set the street name',
  830. '251.params': {
  831. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  832. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  833. },
  834. '252.enabled': true,
  835. '252.title': 'BETA: Automatically updated Place',
  836. '252.problem': 'The Place was updated automatically by Waze',
  837. '252.solution': 'Verify and update the Place details if needed',
  838. '252.params': {
  839. 'regexp.title': '{string} regular expression to match Waze bot names and ids',
  840. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  841. },
  842. '253.enabled': true,
  843. '253.title': 'BETA: Category \'OTHER\' should not be used',
  844. '253.problem': 'Users can search on category, and category \'OTHER\' doesn\'t give enough information',
  845. '253.solution': 'Set the correct category',
  846. '254.enabled': true,
  847. '254.title': 'BETA: No entry/exit points on Place',
  848. '254.problem': 'The Place entry/exit points are not set',
  849. '254.solution': 'Set the entry/exit points',
  850. '255.enabled': true,
  851. '255.title': 'BETA: Invalid phone number',
  852. '255.problem': 'The Place has an invalid phone number',
  853. '255.solution': 'Set the correct phone number',
  854. '255.params': {'regexp.title': '{string} regular expression to match a correct phone number', 'regexp': '/.+/'},
  855. '256.enabled': true,
  856. '256.title': 'BETA: Invalid website',
  857. '256.problem': 'The Place has an invalid website URL',
  858. '256.solution': 'Set the correct website URL',
  859. '256.params': {'regexp.title': '{string} regular expression to match a correct website URL', 'regexp': '/^(https?://)?[^\\s/$.?#].[^\\s]*$/i'},
  860. '256.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  861. '257.enabled': true,
  862. '257.title': 'BETA: Place should be an area place',
  863. '257.problem': 'The Place is set as a point place, but should be an area',
  864. '257.solution': 'Convert the Place to an area place',
  865. '257.params': {
  866. 'regexp.title': '{string} regular expression to match categories that should be a area',
  867. 'regexp':
  868. '/^(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)$/'
  869. },
  870. '257.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  871. '258.enabled': true,
  872. '258.title': 'BETA: Place should be a point place',
  873. '258.problem': 'The Place is set as an area place, but should be a point',
  874. '258.solution': 'Convert the Place to a point place',
  875. '258.params': {
  876. 'regexp.title': '{string} regular expression to match categories that should be a point',
  877. 'regexp':
  878. '/^(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)$/'
  879. },
  880. '259.enabled': true,
  881. '259.title': 'BETA: No lock on Place',
  882. '259.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  883. '259.solution': 'Lock the Place',
  884. '259.params': {
  885. 'n.title': '{number} minimum lock level',
  886. 'n': 2,
  887. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  888. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  889. },
  890. '260.enabled': true,
  891. '260.title': 'BETA: No lock on Place',
  892. '260.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  893. '260.solution': 'Lock the Place',
  894. '260.params':
  895. {'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)/'},
  896. '270.enabled': true,
  897. '270.title': 'BETA: No type on Parking Lot',
  898. '270.problem': 'The primary Parking Lot type is not set',
  899. '270.solution': 'Set the primary lot type',
  900. '271.enabled': true,
  901. '271.title': 'BETA: No cost on Parking Lot',
  902. '271.problem': 'The Parking Lot cost is not set',
  903. '271.solution': 'Set the Parking Lot cost',
  904. '272.enabled': true,
  905. '272.title': 'BETA: No payment types on Parking Lot',
  906. '272.problem': 'The Parking Lot payment types are not set',
  907. '272.solution': 'Set the payment types',
  908. '273.enabled': true,
  909. '273.title': 'BETA: No elevation on Parking Lot',
  910. '273.problem': 'The Parking Lot elevation is not set',
  911. '273.solution': 'Set the elevation',
  912. '274.enabled': true,
  913. '274.title': 'BETA: No Parking Lot entry/exit points',
  914. '274.problem': 'The Parking Lot entry/exit points are not set',
  915. '274.solution': 'Set the entry/exit points',
  916. '275.enabled': true,
  917. '275.title': 'BETA: No brand on Gas Station',
  918. '275.problem': 'The Gas Station brand is not in its name',
  919. '275.solution': 'Add or update brand in the Gas Station name'
  920. },
  921. 'US': {
  922. '.codeISO': 'US',
  923. '.country': 'United States',
  924. '27.enabled': true,
  925. '54.enabled': true,
  926. '55.enabled': true,
  927. '90.enabled': true,
  928. '106.enabled': true,
  929. '112.enabled': false,
  930. '150.enabled': true,
  931. '150.params': {'n': 2},
  932. '170.enabled': true,
  933. '170.params': {'regexp': '/^(?!(to) [^a-z])((S|N|W|E) )?[a-z]/'},
  934. '171.enabled': true,
  935. '171.solutionLink': 'P:USA/Abbreviations_and_acronyms#Recommended_abbreviations_and_acronyms',
  936. '171.params': {
  937. 'regexp':
  938. '/((?!(\\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/',
  939. 'problemEN': 'The street name has incorrect abbreviation, or character',
  940. 'solutionEN': 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table. Remove any comma (,), backslash (\\), or semicolon (;)'
  941. },
  942. '29.problem': 'Verify if roundabout should be named',
  943. '29.problemLink': 'P:USA/Roundabout#Creation_from_an_intersection',
  944. '29.solution':
  945. '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.',
  946. '29.solutionLink': 'P:Global/Creating_and_editing_road_segments#Address_Properties',
  947. '257.params': {
  948. 'regexp.title': '{string} regular expression to match categories that should be a area',
  949. 'regexp':
  950. '/^(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)$/'
  951. },
  952. '258.params': {
  953. 'regexp.title': '{string} regular expression to match categories that should be a point',
  954. 'regexp':
  955. '/^(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)$/'
  956. }
  957. },
  958. 'UK': {'.codeISO': 'UK', '.country': 'United Kingdom', '1.enabled': false, '200.enabled': false},
  959. 'SK': {
  960. '.codeISO': 'SK',
  961. '.country': 'Slovakia',
  962. '27.enabled': true,
  963. '52.enabled': true,
  964. '73.enabled': true,
  965. '90.enabled': true,
  966. '150.enabled': true,
  967. '150.problemLink': 'F:t=64980&p=572847#p572847',
  968. '150.params': {'n': 2},
  969. '151.enabled': true,
  970. '151.problemLink': 'F:t=64980&p=572847#p572847',
  971. '151.params': {'n': 2},
  972. '152.enabled': true,
  973. '152.problemLink': 'F:t=64980&p=572847#p572847',
  974. '152.params': {'n': 2},
  975. '170.enabled': true,
  976. '170.params': {'regexp': '/^(?!(exit) [^a-z])[a-z]/'}
  977. },
  978. 'SG': {
  979. '.codeISO': 'SG',
  980. '.country': 'Singapore',
  981. '69.enabled': true,
  982. '73.enabled': true,
  983. '150.enabled': true,
  984. '150.params': {'n': 2},
  985. '151.enabled': true,
  986. '151.params': {'n': 2},
  987. '152.enabled': true,
  988. '152.params': {'n': 2}
  989. },
  990. 'RU': {'.codeISO': 'RU', '.country': 'Russia', '77.enabled': false, '190.enabled': false},
  991. 'PL': {
  992. '.codeISO': 'PL',
  993. '.country': 'Poland',
  994. '.author': 'Zniwek',
  995. '.updated': '2014-10-01',
  996. '.lng': 'PL',
  997. 'city.consider': 'rozważ tę nazwę miasta:',
  998. 'city.1': 'nazwa miasta jest za krótka',
  999. 'city.2': 'rozwiń skrót',
  1000. 'city.3': 'uzupełnij skróconą nazwę',
  1001. 'city.4': 'uzupełnij nazwę miasta',
  1002. 'city.5': 'popraw wielkość liter',
  1003. 'city.6': 'sprawdź kolejność słów',
  1004. 'city.7': 'sprawdź skróty',
  1005. 'city.8a': 'dodaj nazwę państwa',
  1006. 'city.8r': 'usuń nazwę państwa',
  1007. 'city.9': 'sprawdź nazwę państwa',
  1008. 'city.10a': 'dodaj słowo',
  1009. 'city.10r': 'usuń słowo',
  1010. 'city.11': 'dodaj kod państwa',
  1011. 'city.12': 'identyczne nazwy, ale inne ID miasta',
  1012. 'city.13a': 'dodaj spację',
  1013. 'city.13r': 'usuń spację',
  1014. 'city.14': 'sprawdź numer',
  1015. 'props.skipped.title': 'Segment nie jest sprawdzony',
  1016. 'props.skipped.problem': 'Segment jest zmodyfikowany po 2014-05-01 I zablokowany dla Ciebie, więc Validator go nie sprawdził',
  1017. 'err.regexp': 'Błąd podczas parsowania opcji dla sprawdzenia #${n}:',
  1018. 'props.disabled': 'WME Validator jest wyłączony',
  1019. 'props.limit.title': 'Zgłoszono zbyt wiele problemów',
  1020. 'props.limit.problem': 'Zgłoszono zbyt wiele problemów, więc niektóre z nich mogą nie być pokazane',
  1021. 'props.limit.solution': 'Odznacz segment i zatrzymaj skanowanie. Następnie kliknij czerwony \'✘\', przycisk (Wyczyść raport)',
  1022. 'props.reports': 'raporty',
  1023. 'props.noneditable': 'Nie możesz edytować tego segmentu',
  1024. 'report.save': 'Zapisz ten raport',
  1025. 'report.list.andUp': 'i wyższe',
  1026. 'report.list.severity': 'Ważność:',
  1027. 'report.list.reportOnly': 'tylko w raporcie',
  1028. 'report.list.forEditors': 'Dla edytorów poziomu:',
  1029. 'report.list.forCountries': 'Dla państw:',
  1030. 'report.list.forStates': 'Dla stanów:',
  1031. 'report.list.forCities': 'Dla miast:',
  1032. 'report.list.params': 'Parametry do skonfigurowania w paczce językowej:',
  1033. 'report.list.params.set': 'Aktualna konfiguracja dla ${country}:',
  1034. 'report.list.enabled': '${n} sprawdzenia włączone dla',
  1035. 'report.list.disabled': '${n} sprawdzenia wyłączone dla',
  1036. 'report.list.total': 'There are ${n} sprawdzenia dostępne',
  1037. 'report.list.title': 'Pełna lista Sprawdzeń dla',
  1038. 'report.list.see': 'Zobacz',
  1039. 'report.list.checks': 'Ustawienia->O->Dostępne sprawdzenia',
  1040. 'report.list.fallback': 'Zasady Cofnięcia Lokalizacji:',
  1041. 'report.and': 'i',
  1042. 'report.segments': 'Liczba sprawdzonych segmentów:',
  1043. 'report.customs': 'Własne zaznaczone sprawdzenia (zielone/niebieskie):',
  1044. 'report.reported': 'Zaraportowane',
  1045. 'report.errors': 'błędy',
  1046. 'report.warnings': 'ostrzeżenia',
  1047. 'report.notes': 'notki',
  1048. 'report.contents': 'Zawartość:',
  1049. 'report.summary': 'Podsumowanie',
  1050. 'report.title': 'WME Validator - Raport',
  1051. 'report.share': 'by się Podzielić',
  1052. 'report.generated.by': 'wygenerowane przez',
  1053. 'report.generated.on': 'na',
  1054. 'report.source': 'Źródło raportu:',
  1055. 'report.filter.duplicate': 'duplikowane segmenty',
  1056. 'report.filter.streets': 'Ulice i Drogi Serwisowe',
  1057. 'report.filter.other': 'Pozostałe przejezdne/nieprzejezdne',
  1058. 'report.filter.noneditable': 'segmenty bez możliwości edycji',
  1059. 'report.filter.notes': 'notki',
  1060. 'report.filter.title': 'Filtruj:',
  1061. 'report.filter.excluded': 'są wyłączone z tego raportu.',
  1062. 'report.search.updated.by': 'zaktualizowane przez',
  1063. 'report.search.updated.since': 'zaktualizowane od',
  1064. 'report.search.city': 'z',
  1065. 'report.search.reported': 'zaraportowane jako',
  1066. 'report.search.title': 'Szukaj:',
  1067. 'report.search.only': 'tylko segmenty',
  1068. 'report.search.included': 'są zawarte w tym raporcie.',
  1069. 'report.beta.warning': 'Ostrzeżenie WME Beta!',
  1070. 'report.beta.text': 'Ten raport jest wygenerowany w wersji beta WME z permalinkami beta.',
  1071. 'report.beta.share': 'Proszę, nie dziel się raportem z tymi permalinkami!',
  1072. 'report.size.warning':
  1073. '<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.',
  1074. 'report.note.limit': '* Info: było zbyt wiele zgłoszonych problemów, więc niektóre z nich nie są policzone w podsumowaniu.',
  1075. 'report.forum': 'Żeby zmotywować mnie do pracy nad skrpytem, zostaw komentarz w',
  1076. 'report.thanks': 'Dziękuję za używanie WME Validator!',
  1077. 'msg.limit.segments': 'Zbyt wiele segmentów.\n\nKliknij \'Pokaż raport\' żeby go przejrzeć, a potem\n',
  1078. 'msg.limit.segments.continue': 'kliknij \'▶\' (Start) by kontynuować.',
  1079. 'msg.limit.segments.clear': 'kliknij \'✘\' (Wyczyść) by wyczyścić raport.',
  1080. 'msg.pan.text': 'Przesuwaj mapę, by ją sprawdzić',
  1081. 'msg.zoomout.text': 'Oddal widok, by uruchomić WME Validator',
  1082. 'msg.click.text': 'Kliknij \'▶\' (Start), by sprawdzić widoczny obszar mapy',
  1083. 'msg.autopaused': 'autopauza',
  1084. 'msg.autopaused.text': 'Spauzowano automatycznie! Kliknij \'▶\' (Start) by kontynuować.',
  1085. 'msg.autopaused.tip': 'WME Validator wstrzymany automatycznie przy przesunięciu mapy lub skalowaniu okna',
  1086. 'msg.finished.text': 'Kliknij <b>\'Pokaż raport\'</b> by przejrzeć błędy',
  1087. 'msg.finished.tip': 'Kliknij przycisk \'✉\' (Podziel się), żeby umieścić raport na\nforum lub w prywatnej wiadomości',
  1088. 'msg.noissues.text': 'Ukończono! Nie znaleziono błędów!',
  1089. 'msg.noissues.tip': 'Spróbuj odznaczyć niektóre opcje filtrowania lub odpal WME Validator na innym obszarze!',
  1090. 'msg.scanning.text': 'Skanowanie! Koniec za ~ ${n} min',
  1091. 'msg.scanning.text.soon': 'Skanowanie! Koniec w ciągu minuty!',
  1092. 'msg.scanning.tip': 'Kliknij przycisk \'Pauza\' by wstrzymać lub \'■\' (Stop) by zatrzymać',
  1093. 'msg.starting.text': 'Start! Warstwy są wyłączone, by skanować szybciej!',
  1094. 'msg.starting.tip': 'Użyj przycisku \'Pauza\' by wstrzymać lub przycisku \'■\' by zatrzymać',
  1095. 'msg.paused.text': 'Wstrzymane! Kliknij przycisk \'▶\' (Start) by kontynuować.',
  1096. 'msg.paused.tip': 'Żeby zobaczyć raport, kliknij przycisk \'Pokaż raport\' (jeżeli dostępne)',
  1097. 'msg.continuing.text': 'Kontynuowanie!',
  1098. 'msg.continuing.tip': 'WME Validator zacznie ponownie z miejsca, gdzie włączono pauzę',
  1099. 'msg.settings.text': 'Kliknij <b>\'Wstecz\'</b>, by powrócić do głównego widoku',
  1100. 'msg.settings.tip': 'Kliknij przycisk \'Resetuj domyślne\' aby zresetować wszystkie ustawienia za jednym zamachem!',
  1101. 'msg.reset.text': 'Wszystkie opcje filtrowania i ustawienia zostały zresetowane do domyślnych',
  1102. 'msg.reset.tip': 'Kliknij przycisk \'Wstecz\', by powrócić do głównego widoku',
  1103. 'msg.textarea.pack':
  1104. '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',
  1105. 'msg.textarea': 'Skopiuj proszę tekst poniżej, a następnie wklej do posta lub wiadomości prywatnej',
  1106. 'noaccess.text':
  1107. '<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.',
  1108. 'noaccess.tip': 'Sprawdź proszę wątek na forum po więcej informacji!',
  1109. 'tab.switch.tip.on': 'Kliknij by włączyć podświetlanie (Alt+V)',
  1110. 'tab.switch.tip.off': 'Kliknij by wyłączyć podświetlanie (Alt+V)',
  1111. 'tab.filter.text': 'filtruj',
  1112. 'tab.filter.tip': 'Opcje filtrowania raportu i podświetlonych segmentów',
  1113. 'tab.search.text': 'szukaj',
  1114. 'tab.search.tip': 'Zaawansowane opcje filtrowania, żeby załączyć tylko specyficzne segmenty',
  1115. 'tab.help.text': 'pomoc',
  1116. 'tab.help.tip': 'Potrzebujesz pomocy?',
  1117. 'filter.noneditables.text': 'Wyklucz <b>nieedytowalne</b> segmenty',
  1118. 'filter.noneditables.tip': 'Nie raportuj zablokowanych segmentów lub\nsegmentów poza Twoim obszarem edycji',
  1119. 'filter.duplicates.text': 'Wyklucz <b>duplikowane</b> segmenty',
  1120. 'filter.duplicates.tip': 'Nie pokazuj tego samego segmentu w różnych\nczęściach raportu\n* Info: ta opcja NIE WPŁYWA na podświetlanie',
  1121. 'filter.streets.text': 'Wyklucz <b>Ulice i Drogi Serwisowe</b>',
  1122. 'filter.streets.tip': 'Nie raportuj Ulic i Dróg Serwisowych',
  1123. 'filter.other.text': 'Wyklucz <b>Pozostałe przejezdne i nieprzejezdne</b>',
  1124. 'filter.other.tip': 'Nie raportuj Gruntowych, Wewnętrznych, Prywatnych Dróg\ni nieprzejezdnych segmentów',
  1125. 'filter.notes.text': 'Wyklucz <b>notki</b>',
  1126. 'filter.notes.tip': 'Raportuj tylko ostrzeżenia i błędy',
  1127. 'search.youredits.text': 'Załącz <b>tylko Twoje edycje</b>',
  1128. 'search.youredits.tip': 'Załącz tylko segmenty edytowane przez Ciebie',
  1129. 'search.updatedby.text': '<b>Zaktualizowane przez*:</b>',
  1130. 'search.updatedby.tip':
  1131. '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',
  1132. 'search.updatedby.example': 'Przykład: me',
  1133. 'search.updatedsince.text': '<b>Zaktualizowane od:</b>',
  1134. 'search.updatedsince.tip': 'Załącz tylko segmenty edytowane od ustalonej daty\nformat daty Firefox: RRRR-MM-DD',
  1135. 'search.updatedsince.example': 'RRRR-MM-DD',
  1136. 'search.city.text': '<b>Nazwa miasta:</b>',
  1137. '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, *',
  1138. 'search.city.example': 'Przykład: !Paris, *',
  1139. 'search.checks.text': '<b>Zaraportowane jako:</b>',
  1140. 'search.checks.tip':
  1141. '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*, *',
  1142. 'search.checks.example': 'Przykład: reverse*',
  1143. 'help.text':
  1144. '<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>',
  1145. 'help.tip': 'Otwórz w nowej karcie przeglądarki',
  1146. 'button.scan.tip': 'Zacznij skanowanie aktualnego obszaru\n* Info: to może zająć kilka minut',
  1147. 'button.scan.tip.NA': 'Oddal widok by zacząć skanować aktualny obszar',
  1148. 'button.pause.tip': 'Wstrzymaj skanowanie',
  1149. 'button.continue.tip': 'Kontynuuj skanowanie obszaru mapy',
  1150. 'button.stop.tip': 'Zatrzymaj skanowanie i powróć do pozycji startowej',
  1151. 'button.clear.tip': 'Wyczyść raport i cache segmentu',
  1152. '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.',
  1153. 'button.report.text': 'Pokaż raport',
  1154. 'button.report.tip': 'Zatwierdź filtr i wygeneruj raport HTML w nowej karcie',
  1155. 'button.BBreport.tip': 'Podziel się raportem na forum Waze lub w prywatnej wiadomości',
  1156. 'button.settings.tip': 'Konfiguruj ustawienia',
  1157. 'tab.custom.text': 'własne',
  1158. 'tab.custom.tip': 'Ustawienia sprawdzeń zdefiniowanych przez użytkownika',
  1159. 'tab.settings.text': 'Ustawienia',
  1160. 'tab.scanner.text': 'skaner',
  1161. 'tab.scanner.tip': 'Ustawienia skanera mapy',
  1162. 'tab.about.text': 'o</span>',
  1163. 'tab.about.tip': 'Info o WME Validator',
  1164. 'scanner.sounds.text': 'Włącz dźwięki',
  1165. 'scanner.sounds.tip': 'Pikanie podczas skanowania',
  1166. 'scanner.sounds.NA': 'Twoja przeglądarka nie wspiera AudioContext',
  1167. 'scanner.highlight.text': 'Podświetl błędy na mapie',
  1168. 'scanner.highlight.tip': 'Podświetl zaraportowane błędy na mapie',
  1169. 'scanner.slow.text': 'Włącz sprawdzenia "slow"',
  1170. 'scanner.slow.tip': 'Włącza głęboką analizę mapy\n* Info: ta opcja może spowolnić proces skanowania',
  1171. 'scanner.ext.text': 'Raportuj zewnętrzne podświetlenia',
  1172. 'scanner.ext.tip': 'Raportuj segmenty podświetlone przez WME Toolbox lub WME Color Highlights',
  1173. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Własny szablon</a>',
  1174. 'custom.template.tip':
  1175. '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}',
  1176. 'custom.template.example': 'Przykład ${street}',
  1177. 'custom.regexp.text': 'Własne <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1178. 'custom.regexp.tip':
  1179. '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/',
  1180. 'custom.regexp.example': 'Przykład: !/.+/',
  1181. 'about.tip': 'Otwórz link w nowej karcie',
  1182. 'button.reset.text': 'Resetuj domyślne',
  1183. 'button.reset.tip': 'Przywróć opcje filtrowania i ustawienia na domyślne',
  1184. 'button.list.text': 'Dostępne sprawdzenia...',
  1185. 'button.list.tip': 'Wyświetl listę sprawdzeń dostępnych w WME Validatorze',
  1186. 'button.wizard.tip': 'Stwórz paczkę językową',
  1187. 'button.back.text': 'Powrót',
  1188. 'button.back.tip': 'Zamknij ustawienia i wróć do głównego widoku',
  1189. '1.title': 'WME Toolbox: Rondo może powodować problemy',
  1190. '1.problem': 'ID węzłów ronda nie są w kolejności',
  1191. '1.solution': 'Stwórz rondo na nowo',
  1192. '2.title': 'WME Toolbox: Pojedynczy segment',
  1193. '2.problem': 'Segment ma niepotrzebne węzły',
  1194. '2.solution': 'Uprość geometrię segmentu przez najechanie myszką i naciśnięcie przycisku "d"',
  1195. '3.title': 'WME Toolbox: Blokada na 2 poziom',
  1196. '3.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1197. '4.title': 'WME Toolbox: Blokada na 3 poziom',
  1198. '4.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1199. '5.title': 'WME Toolbox: Blokada na 4 poziom',
  1200. '5.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1201. '6.title': 'WME Toolbox: Blokada na 5 poziom',
  1202. '6.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1203. '7.title': 'WME Toolbox: Blokada na 6 poziom',
  1204. '7.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1205. '8.title': 'WME Toolbox: Numery domów',
  1206. '8.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1207. '9.title': 'WME Toolbox: Segment z ograniczeniami czasowymi',
  1208. '9.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1209. '13.title': 'WME Color Highlights: Blokada edytora',
  1210. '13.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1211. '14.title': 'WME Color Highlights: Płatna / Jednokierunkowa',
  1212. '14.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1213. '15.title': 'WME Color Highlights: Ostatnio edytowane',
  1214. '15.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1215. '16.title': 'WME Color Highlights: Ranga drogi',
  1216. '16.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1217. '17.title': 'WME Color Highlights: Brak miasta',
  1218. '17.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1219. '18.title': 'WME Color Highlights: Ograniczenie czasowe / Podświetlony typ drogi',
  1220. '18.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1221. '19.title': 'WME Color Highlights: Brak nazwy',
  1222. '19.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1223. '20.title': 'WME Color Highlights: Filtruj po mieście',
  1224. '20.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1225. '21.title': 'WME Color Highlights: Filtruj po mieście (alt. miasto)',
  1226. '21.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1227. '22.title': 'WME Color Highlights: Filtruj po edytorzer',
  1228. '22.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1229. '23.solutionLink': 'W:Drogi',
  1230. '23.title': 'Niepotwierdzona droga',
  1231. '23.problem': 'Każdy segment musi mieć przynajmniej Państwo i Stan',
  1232. '23.solution': 'Potwierdź drogę, aktualizując jej szczegóły',
  1233. '24.title': 'Prawdopodobnie błędna nazwa miasta (tylko w raporcie)',
  1234. '24.problem': 'Segment może zawierać błędną nazwę miasta',
  1235. '24.solution': 'Rozważ zaproponowaną nazwę i użyj tego formularza do zmiany nazwy miasta',
  1236. '25.title': 'Nieznana kierunkowość przejezdnej drogi',
  1237. '25.problem': '\'Nieznana\' kierunkowość drogi, nie zapobiegnie wyznaczaniu tędy trasy',
  1238. '25.solution': 'Ustaw kierunkowość drogi',
  1239. '27.enabled': true,
  1240. '27.problemLink': 'W:Drogi#Tory.2C_szyny',
  1241. '27.title': 'Nazwa miasta na Torach',
  1242. '27.problem': 'Nazwa miasta na Torach, szynach',
  1243. '27.solution': 'Zaznacz pole \'brak\' przy nazwie miasta',
  1244. '28.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1245. '28.title': 'Nazwa ulicy na dwukierunkowym zjeździe',
  1246. '28.problem': 'Jeśli zjazd jest nienazwany, wyświetli się nazwa docelowej drogi',
  1247. '28.solution': 'Zmień nazwę ulicy na \'brak\'',
  1248. '29.problemLink': 'W:Drogi#Rondo',
  1249. '29.title': 'Nazwa ulicy na rondzie',
  1250. '29.problem': 'W Waze nie nazywamy segmentów ronda',
  1251. '29.solution': 'Zmień nazwę ulicy na \'brak\', a następnie dodaj punkt orientacyjny \'Węzeł drogowy\', żeby nazwać rondo',
  1252. '34.title': 'Pusta nazwa alternatywna',
  1253. '34.problem': 'Alternatywna nazwa ulicy jest pusta',
  1254. '34.solution': 'Usuń pustą nazwę alternatywną ulicy',
  1255. '35.title': 'Niezakończona droga',
  1256. '35.problem': 'Waze nie poprowadzi z niezakończonego segmentu',
  1257. '35.solution': 'Przesuń trochę segment, żeby pojawił się kończący węzeł',
  1258. '36.title': 'Węzeł A: Niepotrzebny (slow)',
  1259. '36.problem': 'Segmenty spotykające się w węźle A są identyczne',
  1260. '36.solution': 'Wybierz węzeł A i naciśnij przycisk Delete, by połączyć segmenty',
  1261. '37.title': 'Węzeł B: Niepotrzebny (slow)',
  1262. '37.problem': 'Segmenty spotykające się w węźle B są identyczne',
  1263. '37.solution': 'Wybierz węzeł B i naciśnij przycisk Delete, by połączyć segmenty',
  1264. '38.title': 'Upłynął czas ograniczenia segmentu (slow)',
  1265. '38.problem': 'Segment zawiera wygasłe ograniczenie',
  1266. '38.solution': 'Kliknij \'Edytuj ograniczenia\' i usuń wygasłe ograniczenie',
  1267. '39.title': 'Wygasłe ograniczenie skrętu (slow)',
  1268. '39.problem': 'Segment ma skręt z wygasłym ograniczeniem',
  1269. '39.solution': 'Kliknij ikonę zegara obok żółtej strzałki i usuń wygasłe ograniczenie',
  1270. '41.title': 'Węzeł A: Odwrócona łączność przejezdnej drogi',
  1271. '41.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle A',
  1272. '41.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (A→B)\'',
  1273. '42.title': 'Węzeł B: Odwrócona łączność przejezdnej drogi',
  1274. '42.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle B',
  1275. '42.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (B→A)\'',
  1276. '43.title': 'Połączenie ze sobą',
  1277. '43.problem': 'Segment łączy się sam ze sobą',
  1278. '43.solution': 'Podziel segment na TRZY części',
  1279. '46.title': 'SLOW: Brak wjazdu na węźle A',
  1280. '46.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1281. '46.solution': 'Rozważ możliwość wjazdu na węźle A',
  1282. '47.title': 'SLOW: Brak wjazdu na węźle B',
  1283. '47.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1284. '47.solution': 'Rozważ możliwość wjazdu na węźle A',
  1285. '48.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1286. '48.title': 'Dwukierunkowy segment ronda',
  1287. '48.problem': 'Segment ronda jest dwukierunkowy',
  1288. '48.solution': 'Stwórz rondo od nowa',
  1289. '50.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1290. '52.enabled': true,
  1291. '52.solutionLink': 'W:Tabela_skrótów',
  1292. '52.title': 'Za długa nazwa ulicy',
  1293. '52.problem': 'Nazwa przejezdnego segmentu jest dłuższa niż ${n} liter i nie jest Rampą',
  1294. '52.solution': 'Consider an abbreviation for the street name according to this table',
  1295. '52.params': {'n': 35},
  1296. '57.enabled': true,
  1297. '57.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1298. '57.title': 'Nazwa miasta na nazwanym zjeździe',
  1299. '57.problem': 'Nazwa miasta na nazwanym zjeździe może wpłynąć na wyniki wyszukiwania',
  1300. '57.solution': 'Zmień nazwę miasta na \'brak\'',
  1301. '59.enabled': true,
  1302. '59.problemLink': 'W:Drogi#Autostrada_.2F_Droga_ekspresowa',
  1303. '59.title': 'Nazwa miasta na Autostradzie',
  1304. '59.problem': 'Nazwa miasta na Autostradzie, może spowodować że obszar miasta się rozciągnie',
  1305. '59.solution': 'W danych adresowych ustaw \'Brak\' obok nazwy miasta i kliknij \'Zatwierdź\'',
  1306. '73.enabled': true,
  1307. '73.title': 'Za krótka nazwa ulicy',
  1308. '73.problem': 'Nazwa ulicy jest krótsza niż ${n} liter i nie jest autostradą',
  1309. '73.solution': 'Popraw nazwę ulicy',
  1310. '74.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1311. '78.title': 'SLOW: Takie same punkty końcowe segmentów',
  1312. '78.problem': 'Dwa przejezdne segmenty mają takie same punkty końcowe',
  1313. '78.solution': 'Podziel segment. Możesz także usunąć segment, jeśli są identyczne',
  1314. '79.problemLink': 'W:Skrzyżowania#Najlepsze_praktyki_dla_r.C3.B3.C5.BCnych_typ.C3.B3w_skrzy.C5.BCowa.C5.84',
  1315. '87.problemLink': 'W:Drogi#Rondo',
  1316. '87.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1317. '87.title': 'Więcej niż jeden segment wychodzący z węzła A na rondzie',
  1318. '87.problem': 'Węzeł A na rondzie ma podłączony więcej niż jeden segment wychodzący',
  1319. '87.solution': 'Utwórz rondo ponownie',
  1320. '99.title': 'Nawrót na wjeździe na rondo (slow)',
  1321. '99.problem': 'Segment wjazdu na rondo ma włączoną możliwość zawracania',
  1322. '99.solution': 'Wyłącz nawrót',
  1323. '101.params': {'regexp': '/(^|\\b)remont(\\b|$)/i'},
  1324. '101.title': 'Droga zamknięta (dostępne tylko w raporcie)',
  1325. '101.problem': 'Segment jest oznaczony jako zamknięty',
  1326. '101.solution': 'Gdy remont się skończy, przywróć połączenia segmentu i usuń przyrostek',
  1327. '102.title': 'SLOW: Brak wyjazdu na węźle A',
  1328. '102.problem': 'Przejezdny segment nie ma wyjazdu na węźle A',
  1329. '102.solution': 'Rozważ możliwość wyjazdu na węźle A',
  1330. '103.title': 'SLOW: Brak wyjazdu na węźle B',
  1331. '103.problem': 'Przejezdny segment nie ma wyjazdu na węźle B',
  1332. '103.solution': 'Rozważ możliwość wyjazdu na węźle B',
  1333. '104.title': 'Tory użyte dla komentarzy',
  1334. '104.problem': 'Tory są prawdopodobnie użyte do komentarzy na mapie',
  1335. '104.solution': 'Usuń komentarze, ponieważ Tory będą wyświetlane w aplikacji',
  1336. '105.enabled': true,
  1337. '105.title': 'Ścieżka zamiast Torów',
  1338. '105.problem': 'Ścieżka o wysokości -5 jest zapewne użyta zamiast Torów',
  1339. '105.solution': 'Zmień typ drogi na Tory, by wyświetliły się w aplikacji',
  1340. '107.title': 'SLOW: Brak połączenia w węźle A',
  1341. '107.problem': 'Węzeł A segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1342. '107.solution': 'Przeciągnij węzeł A na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1343. '108.title': 'SLOW: Brak połączenia w węźle B',
  1344. '108.problem': 'Węzeł B segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1345. '108.solution': 'Przeciągnij węzeł B na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1346. '109.title': 'Za krótki segment',
  1347. '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',
  1348. '109.solution': 'Zwiększ długość, usuń segment lub połącz go z jednym z przyległych segmentów',
  1349. '112.title': 'Za długa nazwa Rampy',
  1350. '112.problem': 'Nazwa Rampy jest dłuższa niż ${n} liter',
  1351. '112.solution': 'Skróć nazwę Rampy',
  1352. '114.title': 'Węzeł A: Nieprzejezdna połączona z przejezdną (slow)',
  1353. '114.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle A',
  1354. '114.solution': 'Odłącz węzeł A od wszystkich przejezdnych segmentów',
  1355. '115.title': 'Węzeł B: Nieprzejezdna połączona z przejezdną (slow)',
  1356. '115.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle B',
  1357. '115.solution': 'Odłącz węzeł B od wszystkich przejezdnych segmentów',
  1358. '116.title': 'Poza skalą poziomu/wysokości',
  1359. '116.problem': 'Poziom/wysokość segmentu są poza skalą',
  1360. '116.solution': 'Popraw poziom/wysokość',
  1361. '117.title': 'Przestarzały znacznik CONST ZN',
  1362. '117.problem': 'Segmeny jest oznaczony przestarzałym przyrostkiem CONST ZN',
  1363. '117.solution': 'Zmień CONST ZN na (zamknięte)',
  1364. '118.title': 'Węzeł A: Nakładające się segmenty (slow)',
  1365. '118.problem': 'Segment pokrywa się z sąsiadującym, w węźle A',
  1366. '118.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle A',
  1367. '119.title': 'Węzeł B: Nakładające się segmenty (slow)',
  1368. '119.problem': 'Segment pokrywa się z sąsiadującym, w węźle B',
  1369. '119.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle B',
  1370. '120.title': 'Węzeł A: Za ostry skręt (slow)',
  1371. '120.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle A',
  1372. '120.solution': 'Wyłącz ostry skręt na węźle A lub rozszerz segmenty do 30°',
  1373. '121.title': 'Węzeł B: Za ostry skręt (slow)',
  1374. '121.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle B',
  1375. '121.solution': 'Wyłącz ostry skręt na węźle B lub rozszerz segmenty do 30°',
  1376. '128.title': 'Własne sprawdzenie (zielone)',
  1377. '128.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1378. '128.solution': 'Rozwiąż ten problem',
  1379. '129.title': 'Własne sprawdzenie (niebieskie)',
  1380. '129.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1381. '129.solution': 'Rozwiąż ten problem',
  1382. '161.enabled': true,
  1383. '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'},
  1384. '161.problemLink': 'W:Drogi#Droga_krajowa',
  1385. '161.title': 'Numer DK w nazwie ulicy',
  1386. '161.problem': 'Nazwa ulicy zawiera numer DK',
  1387. '161.solution': 'Usuń przedrostek z nazwy ulicy',
  1388. '162.enabled': true,
  1389. '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'},
  1390. '162.problemLink': 'W:Drogi#Droga_wojew.C3.B3dzka',
  1391. '162.title': 'Numer DW w nazwie ulicy',
  1392. '162.problem': 'Nazwa ulicy zawiera numer DW',
  1393. '162.solution': 'Usuń przedrostek z nazwy ulicy',
  1394. '163.enabled': true,
  1395. '163.params':
  1396. {'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'},
  1397. '163.solutionLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1398. '163.title': '\'Węzel\' w nazwie zjazdu',
  1399. '163.problem': 'Zjazd zawiera w nazwie słowo \'węzel\'',
  1400. '163.solution': 'Zmień nazwę zjazdu zgodnie z wytycznymi',
  1401. '167.enabled': true,
  1402. '167.params': {
  1403. 'titleEN': 'Incorrect Railroad name',
  1404. 'problemEN': 'The Railroad name is not \'PKP\', \'SKM\' or \'MPK\'',
  1405. '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\'',
  1406. 'regexp': '!/^(PKP|MPK|SKM|Tramwaje Śląskie)$/'
  1407. },
  1408. '167.solutionLink': 'W:Drogi#Tory.2C_szyny',
  1409. '167.title': 'Nieprawidłowa nazwa Torów',
  1410. '167.problem': 'Segment Torów ma nieprawidłową nazwę',
  1411. '167.solution': 'Zmień nazwę segmentu zgodnie z wytycznymi',
  1412. '169.enabled': true,
  1413. '169.params': {
  1414. 'titleEN': '\'Rondo\' or \'ulica\' in street name',
  1415. 'problemEN': 'The street name contains word \'rondo\' or \'ulica\'',
  1416. '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\'',
  1417. 'regexp': '/rondo |ulica/i'
  1418. },
  1419. '169.solutionLink': 'W:Drogi#Rondo',
  1420. '169.title': '\'Rondo\' lub \'ulica\' w nazwie ulicy',
  1421. '169.problem': 'Nazwa ulicy zawiera słowo \'rondo\' lub \'ulica\'',
  1422. '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',
  1423. '171.enabled': true,
  1424. '171.params': {
  1425. 'regexp':
  1426. '/(^| )(?!(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\\.)[^ ]+\\./'
  1427. },
  1428. '171.solutionLink': 'W:Tabela_skrótów',
  1429. '171.title': 'Nieprawidłowy skrót w nazwie ulicy',
  1430. '171.problem': 'Nazwa ulicy zawiera nieprawidłowy skrót',
  1431. '171.solution': 'Sprawdź wielkie/małe litery, przerwę przed/po skrócie i zgodność z tą tabelą',
  1432. '172.title': 'Niepotrzebne spacje w nazwie ulicy',
  1433. '172.problem': 'Spacja na początku, końcu lub podwójna w nazwie ulicy',
  1434. '172.solution': 'Usuń niepotrzebne spacje z nazwy ulicy',
  1435. '173.title': 'Nazwa ulicy bez spacji przed lub po skrócie',
  1436. '173.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie ulicy',
  1437. '173.solution': 'Dodaj spację przed/po skrócie',
  1438. '175.title': 'Nazwa ulicy złożona z samych spacji',
  1439. '175.problem': 'Nazwa ulicy zawiera tylko spacje',
  1440. '175.solution': 'Zmień nazwę ulicy na \'Brak\' lub nazwij odpowiednio ulicę',
  1441. '190.title': 'Nazwa miasta małą literą',
  1442. '190.problem': 'Nazwa miasta zaczyna się od małej litery',
  1443. '190.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1444. '192.title': 'Niepotrzebne spacje w nazwie miasta',
  1445. '192.problem': 'Spacja na początku, końcu lub podwójna w nazwie miasta',
  1446. '192.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1447. '193.title': 'Brak spacji przed/po skrócie miasta',
  1448. '193.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie miasta',
  1449. '193.solution': 'Użyj tej formy, by zmienić nazwę miasta',
  1450. '200.problemLink': 'W:Skrzyżowania#Ograniczenia_skr.C4.99t.C3.B3w',
  1451. '200.title': 'Węzeł A: Wstępnie dopuszczony lub zakazany skręt na przejezdnej drodze',
  1452. '200.problem': 'Segment ma niepotwierdzony skręt na węźle A',
  1453. '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',
  1454. '201.title': 'Węzeł A: Niepotwierdzony skręt na głównej drodze',
  1455. '201.problem': 'Segment drogi głównej ma niepotwierdzony skręt na węźle A',
  1456. '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'
  1457. },
  1458. 'NZ': {'.codeISO': 'NZ', '.country': 'New Zealand'},
  1459. 'NL': {
  1460. '.codeISO': 'NL',
  1461. '.country': 'Netherlands',
  1462. '.author': 'davidakachaos',
  1463. '.updated': '2018-08-01',
  1464. '.fallbackCode': 'BE',
  1465. '.lng': 'NL',
  1466. 'city.consider.en': 'consider this city name:',
  1467. 'city.consider': 'overweeg deze plaatsnaam:',
  1468. 'city.1.en': 'city name is too short',
  1469. 'city.1': 'plaatsnaam te kort',
  1470. 'city.2.en': 'expand the abbreviation',
  1471. 'city.2': 'De afkorting uitbreiden',
  1472. 'city.3.en': 'complete short name',
  1473. 'city.3': 'maak de korte naam compleet',
  1474. 'city.4.en': 'complete city name',
  1475. 'city.4': 'plaatsnaam aanvullen',
  1476. 'city.5.en': 'correct letter case',
  1477. 'city.5': 'juist hoofdlettergebruik',
  1478. 'city.6.en': 'check word order',
  1479. 'city.6': 'controleer woord volgorde',
  1480. 'city.7.en': 'check abbreviations',
  1481. 'city.7': 'controleer afkortingen',
  1482. 'city.8a.en': 'add county name',
  1483. 'city.8a': 'land naam toevoegen',
  1484. 'city.8r.en': 'remove county name',
  1485. 'city.8r': 'land naam verwijderen',
  1486. 'city.9.en': 'check county name',
  1487. 'city.9': 'controleer land naam',
  1488. 'city.10a.en': 'add a word',
  1489. 'city.10a': 'woord toevoegen',
  1490. 'city.10r.en': 'remove a word',
  1491. 'city.10r': 'woord verwijderen',
  1492. 'city.11.en': 'add county code',
  1493. 'city.11': 'landcode toevoegen',
  1494. 'city.12.en': 'identical names, but different city IDs',
  1495. 'city.12': 'identieke namen, maar verschillende plaats IDs',
  1496. 'city.13a.en': 'add a space',
  1497. 'city.13a': 'spatie invoegen',
  1498. 'city.13r.en': 'remove a space',
  1499. 'city.13r': 'spatie verwijderen',
  1500. 'city.14.en': 'check the number',
  1501. 'city.14': 'controleer het nummer',
  1502. 'props.skipped.title.en': 'The segment is not checked',
  1503. 'props.skipped.title': 'Dit segment is niet gecontroleerd',
  1504. 'props.skipped.problem.en': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  1505. 'props.skipped.problem': 'Dit segment is na 2014-05-01 aangepast EN voor jou gelockt, Validator heeft dit niet gecontroleerd',
  1506. 'err.regexp.en': 'Error parsing option for check #${n}:',
  1507. 'err.regexp': 'Fout bij het verwerken van de opties voor de controle #${n}:',
  1508. 'props.disabled.en': 'WME Validator is disabled',
  1509. 'props.disabled': 'WME Validator is uitgeschakeld',
  1510. 'props.limit.title.en': 'Too many issues reported',
  1511. 'props.limit.title': 'Te veel problemen gevonden',
  1512. 'props.limit.problem.en': 'There are too many issues reported, so some of them might not be shown',
  1513. 'props.limit.problem': 'Er zijn te veel problemen gemeld, daarom wordt een aantal van hen niet getoond',
  1514. 'props.limit.solution.en': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  1515. 'props.limit.solution': 'Deselecteer het segment en stop het scanproces. Klik dan op de rode \'✘\' (Clear report) knop',
  1516. 'props.reports.en': 'reports',
  1517. 'props.reports': 'meldingen',
  1518. 'props.noneditable.en': 'You cannot edit this segment',
  1519. 'props.noneditable': 'Je kunt dit segment niet bewerken',
  1520. 'report.save.en': 'Save this report',
  1521. 'report.save': 'Sla dit rapport op',
  1522. 'report.list.andUp.en': 'and up',
  1523. 'report.list.andUp': 'en meer',
  1524. 'report.list.severity.en': 'Severity:',
  1525. 'report.list.severity': 'Hevigheid:',
  1526. 'report.list.reportOnly.en': 'only in report',
  1527. 'report.list.reportOnly': 'alleen in rapportage',
  1528. 'report.list.forEditors.en': 'For editors level:',
  1529. 'report.list.forEditors': 'Voor bewerkers niveau:',
  1530. 'report.list.forCountries.en': 'For countries:',
  1531. 'report.list.forCountries': 'Voor landen:',
  1532. 'report.list.forStates.en': 'For states:',
  1533. 'report.list.forStates': 'Voor provincies:',
  1534. 'report.list.forCities.en': 'For cities:',
  1535. 'report.list.forCities': 'Voor steden:',
  1536. 'report.list.params.en': 'Params to configure in localization pack:',
  1537. 'report.list.params': 'Parameters om te configureren in lokalisatie:',
  1538. 'report.list.params.set.en': 'Current configuration for ${country}:',
  1539. 'report.list.params.set': 'Huidige configuratie voor ${country}:',
  1540. 'report.list.enabled.en': '${n} checks are enabled for',
  1541. 'report.list.enabled': '${n} controles zijn actief voor',
  1542. 'report.list.disabled.en': '${n} checks are disabled for',
  1543. 'report.list.disabled': '${n} controles zijn uitgeschakeld voor',
  1544. 'report.list.total.en': 'There are ${n} checks available',
  1545. 'report.list.total': 'Er zijn ${n} controles beschikbaar',
  1546. 'report.list.title.en': 'Complete List of Checks for',
  1547. 'report.list.title': 'Complete lijst met controles voor',
  1548. 'report.list.see.en': 'See',
  1549. 'report.list.see': 'Zie',
  1550. 'report.list.checks.en': 'Settings->About->Available checks',
  1551. 'report.list.checks': 'Instellingen->Over->Beschikbare controles',
  1552. 'report.list.fallback.en': 'Localization Fallback Rules:',
  1553. 'report.list.fallback': 'Lokalisatie terugval regels:',
  1554. 'report.and.en': 'and',
  1555. 'report.and': 'en',
  1556. 'report.segments.en': 'Total number of segments checked:',
  1557. 'report.segments': 'Totaal aantal gecontroleerde segmenten:',
  1558. 'report.customs.en': 'Custom checks matched (green/blue):',
  1559. 'report.customs': 'Er is een match aangepaste controles (groen/blauw):',
  1560. 'report.reported.en': 'Reported',
  1561. 'report.reported': 'Gerapporteerd',
  1562. 'report.errors.en': 'errors',
  1563. 'report.errors': 'fouten',
  1564. 'report.warnings.en': 'warnings',
  1565. 'report.warnings': 'waarschuwingen',
  1566. 'report.notes.en': 'notes',
  1567. 'report.notes': 'notities',
  1568. 'report.link.wiki.en': 'wiki',
  1569. 'report.link.wiki': 'wiki',
  1570. 'report.link.forum.en': 'forum',
  1571. 'report.link.forum': 'forum',
  1572. 'report.link.other.en': 'link',
  1573. 'report.link.other': 'link',
  1574. 'report.contents.en': 'Contents:',
  1575. 'report.contents': 'Inhoud:',
  1576. 'report.summary.en': 'Summary',
  1577. 'report.summary': 'Samenvatting',
  1578. 'report.title.en': 'WME Validator Report',
  1579. 'report.title': 'WME Validator Rapport',
  1580. 'report.share.en': 'to Share',
  1581. 'report.share': 'om te delen',
  1582. 'report.generated.by.en': 'generated by',
  1583. 'report.generated.by': 'gegenereerd door',
  1584. 'report.generated.on.en': 'on',
  1585. 'report.generated.on': 'op',
  1586. 'report.source.en': 'Report source:',
  1587. 'report.source': 'Rapportbron:',
  1588. 'report.filter.duplicate.en': 'duplicate segments',
  1589. 'report.filter.duplicate': 'dubbele segmenten',
  1590. 'report.filter.streets.en': 'Streets and Service Roads',
  1591. 'report.filter.streets': 'Straten en dienstwegen',
  1592. 'report.filter.other.en': 'Other drivable and Non-drivable',
  1593. 'report.filter.other': 'Andere berijdbare en niet berijdbare',
  1594. 'report.filter.noneditable.en': 'non-editable segments',
  1595. 'report.filter.noneditable': 'niet-bewerkbare segmenten',
  1596. 'report.filter.notes.en': 'notes',
  1597. 'report.filter.notes': 'notities',
  1598. 'report.filter.title.en': 'Filter:',
  1599. 'report.filter.title': 'Filter:',
  1600. 'report.filter.excluded.en': 'are excluded from this report.',
  1601. 'report.filter.excluded': 'zijn uitgezonderd van dit rapport.',
  1602. 'report.search.updated.by.en': 'updated by',
  1603. 'report.search.updated.by': 'bijgewerkt door',
  1604. 'report.search.updated.since.en': 'updated since',
  1605. 'report.search.updated.since': 'bijgewerkt sinds',
  1606. 'report.search.city.en': 'from',
  1607. 'report.search.city': 'van',
  1608. 'report.search.reported.en': 'reported as',
  1609. 'report.search.reported': 'gemeld',
  1610. 'report.search.title.en': 'Search:',
  1611. 'report.search.title': 'Zoeken:',
  1612. 'report.search.only.en': 'only segments',
  1613. 'report.search.only': 'alleen segmenten',
  1614. 'report.search.included.en': 'are included into the report.',
  1615. 'report.search.included': 'zijn opgenomen in het rapport.',
  1616. 'report.beta.warning.en': 'WME Beta Warning!',
  1617. 'report.beta.warning': 'WME Beta Waarschuwing!',
  1618. 'report.beta.text.en': 'This report is generated in beta WME with beta permalinks.',
  1619. 'report.beta.text': 'Dit rapport is gegenereerd in beta WME met bèta permalinks.',
  1620. 'report.beta.share.en': 'Please do not share those permalinks!',
  1621. 'report.beta.share': 'Gelieve deze permalinks niet te delen!',
  1622. 'report.size.warning.en':
  1623. '<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.',
  1624. 'report.size.warning':
  1625. '<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.',
  1626. 'report.note.limit.en': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  1627. 'report.note.limit': '* Let op: er waren te veel problemen gemeld, zodat een aantal van hen worden niet meegeteld in de samenvatting.',
  1628. 'report.forum.en': 'To motivate further development please leave your comment on the',
  1629. 'report.forum': 'Om verdere ontwikkeling te motiveren laat dan je commentaar achter op de',
  1630. 'report.forum.link.en': 'Waze forum thread.',
  1631. 'report.forum.link': 'Waze forum thread.',
  1632. 'report.thanks.en': 'Thank you for using WME Validator!',
  1633. 'report.thanks': 'Dank u voor het gebruik van de WME Validator!',
  1634. 'msg.limit.segments.en': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  1635. 'msg.limit.segments': 'Er zijn te veel segmenten.\n\nKlik op \'Toon rapport\' om het rapport door te nemen, vervolgens\n',
  1636. 'msg.limit.segments.continue.en': 'click \'▶\' (Play) to continue.',
  1637. 'msg.limit.segments.continue': 'klik \'▶\' (Play) om verder te gaan.',
  1638. 'msg.limit.segments.clear.en': 'click \'✘\' (Clear) to clear the report.',
  1639. 'msg.limit.segments.clear': 'klik \'✘\' (Löschen) om het rapport te verwijderen.',
  1640. 'msg.pan.text.en': 'Pan around to validate the map',
  1641. 'msg.pan.text': 'Schuif de kaart rond om de kaart te valideren',
  1642. 'msg.zoomout.text.en': 'Zoom out to start WME Validator',
  1643. 'msg.zoomout.text': 'Uitzoomen om WME Validator te beginnen',
  1644. 'msg.click.text.en': 'Click \'▶\' (Play) to validate visible map area',
  1645. 'msg.click.text': 'Klik \'▶\' (Play), om het zichtbare gebied op de kaart te valideren',
  1646. 'msg.autopaused.en': 'autopaused',
  1647. 'msg.autopaused': 'automatisch gepauzeerd',
  1648. 'msg.autopaused.text.en': 'Auto paused! Click \'▶\' (Play) to continue.',
  1649. 'msg.autopaused.text': 'Automatisch gepauzeerd! Om door te gaan klik op \'▶\' (Play).',
  1650. 'msg.autopaused.tip.en': 'WME Validator automatically paused on map drag or window size change',
  1651. 'msg.autopaused.tip': 'WME Validator is automatisch onderbroken wegen het verschuiven van de kaart of door een aanpassing van de venstergrootte',
  1652. 'msg.finished.text.en': 'Click <b>\'Show report\'</b> to review map issues',
  1653. 'msg.finished.text': 'Klik <b>\'Toon rapport\'</b> om kaart problemen te beoordelen',
  1654. 'msg.finished.tip.en': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  1655. 'msg.finished.tip': 'Klik op \'✉\' (Delen) om het rapport op een\nforum of privebericht te plaatsen',
  1656. 'msg.noissues.text.en': 'Finished! No issues found!',
  1657. 'msg.noissues.text': 'Klaar! Geen problemen gevonden!',
  1658. 'msg.noissues.tip.en': 'Try to uncheck some filter options or start WME Validator over another map area!',
  1659. 'msg.noissues.tip': 'Probeer een aantal filteropties uit te vinken of start WME Validator over een ander gebied op de kaart!',
  1660. 'msg.scanning.text.en': 'Scanning! Finishing in ~ ${n} min',
  1661. 'msg.scanning.text': 'Scannen! Klaar over ~ ${n} min',
  1662. 'msg.scanning.text.soon.en': 'Scanning! Finishing in a minute!',
  1663. 'msg.scanning.text.soon': 'Scannen! Klaar binnen een minuut!',
  1664. 'msg.scanning.tip.en': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  1665. 'msg.scanning.tip': 'Klik op \'pauze\' knop om te pauzeren of \'■\' (Stop) om te stoppen',
  1666. 'msg.starting.text.en': 'Starting! Layers are off to scan faster!',
  1667. 'msg.starting.text': 'Begonnen! Layers zijn uitgeschakeld om sneller te scannen!',
  1668. 'msg.starting.tip.en': 'Use \'Pause\' button to pause or \'■\' button to stop',
  1669. 'msg.starting.tip': 'Gebruik de \'Pause\' knop om te pauzeren of \'■\' knop om te stoppen',
  1670. 'msg.paused.text.en': 'On pause! Click \'▶\' (Play) button to continue.',
  1671. 'msg.paused.text': 'Gepauzeerd! Klik op \'▶\' (Play) knop om door te gaan.',
  1672. 'msg.paused.tip.en': 'To view the report click \'Show report\' button (if available)',
  1673. 'msg.paused.tip': 'Om het rapport te bekijken klik je op de \'Toon rapport\' knop (indien beschikbaar)',
  1674. 'msg.continuing.text.en': 'Continuing!',
  1675. 'msg.continuing.text': 'Doorgaan!',
  1676. 'msg.continuing.tip.en': 'WME Validator will continue from the location it was paused',
  1677. 'msg.continuing.tip': 'WME Validator zal doorgaan van de locatie waar het werd onderbroken',
  1678. 'msg.settings.text.en': 'Click <b>\'Back\'</b> to return to main view',
  1679. 'msg.settings.text': 'Klik <b>\'Terug\'</b> om terug te keren naar hoofdweergave',
  1680. 'msg.settings.tip.en': 'Click \'Reset defaults\' button to reset all settings in one click!',
  1681. 'msg.settings.tip': 'Klik op \'Herstel standaardinstellingen\' knop om alle instellingen in één klik resetten!',
  1682. 'msg.reset.text.en': 'All filter options and settings have been reset to their defaults',
  1683. 'msg.reset.text': 'Alle filter opties en instellingen zijn terug gezet naar de standaardwaarden',
  1684. 'msg.reset.tip.en': 'Click \'Back\' button to return to main view',
  1685. 'msg.reset.tip': 'Klik <b>\'Terug\'</b> om terug te keren naar de hoofdweergave',
  1686. 'msg.textarea.pack.en':
  1687. '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',
  1688. 'msg.textarea.pack':
  1689. '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',
  1690. 'msg.textarea.en': 'Please copy the text below and then paste it into your forum post or private message',
  1691. 'msg.textarea': 'Kopieer de onderstaande tekst en plak deze in je forum post of privebericht',
  1692. 'noaccess.text.en':
  1693. '<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.',
  1694. 'noaccess.text':
  1695. '<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>.',
  1696. 'noaccess.tip.en': 'Please check the forum thread for more information!',
  1697. 'noaccess.tip': 'Controleer de forum thread voor meer informatie!',
  1698. 'tab.switch.tip.on.en': 'Click to switch highlighting on (Alt+V)',
  1699. 'tab.switch.tip.on': 'Klik om het markeren aan te schakelen (Alt + V)',
  1700. 'tab.switch.tip.off.en': 'Click to switch highlighting off (Alt+V)',
  1701. 'tab.switch.tip.off': 'Klik om het markeren uit te schakelen (Alt+V)',
  1702. 'tab.filter.text.en': 'filter',
  1703. 'tab.filter.text': 'filter',
  1704. 'tab.filter.tip.en': 'Options to filter the report and highlighted segments',
  1705. 'tab.filter.tip': 'Opties om het rapport te filteren en gemarkeerd segmenten',
  1706. 'tab.search.text.en': 'search',
  1707. 'tab.search.text': 'zoeken',
  1708. 'tab.search.tip.en': 'Advanced filter options to include only specific segments',
  1709. 'tab.search.tip': 'Geavanceerde filteropties om alleen specifieke segmenten op te nemen',
  1710. 'tab.help.text.en': 'help',
  1711. 'tab.help.text': 'help',
  1712. 'tab.help.tip.en': 'Need help?',
  1713. 'tab.help.tip': 'Hulp nodig?',
  1714. 'filter.noneditables.text.en': 'Exclude <b>non-editable</b> segments',
  1715. 'filter.noneditables.text': 'Negeer <b>niet-bewerkbare</b> segmenten',
  1716. 'filter.noneditables.tip.en': 'Do not report locked segments or\nsegments outside of your editable areas',
  1717. 'filter.noneditables.tip': 'Rapporteer geen beveiligde segmenten of\nsegmenten buiten het gebied waar je mag bewerken',
  1718. 'filter.duplicates.text.en': 'Exclude <b>duplicate</b> segments',
  1719. 'filter.duplicates.text': '<b>Dubbele</b> segmenten uitsluiten',
  1720. 'filter.duplicates.tip.en': 'Do not show the same segment in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  1721. 'filter.duplicates.tip': 'Toon hetzelfde segment niet in verschillende\ndelen van het rapport\n* Opmerking: deze optie HEEFT GEEN invloed op het markeren',
  1722. 'filter.streets.text.en': 'Exclude <b>Streets and Service Roads</b>',
  1723. 'filter.streets.text': 'Negeer <b>wegen en dienstwegen</b>',
  1724. 'filter.streets.tip.en': 'Do not report Streets and Service Roads',
  1725. 'filter.streets.tip': 'Neem wegen en dienstwegen niet op in het rapport',
  1726. 'filter.other.text.en': 'Exclude <b>Other drivable and Non-drivable</b>',
  1727. 'filter.other.text': 'Negeer <b>Andere berijdbare en niet-berijdbare</b> segmenten',
  1728. 'filter.other.tip.en': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  1729. 'filter.other.tip': 'Niet melden van onverharde, parkeerplaats, privéwegen\n en niet-berijdbare segmenten',
  1730. 'filter.notes.text.en': 'Exclude <b>notes</b>',
  1731. 'filter.notes.text': 'Negeer <b>opmerkingen</b>',
  1732. 'filter.notes.tip.en': 'Report only warnings and errors',
  1733. 'filter.notes.tip': 'Rapporteer alleen waarschuwingen en fouten',
  1734. 'search.youredits.text.en': 'Include <b>only your edits</b>',
  1735. 'search.youredits.text': 'Toon <b>enkel eigen aanpassingen</b>',
  1736. 'search.youredits.tip.en': 'Include only segments edited by you',
  1737. 'search.youredits.tip': 'Omvat slechts segmenten bewerkt door u',
  1738. 'search.updatedby.text.en': '<b>Updated by*:</b>',
  1739. 'search.updatedby.text': '<b>Aangepast door*:</b>',
  1740. 'search.updatedby.tip.en':
  1741. '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',
  1742. 'search.updatedby.tip':
  1743. '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',
  1744. 'search.updatedby.example.en': 'Example: me',
  1745. 'search.updatedby.example': 'Voorbeeld: me',
  1746. 'search.updatedsince.text.en': '<b>Updated since:</b>',
  1747. 'search.updatedsince.text': '<b>Aangepast sinds:</b>',
  1748. 'search.updatedsince.tip.en': 'Include only segments edited since the date specified\nFirefox date format: YYYY-MM-DD',
  1749. 'search.updatedsince.tip': 'Toon enkel de segmenten die zijn gewijzigd sinds de opgegeven datum\nFirefox datum formaat: YYYY-MM-DD',
  1750. 'search.updatedsince.example.en': 'YYYY-MM-DD',
  1751. 'search.updatedsince.example': 'YYYY-MM-DD',
  1752. 'search.city.text.en': '<b>City name:</b>',
  1753. 'search.city.text': '<b>plaatsnaam:</b>',
  1754. '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, *',
  1755. 'search.city.tip': 'Neem alleen segmenten op met opgegeven plaatsnaam\nDit veld ondersteunt:\n - lijsten: Amsterdam, Potsdam\n - wildcards: Den * \n - Negation: !Amsterdam, *',
  1756. 'search.city.example.en': 'Example: !Paris, *',
  1757. 'search.city.example': 'Voorbeeld: !Amsterdam, *',
  1758. 'search.checks.text.en': '<b>Reported as:</b>',
  1759. 'search.checks.text': '<b>Rapporteer als:</b>',
  1760. 'search.checks.tip.en':
  1761. '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*, *',
  1762. 'search.checks.tip':
  1763. '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*, *',
  1764. 'search.checks.example.en': 'Example: reverse*',
  1765. 'search.checks.example': 'Voorbeeld: autoweg*',
  1766. 'help.text.en':
  1767. '<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>',
  1768. 'help.text':
  1769. '<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>',
  1770. 'help.tip.en': 'Open in a new browser tab',
  1771. 'help.tip': 'Open in een nieuw tabblad',
  1772. 'button.scan.tip.en': 'Start scanning current map area\n* Note: this might take few minutes',
  1773. 'button.scan.tip': 'Start het scannen van het huidige gebied op de kaart\n* Opmerking: dit kan een aantal minuten duren',
  1774. 'button.scan.tip.NA.en': 'Zoom out to start scanning current map area',
  1775. 'button.scan.tip.NA': 'Zoom uit om te beginnen met het scannen van het huidige gebied op de kaart',
  1776. 'button.pause.tip.en': 'Pause scanning',
  1777. 'button.pause.tip': 'Scannen pauzeren',
  1778. 'button.continue.tip.en': 'Continue scanning the map area',
  1779. 'button.continue.tip': 'Doorgaan met scannen van het gebied op de kaart',
  1780. 'button.stop.tip.en': 'Stop scanning and return to the start position',
  1781. 'button.stop.tip': 'Stop het scannen en keer terug naar de beginpositie',
  1782. 'button.clear.tip.en': 'Clear report and segment cache',
  1783. 'button.clear.tip': 'Wissen rapport en segment cache',
  1784. '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.',
  1785. 'button.clear.tip.red':
  1786. '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.',
  1787. 'button.report.text.en': 'Show report',
  1788. 'button.report.text': 'Toon rapport',
  1789. 'button.report.tip.en': 'Apply the filter and generate HTML report in a new tab',
  1790. 'button.report.tip': 'Pas het filter toe en genereer het HTML-rapport in een nieuw tabblad',
  1791. 'button.BBreport.tip.en': 'Share the report on Waze forum or in a private message',
  1792. 'button.BBreport.tip': 'Deel het rapport op het Waze forum of in een privé-bericht',
  1793. 'button.settings.tip.en': 'Configure settings',
  1794. 'button.settings.tip': 'Instellingen aanpassen',
  1795. 'tab.custom.text.en': 'custom',
  1796. 'tab.custom.text': 'eigen instelling',
  1797. 'tab.custom.tip.en': 'User-defined custom checks settings',
  1798. 'tab.custom.tip': 'Door gebruiker aangepaste controle instellingen',
  1799. 'tab.settings.text.en': 'Settings',
  1800. 'tab.settings.text': 'Instellingen',
  1801. 'tab.scanner.text.en': 'scanner',
  1802. 'tab.scanner.text': 'scanner',
  1803. 'tab.scanner.tip.en': 'Map scanner settings',
  1804. 'tab.scanner.tip': 'Instellingen Kaartscanner',
  1805. 'tab.about.text.en': 'about</span>',
  1806. 'tab.about.text': 'over</span>',
  1807. 'tab.about.tip.en': 'About WME Validator',
  1808. 'tab.about.tip': 'Over WME Validator',
  1809. 'scanner.sounds.text.en': 'Enable sounds',
  1810. 'scanner.sounds.text': 'Gebruik geluiden',
  1811. 'scanner.sounds.tip.en': 'Bleeps and the bloops while scanning',
  1812. 'scanner.sounds.tip': 'Activeer de geluiden tijden het scannen',
  1813. 'scanner.sounds.NA.en': 'Your browser does not support AudioContext',
  1814. 'scanner.sounds.NA': 'Je browser ondersteunt geen AudioContext',
  1815. 'scanner.highlight.text.en': 'Highlight issues on the map',
  1816. 'scanner.highlight.text': 'Markeer problemen op de kaart',
  1817. 'scanner.highlight.tip.en': 'Highlight reported issues on the map',
  1818. 'scanner.highlight.tip': 'Markeer gevonden problemen op de kaart',
  1819. 'scanner.slow.text.en': 'Enable "slow" checks',
  1820. 'scanner.slow.text': '"Langzame" controles activeren',
  1821. 'scanner.slow.tip.en': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  1822. 'scanner.slow.tip': 'Activeert diepe kaartanalyse\n* Opmerking: deze optie zou het scanproces kunnen vertragen',
  1823. 'scanner.ext.text.en': 'Report external highlights',
  1824. 'scanner.ext.text': 'Meld externe markeringen',
  1825. 'scanner.ext.tip.en': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  1826. 'scanner.ext.tip': 'Rapporteer segmenten gemarkeerd door WME Toolbox of WME Color Highlights',
  1827. 'advanced.twoway.text.en': 'WME: Two-way segments by default',
  1828. 'advanced.twoway.text': 'WME: Nieuwe segmenten tweerichtingsverkeer standaard',
  1829. 'advanced.twoway.tip.en': 'Newly created streets in WME are bidirectional by default',
  1830. 'advanced.twoway.tip': 'Nieuwe segmenten zijn standaard tweerichtingsverkeer',
  1831. 'custom.template.text.en': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Custom template</a>',
  1832. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Aangepast sjabloon</a>',
  1833. 'custom.template.tip.en':
  1834. '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}',
  1835. 'custom.template.tip':
  1836. '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}',
  1837. 'custom.template.example.en': 'Example: ${street}',
  1838. 'custom.template.example': 'Voorbeeld: ${street}',
  1839. 'custom.regexp.text.en': 'Custom <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1840. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Eigen RegExp</a>',
  1841. 'custom.regexp.tip.en':
  1842. '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/',
  1843. 'custom.regexp.tip':
  1844. '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/',
  1845. 'custom.regexp.example.en': 'Example: !/.+/',
  1846. 'custom.regexp.example': 'Voorbeeld: !/.+/',
  1847. 'about.tip.en': 'Open link in a new tab',
  1848. 'about.tip': 'Link in nieuw tabblad openen',
  1849. 'button.reset.text.en': 'Reset defaults',
  1850. 'button.reset.text': 'Herstel standaardinstellingen',
  1851. 'button.reset.tip.en': 'Revert filter options and settings to their defaults',
  1852. 'button.reset.tip': 'Filter opties en instellingen herstellen naar de standaardwaarden',
  1853. 'button.list.text.en': 'Available checks...',
  1854. 'button.list.text': 'Beschikbare controles...',
  1855. 'button.list.tip.en': 'Show a list of checks available in WME Validator',
  1856. 'button.list.tip': 'Toon een lijst met beschikbare controles in WME Validator',
  1857. 'button.wizard.tip.en': 'Create localization package',
  1858. 'button.wizard.tip': 'Maak lokalisatie pakket aan',
  1859. 'button.back.text.en': 'Back',
  1860. 'button.back.text': 'Terug',
  1861. 'button.back.tip.en': 'Close settings and return to main view',
  1862. 'button.back.tip': 'Sluit de instellingen en keer terug naar de hoofdweergave',
  1863. '1.title.en': 'WME Toolbox: Roundabout which may cause issues',
  1864. '1.title': 'WME Toolbox: Rotonde die problemen kan veroorzaken (rotonde verkeer problematisch)',
  1865. '1.problem.en': 'Junction IDs of the roundabout segments are not consecutive',
  1866. '1.problem': 'Knooppunt-ID\'s van de rotonde segmenten zijn niet opeenvolgend',
  1867. '1.solution.en': 'Redo the roundabout',
  1868. '1.solution': 'Rotonde opnieuw doen',
  1869. '2.title.en': 'WME Toolbox: Simple segment',
  1870. '2.title': 'WME Toolbox: Moeilijk segment (Te veel geometrie knooppunten)',
  1871. '2.problem.en': 'The segment has unneeded geometry nodes',
  1872. '2.problem': 'Het segment heeft onnodige geometrie knooppunten',
  1873. '2.solution.en': 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  1874. '2.solution': 'Vereenvoudig segment geometrie door de muisaanwijzing boven het punt te brengen en de "d" toets in te drukken',
  1875. '3.title.en': 'WME Toolbox: Lvl 2 lock',
  1876. '3.title': 'WME Toolbox: Lvl 2 Lock',
  1877. '3.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1878. '3.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1879. '4.title.en': 'WME Toolbox: Lvl 3 lock',
  1880. '4.title': 'WME Toolbox: Lvl 3 Lock',
  1881. '4.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1882. '4.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem.',
  1883. '5.title.en': 'WME Toolbox: Lvl 4 lock',
  1884. '5.title': 'WME Toolbox: Lvl 4 Lock',
  1885. '5.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1886. '5.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1887. '6.title.en': 'WME Toolbox: Lvl 5 lock',
  1888. '6.title': 'WME Toolbox: Lvl 5 Lock',
  1889. '6.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1890. '6.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1891. '7.title.en': 'WME Toolbox: Lvl 6 lock',
  1892. '7.title': 'WME Toolbox: Lvl 6 Lock',
  1893. '7.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1894. '7.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1895. '8.title.en': 'WME Toolbox: House numbers',
  1896. '8.title': 'WME Toolbox: Huisnummers',
  1897. '8.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1898. '8.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1899. '9.title.en': 'WME Toolbox: Segment with time restrictions',
  1900. '9.title': 'WME Toolbox: Segment met tijdsrestricties',
  1901. '9.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1902. '9.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1903. '13.title.en': 'WME Color Highlights: Editor lock',
  1904. '13.title': 'WME Color Highlights: Editor lock',
  1905. '13.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1906. '13.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1907. '14.title.en': 'WME Color Highlights: Toll road / One way road',
  1908. '14.title': 'WME Color Highlights: Toll road / One way road (Tol- / Eenrichtings-straat)',
  1909. '14.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1910. '14.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1911. '15.title.en': 'WME Color Highlights: Recently edited',
  1912. '15.title': 'WME Color Highlights: Recently edited (Kürzlich editiert)',
  1913. '15.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1914. '15.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1915. '16.title.en': 'WME Color Highlights: Road rank',
  1916. '16.title': 'WME Color Highlights: Road type',
  1917. '16.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1918. '16.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1919. '17.title.en': 'WME Color Highlights: No city',
  1920. '17.title': 'WME Color Highlights: No city (Keine Stadt)',
  1921. '17.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1922. '17.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1923. '18.title.en': 'WME Color Highlights: Time restriction / Highlighted road type',
  1924. '18.title': 'WME Color Highlights: Time restriction / Highlighted road type',
  1925. '18.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1926. '18.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1927. '19.title.en': 'WME Color Highlights: No name',
  1928. '19.title': 'WME Color Highlights: No name (Kein Straßenname)',
  1929. '19.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1930. '19.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1931. '20.title.en': 'WME Color Highlights: Filter by city',
  1932. '20.title': 'WME Color Highlights: Filter by city (Stadt-Filter)',
  1933. '20.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1934. '20.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1935. '21.title.en': 'WME Color Highlights: Filter by city (alt. city)',
  1936. '21.title': 'WME Color Highlights: Filter by city (alt. city)',
  1937. '21.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1938. '21.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1939. '22.title.en': 'WME Color Highlights: Filter by editor',
  1940. '22.title': 'WME Color Highlights: Filter by editor (Editor-Filter)',
  1941. '22.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1942. '22.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1943. '23.title.en': 'Unconfirmed road',
  1944. '23.title': 'Onbevestigde straat',
  1945. '23.problem.en': 'Each segment must minimally have the Country and State information',
  1946. '23.problem': 'Elk segment moet minimaal informatie hebben over het land en plaats',
  1947. '23.solution.en': 'Confirm the road by updating its details',
  1948. '23.solution': 'Bevestig de straat door ofwel de plaats danwel de straatnaam in te voeren.',
  1949. '24.title.en': 'Might be incorrect city name (only available in the report)',
  1950. '24.title': 'Eventueel verkeerde plaatsnaam (alleen beschikbaar in het rapport)',
  1951. '24.problem.en': 'The segment might have incorrect city name',
  1952. '24.problem': 'Het segment heeft misschien een verkeerde plaatsnaam',
  1953. '24.solution.en': 'Consider suggested city name and use this form to rename the city',
  1954. '24.solution': 'Overweeg de voorgestelde plaatsnaam en gebruik dit formulier om de naam te wijzigen',
  1955. '25.title.en': 'Unknown direction of drivable road',
  1956. '25.title': 'Onbekende rijrichting van berijdbare weg',
  1957. '25.problem.en': '\'Unknown\' road direction will not prevent routing on the road',
  1958. '25.problem': '\'Onbekende\' rijrichting zal niet voorkomen dat er genavigeerd wordt over de weg',
  1959. '25.solution.en': 'Set the road direction',
  1960. '25.solution': 'Stel de rijrichting in',
  1961. '28.title.en': 'Street name on two-way Ramp',
  1962. '28.title': 'Straatnaam op tweebaans voegstrook',
  1963. '28.problem.en': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  1964. '28.problem': 'Als de op/afrit geen naam heeft, zal de naam van de volgende straat worden overgenomen',
  1965. '28.solution.en': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  1966. '28.solution': 'In de adreseigenschappen vink \'Geen\' aan naast de straatnaam en klik op \'Toepassen\'',
  1967. '29.title.en': 'Street name on roundabout',
  1968. '29.title': 'Straatnaam op rotonde',
  1969. '29.problem.en': 'In Waze, we do not name roundabout segments',
  1970. '29.problem': 'In Waze geven we rotondes geen straatnamen',
  1971. '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',
  1972. '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',
  1973. '33.enabled': false,
  1974. '34.title.en': 'Empty alternate street',
  1975. '34.title': 'Lege alternatieve straatnaam',
  1976. '34.problem.en': 'Alternate street name is empty',
  1977. '34.problem': 'De alternatieve straatnaam is leeg',
  1978. '34.solution.en': 'Remove empty alternate street name',
  1979. '34.solution': 'Verwijder de lege alternatieve straatnaam',
  1980. '35.title.en': 'Unterminated drivable road',
  1981. '35.title': 'Geen eindnode op berijdbare weg',
  1982. '35.problem.en': 'Waze will not route from the unterminated segment',
  1983. '35.problem': 'Waze zal niet routeren vanaf segmenten zonder eindnode',
  1984. '35.solution.en': 'Move the segment a bit so the terminating node will be added automatically',
  1985. '35.solution': 'Verplaats het segment een beetje zodat de eindnode automatisch zal worden toegevoegd',
  1986. '36.enabled': true,
  1987. '36.title.en': 'Node A: Unneeded (slow)',
  1988. '36.title': 'Node A: Onnodig (langzaam)',
  1989. '36.problem.en': 'Adjacent segments at node A are identical',
  1990. '36.problem': 'De segmenten naast node A zijn identiek',
  1991. '36.solution.en': 'Select node A and press Delete key to join the segments',
  1992. '36.solution': 'Selecteer node A en druk op Delete om de segmenten samen te voegen',
  1993. '37.enabled': true,
  1994. '37.title.en': 'Node B: Unneeded (slow)',
  1995. '37.title': 'Node B: Onnodig (langzaam)',
  1996. '37.problem.en': 'Adjacent segments at node B are identical',
  1997. '37.problem': 'De segmenten naast node B zijn identiek',
  1998. '37.solution.en': 'Select node B and press Delete key to join the segments',
  1999. '37.solution': 'Selecteer node B en druk op Delete om de segmenten samen te voegen',
  2000. '38.title.en': 'Expired segment restriction (slow)',
  2001. '38.title': 'Verlopen segment beperking (langzaam)',
  2002. '38.problem.en': 'The segment has an expired restriction',
  2003. '38.problem': 'Het segment heeft een verlopen beperking',
  2004. '38.solution.en': 'Click \'Edit restrictions\' and delete the expired restriction',
  2005. '38.solution': 'Klik op \'Bewerken restricties\' en verwijder de verstreken beperking',
  2006. '39.title.en': 'Expired turn restriction (slow)',
  2007. '39.title': 'Verlopen beperking op afslag (langzaam)',
  2008. '39.problem.en': 'The segment has a turn with an expired restriction',
  2009. '39.problem': 'Het segment heeft een afslag met een verlopen beperking',
  2010. '39.solution.en': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  2011. '39.solution': 'Klik klok pictogram naast de gele pijl en verwijder de verlopen beperking',
  2012. '41.title.en': 'Node A: Reverse connectivity of drivable road',
  2013. '41.title': 'Node A: Omgekeerde connectiviteit van berijdbare weg',
  2014. '41.problem.en': 'There is a turn which goes against the directionality of the segment at node A',
  2015. '41.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt A',
  2016. '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',
  2017. '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)\'',
  2018. '42.title.en': 'Node B: Reverse connectivity of drivable road',
  2019. '42.title': 'Node B: Omgekeerde connectiviteit van berijdbare weg',
  2020. '42.problem.en': 'There is a turn which goes against the directionality of the segment at node B',
  2021. '42.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt B',
  2022. '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',
  2023. '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)\'',
  2024. '43.title.en': 'Self connectivity',
  2025. '43.title': 'Zelf verbinding',
  2026. '43.problem.en': 'The segment is connected back to itself',
  2027. '43.problem': 'Het segment is met zichzelf verbonden',
  2028. '43.solution.en': 'Split the segment into THREE pieces',
  2029. '43.solution': 'Verdeel het segment in DRIE stukken',
  2030. '44.title.en': 'No outward connectivity',
  2031. '44.title': 'Geen verbinding naar buiten',
  2032. '44.problem.en': 'The drivable segment has no single outward turn enabled',
  2033. '44.problem': 'Het berijdbare segment heeft geen enkele verbinding naar buiten',
  2034. '44.solution.en': 'Enable at least one outward turn from the segment',
  2035. '44.solution': 'Verbind het segment minstens eenmaal met het verkeersnet',
  2036. '45.title.en': 'No inward connectivity',
  2037. '45.title': 'Geen verbinding naar binnen',
  2038. '45.problem.en': 'The drivable non-private segment has no single inward turn enabled',
  2039. '45.problem': 'Het berijdbare niet-privé segment heeft geen enkele verbinding naar het segment toe',
  2040. '45.solution.en': 'Select an adjacent segment and enable at least one turn to the segment',
  2041. '45.solution': 'Selecteer het segment en sta minstens één inwaartse verbinding toe',
  2042. '46.title.en': 'Node A: No inward connectivity of drivable road (slow)',
  2043. '46.title': 'Node A: Geen naar binnen connectiviteit van berijdbare weg (langzaam)',
  2044. '46.problem.en': 'The drivable non-private segment has no single inward turn enabled at node A',
  2045. '46.problem': 'De berijdbare niet-particuliere segment heeft geen enkele naar binnen wijzende verbinding ingeschakeld op knooppunt A',
  2046. '46.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  2047. '46.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij knooppunt A in',
  2048. '47.title.en': 'Node B: No inward connectivity of drivable road (slow)',
  2049. '47.title': 'Node B: Het berijdbare segment heeft geen enkele verbinding naar het segment toe (langzaam)',
  2050. '47.problem.en': 'The drivable non-private segment has no single inward turn enabled at node B',
  2051. '47.problem': 'Het berijdbare (niet prive) segment heeft geen enkele verbinding naar het segment toe bij node B',
  2052. '47.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  2053. '47.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij node B',
  2054. '48.title.en': 'Two-way drivable roundabout segment',
  2055. '48.title': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2056. '48.problem.en': 'The drivable roundabout segment is bidirectional',
  2057. '48.problem': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2058. '48.solution.en': 'Redo the roundabout',
  2059. '48.solution': 'Maak de rotonde opnieuw',
  2060. '59.title.en': 'City name on Freeway',
  2061. '59.title': 'Plaatsnaam op snelweg',
  2062. '59.problem.en': 'City name on the Freeway may cause a city smudge',
  2063. '59.problem': 'Plaatsnaam op de snelweg kan het uitsmeren van een stad veroorzaken',
  2064. '59.problemLink': 'W:Netherlands/Freeway',
  2065. '59.solution.en': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  2066. '59.solution': 'In de adreseigenschappen stel de plaatsnaam in op \'Geen\' en klik op \'toepassen\'',
  2067. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  2068. '71.enabled': true,
  2069. '71.problemLink': 'W:Netherlands/Major_Highway',
  2070. '71.title.en': 'Must be a Major Highway',
  2071. '71.title': 'Moet een Major Highway zijn',
  2072. '71.problem.en': 'This segment must be a Major Highway',
  2073. '71.problem': 'Dit segment moet een Major Highway zijn',
  2074. '71.solution.en': 'Set the road type to Major Highway or change the road name',
  2075. '71.solution': 'Stel het wegtype in op Major Highway of verander de straatnaam',
  2076. '72.enabled': true,
  2077. '72.problemLink': 'W:Netherlands/Minor_Highway',
  2078. '72.title.en': 'Must be a Minor Highway',
  2079. '72.title': 'Dit moet een Minor Highway zijn',
  2080. '72.problem.en': 'This segment must be a Minor Highway',
  2081. '72.problem': 'Dit segment moet een Minor Highway zijn',
  2082. '72.solution.en': 'Set the road type to Minor Highway or change the road name',
  2083. '72.solution': 'Stel het wegtype in op Minor Highway of verander de straatnaam',
  2084. '78.title.en': 'Same endpoints drivable segments (slow)',
  2085. '78.title': 'Dezelfde eindpunten voor berijdbare segmenten (langzaam)',
  2086. '78.problem.en': 'Two drivable segments share the same two endpoints',
  2087. '78.problem': 'Twee berijdbare segmenten delen dezelfde twee eindpunten',
  2088. '78.solution.en': 'Split the segment. You might also remove one of the segments if they are identical',
  2089. '78.solution': 'Splits het segment. Je zou ook een segment kunnen verwijderen als ze identiek zijn',
  2090. '87.title.en': 'Node A: Multiple outgoing segments at roundabout',
  2091. '87.title': 'Node A: Meerdere uitgaande segmenten voor rotonde',
  2092. '87.problem.en': 'The drivable roundabout node A has more than one outgoing segment connected',
  2093. '87.problem': 'De berijdbare rotonde knooppunt A heeft meerdere uitgaande segmenten verbonden',
  2094. '87.solution.en': 'Redo the roundabout',
  2095. '87.solution': 'Maak de rotonde opnieuw',
  2096. '99.title.en': 'U-turn at roundabout entrance (slow)',
  2097. '99.title': 'U-bocht op rotonde (langzaam)',
  2098. '99.problem.en': 'The roundabout entrance segment has a U-turn enabled',
  2099. '99.problem': 'De berijdbare rotondenode heeft een U-bocht toegestaan',
  2100. '99.solution.en': 'Disable U-turn',
  2101. '99.solution': 'Zet de U-bocht uit',
  2102. '101.title.en': 'Closed road (only available in the report)',
  2103. '101.title': 'Afgesloten weg (enkel beschikbaar in het rapport)',
  2104. '101.problem.en': 'The segment is marked as closed',
  2105. '101.problem': 'Het segment is gemarkeerd als afgesloten',
  2106. '101.solution.en': 'If the construction is done, restore the segment connectivity and remove the suffix',
  2107. '101.solution': 'Als de wegwerkzaamheden klaar zijn, herstel dan de verbinding van het segment en verwijder de aanvulling',
  2108. '101.params': {'regexp': '/(^|\\b)afgesloten(\\b|$)/i'},
  2109. '102.title.en': 'Node A: No outward connectivity of drivable road (slow)',
  2110. '102.title': 'Node A: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2111. '102.problem.en': 'The drivable segment has no single outward turn enabled at node A',
  2112. '102.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node A',
  2113. '102.solution.en': 'Enable at least one outward turn from the segment at node A',
  2114. '102.solution': 'Zet minstens 1 uitgaande verbinding aan bij node A',
  2115. '103.title.en': 'Node B: No outward connectivity of drivable road (slow)',
  2116. '103.title': 'Node B: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2117. '103.problem.en': 'The drivable segment has no single outward turn enabled at node B',
  2118. '103.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node B',
  2119. '103.solution.en': 'Enable at least one outward turn from the segment at node B',
  2120. '103.solution': 'Zet minstens 1 uitgaande verbinding aan bij node B',
  2121. '104.title.en': 'Railroad used for comments',
  2122. '104.title': 'Spoorweg gebruikt als commentaar',
  2123. '104.problem.en': 'The Railroad segment is probably used as a map comment',
  2124. '104.problem': 'Het spoorweg segment wordt waarschijnelijk gebruikt als kaartopmerking',
  2125. '104.solution.en': 'Remove the comment as Railroads will be added to the client display',
  2126. '104.solution': 'Verwijder het commentaar, spoorwegen worden weergegeven in de client',
  2127. '107.title.en': 'Node A: No connection (slow)',
  2128. '107.title': 'Node A: Geen verbinding (langzaam)',
  2129. '107.problem.en': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2130. '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',
  2131. '107.solution.en': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  2132. '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',
  2133. '108.title.en': 'Node B: No connection (slow)',
  2134. '108.title': 'Node B: Geen verbinding (langzaam)',
  2135. '108.problem.en': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2136. '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',
  2137. '108.solution.en': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  2138. '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',
  2139. '109.title.en': 'Too short segment',
  2140. '109.title': 'Te kort segment',
  2141. '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',
  2142. '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',
  2143. '109.solution.en': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  2144. '109.solution': 'Verleng het segment, of verwijder het segment, of voeg het segment samen met een van de omliggende segmenten',
  2145. '112.title.en': 'Too long Ramp name',
  2146. '112.title': 'Op/afrit naam te lang',
  2147. '112.problem.en': 'The Ramp name is more than ${n} letters long',
  2148. '112.problem': 'Op/afrit naam is langer dan ${n} tekens lang',
  2149. '112.solution.en': 'Shorten the Ramp name',
  2150. '112.solution': 'Verkort de naam',
  2151. '114.enabled': false,
  2152. '114.title.en': 'Node A: Non-drivable connected to drivable (slow)',
  2153. '114.title': 'Node A: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2154. '114.problem.en': 'The non-drivable segment makes a junction with a drivable at node A',
  2155. '114.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node A',
  2156. '114.solution.en': 'Disconnect node A from all of the drivable segments',
  2157. '114.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node A',
  2158. '115.enabled': false,
  2159. '115.title.en': 'Node B: Non-drivable connected to drivable (slow)',
  2160. '115.title': 'Node B: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2161. '115.problem.en': 'The non-drivable segment makes a junction with a drivable at node B',
  2162. '115.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node B',
  2163. '115.solution.en': 'Disconnect node B from all of the drivable segments',
  2164. '115.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node B',
  2165. '116.title.en': 'Out of range elevation',
  2166. '116.title': 'Hoogte buiten bereik',
  2167. '116.problem.en': 'The segment elevation is out of range',
  2168. '116.problem': 'De elevatie van het segment is buiten bereik',
  2169. '116.solution.en': 'Correct the elevation',
  2170. '116.solution': 'Corrigeer de hoogte',
  2171. '117.title.en': 'Obsolete CONST ZN marker',
  2172. '117.title': 'CONST ZN markering verouderd',
  2173. '117.problem.en': 'The segment is marked with obsolete CONST ZN suffix',
  2174. '117.problem': 'Het segment is gemarkeerd met een verouderde CONST ZN toevoeging',
  2175. '117.solution.en': 'Change CONST ZN to (closed)',
  2176. '117.solution': 'Verander CONST ZN naar (afgesloten)',
  2177. '118.title.en': 'Node A: Overlapping segments (slow)',
  2178. '118.title': 'Node A: Overlappende segmenten (langzaam)',
  2179. '118.problem.en': 'The segment is overlapping with the adjacent segment at node A',
  2180. '118.problem': 'Het segment overlapt het aangrenzende segment bij node A',
  2181. '118.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  2182. '118.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node A',
  2183. '119.title.en': 'Node B: Overlapping segments (slow)',
  2184. '119.title': 'Node B: Overlappende segmenten (langzaam)',
  2185. '119.problem.en': 'The segment is overlapping with the adjacent segment at node B',
  2186. '119.problem': 'Het segment overlapt het aangrenzende segment bij node B',
  2187. '119.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  2188. '119.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node B',
  2189. '120.title.en': 'Node A: Too sharp turn (slow)',
  2190. '120.title': 'Node A: Te scherpe bocht (langzaam)',
  2191. '120.problem.en': 'The drivable segment has a very acute turn at node A',
  2192. '120.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij node A',
  2193. '120.solution.en': 'Disable the sharp turn at node A or spread the segments at 30°',
  2194. '120.solution': 'Sta de scherpe bocht bij node A niet toe of maak de hoek groter dan 30°',
  2195. '121.title.en': 'Node B: Too sharp turn (slow)',
  2196. '121.title': 'Node B: Te scherpe bocht (langzaam)',
  2197. '121.problem.en': 'The drivable segment has a very acute turn at node B',
  2198. '121.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij B',
  2199. '121.solution.en': 'Disable the sharp turn at node B or spread the segments at 30°',
  2200. '121.solution': 'Sta de scherpe bocht bij node B niet toe of maak de hoek groter dan 30°',
  2201. '128.title.en': 'User-defined custom check (green)',
  2202. '128.title': 'Door de gebruiker gedefinieerde aangepaste controle (groen)',
  2203. '128.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2204. '128.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2205. '128.solution.en': 'Solve the issue',
  2206. '128.solution': 'Los het probleem op',
  2207. '129.title.en': 'User-defined custom check (blue)',
  2208. '129.title': 'Door de gebruiker gedefinieerde aangepaste controle (blauw)',
  2209. '129.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2210. '129.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2211. '129.solution.en': 'Solve the issue',
  2212. '129.solution': 'Los het probleem op',
  2213. '150.enabled': true,
  2214. '150.problemLink': 'W:Netherlands/Freeway',
  2215. '150.title.en': 'No lock on Freeway',
  2216. '150.title': 'Geen lock op snelweg',
  2217. '150.problem.en': 'The Freeway segment should be locked at least to Lvl ${n}',
  2218. '150.problem': 'De snelweg moet op tenminste Lvl ${n} gelockt zijn',
  2219. '150.solution.en': 'Lock the segment',
  2220. '150.solution': 'Lock het segment',
  2221. '151.enabled': true,
  2222. '151.problemLink': 'W:Netherlands/Major_Highway',
  2223. '151.title.en': 'No lock on Major Highway',
  2224. '151.title': 'Geen lock op Major Highway',
  2225. '151.problem.en': 'The Major Highway segment should be locked at least to Lvl ${n}',
  2226. '151.problem': 'Het Major Highway segment moet gelockt zijn op Lvl ${n}',
  2227. '151.solution.en': 'Lock the segment',
  2228. '151.solution': 'Lock het segment',
  2229. '152.enabled': true,
  2230. '152.problemLink': 'W:Netherlands/Minor_Highway',
  2231. '152.title.en': 'No lock on Minor Highway',
  2232. '152.title': 'Geen lock op Minor Highway',
  2233. '152.problem.en': 'The Minor Highway segment should be locked at least to Lvl ${n}',
  2234. '152.problem': 'Het Minor Highway segment moet gelockt zijn op Lvl ${n}',
  2235. '152.solution.en': 'Lock the segment',
  2236. '152.solution': 'Lock het segment',
  2237. '153.enabled': true,
  2238. '153.problemLink': 'W:Netherlands/Ramp',
  2239. '153.title.en': 'No lock on Ramp',
  2240. '153.title': 'Geen lock op op/afrit',
  2241. '153.problem.en': 'The Ramp segment should be locked at least to Lvl ${n}',
  2242. '153.problem': 'De op/afrit zou minimaal gelockt moeten zijn op Lvl ${n}',
  2243. '153.params': {'n': 4},
  2244. '154.enabled': true,
  2245. '154.problemLink': 'W:Netherlands/Primary_Street',
  2246. '154.title.en': 'No lock on Primary Street',
  2247. '154.title': 'Geen lock op hoofdweg',
  2248. '154.problem.en': 'The Primary Street segment should be locked at least to Lvl ${n}',
  2249. '154.problem': 'De hoofdweg zou minimaal gelockt moeten zijn op Lvl ${n}',
  2250. '154.solution.en': 'Lock the segment',
  2251. '154.solution': 'Lock het segment',
  2252. '160.enabled': false,
  2253. '161.enabled': true,
  2254. '161.params': {
  2255. 'solutionEN': 'Rename the Major Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2256. 'regexp': '!/^N([0-9]|[0-9][0-9]|[123][0-9][0-9])( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2257. },
  2258. '161.problemLink': 'W:Netherlands/Major_Highway',
  2259. '161.title.en': 'Incorrect Major Highway name',
  2260. '161.title': 'Verkeerde Major Highway naam',
  2261. '161.problem.en': 'The Major Highway segment has incorrect street name',
  2262. '161.problem': 'Het Major Highway segment heeft een verkeerde straatnaam',
  2263. '161.solution.en': 'Rename the segment in accordance with the guidelines',
  2264. '161.solution': 'Hernoem het segment volgens de richtlijnen',
  2265. '162.enabled': true,
  2266. '162.params': {
  2267. 'solutionEN': 'Rename the Minor Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2268. 'regexp': '!/^(N[4-9][0-9][0-9]|[SU][0-9]+)( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2269. },
  2270. '162.problemLink': 'W:Netherlands/Minor_Highway',
  2271. '162.title.en': 'Incorrect Minor Highway name',
  2272. '162.title': 'Verkeerde Minor Highway naam',
  2273. '162.problem.en': 'The Minor Highway segment has incorrect street name',
  2274. '162.problem': 'Het Minor Highway segment heeft een verkeerde straatnaam',
  2275. '162.solution.en': 'Rename the segment in accordance with the guidelines',
  2276. '162.solution': 'Hernoem het segment volgens de richtlijnen. LET OP! Er zijn uitzonderingen voor bepaalde belangrijke regionale wegen. In geval van twijfel, eerst overleggen!',
  2277. '172.title.en': 'Unneeded spaces in street name',
  2278. '172.title': 'Onnodige spaties in de straatnaam',
  2279. '172.problem.en': 'Leading/trailing/double space in the street name',
  2280. '172.problem': 'Overbodige spaties voor/achter/in de straatnaam',
  2281. '172.solution.en': 'Remove unneeded spaces from the street name',
  2282. '172.solution': 'Verwijder de overbodige spaties in de straatnaam',
  2283. '173.title.en': 'No space before/after street abbreviation',
  2284. '173.title': 'Geen spatie voor/achter de straat afkorting',
  2285. '173.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  2286. '173.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de straatnaam',
  2287. '173.solution.en': 'Add a space before/after the abbreviation',
  2288. '173.solution': 'Voeg een spatie voor/achter de afkorting toe',
  2289. '175.title.en': 'Empty street name',
  2290. '175.title': 'Lege straatnaam',
  2291. '175.problem.en': 'The street name has only space characters or a dot',
  2292. '175.problem': 'De straatnaam heeft alleen spaties of punt(en)',
  2293. '175.solution.en': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  2294. '175.solution': 'In de adreseigenschappen vink de \'Geen\' optie aan naast de straatnaam, klik op \'Toepassen\' OF vul de juiste straatnaam in',
  2295. '190.title.en': 'Lowercase city name',
  2296. '190.title': 'Plaatsnaam in kleine letters',
  2297. '190.problem.en': 'The city name starts with a lowercase letter',
  2298. '190.problem': 'De plaatsnaam begint met een kleine letter',
  2299. '190.solution.en': 'Use this form to rename the city',
  2300. '190.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2301. '192.title.en': 'Unneeded spaces in city name',
  2302. '192.title': 'Onnodige spaties in de plaatsnaam',
  2303. '192.problem.en': 'Leading/trailing/double space in the city name',
  2304. '192.problem': 'Overbodige spaties voor/achter/in de plaatsnaam',
  2305. '192.solution.en': 'Use this form to rename the city',
  2306. '192.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2307. '193.title.en': 'No space before/after city abbreviation',
  2308. '193.title': 'Geen spatie voor/achter de afkorting in de plaatsnaam',
  2309. '193.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  2310. '193.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de plaatsnaam',
  2311. '193.solution.en': 'Use this form to rename the city',
  2312. '193.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2313. '200.title.en': 'Node A: Unconfirmed turn on minor road',
  2314. '200.title': 'Node A: Onbevestigde verbinding op weg',
  2315. '200.problem.en': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  2316. '200.problem': 'Het berijdbare segment heeft een onbevestigd (zachte) bocht op node A',
  2317. '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',
  2318. '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',
  2319. '201.title.en': 'Node A: Unconfirmed turn on primary road',
  2320. '201.title': 'Node A: Onbevestigde verbinding op hoofdweg',
  2321. '201.problem.en': 'The primary segment has an unconfirmed (soft) turn at node A',
  2322. '201.problem': 'Het hoofdweg segment heeft een onbevestigde (zachte) verbinding bij node A',
  2323. '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',
  2324. '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',
  2325. '202.title.en': 'BETA: No public connection for public segment (slow)',
  2326. '202.title': 'BETA: Routeerbaar segment lijkt geisoleerd (langzaam)',
  2327. '202.problem.en': 'The public segment is not connected to any other public segment',
  2328. '202.problem': 'Het segment lijkt een publiek toegankelijk segment in het midden van niet publieke segmenten te zijn',
  2329. '202.solution.en': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  2330. '202.solution': 'Controleer of dit segment wel publiek toegankelijk moet zijn, of van type moet wijzigen',
  2331. '214.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van A naar B',
  2332. '214.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2333. '214.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2334. '214.params': {'regexp': '/^5|15|25|.+0$/'},
  2335. '215.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van B naar A',
  2336. '215.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2337. '215.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2338. '215.params': {'regexp': '/^5|15|25|.+0$/'},
  2339. '250.title': 'Geen stad ingesteld bij plaats',
  2340. '250.problem': 'De plaats heeft geen stad ingesteld',
  2341. '250.solution': 'Stel de stad in voor de plaats',
  2342. '250.params': {
  2343. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2344. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2345. },
  2346. '251.title': 'Geen straatnaam ingesteld bij plaats',
  2347. '251.problem': 'De plaats heeft geen straatnaam ingesteld',
  2348. '251.solution': 'Stel de straatnaam in voor de plaats',
  2349. '251.params': {
  2350. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2351. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2352. },
  2353. '252.title': 'Automatisch aangepaste plaats',
  2354. '252.problem': 'De plaats was automatisch aangepast door Waze',
  2355. '252.solution': 'Controleer de plaats details en pas deze aan als het nodig is',
  2356. '252.params': {
  2357. 'regexp.title': '{string} regular expression to match bot names and ids',
  2358. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  2359. },
  2360. '253.title': 'Categorie \'OVERIGE\' kan beter niet gebruikt worden',
  2361. '253.problem': 'De categorie \'OVERIGE\' is niet nuttig. Gebruikers kunnen zoeken op een categorie en OVERIGE bied geen houvast',
  2362. '253.solution': 'Selecteer de juiste categorie voor de plaats',
  2363. '254.title': 'Geen in-/uitgang punt ingesteld voor plaats',
  2364. '254.problem': 'Er is geen in-/uitgang punt ingesteld voor de plaats',
  2365. '254.solution': 'Stel de juiste in-/uitgang punt in voor de plaats',
  2366. '255.title': 'Fout telefoon nummer',
  2367. '255.problem': 'De plaats heeft een fout telefoon nummer',
  2368. '255.solution':
  2369. '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',
  2370. '255.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2371. '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})$/'},
  2372. '256.title': 'Onjuiste URL',
  2373. '256.problem': 'De plaats heeft een onjuiste URL',
  2374. '256.solution': 'Controleer de URL. Binnen Nederland geven we de URL het format www.adress.extension en laten we de http(s):// vervallen',
  2375. '256.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2376. '256.params': {'regexp.title': '{string} regular expression to match a correct URL', 'regexp': '/^([da-z.-]+.[a-z.]{2,6}|[d.]+)([/:?=&#]{1}[da-z.-]+)*[/?]?$/i'},
  2377. '257.enabled': true,
  2378. '257.title': 'Plaats moet een gebied zijn',
  2379. '257.problem': 'Plaats is ingesteld als een punt, maar moet een gebied zijn',
  2380. '257.solution': 'Converteer de plaats naar een gebied',
  2381. '257.solutionLink': 'P:Benelux/Place_categories',
  2382. '257.params': {
  2383. 'regexp.title': '{string} regular expression to match categories that should be a area',
  2384. 'regexp':
  2385. '/^(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)$/'
  2386. },
  2387. '258.enabled': true,
  2388. '258.title': 'Plaats moet een punt zijn',
  2389. '258.problem': 'Plaats is ingesteld als een gebied, maar zou een punt moeten zijn',
  2390. '258.solution': 'Converteer de plaats naar een punt',
  2391. '258.solutionLink': 'P:Netherlands/Place_categories',
  2392. '258.params': {
  2393. 'regexp.title': '{string} regular expression to match categories that should be a point',
  2394. 'regexp':
  2395. '/^(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)$/'
  2396. },
  2397. '259.enabled': true,
  2398. '259.title': 'Geen lock op plaats',
  2399. '259.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2400. '259.solution': 'Lock de plaats',
  2401. '259.solutionLink': 'P:Netherlands/Place_categories',
  2402. '259.params': {
  2403. 'n.title': '{number} minimum lock level',
  2404. 'n': 2,
  2405. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2406. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  2407. },
  2408. '260.enabled': true,
  2409. '260.title': 'Geen lock op plaats',
  2410. '260.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2411. '260.solution': 'Lock de plaats',
  2412. '260.solutionLink': 'P:Netherlands/Place_categories',
  2413. '260.params':
  2414. {'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)/'},
  2415. '270.title': 'Geen type ingesteld voor parkeerplaats',
  2416. '270.problem': 'Het type is niet ingesteld voor de parkeerplaats',
  2417. '270.solution': 'Stel het type in op Openbaar, Beperkt of Privé',
  2418. '271.title': 'Geen kosten ingesteld voor parkeerplaats',
  2419. '271.problem': 'De kosten voor de parkeerplaats is niet ingesteld',
  2420. '271.solution': 'Stel de kosten in op Gratis, Laag, Gemiddeld of Hoog',
  2421. '272.title': 'Geen betaalmogelijkheden ingesteld voor parkeerplaats',
  2422. '272.problem': 'De betaalmogelijkheden zijn niet ingesteld voor de parkeerplaats',
  2423. '272.solution': 'Stel de juiste betaalmogelijkheden in',
  2424. '273.title': 'Geen niveau ingesteld voor parkeerplaats',
  2425. '273.problem': 'De hoogte is niet ingesteld voor de parkeerplaats',
  2426. '273.solution': 'Stel de juiste hoogte in voor de parkeerplaats',
  2427. '274.title': 'Geen in-/uitgang punt ingesteld voor parkeerplaats',
  2428. '274.problem': 'De parkeerplaats heeft geen in-/uitgang ingesteld',
  2429. '274.solution': 'Stel de juiste in-/uitgang in voor de parkeerplaats',
  2430. '275.title': 'Geen merk in naam van benzinepomp',
  2431. '275.problem': 'Het merk van de benzinepomp komt niet voor in de naam',
  2432. '275.solution': 'Voeg het merk toe in de naam van de benzinepomp',
  2433. '275.solutionLink': 'P:Netherlands/Gas_Station_Place'
  2434. },
  2435. 'MY': {
  2436. '.codeISO': 'MY',
  2437. '.country': 'Malaysia',
  2438. '69.enabled': true,
  2439. '73.enabled': true,
  2440. '150.enabled': true,
  2441. '150.params': {'n': 2},
  2442. '151.enabled': true,
  2443. '151.params': {'n': 2},
  2444. '152.enabled': true,
  2445. '152.params': {'n': 2}
  2446. },
  2447. 'MX': {
  2448. '.codeISO': 'MX',
  2449. '.country': 'Mexico',
  2450. '.updated': '2018-09-19',
  2451. '.author': 'carloslaso',
  2452. '.fallbackCode': 'ES',
  2453. '.lng': ['ES-419'],
  2454. 'city.consider': 'Considera el siguiente nombre de ciudad:',
  2455. 'city.1': 'El nombre de la ciudad es muy corto',
  2456. 'city.2': 'Poner la Abreviación con palabra completa',
  2457. 'city.3': 'Escribir el nombre corto',
  2458. 'city.4': 'Escribir el Nombre de Ciudad',
  2459. 'city.5': 'Corregir Mayúsculas / Minúsculas',
  2460. 'city.6': 'Checar el orden de las palabras',
  2461. 'city.7': 'Checar Abreviación',
  2462. 'city.8r': 'Quitar nombre de País',
  2463. 'city.9': 'Verificar nombre de País',
  2464. 'city.10r': 'Quitar palabra',
  2465. 'city.12': 'Existen nombres iguales con distinto número de Identificador de Ciudad',
  2466. 'city.13a': 'Añadir un espacio',
  2467. 'city.13r': 'Quitar un espacio',
  2468. 'city.14': 'Verificar el número',
  2469. '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ó',
  2470. 'err.regexp': 'Error analizando la opción #${n}:',
  2471. 'props.disabled': 'WME Validator está desactivado',
  2472. 'props.limit.title': 'Demasiados problemas reportados',
  2473. 'props.limit.problem': 'Hay demasiados problemas reportados por lo que algunos de ellos pueden no mostrarse',
  2474. '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)',
  2475. 'props.reports': 'Reportes',
  2476. 'report.save': 'Almacena el reporte',
  2477. 'report.list.andUp': 'y más',
  2478. 'report.list.reportOnly': 'Sólo en el reporte',
  2479. 'report.list.forCountries': 'Para Países:',
  2480. 'report.list.params': 'Parámetros pare configurar en el Paquete de localización:',
  2481. 'report.list.params.set': 'Configuración Actual para ${country}:',
  2482. 'report.list.enabled': 'Hay ${n} parámetros activados para',
  2483. 'report.list.disabled': 'Hay ${n} parámetros desactivados para',
  2484. 'report.list.total': 'Hay ${n} parámetros disponibles',
  2485. 'report.list.title': 'Complete la lista de parámetros para',
  2486. 'report.list.checks': 'Ajustes->Acerca de->Parámetros disponibles',
  2487. 'report.segments': 'Segmentos totales revisados:',
  2488. 'report.reported': 'Reportado(s)',
  2489. 'report.warnings': 'avisos',
  2490. 'report.link.forum': 'foro',
  2491. 'report.link.other': 'enlace',
  2492. 'report.title': 'Reporte del WME Validator',
  2493. 'report.source': 'Fuente del reporte:',
  2494. 'report.filter.streets': 'Calles y vías de Servicio',
  2495. 'report.filter.other': 'Otras vías transitables y no transitables',
  2496. 'report.filter.noneditable': 'segmentos no editables',
  2497. 'report.filter.excluded': 'están excluidas de este reporte',
  2498. 'report.search.updated.since': 'actualizado desde el',
  2499. 'report.search.title': 'Buscar:',
  2500. 'report.search.included': 'están incluidos en el reporte.',
  2501. 'report.beta.warning': 'Advertencia del WME Beta!',
  2502. 'report.beta.text': 'Este reporte está generado en el WME Beta con permalinks beta.',
  2503. 'report.beta.share': 'Por favor, no comparta estos permalinks!',
  2504. 'report.size.warning':
  2505. '<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.',
  2506. 'report.note.limit': '* Nota: Existieron muchas irregularidades en el reporte, por lo que algunas no están tomadas en cuenta en el resumen.',
  2507. 'report.forum': 'Para motivar mayor desarrollo, por favor deje su comentario en el',
  2508. 'report.forum.link': 'Hilo del foro de Waze.',
  2509. 'report.thanks': 'Gracias por usar el WME Validator!',
  2510. 'msg.limit.segments': 'Existen demasiados segmentos.\n\nPulse\'Show report\'para revisar el reporte, luego\n',
  2511. 'msg.limit.segments.continue': 'pulse \'▶\' (Play) para continuar.',
  2512. 'msg.limit.segments.clear': 'pulse \'✘\' (Clear) para borrar el reporte.',
  2513. 'msg.pan.text': 'Mueva el mapa para validarlo',
  2514. 'msg.zoomout.text': 'Aleje el zoom para comenzar el WME Validator',
  2515. 'msg.click.text': 'Pulse \'▶\' (Play) para validar el área visible del mapa',
  2516. 'msg.autopaused': 'paro automático',
  2517. 'msg.autopaused.text': '¡Paro automático! Pulse \'▶\' (Play) para continuar.',
  2518. 'msg.finished.text': 'Pulse <b>\'Show report\'</b> para revisar los problemas en el mapa',
  2519. 'msg.finished.tip': 'Pulse \'✉\' (Share) button para hacer un reporte en el\nforo o en un mensaje privado',
  2520. 'msg.noissues.tip': 'Trata de quitar algunas opciones de filtrado o inicia el WME Validator sobre otra área del mapa',
  2521. 'msg.scanning.text': '¡Analizando! Terminando en ~ ${n} min',
  2522. 'msg.scanning.text.soon': '¡Analizando! Terminando en un minuto!',
  2523. 'msg.scanning.tip': 'Pulse el botón de \'Pause\' para pausar o \'■\' (Stop) para detener el análisis',
  2524. 'msg.starting.text': '¡Comenzando! Las capas se han deshabilitado para analizar más rápido!',
  2525. 'msg.starting.tip': 'Utilice el botón\'Pause\' para pausar o el botón \'■\' para parar',
  2526. 'msg.paused.text': '¡En Pausa! pulse el botón de \'▶\' (Play) para continuar.',
  2527. 'msg.paused.tip': 'Para ver el reporte pulse el botón de \'Show report\' (si está disponible) ',
  2528. 'msg.continuing.tip': 'El WME Validator continuará desde la localización donde fue pausado',
  2529. 'msg.settings.text': 'Pulse <b>\'Back\'</b> para regresar a la vista principal',
  2530. 'msg.settings.tip': '¡Pulse el botón de \'Reset defaults\' para resetear todos los ajustes en un click!',
  2531. 'msg.reset.text': 'Todas las opciones y ajustes han sido devueltos a su estado original',
  2532. 'msg.reset.tip': 'Pulse el botón de \'Back\' para regresar a la vista principal',
  2533. 'msg.textarea.pack':
  2534. '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',
  2535. 'msg.textarea': 'Por favor copia el texto de abajo y pegalo en el foro o en un mensaje privado',
  2536. 'noaccess.text':
  2537. '<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.',
  2538. 'noaccess.tip': '¡Por favor revisa el hilo del foro para mayor información',
  2539. 'tab.switch.tip.on': 'Para encender el resaltado pulsa (Alt+V)',
  2540. 'tab.switch.tip.off': 'Para apagar el resaltado pulsa (Alt+V)',
  2541. 'tab.filter.tip': 'Opciones para filtrar el reporte y los segmentos resaltados',
  2542. 'tab.search.text': 'búsqueda',
  2543. 'tab.search.tip': 'Opciones avanzadas de filtrado para inculír segmentos específicos solamente',
  2544. 'tab.help.tip': '¿Necesita ayuda?',
  2545. 'filter.noneditables.text': 'Excluir los segmentos <b>no editables</b>',
  2546. 'filter.noneditables.tip': 'No reportar los segmentos bloqueados o\nsegmentos fuera de mis áreas de edción',
  2547. 'filter.duplicates.text': 'No incluir segmentos <b>duplicados</b>',
  2548. 'filter.duplicates.tip': 'No mostrar el mismo segmento en distintas\npartes del reporte\n* Nota: Esta opción NO afecta el resaltado',
  2549. 'filter.streets.text': 'No incluir <b>Calles y Vías de Servicio</b>',
  2550. 'filter.other.text': 'No incluir <b>Otras vías conducibles y no conducibles</b>',
  2551. 'filter.other.tip': 'No reportar Vías de Tierra, Vías de estacionamiento, Vías privadas ni \nsegmentos no conducibles',
  2552. 'filter.notes.text': 'No incluir <b>notas</b>',
  2553. 'filter.notes.tip': 'Reportar solamente advertencias y errores',
  2554. 'search.youredits.text': 'Incluir <b>sólo mis ediciones</b>',
  2555. 'search.youredits.tip': 'Incluir sólo los segmentos editados por mí',
  2556. 'search.updatedby.text': '<b>Actualizados por*:</b>',
  2557. 'search.updatedby.tip':
  2558. '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',
  2559. 'search.updatedsince.tip': 'Incluir segmentos editados desde el día epecificado\nFormato de fecha de Firefox: AAAA-MM-DD',
  2560. '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, *',
  2561. 'search.checks.tip':
  2562. '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*, *',
  2563. 'search.checks.example': 'Ejempo: revertir*',
  2564. 'help.text':
  2565. '<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>',
  2566. 'help.tip': 'Abrir en una nueva pestaña en el navegador',
  2567. 'button.scan.tip': 'Comenzar escaneando el área actual del mapa\n* Nota: Esto puede tomar algunos minutos',
  2568. 'button.scan.tip.NA': 'Aleje para comenzar a escanear el área actual del mapa',
  2569. 'button.stop.tip': 'Parar escaneo y regresar a la posición de inicio',
  2570. 'button.clear.tip': 'Borrar reporte y caché de segmento',
  2571. '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.',
  2572. 'button.report.text': 'Muestra reporte',
  2573. 'button.report.tip': 'Aplicar el filtro y generar un reporte en HTML en una nueva pestaña',
  2574. 'button.BBreport.tip': 'Compartir el reporte en el Foro de Waze o en un Mensaje Privado',
  2575. 'tab.custom.text': 'Ajustes predefinidos',
  2576. 'tab.custom.tip': 'Ajustes predefinidos por el usuario',
  2577. 'tab.scanner.tip': 'Ajustes de escaneado del mapa',
  2578. 'tab.about.tip': 'Acerca del WME Validator',
  2579. 'scanner.sounds.NA': 'Su navegador no soporta AudioContext',
  2580. 'scanner.highlight.text': 'Resaltar problemas en el mapa',
  2581. 'scanner.highlight.tip': 'Resaltar problemas reportados en el mapa',
  2582. 'scanner.slow.text': 'Habilitar"chequeos" lentos',
  2583. 'scanner.slow.tip': 'Habilita análisis profundo del mapa\n* Nota: esta opción puede hacer lento el proceso de escaneo',
  2584. 'scanner.ext.text': 'Reportar resaltados externos',
  2585. 'scanner.ext.tip': 'Reportar segmentos resaltados por WME Toolbox o WME Color Highlights',
  2586. 'advanced.atbottom.text': 'Hasta abajo',
  2587. 'advanced.atbottom.tip': 'Poner WME Validator en la parte de abajo de la página',
  2588. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Planilla Propia</a>',
  2589. 'custom.template.tip':
  2590. '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}',
  2591. 'about.tip': 'Abrir liga en una pestaña nueva',
  2592. 'button.reset.text': 'Regresar a los ajustes originales',
  2593. 'button.reset.tip': 'Revertir las opciones de filtrado y ajustes a los originales',
  2594. 'button.list.text': 'Revisiones disponibles...',
  2595. 'button.list.tip': 'Mostrar una lista de revisiones disponibles en WME Validator',
  2596. 'button.wizard.tip': 'Crear un paquete de localización',
  2597. 'button.back.text': 'Regresar',
  2598. 'button.back.tip': 'Cerrar ajustes y regresar a la vista principal',
  2599. '1.problem': 'Los números de salida de los segmentos de la rotonda no son consecutivos',
  2600. '2.problem': 'El segmento tiene nodos geométricos innecesarios',
  2601. '2.solution': 'Simplificar la geometría del segmento pasando el puntero encima del segmento y presionando la letra "d"',
  2602. '3.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2603. '4.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2604. '5.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2605. '6.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2606. '7.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2607. '8.title': 'WME Toolbox: Numeración de Casas',
  2608. '8.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2609. '9.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2610. '13.title': 'WME Color Highlights: Bloqueo de un editor',
  2611. '13.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2612. '14.title': 'WME Color Highlights: Vía de peaje / Vía de un sólo sentido',
  2613. '14.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2614. '15.title': 'WME Color Highlights: Recientemente editado',
  2615. '15.problem': 'El segmento está resaltado por elWME Color Highlights. No representa un problema',
  2616. '16.title': 'WME Color Highlights: Rango de v',
  2617. '16.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2618. '17.title': 'WME Color Highlights: Sin Ciudad',
  2619. '17.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2620. '18.title': 'WME Color Highlights: Restricción de tiempo / Tipo de camino resaltado',
  2621. '18.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2622. '19.title': 'WME Color Highlights: Sin nombre',
  2623. '19.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2624. '20.title': 'WME Color Highlights: Filtrar por Ciudad',
  2625. '20.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2626. '21.title': 'WME Color Highlights: Filtrar por nombre alterno de Ciudad (alt. city)',
  2627. '21.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2628. '22.title': 'WME Color Highlights: Filtrar por editor',
  2629. '22.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2630. '23.title': 'Camino sin confirmar',
  2631. '23.problem': 'Cada segmento debe contener como mínimo Información de Estado y País',
  2632. '23.solution': 'Actualice el camino actualizando sus datos',
  2633. '24.enabled': false,
  2634. '24.title': 'Puede contener un nombre de ciudad incorrecto (sólo disponible en el reporte)',
  2635. '24.problem': 'El segmento puede contener el nombre de ciudad incorrecto',
  2636. '24.solution': 'Considere el nombre de ciudad Sugerido y use esta forma para renombrar la ciudad',
  2637. '25.title': 'Sentido desconocido en un camino conducible',
  2638. '25.problem': 'El sentido desconocido del segmento no prevendrá el ruteo por el mismo',
  2639. '25.solution': 'Coloque la dirección del segmento',
  2640. '28.title': 'Nombre de calle en una Rampa de doble sentido',
  2641. '28.problem': 'Si una rampa no tiene nombre, se aplicará el nombre del siguiente camino que lo tenga',
  2642. '28.solution': 'En las propiedades de dirección, active la casilla de \'Ninguno\' seguida del nombre de calle y entonces pulse \'Aplicar\'',
  2643. '29.problem': 'En Waze no se nombran los segmentos de las rotondas',
  2644. '29.solution':
  2645. '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',
  2646. '34.title': 'Vaciar el nombre alterno de calle',
  2647. '34.problem': 'El nombre alterno de calle está vacío',
  2648. '34.solution': 'Quitar los nombres alternos de calle vacíos',
  2649. '35.title': 'Camino conducible no terminado',
  2650. '35.problem': 'Waze no otorgará rutas por segmentos sin terminar',
  2651. '35.solution': 'Mueva un poco el segmento para que el nodo se añada de manera automática',
  2652. '38.title': 'Restricción de segmento vencida (no grave)',
  2653. '38.problem': 'El segmento tiene una restricción que ya venció',
  2654. '38.solution': 'Pulsar \'Editar restricciones\' y borrar las restricciones vencidas',
  2655. '39.title': 'Restricción de giro vencida (no grave)',
  2656. '39.problem': 'El segmento tiene un giro con restricció vencida',
  2657. '39.solution': 'Pulsar la figura del reloj en seguida de la flecha amarilla y borre las restricciones vencidas',
  2658. '41.enabled': false,
  2659. '41.title': 'Conectividad reversible en un segmento conducible',
  2660. '41.problem': 'Existe un giro que va contra la dirección del segmento en el nodo A',
  2661. '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',
  2662. '42.enabled': false,
  2663. '42.title': 'Nodo B: Conectividad reversible en segmento conducible',
  2664. '42.problem': 'Existe un giro que va en contra de la dirección del segmento en el nodo B',
  2665. '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',
  2666. '43.problem': 'El segmento está conectado en sí mismo',
  2667. '43.solution': 'Divida el segmento en tres',
  2668. '46.title': 'Nodo A: No existe conectividad hacia adentro del camino conducible',
  2669. '46.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo A',
  2670. '46.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo A',
  2671. '47.title': 'Nodo B: No existe conectividad hacia adentro del camino conducible (no grave) ',
  2672. '47.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo B',
  2673. '47.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo B',
  2674. '48.title': 'Segmento de glorieta de doble sentido',
  2675. '48.problem': 'El segmento de la glorieta es bidireccional',
  2676. '48.solution': 'Rehacer la glorieta',
  2677. '78.title': 'El segmento que creó comienza y termina en un mismo segmento',
  2678. '78.problem': 'Los dos segmentos comparten los mismos puntos finales',
  2679. '78.solution': 'Parta el segmento. Puede también remover uno de ellos si son idénticos',
  2680. '87.title': 'Múltiples segmentos de salida de la glorieta en el nodo A',
  2681. '87.problem': 'El nodo A en la glorieta tiene más de un segmento de salida conectado',
  2682. '87.solution': 'Re hacer la glorieta',
  2683. '99.title': 'Vuelta en U habilitada en segmento de entrada a la glorieta (no grave)',
  2684. '99.problem': 'El segmento de entrada a la glorieta tiene una vuelta en U habilitada',
  2685. '99.solution': 'Deshabilite la vuelta en U',
  2686. '101.title': 'Camino Cerrado (Sólo disponible en el reporte)',
  2687. '101.problem': 'El segmento está marcado como Cerrado',
  2688. '101.solution': 'Si la construcción ya terminó, reactive la conectividad del segmento y remueva el sufijo',
  2689. '102.title': 'No existe conectividad hacia afuera del segmento en el nodo A (no grave)',
  2690. '102.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo A',
  2691. '102.solution': 'Permita por lo menos un giro hacia el segmento en el nodo A',
  2692. '103.title': 'No existe conectividad hacia afuera en el nodo B (no grave))',
  2693. '103.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo B',
  2694. '103.solution': 'Permita por lo menos un giro desde el segmento en el nodo B',
  2695. '104.enabled': false,
  2696. '104.title': 'Segmento tipo ferrocarril usado para comentarios',
  2697. '104.problem': 'El segmentotipo ferrocarril etá siendo usado probablemente para comentarios del mapa',
  2698. '104.solution': 'Remover los comentarios ya que las vías férreas se verán en la aplicación',
  2699. '107.title': 'No hay conexion del Nodo A (no grave)',
  2700. '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',
  2701. '107.solution': 'Arrastre el nodo A al segmento más cercano de modo que se junten, o muévalo un poco más lejos.',
  2702. '108.title': 'No hay conexión en el nodo B (no grave)',
  2703. '108.problem': 'El nodo B del segmento está dentro del rango de 5m de otro segmento pero no está conectado por una intersección',
  2704. '108.solution': 'Arrastre el nodo B al segmento más cercano de modo que lo toque o muévalo un poco más lejos',
  2705. '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',
  2706. '109.solution': 'Aumente el largo del segmento, remuévalo o llévelo al nodo del segmento adyacente',
  2707. '112.title': 'Nombre de rampa demasiado largo',
  2708. '112.problem': 'El nombre de la rampa tiene más de ${n} letras',
  2709. '112.solution': 'Acorte el nombre de la rampa',
  2710. '116.solution': 'Corrija la elevación',
  2711. '117.title': 'Marcador de Zona de Construcción obsoleto',
  2712. '117.problem': 'El segmento está marcado con un sufijo de Zona de Construcción obsoleto',
  2713. '117.solution': 'Cambie el CONST ZN a (cerrado)',
  2714. '118.title': 'En el Nodo A: Segmentos encimados (no grave)',
  2715. '118.problem': 'El segmento está encimado con el segmento adyacente en el nodo A',
  2716. '118.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo A',
  2717. '119.title': 'Nodo B: Segmentos encimados',
  2718. '119.problem': 'El segmento está encimado con el segmento adyacente en el nodoB',
  2719. '119.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo B',
  2720. '120.title': 'Nodo A: Giro demasiado cerrado (no grave)',
  2721. '120.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo A',
  2722. '120.solution': 'Prohíba la vuelta cerrada en el nodo A o abra los segmentos a 30°',
  2723. '121.title': 'Nodo B: Giro demasiado cerrado (no grave)',
  2724. '121.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo B',
  2725. '121.solution': 'Prohíba la vuelta cerrada en el nodo B o abra los segmentos a 30°',
  2726. '128.title': 'Revisión definida por el usuario (verde)',
  2727. '128.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2728. '128.solution': 'Resuelva el problema',
  2729. '129.title': 'Revisión definida por el usuario (azúl)',
  2730. '129.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2731. '129.solution': 'Resuelva el problema',
  2732. '150.enabled': false,
  2733. '151.enabled': false,
  2734. '152.enabled': false,
  2735. '172.title': 'Espacios innecesarios en el nombre de calle',
  2736. '172.solution': 'Eliminar espacios innecesarios del nombre de la calle',
  2737. '173.title': 'No hay espacio antes/después de la abreviatura en el nombre de calle',
  2738. '173.problem': 'No hay espacio antes de (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de calle',
  2739. '173.solution': 'Añadir un espacio antes/después de la abreviatura',
  2740. '175.title': 'Nombre de calle vacío',
  2741. '175.problem': 'El nombre de la calle tiene solamente espacios o un punto',
  2742. '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\'',
  2743. '190.enabled': false,
  2744. '190.title': 'Nombre de ciudad en minúsculas',
  2745. '190.solution': 'Use esta forma para renombrar la ciudad',
  2746. '192.enabled': false,
  2747. '192.title': 'Espacios innecesarios en el nombre de ciudad',
  2748. '192.solution': 'Use esta forma para renombrar la ciudad',
  2749. '193.title': 'No hay espacios antes/después de la abreviatura de la Ciudad',
  2750. '193.problem': 'No hay espacio antes (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de ciudad',
  2751. '193.solution': 'Use esta forma para renombrar la ciudad',
  2752. '200.enabled': false,
  2753. '200.title': 'En el nodo A: Giro no confirmado en un camino menor',
  2754. '200.problem': 'El segmento del camino menor tiene un giro no confirmado (suave) en el nodo A',
  2755. '200.solution':
  2756. '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',
  2757. '201.enabled': false,
  2758. '201.title': 'En el nodo A: Giro no confirmado en una vía primaria',
  2759. '201.problem': 'El segmento de vía primaria tiene un giro no confirmado (suave) en el nodo A',
  2760. '201.solution':
  2761. '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',
  2762. '202.enabled': false
  2763. },
  2764. 'LU': {'.codeISO': 'LU', '.country': 'Luxembourg', '.fallbackCode': 'BE', '160.enabled': false},
  2765. 'IT': {
  2766. '.codeISO': 'IT',
  2767. '.country': 'Italy',
  2768. '57.enabled': true,
  2769. '59.enabled': true,
  2770. '90.enabled': true,
  2771. '95.enabled': true,
  2772. '150.enabled': true,
  2773. '151.enabled': true,
  2774. '151.params': {'n': 5},
  2775. '152.enabled': true,
  2776. '152.params': {'n': 4},
  2777. '163.enabled': true,
  2778. '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'},
  2779. '170.enabled': true
  2780. },
  2781. 'IL': {
  2782. '.codeISO': 'IL',
  2783. '.country': 'Israel',
  2784. '.author': 'gad_m',
  2785. '.updated': '2014-06-30',
  2786. '.lng': 'HE',
  2787. '.dir': 'rtl',
  2788. 'city.consider': 'בדוק את שם העיר:',
  2789. 'city.1': 'שם העיר קצר מדי',
  2790. 'city.2': 'אל תשתמש בשם מקוצר',
  2791. 'city.3': 'השלם את השם הקצר',
  2792. 'city.4': 'השלם את שם העיר',
  2793. 'city.5': 'תקן אותיות רישיות',
  2794. 'city.6': 'בדוק סדר המילה',
  2795. 'city.7': 'בדוק סימני קיצור',
  2796. 'city.8a': 'הוסף מדינה',
  2797. 'city.8r': 'מחק מדינה',
  2798. 'city.9': 'בדוק מדינה',
  2799. 'city.10a': 'הוסף מילה',
  2800. 'city.10r': 'הורד מילה',
  2801. 'city.11': 'הוסף קוד מדינה',
  2802. 'city.12': 'שמות זהים, אבל קוד זיהוי עיר שונה',
  2803. 'city.13a': 'הוסף רווח',
  2804. 'city.13r': 'הורד רווח',
  2805. 'city.14': 'בדוק את המספר',
  2806. 'props.skipped.title': 'המקטע לא נבדק',
  2807. 'props.skipped.problem': 'הקטע נערך לאחר 2014/5/1 ונעול לעריכה עבורך, אז Validator לא יכול לבדוק אותו',
  2808. 'err.regexp': 'אירעה שגיאה עבור בדיקה #${n}:',
  2809. 'props.disabled': 'התוסף אינו מופעל',
  2810. 'props.limit.title': 'יותר מדי בעיות דווחו',
  2811. 'props.limit.problem': 'ישנם בעיות רבות מדי שדווחו, כך שחלק מהם אולי לא יראו',
  2812. 'props.limit.solution': 'בטל את הבחירה של המקטע והפסק את תהליך סריקה. לאחר מכן לחץ על הכפתור האדום \'✘\' (מחק הדו"ח)',
  2813. 'props.reports': 'בעיות שנמצאו ע"י ',
  2814. 'props.noneditable': 'אינך יכול לערוך מקטע זה',
  2815. 'report.save': 'שמור את הדו"ח',
  2816. 'report.list.andUp': 'ולמעלה',
  2817. 'report.list.severity': 'חומרה',
  2818. 'report.list.reportOnly': 'רק בדיווח',
  2819. 'report.list.forEditors': 'לרמת עורכים',
  2820. 'report.list.forCountries': 'לארצות',
  2821. 'report.list.forStates': 'למדינות',
  2822. 'report.list.forCities': 'לערים',
  2823. 'report.list.params': 'משתנים להגדרת חבילת לוקליזציה',
  2824. 'report.list.params.set': 'תצורה נוכחית עבור ${country}:',
  2825. 'report.list.enabled': '${n} בדיקות מאופשרות עבור',
  2826. 'report.list.disabled': '${n} בדיקות כבויות עבור',
  2827. 'report.list.total': 'יש ${n} בדיקות זמינות',
  2828. 'report.list.title': 'רשימה מלאה של בדיקות עבור',
  2829. 'report.list.see': 'ראה',
  2830. 'report.list.checks': 'הגדרות->אודות->בדיקות זמינות',
  2831. 'report.list.fallback': 'כללי עתודה של תמיכת הלוקליזציה:',
  2832. 'report.and': 'וגם',
  2833. 'report.segments': 'סה"כ מקטעים שנבדקו:',
  2834. 'report.customs': 'בדיקות מותאמות אישית תואמים (#1/#2):',
  2835. 'report.reported': 'דווחו',
  2836. 'report.errors': 'טעויות',
  2837. 'report.warnings': 'אזהרות',
  2838. 'report.notes': 'הערות',
  2839. 'report.contents': 'תוכן:',
  2840. 'report.summary': 'סיכום',
  2841. 'report.title': 'דו"ח WME Validator',
  2842. 'report.share': 'לשתף',
  2843. 'report.generated.by': 'נוצר ע"י',
  2844. 'report.generated.on': 'ב',
  2845. 'report.source': 'מקור הדו"ח:',
  2846. 'report.filter.duplicate': 'מקטעים כפולים',
  2847. 'report.filter.streets': 'רחובות וכבישי שרות',
  2848. 'report.filter.other': 'אחרים - מותרים ואסורים לנהיגה',
  2849. 'report.filter.noneditable': 'מקטעים שלא ניתנים לעריכה',
  2850. 'report.filter.notes': 'הערות',
  2851. 'report.filter.title': 'מסננים:',
  2852. 'report.filter.excluded': 'אינם נכללים בדו"ח זה.',
  2853. 'report.search.updated.by': 'עודכן ע"י',
  2854. 'report.search.updated.since': 'עודכן ב',
  2855. 'report.search.city': 'מ',
  2856. 'report.search.reported': 'דווח כ',
  2857. 'report.search.title': 'חפש:',
  2858. 'report.search.only': 'מקטעים בלבד',
  2859. 'report.search.included': 'נכללים בדו"ח זה.',
  2860. 'report.beta.warning': 'אזהרות עורך בטא:',
  2861. 'report.beta.text': 'דו"ח זה חולל ע"י עורך גירסת בטא וכולל קישורים קבועים לבטא.',
  2862. 'report.beta.share': 'אנא אל תשתף את הפרמלינקים האלה!',
  2863. 'report.size.warning': '<b>אזהרה!</b><br>אורך הדו"ח הוא ${n} תווים<b>הוא לא מתאים להכנס</b> להודעה פרטית אחת בפורום\n<br>אנא הוסף<b>מסננים נוספים</b> על מנת להקטין את גודל הדו"ח',
  2864. 'report.note.limit': '* הערה: היו בעיות רבות מדי שדווחו, כך שחלק מהם אינם נספר בסיכום.',
  2865. 'report.forum': 'לעידוד פיתוח נוסף, אנא השאר משוב ב',
  2866. 'report.thanks': 'תודה שהשתמשת ב WME Validator!',
  2867. 'msg.limit.segments': 'יש יותר מדי מקטעים.\n\nלחץ \'צפה בדו"ח\' בכדי לצפות בדו"ח, אח"כ לחץ \'▶\' כדי להמשיך.',
  2868. 'msg.limit.segments.continue': 'לחץ \'▶\' (בצע) כדי להמשיך',
  2869. 'msg.limit.segments.clear': 'לחץ \'✘\' (מחק) כדי למחוק את הדו"ח.',
  2870. 'msg.pan.text': 'הזז מעט את המפה כדי להתחיל בבדיקה',
  2871. 'msg.zoomout.text': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח ע"י WME Validator',
  2872. 'msg.click.text': 'לניתוח שטח המפה הגלוי לחץ על \'▶\' ',
  2873. 'msg.autopaused': 'עצירה אוטומטית',
  2874. 'msg.autopaused.text': 'עצירה אוטומטית! לחץ על \'▶\' כדי להמשיך',
  2875. 'msg.autopaused.tip': 'כלי זה עוצר אוטומטית כשמזיזים את המפה או כשמשנים את גודל החלון',
  2876. 'msg.finished.text': 'לחץ <b>\'צפה בדו"ח\'</b> כדי לצפות בבעיות במפה',
  2877. 'msg.finished.tip': 'לחץ על \'✉\' (שתף) כדי לדווח בפורום\nאו כהודעה פרטית',
  2878. 'msg.noissues.text': 'הסריקה הסתיימה! לא נמצאו בעיות!',
  2879. 'msg.noissues.tip': 'נסה לכבות חלק מהמסננים או התחל מחדש את הסריקה',
  2880. 'msg.scanning.text': 'סורק! יסיים בעוד כ ${n} דקות לערך',
  2881. 'msg.scanning.text.soon': 'סורק! יסיים בעוד כדקה!',
  2882. 'msg.scanning.tip': 'לחץ על \'השהה\' כדי לעצור או על \'■\' כדי לעצור',
  2883. 'msg.starting.text': 'מכין את הדו"ח! השכבות מוסתרות כדי לסרוק מהר יותר',
  2884. 'msg.starting.tip': 'לחץ על \'השהה\' או על \'■\' כדי לעצור',
  2885. 'msg.paused.text': 'בהשהייה! לחץ \'▶\' כדי להמשיך',
  2886. 'msg.paused.tip': 'לצפיה בדו"ח לחץ על \'צפה בדו"ח\' (אם זמין)',
  2887. 'msg.continuing.text': 'ממשיך!',
  2888. 'msg.continuing.tip': 'WME Validator ימשיך מהמקום בו הפסיק',
  2889. 'msg.settings.text': 'לחץ <b>\'חזרה\'</b> לחזרה למסך הראשי',
  2890. 'msg.settings.tip': 'לחץ \'אפס לברירת מחדל\' כדי לאפס את כל ההגדרות',
  2891. 'msg.reset.text': 'כל אפשרויות הסינון וההגדרות אופסו לברירת המחדל שלהם',
  2892. 'msg.reset.tip': 'לחץ על \'חזרה\' כדי לחזור לתצוגה הראשית',
  2893. 'msg.textarea.pack': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בקובץ <b>.user.js</b> חדש',
  2894. 'msg.textarea': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בשרשור בפורום או כהודעה פרטית',
  2895. 'noaccess.text':
  2896. '<b>מצטער,</b><br>אינך יכול להשתמש ב WME Validator כאן.<br>אנא בדוק <a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">את השרשור בפורום</a><br>למידע נוסף.',
  2897. 'noaccess.tip': 'אנא בדוק את השרשור בפורום למידע נוסף!',
  2898. 'tab.switch.tip.on': 'לחץ להפעלה (Alt+V)',
  2899. 'tab.switch.tip.off': 'לחץ לכיבוי (Alt+V)',
  2900. 'tab.filter.text': 'מסננים',
  2901. 'tab.filter.tip': 'אפשרויות סינון הדו"ח והדגשות בעורך המפה',
  2902. 'tab.search.text': 'חיפוש',
  2903. 'tab.search.tip': 'אפשרויות סינון מתקדמות כדי לכלול מקטעים ספציפיים בלבד',
  2904. 'tab.help.text': 'עזרה',
  2905. 'tab.help.tip': 'צריך עזרה?',
  2906. 'filter.noneditables.text': 'הסתר מקטעים <b>שאינם ניתנים לעריכה</b>',
  2907. 'filter.noneditables.tip': 'אל תדווח על מקטעים נעולים או\nמקטעים מחוץ לאיזור העריכה שלך',
  2908. 'filter.duplicates.text': 'הסתר <b>כפילויות</b> במקטעים',
  2909. 'filter.duplicates.tip': 'אל תראה את אותו המקטע בחלקים\nשונים של הדו"ח\n* שים לב: אפשרות זו אינה משפיעה על ההדגשות',
  2910. 'filter.streets.text': 'הסתר <b>רחוב</b> ו<b>כביש שרות</b>',
  2911. 'filter.streets.tip': 'אל תכלול בדו"ח מקטעים מסוג רחוב וכביש שרות',
  2912. 'filter.other.text': 'הסתר אחרים ש<b>מותרים לנהיגה</b> וכל ה<b>אסורים לנהיגה</b>',
  2913. 'filter.other.tip': 'אל תכלול בדו"ח מקטעים מסוג דרך עפר, מגרש חניה, כביש פרטי\nומקטעים שאסורים לנהיגה',
  2914. 'filter.notes.text': 'הסתר <b>הערות</b>',
  2915. 'filter.notes.tip': 'דווח רק על אזהרות ושגיאות',
  2916. 'search.youredits.text': 'כלול <b>רק עריכות שלך</b>',
  2917. 'search.youredits.tip': 'כלול רק מקטעים שערכת בעצמך',
  2918. 'search.updatedby.text': '<b>עודכן על ידי:</b>',
  2919. 'search.updatedby.tip': 'כלול סיגמנטים שנערכו ע"י עורך מסויים\nשדה זה תומך ב:\n- רשימות: me, otherEditorName\n- תווים חופשיים: world*\n- שלילה: !me, *\nשים לב: ניתן להשתמש ב me כהתאמה לעצמך',
  2920. 'search.updatedby.example': 'דוגמה: אני',
  2921. 'search.updatedsince.text': '<b>עודכן ב:</b>',
  2922. 'search.updatedsince.tip': 'כלול מקטעים שנערכו מאז תאריך מסויים\nפורמט תאריך: YYYY-MM-DD',
  2923. 'search.updatedsince.example': 'YYYY-MM-DD',
  2924. 'search.city.text': '<b>שם העיר:</b>',
  2925. 'search.city.tip': 'כלול מקטעים בעלי שם עיר מסויימת\nשדה זה תומך ב:\nרשימות: ירושלים, אשקלון\nתווים כלליים: תל *\nשלילה: !ירושלים, *',
  2926. 'search.city.example': 'דוגמה: !ירושלים, *',
  2927. 'search.checks.text': '<b>דווח כ:</b>',
  2928. 'search.checks.tip':
  2929. 'כלול רק מקטעים שדווחו לגביהם:\nשדה זה תואם:\n- חומרת הבעיה: errors\n- שמות קבועים: New road\n- מספרים מזהים: 40\nשדה זה תומך ב:\n- רשימות: 36,37\n- תווים כלליים: *roundabout*\n- שלילה: !soft turns*, *\n',
  2930. 'search.checks.example': 'דוגמה: *הפוך*',
  2931. 'help.text':
  2932. '<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>',
  2933. 'help.tip': 'פתח בכרטיסיית דפדפן חדשה',
  2934. 'button.scan.tip': 'התחל לסרוק את המפה הנוכחית\nשים לב: פעולה זו יכולה לקחת מספר דקות',
  2935. 'button.scan.tip.NA': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח באיזור המפה הנוכחי',
  2936. 'button.pause.tip': 'עצור את הסריקה',
  2937. 'button.continue.tip': 'המשך לסרוק את המפה',
  2938. 'button.stop.tip': 'עצור את הסריקה וחזור להתחלה',
  2939. 'button.clear.tip': 'מחק הדו"ח ומקטעים מהזיכרון',
  2940. 'button.clear.tip.red': 'יותר מדי דיווחים על בעיות במקטעים:\n1. לחץ \'צפה בדו"ח להפיק את הדו"ח\'.\n2. לחץ על כפתור זה כדי למחוק את הדו"ח ולהתחיל מחדש.',
  2941. 'button.report.text': 'צפה בדו"ח',
  2942. 'button.report.tip': 'השתמש בהגדרות המסננים והפק דו"ח HTML שיפתח בכרטיסיית דפדפן חדשה',
  2943. 'button.BBreport.tip': 'שתף את הדו"ח בפורום של וייז או בהודעה פרטית',
  2944. 'button.settings.tip': 'הגדרות',
  2945. 'tab.custom.text': 'מותאם',
  2946. 'tab.custom.tip': 'הגדרת בדיקות מותאמות אישית לפי הגדרות המשתמש',
  2947. 'tab.settings.text': 'הגדרות',
  2948. 'tab.scanner.text': 'סורק',
  2949. 'tab.scanner.tip': 'הגדרות סריקה',
  2950. 'tab.about.text': 'אודות</span>',
  2951. 'tab.about.tip': 'אודות WME Validator',
  2952. 'scanner.sounds.text': 'אפשר צלילים',
  2953. 'scanner.sounds.tip': 'ציפצופים וביפים בזמן סריקה',
  2954. 'scanner.sounds.NA': 'הדפדפן שלך אינו תומך ב AudioContext',
  2955. 'scanner.highlight.text': 'הדגש בעיות על גבי המפה',
  2956. 'scanner.highlight.tip': 'הדגר בעיות מדווחות על גבי המפה',
  2957. 'scanner.slow.text': 'אפשר בדיקות המוגדרות כ"איטי"',
  2958. 'scanner.slow.tip': 'מאפשר ניתוח מעמיק של המפה\n* שים לב: אפשרות זו עלולה להאט את תהליך הסריקה',
  2959. 'scanner.ext.text': 'דווח על הדגשות ממקורות אחרים',
  2960. 'scanner.ext.tip': 'דווח על מקטעים שהודגשו ע"י WME Toolbox או WME Color Highlights',
  2961. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>תבנית מותאמת אישית</a>',
  2962. 'custom.template.tip':
  2963. 'תבנית להרחבת בדיקות מותאמת אישית המוגדרת על ידי משתמש.\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}',
  2964. 'custom.template.example': 'דוגמה: ${city}',
  2965. 'custom.regexp.text': '<a target="_blank" href="https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions">ביטוי רגולרי</a> מותאם אישית',
  2966. 'custom.regexp.tip': 'ביטוי רגולרי מותאם אישית ע"י המשתמש התואם את התבנית\nהתאמה: /regexp/\nשלילה: !/regexp/\nכתוב מידע של התוכנית לקונסולה (debug)\n',
  2967. 'custom.regexp.example': 'דוגמה: /גבעת שמואל/',
  2968. 'about.tip': 'פתח קישור בכרטיסיית דפדפן חדשה',
  2969. 'button.reset.text': 'אפס לברירת מחדל',
  2970. 'button.reset.tip': 'אפס אפשרויות סינון והגדרות לברירת המחדל',
  2971. 'button.list.text': 'בדיקות זמינות...',
  2972. 'button.list.tip': 'הראה את רשימ הבדיקות הזמינות של WME Validator',
  2973. 'button.wizard.tip': 'צור קבצי לוקליזציה',
  2974. 'button.back.text': 'חזרה',
  2975. 'button.back.tip': 'סגור הגדרות וחזור לחלון ראשי',
  2976. '1.enabled': false,
  2977. '1.title': 'WME Toolbox: כיכר שעלול ליצור בעיות',
  2978. '1.problem': 'מספרים מזהים של צמתים של מקטעים בכיכר אינם רצופים',
  2979. '1.solution': 'בנה מחדש את הכיכר',
  2980. '2.title': 'WME Toolbox: מקטע פשוט',
  2981. '2.problem': 'למקטע יש מפרקים מיותרים',
  2982. '2.solution': 'פשט את מפרקי המקטע ע"י מעבר עם העכבר מעל המקטע ולחיצה על מקש "d"',
  2983. '3.title': 'WME Toolbox: נעילה ברמה 2',
  2984. '3.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2985. '4.title': 'WME Toolbox: נעילה ברמה 3',
  2986. '4.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2987. '5.title': 'WME Toolbox: נעילה ברמה 4',
  2988. '5.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2989. '6.title': 'WME Toolbox: נעילה ברמה 5',
  2990. '6.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2991. '7.title': 'WME Toolbox: נעילה ברמה 6',
  2992. '7.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2993. '8.title': 'WME Toolbox: מספרי בתים',
  2994. '8.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2995. '9.title': 'WME Toolbox: מקטע עם הגבלות לפי שעות',
  2996. '9.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2997. '13.title': 'WME Color Highlights: נעילת עורך',
  2998. '13.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2999. '14.title': 'WME Color Highlights: כביש אגרה / כביש חד סיטרי',
  3000. '14.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3001. '15.title': 'WME Color Highlights: נערך לאחרונה',
  3002. '15.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3003. '16.title': 'WME Color Highlights: דרגה של כביש',
  3004. '16.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3005. '17.title': 'WME Color Highlights: ללא עיר',
  3006. '17.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3007. '18.title': 'WME Color Highlights: הגבלות לפי שעות / סוג כביש מודגש',
  3008. '18.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3009. '19.title': 'WME Color Highlights: ללא שם',
  3010. '19.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3011. '20.title': 'WME Color Highlights: מסנן לפי עיר',
  3012. '20.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3013. '21.title': 'WME Color Highlights: מסנן לפי עיר',
  3014. '21.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3015. '22.title': 'WME Color Highlights: מסנן לפי עורך',
  3016. '22.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3017. '23.title': 'מקטע ללא שם',
  3018. '23.problem': 'כל מקטע חייב לפחות הגדרת מדינה',
  3019. '23.solution': 'אשר את הכביש ע"י עריכת הפרטים שלו',
  3020. '24.title': 'יתכן ששם העיר שגוי (זמין רק בדו"ח)',
  3021. '24.problem': 'יתכן ששם העיר של המקטע שגוי (זמין רק בדו"ח)',
  3022. '24.solution': 'שקול להשתמש בשם העיר שמוצע והשתמש בטופס זה כדי לשנות שם עיר',
  3023. '25.title': 'כיוון לא ידוע של כביש מותר בנהיגה',
  3024. '25.problem': 'כיוון "לא ידוע" של כביש לא מונע ניווט דרכו',
  3025. '25.solution': 'קבע את כיוון הנסיעה של הכביש',
  3026. '27.enabled': true,
  3027. '27.title': 'שם עיר על מסילת רכבת',
  3028. '27.problem': 'שם עיר על מסילת רכבת עלול לטשטש את גבולות העיר',
  3029. '27.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3030. '28.enabled': false,
  3031. '28.title': 'שם רחוב למחבר דו כיווני',
  3032. '28.problem': 'כשהמחבר ללא שם, הוא יקבל את שמו מהכביש אליו הוא מוביל',
  3033. '28.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3034. '29.title': 'לכיכר יש שם רחוב',
  3035. '29.problem': 'בווויז לא נותנים שמות למקטעים השייכים לכיכר',
  3036. '29.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\', לחץ \'החל\'. כדי לתת שם לכיכר הוסף \'מקום\' עם קטגורית \'צומת\' ותן לו את שם הכיכר',
  3037. '34.title': '\'שם חלופי\' ריק',
  3038. '34.problem': 'שדה \'שם חלופי\' של הרחוב ריק',
  3039. '34.solution': 'הסר את ה\'שם חלופי\' של הרחוב',
  3040. '35.title': 'כביש מותר לנהיגה קטוע',
  3041. '35.problem': 'וייז לא ינווט מכביש קטוע',
  3042. '35.solution': 'הזז מעט את המקטע כך שיתווסף אוטומטית צומת המסיים את המקטע',
  3043. '36.title': 'צומת A: מיותר (איטי)',
  3044. '36.problem': 'מקטעים סמוכים בצומת A זהים',
  3045. '36.solution': 'בחר את צומת A ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3046. '37.title': 'צומת B: מיותר (איטי)',
  3047. '37.problem': 'מקטעים סמוכים בצומת B זהים',
  3048. '37.solution': 'בחר את צומת B ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3049. '38.title': 'פג תוקף של מגבלה על מקטע (איטי)',
  3050. '38.problem': 'למקטע יש מגבלות שפג תוקפם',
  3051. '38.solution': 'לחץ על "הוסף הגבלות" ומחק מגבלות שפג תוקפם',
  3052. '39.title': 'פג תוקף של מגבלה על פניה (איטי)',
  3053. '39.problem': 'במקטע יש פניה עם מגבלה שפג תוקפה',
  3054. '39.solution': 'לחץ על סימון השעון שליד החץ הצהוב של הפניה ומחק הגבלות שפג תוקפן',
  3055. '41.enabled': false,
  3056. '41.title': 'צומת A: קישוריות הפוכה של כביש מותר לנהיגה',
  3057. '41.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת A',
  3058. '41.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת A ואחר כך הפוך חזרה את המקטע ל"חד כיווני (A→B)"',
  3059. '42.enabled': false,
  3060. '42.title': 'צומת B: קישוריות הפוכה של כביש מותר לנהיגה',
  3061. '42.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת B',
  3062. '42.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת B ואחר כך הפוך חזרה את המקטע ל"חד כיווני (B→A)"',
  3063. '43.title': 'קישור לעצמי',
  3064. '43.problem': 'המקטע יוצר צומת עם המקטע עצמו',
  3065. '43.solution': 'פצל את המקטע לשלושה מקטעים',
  3066. '44.title': 'אין חיבור ביציאה',
  3067. '44.problem': 'מקטע מותר בנהיגה ללא אף פניה מאופשרת ביציאה ממנו',
  3068. '44.solution': 'אפשר לפחות פניה אחת ביציאה מהמקטע',
  3069. '45.title': 'אין חיבור בכניסה',
  3070. '45.problem': 'אין אף פניה מאופשרת בכניסה למקטע המותר בנהיגה',
  3071. '45.solution': 'בחר מקטע סמוך ואפשר פניה למקטע זה',
  3072. '46.title': 'צומת A: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3073. '46.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת A',
  3074. '46.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת A',
  3075. '47.title': 'צומת B: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3076. '47.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת B',
  3077. '47.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת B',
  3078. '48.title': 'מקטע דו כיווני בכיכר',
  3079. '48.problem': 'מקטע מותר לנהיגה בכיכר הוא דו כיווני',
  3080. '48.solution': 'צור מחדש את הכיכר',
  3081. '50.title': 'אין חיבור לכיכר (איטי)',
  3082. '50.problem': 'למקטע מותר לנהיגה בכיכר אין חיבור למקטע סמוך בכיכר',
  3083. '50.solution': 'אפשר פניה במקטע סמוך או צור מחדש את הכיכר',
  3084. '57.enabled': true,
  3085. '57.title': 'שם עיר במחבר עם שם רחוב',
  3086. '57.problem': 'שם עיר במחבר עם שם רחוב עלול להשפיע על תוצאות החיפוש',
  3087. '57.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3088. '59.enabled': true,
  3089. '59.title': 'שם עיר בכביש מהיר',
  3090. '59.problem': 'שם עיר בכביש מהיר עלול לטשטש את גבולות העיר',
  3091. '59.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3092. '77.enabled': false,
  3093. '77.title': 'פניית פרסה ברחוב ללא מוצא',
  3094. '77.problem': 'מאופשרת פניית פרסה במקטע מותר לנהיגה ללא מוצא',
  3095. '77.solution': 'אל תאפשר פניית פרסה',
  3096. '78.title': 'שני מקטעים המותרים לנהיגה מסתיימים באותן נקודות (איטי)',
  3097. '78.problem': 'שני מקטעים המותרים לנהיגה בעלי אותן נקודות קצה',
  3098. '78.solution': 'פצל את המקטע לשני מקטעים. יתכן ויש צורך למחוק את אחד המקטעים אם הם זהים',
  3099. '87.title': 'מקטעים מרובים יוצאים מצומת A',
  3100. '87.problem': 'לצומת A בכיכר מחובר יותר ממקטע יציאה אחד',
  3101. '87.solution': 'צור מחדש את הכיכר',
  3102. '90.enabled': true,
  3103. '90.title': 'כביש מהיר דו סיטרי',
  3104. '90.problem': 'רוב הכבישים המהירים מפוצלים לשני מקטעים חד סיטריים כך שיתכן שיש טעות במקטע',
  3105. '90.solution': 'בדוק את כיוון הנסיעה של הכביש המהיר',
  3106. '91.title': 'מחבר דו כיווני',
  3107. '91.problem': 'רוב המחברים הם חד סיטריים, כך שיתכן שזו שגיאה שמחבר זה מוגדר כדו-סיטרי',
  3108. '91.solution': 'בדוק כיווני נסיעה במחבר',
  3109. '99.title': 'פניית פרסה מאופשרת בכניסה לכיכר (איטי)',
  3110. '99.problem': 'פניית פרסה מאופשרת במקטע הנכנס לכיכר',
  3111. '99.solution': 'אל תאפשר פניית פרסה',
  3112. '101.title': 'כביש סגור (זמין רק בדו"ח)',
  3113. '101.problem': 'המקטע מסומן כסגור',
  3114. '101.solution': 'אם הבנייה הסתיימה, שחזר את קישוריות המקטע והסר את הסיומת',
  3115. '102.title': 'צומת A: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3116. '102.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת A',
  3117. '102.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת A',
  3118. '103.title': 'צומת B: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3119. '103.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת B',
  3120. '103.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת B',
  3121. '104.title': 'מסילת רכבת משמשת כהערה',
  3122. '104.problem': 'נראה שמקטע מסוג מסילת רכבת משמש כהערה',
  3123. '104.solution': 'הסר את המקטע כיוון שמסילת רכבת תיראה במסך של משתמש הקצה',
  3124. '107.title': 'צומת A: אין חיבור (איטי)',
  3125. '107.problem': 'צומת A של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3126. '107.solution': 'חבר את צומת A למקטע הקרוב ביותר או הרחק אותו מעט',
  3127. '108.title': 'צומת B: אין חיבור (איטי)',
  3128. '108.problem': 'צומת B של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3129. '108.solution': 'חבר את צומת B למקטע הקרוב ביותר או הרחק אותו מעט',
  3130. '109.enabled': false,
  3131. '109.title': 'מקטע קצר מדי',
  3132. '109.problem': 'מקטע מותר לנהיגה ללא קצה הוא פחות מ 2 מטר. וקשה לראות זאת במפה',
  3133. '109.solution': 'הארך את המקטע, מחק אותו או חבר אותו למקטע סמוך',
  3134. '112.title': 'לשם המחבר יש יותר מ ${n} אותיות',
  3135. '112.problem': 'שם המחבר ארוך מדי',
  3136. '112.solution': 'קצר את שם המחבר',
  3137. '114.enabled': false,
  3138. '114.title': 'צומת A: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3139. '114.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת A',
  3140. '114.solution': 'נתק את צומת A ממקטעים מותרים לנהיגה',
  3141. '115.enabled': false,
  3142. '115.title': 'צומת B: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3143. '115.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת B',
  3144. '115.solution': 'נתק את צומת B ממקטעים מותרים לנהיגה',
  3145. '116.title': 'גובה לא בטווח המותר',
  3146. '116.problem': 'גובה המקטע לא בטווח המותר',
  3147. '116.solution': 'תקן את הגובה',
  3148. '117.title': 'סימון של קבוע ישן ZN',
  3149. '117.problem': 'המקטע מסומן בסימון של קבוע שלא בתוקף: ZN',
  3150. '117.solution': 'שנה את הקבוע ZN ל: (סגור)',
  3151. '118.title': 'צומת A: מקטעים חופפים (איטי)',
  3152. '118.problem': 'המקטע חופף למקטע סמוך בצומת A',
  3153. '118.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת A',
  3154. '119.title': 'צומת B: מקטעים חופפים (איטי)',
  3155. '119.problem': 'המקטע חופף למקטע סמוך בצומת B',
  3156. '119.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת B',
  3157. '120.title': 'צומת A: פנייה חדה מדי (איטי)',
  3158. '120.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת A',
  3159. '120.solution': 'אסור את הפנייה החדה בצומת A או שנה את זווית הפניה ל 30°',
  3160. '121.title': 'צומת B: פנייה חדה מדי (איטי)',
  3161. '121.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת B',
  3162. '121.solution': 'אסור את הפנייה החדה בצומת B או שנה את זווית הפניה ל 30°',
  3163. '128.title': 'בדיקה מותאמת אישית ע"י המשתמש (ירוק)',
  3164. '128.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3165. '128.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3166. '129.title': 'בדיקה מותאמת אישית ע"י המשתמש (כחול)',
  3167. '129.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3168. '129.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3169. '171.enabled': false,
  3170. '171.title': 'שם רחוב מקוצר באופן שגוי',
  3171. '171.problem': 'בשם הרחוב יש קיצור שגוי',
  3172. '171.solution': 'בדוק אותיות קטנות / גדולות, רווח לפני / אחרי הקיצור ובהתאם לטבלת הקיצורים',
  3173. '172.title': 'מרווחים מיותרים בשם של רחוב',
  3174. '172.problem': 'מרווח כפול/לפני/אחרי שם של רחוב',
  3175. '172.solution': 'מחק מרווחים מיותרים בשם של הרחוב',
  3176. '173.enabled': false,
  3177. '173.title': 'אין רווח לפני/אחרי שם קיצור של רחוב',
  3178. '173.problem': 'חסר מרווח לפני או אחרי שימוש בקיצור בשם של רחוב',
  3179. '173.solution': 'הוסף רווח לפני/אחרי הקיצור',
  3180. '175.title': 'שם רחוב ריק',
  3181. '175.problem': 'שם הרחוב מכיל רק מרווחים או נקודות',
  3182. '175.solution': 'במאפייני הכתובת, סמן את תיבת \'אין\' ליד שם הרחוב, לחץ \'החל\', או תן שם תקין לרחוב',
  3183. '190.enabled': false,
  3184. '190.title': 'שם העיר באותיות קטנות',
  3185. '190.problem': 'שם העיר מתחיל באות קטנה',
  3186. '190.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3187. '192.title': 'מרווחים מיותרים בשם של עיר',
  3188. '192.problem': 'מרווח כפול/לפני/אחרי שם של עיר',
  3189. '192.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3190. '193.enabled': false,
  3191. '193.title': 'מרווחים לפני/אחרי קיצור של שם עיר',
  3192. '193.problem': 'מרווחים אסורים לפני או אחרי שימוש בקיצור בשם של עיר',
  3193. '193.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3194. '200.enabled': false,
  3195. '200.title': 'צומת A: פניה שלא אושרה ברחוב משני',
  3196. '200.problem': 'במקטע המשני יש פניה שלא אושרה בצומת A',
  3197. '200.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו',
  3198. '201.title': 'צומת A: פניה שלא אושרה ברחוב ראשי',
  3199. '201.problem': 'במקטע הראשי יש פניה שלא אושרה בצומת A',
  3200. '201.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו'
  3201. },
  3202. 'IE': {
  3203. '.codeISO': 'IE',
  3204. '.country': 'Ireland',
  3205. '70.enabled': true,
  3206. '70.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3207. '71.enabled': true,
  3208. '71.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3209. '72.enabled': true,
  3210. '72.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3211. '160.enabled': true,
  3212. '160.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3213. '160.params': {'solutionEN': 'Rename the street to \'Mxx\' or \'Mxx N/S/W/E\' or change the road type', 'regexp': '!/^M[0-9]+( [NSWE])?$/'},
  3214. '161.enabled': true,
  3215. '161.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3216. '161.params': {'solutionEN': 'Rename the street to \'Nxx\' or \'Nxx Local Name\' or change the road type', 'regexp': '!/^N[0-9]+( .*)?$/'},
  3217. '162.enabled': true,
  3218. '162.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3219. '162.params': {'solutionEN': 'Rename the street to \'Rxxx\' or \'Rxxx Local Name\' or change the road type', 'regexp': '!/^R[0-9]+( .*)?$/'}
  3220. },
  3221. 'FR': {
  3222. '.codeISO': 'FR',
  3223. '.country': ['France', 'French Guiana', 'New Caledonia', 'Reunion'],
  3224. '.author': 'arbaot and ClementH44',
  3225. '.updated': '2014-03-27',
  3226. '.lng': 'FR',
  3227. 'err.regexp': 'Erreur d\'interprétation pour la vérification #${n}:',
  3228. 'props.disabled': 'WME Validator est désactivé',
  3229. 'props.limit.title': 'Trop de problèmes signalés',
  3230. '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',
  3231. 'props.limit.solution': 'Désélectionnez le segment et arrêtez le scan. Ensuite, cliquez sur le bouton rouge «✘» (Effacer le rapport)',
  3232. 'props.reports': 'Rapports',
  3233. 'props.noneditable': 'Vous ne pouvez éditer ce segment',
  3234. 'report.list.andUp': 'et jusqu\'à',
  3235. 'report.list.severity': 'Gravité :',
  3236. 'report.list.reportOnly': 'seulement dans le rapport',
  3237. 'report.list.forEditors': 'Pour le niveau d\'édition :',
  3238. 'report.list.forCountries': 'Pour les pays :',
  3239. 'report.list.forStates': 'Pour les états :',
  3240. 'report.list.forCities': 'Pour les villes :',
  3241. 'report.list.params': 'Paramètres à configurer dans le pack de localisation :',
  3242. 'report.list.enabled': '${n} vérifications sont activés pour',
  3243. 'report.list.disabled': '${n} vérifications sont désactivés pour',
  3244. 'report.list.total': 'Il y a ${n} points de contôles activés',
  3245. 'report.list.title': 'Liste complète des vérifications pour',
  3246. 'report.list.see': 'Voir',
  3247. 'report.list.checks': 'Paramètres->À propos->Les vérifications',
  3248. 'report.list.fallback': 'Règles de regroupement géographique :',
  3249. 'report.and': 'et',
  3250. 'report.segments': 'Nombre total de segments vérifiés :',
  3251. 'report.customs': 'Les vérifications personnalisés adaptés (vert/bleu):',
  3252. 'report.reported': 'Signalement',
  3253. 'report.errors': 'd\'erreurs',
  3254. 'report.warnings': 'd\'avertissements',
  3255. 'report.notes': 'de remarques',
  3256. 'report.contents': 'Contenus :',
  3257. 'report.summary': 'Récapitulatif',
  3258. 'report.title': 'Rapport de WME Validator',
  3259. 'report.share': 'à partager',
  3260. 'report.generated.by': 'généré par',
  3261. 'report.generated.on': 'le',
  3262. 'report.source': 'Source du rapport :',
  3263. 'report.filter.duplicate': 'les segments doublons',
  3264. 'report.filter.streets': 'Rue et Routes de service',
  3265. 'report.filter.other': 'Autres',
  3266. 'report.filter.noneditable': 'segments non modifiables',
  3267. 'report.filter.notes': 'notes',
  3268. 'report.filter.title': 'Filtre :',
  3269. 'report.filter.excluded': 'sont exclues de ce rapport.',
  3270. 'report.search.updated.by': 'mis à jour par',
  3271. 'report.search.updated.since': 'mis à jour depuis',
  3272. 'report.search.city': 'à partir de',
  3273. 'report.search.reported': 'signalé comme',
  3274. 'report.search.title': 'Rechercher:',
  3275. 'report.search.only': 'seulement les segments',
  3276. 'report.search.included': 'sont inclus dans le rapport.',
  3277. 'report.beta.warning': 'avertissement WME Beta !',
  3278. 'report.beta.text': 'Ce rapport est généré pour WME beta avec des permaliens en beta.',
  3279. 'report.beta.share': 'Ne pas partager ces permaliens !',
  3280. 'report.size.warning':
  3281. '<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.',
  3282. '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.',
  3283. 'report.forum': 'Pour soutenir le développement, merci de laisser un commentaire sur',
  3284. 'report.thanks': 'Merci d\'utiliser WME Validator !',
  3285. 'msg.limit.segments': 'Il y a trop de segments.\n\nCliquez sur \'Le rapport\' pour examiner le rapport, ensuite\n',
  3286. 'msg.limit.segments.continue': 'cliquez sur \'▶\' pour continuer.',
  3287. 'msg.pan.text': 'Déplacez-vous sur pour valider la carte',
  3288. 'msg.zoomout.text': 'Effectuer un zoom arrière pour démarrer WME Validator',
  3289. 'msg.click.text': 'Cliquez sur \'▶\' pour valider la zone visible de la carte',
  3290. 'msg.autopaused': 'Pause automatique',
  3291. 'msg.autopaused.text': 'Pause automatique ! Cliquez sur \'▶\' pour continuer.',
  3292. 'msg.autopaused.tip': 'WME Validator est automatiquement suspendu si la carte est déplacée ou si la taille de la fenêtre change',
  3293. 'msg.finished.text': 'Cliquez sur <b>\'Le rapport\'</b> pour examiner les problèmes de carte',
  3294. 'msg.finished.tip': 'Cliquez sur \'✉\' (Partager) pour poster un rapport sur un\nforum ou par message privé',
  3295. 'msg.noissues.text': 'Terminé ! Aucun problème trouvé !',
  3296. 'msg.noissues.tip': 'Essayez de désactiver quelques filtres ou démarrez WME Validator sur une autre zone de la carte !',
  3297. 'msg.scanning.text': 'Scan en cours ! Terminé dans ~ ${n} min',
  3298. 'msg.scanning.text.soon': 'Scan en cours ! Terminé dans une minute !',
  3299. 'msg.scanning.tip': 'Cliquez sur \'Pause\' pour suspendre ou \'■\' pour stopper',
  3300. 'msg.starting.text': 'Lancement ! Les calques ne peuvent scanner plus vite !',
  3301. 'msg.starting.tip': 'Utilisez le bouton \'Pause\' pour suspendre ou le bouton \'■\' pour stopper',
  3302. 'msg.paused.text': 'En pause ! Cliquez sur \'▶\' pour continuer.',
  3303. 'msg.paused.tip': 'Pour voirla raport, cliquez sur \'Le rapport\' (si disponible)',
  3304. 'msg.continuing.text': 'En cours !',
  3305. 'msg.continuing.tip': 'WME Validator continuera à l\'endroit où il a été suspendu',
  3306. 'msg.settings.text': 'Cliquez sur <b>\'Retour\'</b> pour retourner sur la vue principale',
  3307. 'msg.settings.tip': 'Cliquez sur \'Par défaut\' pour réinitialiser tous les réglages en un clic !',
  3308. 'msg.reset.text': 'Toutes les options de filtrage et les paramètres ont été remis à leurs valeurs par défaut',
  3309. 'msg.reset.tip': 'Cliquez sur \'Retour\' pour retourner sur la vue principale',
  3310. 'msg.textarea.pack': 'Merci de copier le texte ci-dessous et de le coller dans un nouveau fichier <b>.user.js</b>',
  3311. 'msg.textarea': 'Merci de copier le texte ci-dessous et de le coller dans votre forum pour par message privé',
  3312. 'noaccess.text':
  3313. '<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.',
  3314. 'noaccess.tip': 'Merci de visiter le forum du programme pour plus d\'informations !',
  3315. 'tab.switch.tip.on': 'Cliquez pour activer la surbrillance',
  3316. 'tab.switch.tip.off': 'Cliquez pour désactiver la surbrillance',
  3317. 'tab.filter.text': 'filtre',
  3318. 'tab.filter.tip': 'Options pour filtrer le rapport et les segments à mettre en évidence',
  3319. 'tab.search.text': 'cherche',
  3320. 'tab.search.tip': 'Options avancées de filtrage pour inclure uniquement des segments spécifiques',
  3321. 'tab.help.text': 'aide',
  3322. 'tab.help.tip': 'Besoins d\'aide ?',
  3323. 'filter.noneditables.text': 'Exclure les segments <b>non modifiables</b>',
  3324. 'filter.noneditables.tip': 'Ne pas éxaminer les segments verrouillés ou en dehors de vos zones modifiables',
  3325. 'filter.duplicates.text': 'Exclure les segments <b>doublons</b>',
  3326. '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',
  3327. 'filter.streets.text': 'Exclure les <b>Rues et Routes de service</b>',
  3328. 'filter.streets.tip': 'Ne pas éxaminer les rues et routes/chemins de service',
  3329. 'filter.other.text': 'Exclure les <b>autres rues carrossables</b>',
  3330. 'filter.other.tip': 'Ne pas éxaminer les chemins de terres, les parkings, les routes privées\net les segments non carrossables',
  3331. 'filter.notes.text': 'Exclure les <b>remarques</b>',
  3332. 'filter.notes.tip': 'Rapporte uniquement les avertissements et les erreurs',
  3333. 'search.youredits.text': 'Inclure <b>uniquement vos modifications</b>',
  3334. 'search.youredits.tip': 'Inclure uniquement les segments modifiés par vous',
  3335. 'search.updatedby.text': '<b>Mis à jour par:</b>',
  3336. 'search.updatedby.tip':
  3337. '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',
  3338. 'search.updatedby.example': 'Example: me',
  3339. 'search.updatedsince.text': '<b>Mis à jour depuis:</b>',
  3340. 'search.updatedsince.tip': 'Inclure uniquement les segments modifiés depuis la date spécifiée\nFormat de date Firefox: AAAA-MM-JJ',
  3341. 'search.updatedsince.example': 'AAAA-MM-JJ',
  3342. 'search.city.text': '<b>Nom de Ville:</b>',
  3343. 'search.city.tip':
  3344. '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, *',
  3345. 'search.city.example': 'Example: !Paris, *',
  3346. 'search.checks.text': '<b>Signalé comme:</b>',
  3347. 'search.checks.tip':
  3348. '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*, *',
  3349. 'search.checks.example': 'Example: reverse*',
  3350. 'help.text':
  3351. '<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>',
  3352. 'help.tip': 'S\'ouvre dans un nouvel onglet du navigateur',
  3353. 'button.scan.tip': 'Commencer à scanner la zone actuelle de la carte\n* Remarque: cela peut prendre quelques minutes',
  3354. 'button.scan.tip.NA': 'Dézoomez pour commencer à scanner la zone actuelle de la carte',
  3355. 'button.pause.tip': 'Scan en pause',
  3356. 'button.continue.tip': 'Continuer à scanner la zone de la carte',
  3357. 'button.stop.tip': 'Arrêter le scan et retourner à la position de départ',
  3358. 'button.clear.tip': 'Effacer la mémoire cache des rapports et segments',
  3359. '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.',
  3360. 'button.report.text': 'Le rapport',
  3361. 'button.report.tip': 'Appliquer le filtre et générer un rapport HTML dans un nouvel onglet.',
  3362. 'button.BBreport.tip': 'Partagez le rapport sur le forum Waze ou dans un message privé.',
  3363. 'button.settings.tip': 'Configurer les paramètres',
  3364. 'tab.custom.text': 'perso',
  3365. 'tab.custom.tip': 'Paramètres de vérification personnalisés définis par l\'utilisateur',
  3366. 'tab.settings.text': 'Params',
  3367. 'tab.scanner.text': 'scan',
  3368. 'tab.scanner.tip': 'Paramètres du scan de la carte',
  3369. 'tab.about.text': 'à propos</span>',
  3370. 'tab.about.tip': 'À propos de WME Validator',
  3371. 'scanner.sounds.text': 'Activer les sons',
  3372. 'scanner.sounds.tip': 'Joue un \'bip\' pendant le scan',
  3373. 'scanner.sounds.NA': 'Votre navigateur ne supporte pas AudioContext',
  3374. 'scanner.highlight.text': 'Mettre en surbrillance sur la carte',
  3375. 'scanner.highlight.tip': 'Mettre en surbrillance les problèmes repérés sur la carte',
  3376. 'scanner.slow.text': 'Activer le mode \'lent\'',
  3377. 'scanner.slow.tip': 'Permet un scan plus poussé et précis de la carte\n* Remarque: cette option peut ralentir le processus de scan',
  3378. 'scanner.ext.text': 'Signaler des surbrillances externes',
  3379. 'scanner.ext.tip': 'Signaler des segments mis en évidence par WME Toolbox ou WME Color Highlights',
  3380. 'custom.template.text': 'Modèle perso',
  3381. '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},' +
  3382. '\n${altCity[index or delimeter]} Example: ${altCity[0]},' +
  3383. '\n${altStreet[index or delimeter]} Example: ${altStreet[##]},' +
  3384. '\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}',
  3385. 'custom.template.example': 'Example: ${street}',
  3386. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a> perso',
  3387. 'custom.regexp.tip':
  3388. '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/',
  3389. 'custom.regexp.example': 'Example: !/.+/',
  3390. 'about.tip': 'Ouvre le lien dans un nouvel onglet',
  3391. 'button.reset.text': 'Par défaut',
  3392. 'button.reset.tip': 'Rétablir les options de filtrage et les paramètres par défaut',
  3393. 'button.list.text': 'Les vérifications...',
  3394. 'button.list.tip': 'Montre une liste des vérifications possibles dans WME Validator',
  3395. 'button.wizard.tip': 'Créer un pack géographique',
  3396. 'button.back.text': 'Ret.',
  3397. 'button.back.tip': 'Fermer les paramètres et revenir à l\'ecran principal',
  3398. '1.solutionLink': 'W:Tout_sur_les_ronds-points',
  3399. '1.title': 'WME Toolbox: Rond-point pouvant causer des problèmes',
  3400. '1.problem': 'Les ID des segments du rond-point ne sont pas consécutif',
  3401. '1.solution': 'Refaire le rond-point',
  3402. '2.title': 'WME Toolbox: Simple segment (une voie)',
  3403. '2.problem': 'Ce segments a des nœuds de géométrie inutile',
  3404. '2.solution': 'Simplifier le tracé du segment sélectionné en survolant les nœuds en trop en appuyant sur le \'d\' du clavier',
  3405. '3.title': 'WME Toolbox: Verrouillage de niveau 2',
  3406. '3.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3407. '4.title': 'WME Toolbox: Verrouillage de niveau 3',
  3408. '4.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3409. '5.title': 'WME Toolbox: Verrouillage de niveau 4',
  3410. '5.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3411. '6.title': 'WME Toolbox: Verrouillage de niveau 5',
  3412. '6.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3413. '7.title': 'WME Toolbox: Verrouillage de niveau 6',
  3414. '7.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3415. '8.title': 'WME Toolbox: Numéros de maison',
  3416. '8.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3417. '9.title': 'WME Toolbox: Segment avec une restriction programmée',
  3418. '9.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3419. '13.title': 'WME Color Highlights: Verrouillage de l\'éditeur',
  3420. '13.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3421. '14.title': 'WME Color Highlights: Péage / Route à sens unique',
  3422. '14.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3423. '15.title': 'WME Color Highlights: Récemment modifié',
  3424. '15.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3425. '16.title': 'WME Color Highlights: Rang de la route',
  3426. '16.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3427. '17.title': 'WME Color Highlights: Pas de ville',
  3428. '17.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3429. '18.title': 'WME Color Highlights: Restriction programmée / Type de route mis en évidence',
  3430. '18.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3431. '19.title': 'WME Color Highlights: Pas de nom',
  3432. '19.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3433. '20.title': 'WME Color Highlights: Filtrer par ville',
  3434. '20.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3435. '21.title': 'WME Color Highlights: Filtrer par ville (ville alt.)',
  3436. '21.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3437. '22.title': 'WME Color Highlights: Filtrer par éditeur',
  3438. '22.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3439. '23.problemLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3440. '23.solutionLink': 'W:Nommage_France',
  3441. '23.title': 'Route non confirmée',
  3442. '23.problem': 'Création de segment incomplète ville et nom de rue non renseigné',
  3443. '23.solution': 'Terminer la création en complétant les propriétés',
  3444. '24.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3445. '24.solutionLink': 'F:t=29403',
  3446. '24.title': 'Nom de ville peut-être erroné (uniquement disponible dans le rapport)',
  3447. '24.problem': 'Le nom de la ville est peut-être incorrecte',
  3448. '24.solution': 'Comparer le nom avec celui proposé et éventuellement signaler le problème sur le forum',
  3449. '25.title': 'Direction inconnue de la route carrossable',
  3450. '25.problem': 'Un sens de circulation \'Inconnu\' n\'empêchera Waze de faire emprunter le segment',
  3451. '25.solution': 'Régler le sens de circulation du segment',
  3452. '27.enabled': true,
  3453. '27.title': 'Nom de ville sur une voie ferrée',
  3454. '27.problem': 'Un nom de ville sur les segment voie ferré provoque des incohérence des polygones Ville',
  3455. '27.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum ',
  3456. '28.problemLink': 'W:Guide_des_intersections#Noms_3',
  3457. '28.title': 'Nom de rue sur une rampe',
  3458. '28.problem': 'Une rampe sans nom \'hérite\' du nom du segment suivant',
  3459. '28.solution': 'Régler le nom du segment à \'Sans\'',
  3460. '29.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3461. '29.solutionLink': 'W:Tout_sur_les_ronds-points',
  3462. '29.title': 'Nom de rue sur rond-point',
  3463. '29.problem': 'Dans Waze pas de nom de rue sur les rond-point',
  3464. '29.solution': 'Régler le nom des segment du RP à \'Sans\' et créer un POI Jonction/ échangeur avec le nom du RP',
  3465. '34.title': 'Nom de rue alternatif vide',
  3466. '34.problem': 'Le nom de rue alternatif vide',
  3467. '34.solution': 'Supprimer le nom alternatif',
  3468. '35.title': 'Route carrossable non terminé',
  3469. '35.problem': 'Waze ne propose pas de guidage vers/dans les segment non terminés',
  3470. '35.solution': 'Déplacer légèrement l\'extrémité libre du segment pour afin que le nœuds de terminaison soit ajouté',
  3471. '36.title': 'Noeud A: inutil (mode lent)',
  3472. '36.problem': 'Les segments de part et d\'autres du nœud A ont les mêmes propriétés',
  3473. '36.solution': 'Sélectionner le nœud A et appuyer sur Suppr pour fusionner les 2 segments',
  3474. '37.title': 'Noeud B: inutil (mode lent)',
  3475. '37.problem': 'Les segments de part et d\'autres du nœud B ont les mêmes propriétés',
  3476. '37.solution': 'Sélectionner le nœud B et appuyer sur Suppr pour fusionner les 2 segments',
  3477. '38.problemLink': 'W:Les_fermetures_programmées#Segments',
  3478. '38.title': 'Fermetures programmées périmées (mode lent)',
  3479. '38.problem': 'Il y a des fermetures programmées périmées sur ce segment',
  3480. '38.solution': 'Cliquer \'Modifier les restrictions\' et supprimer les restrictions périmées',
  3481. '39.problemLink': 'W:Les_fermetures_programmées#Restriction_de_tourner',
  3482. '39.title': 'Restrictions de tourner périmés (mode lent)',
  3483. '39.problem': 'Il y a des restrictions de tourner périmées sur ce nœud de jonction',
  3484. '39.solution': 'Cliquer l\'icône horloge accolée à la flèche jaune et supprimer les restrictions périmées',
  3485. '41.title': 'Noeud A: Autorisation en sens interdit',
  3486. '41.problem': 'Au nœud A il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3487. '41.solution': 'Passer le segment à double sens, corriger la flèche au nœud A puis repasser en sens unique',
  3488. '42.title': 'Noeud B: Autorisation en sens interdit',
  3489. '42.problem': 'Au nœud B il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3490. '42.solution': 'Passer le segment à double sens, corriger la flèche au nœud B puis repasser en sens unique',
  3491. '43.title': 'Connecté à lui-même',
  3492. '43.problem': 'Le segment est connecté à lui même',
  3493. '43.solution': 'Couper le segment en deux',
  3494. '44.title': 'Pas ne connexion sortante',
  3495. '44.problem': 'Le segment carrossable n\'a pas de connexion sortante',
  3496. '44.solution': 'Activer au moins une connexion sortante = une flèche verte',
  3497. '45.title': 'Pas de connexion entrante',
  3498. '45.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante',
  3499. '45.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte)',
  3500. '46.title': 'Noeud A: Pas de connexion entrante pour le segment (mode lent)',
  3501. '46.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud A',
  3502. '46.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud A',
  3503. '47.title': 'Noeud B: Pas de connexion entrante pour le segment (mode lent)',
  3504. '47.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud B',
  3505. '47.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud B',
  3506. '48.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3507. '48.title': 'Segment de rond-point à double sens',
  3508. '48.problem': 'Segment de rond-point à double sens de circulation',
  3509. '48.solution': 'Refaire le rond-point',
  3510. '50.solutionLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3511. '50.title': 'Pas de connectivité sur le rond-point (mode lent)',
  3512. '50.problem': 'Le segment du rond-point n\'a pas de connectivité avec le segment adjacent',
  3513. '50.solution': 'Autoriser un virage vers le segment adjacent = Corriger la flèche rouge',
  3514. '57.enabled': true,
  3515. '57.title': 'Nom de ville sur une rampe',
  3516. '57.problem': 'Un Nom de ville sur une rampe peu affecter la recherche dans Waze',
  3517. '57.solution': 'Cocher la case \'Sans\' pour ville',
  3518. '59.enabled': true,
  3519. '59.title': 'Nom de ville sur Freeway',
  3520. '59.problem': 'Un nom de ville sur les segment Freeway provoque des incohérence des polygones Ville',
  3521. '59.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum',
  3522. '74.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3523. '74.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3524. '74.title': 'Noeud A: Plusieurs segments connectés',
  3525. '74.problem': 'La jonction A du rond-point est connectée à plusieurs segments',
  3526. '74.solution': 'Refaire le rond-point',
  3527. '77.title': 'Demi-tour autorisé',
  3528. '77.problem': 'L\'impasse carrossable à un demi-tour autorisé à son extrémité',
  3529. '77.solution': 'Éventuellement Interdire le demi-tour',
  3530. '78.title': 'Mêmes extrémités des segments carrossables (mode lent)',
  3531. '78.problem': 'Deux segments carrossables partagent les deux mêmes extrémités',
  3532. '78.solution': 'Diviser le segment. Vous pouvez également supprimer l\'un des segments si ils sont identiques',
  3533. '79.title': 'Demi-tour trop court (mode lent)',
  3534. '79.problem': 'Le segment fait moins de 15m si nécessaire Waze ne proposera pas de demi-tour',
  3535. '79.solution': 'Agrandisseur le segment à 15m mini (si le demi-tour est autorisé)',
  3536. '87.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3537. '87.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3538. '87.title': 'Noeud A: Plusieurs sorties au rond-point',
  3539. '87.problem': 'La jonction A du rond-point est connectée à plusieurs segments sortant',
  3540. '87.solution': 'Refaire le rond-point',
  3541. '99.title': 'Demi-tour à l\'entrée du rond-point (mode lent)',
  3542. '99.problem': 'Le segment d\'entrée du rond-point à un demi-tour autorisé',
  3543. '99.solution': 'Désactiver le demi-tour',
  3544. '101.title': 'Route fermée (seulement disponible dans le rapport)',
  3545. '101.problem': 'Le segment est marqué comme étant fermé',
  3546. '101.solution': 'Si la construction est terminée, restaurez la connectivité du segment et supprimez le suffixe',
  3547. '101.params': {'regexp': '/(^|\\b)travaux(\\b|$)/i'},
  3548. '102.title': 'Noeud A: Pas de connexion sortante (mode lent)',
  3549. '102.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud A',
  3550. '102.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud A',
  3551. '103.title': 'Noeud B: Pas de connexion sortante (mode lent)',
  3552. '103.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud B',
  3553. '103.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud B',
  3554. '104.title': 'Voie ferré utilisée pour des commentaires',
  3555. '104.problem': 'Le segment de voie ferré est probablement utilisé pour mettre un commentaire',
  3556. '104.solution': 'Supprimez le commentaire car les voies ferrée sont affichées pour le client',
  3557. '107.title': 'Noeud A: Pas de connexion (mode lent)',
  3558. '107.problem': 'Le noeud A du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3559. '107.solution': 'Connectez le noeud A à un segment à proximité ou le déplacer un peu plus loin',
  3560. '108.title': 'Noeud B: pas de connexion (mode lent)',
  3561. '108.problem': 'Le noeud B du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3562. '108.solution': 'Connectez le noeud B à un segment à proximité ou le déplacer un peu plus loin',
  3563. '109.title': 'Segment trop court',
  3564. '109.problem': 'Le segment carrossables non-terminal est de moins de 2m de long, il est difficile de le voir sur la carte',
  3565. '109.solution': 'Augmentez sa taille, supprimez le ou connectez le à un segment adjacent',
  3566. '112.title': 'Plus de ${n} lettres en trop pour le nom de la rampe',
  3567. '112.problem': 'Le nom de la rampe est trop long',
  3568. '112.solution': 'Renommez de façon plus courte le nom de la rampe',
  3569. '114.title': 'Noeud A: non carrossable connecté à un carrossable (mode lent)',
  3570. '114.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud A',
  3571. '114.solution': 'Déconnectez le noeud A de tous les segments carrossables',
  3572. '115.title': 'Noeud B: non carrossable connecté à un carrossable (mode lent)',
  3573. '115.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud B',
  3574. '115.solution': 'Déconnectez le noeud B de tous les segments carrossables',
  3575. '116.title': 'Élévation hors de portée',
  3576. '116.problem': 'L\'élévation est en dehors des limites habituelle',
  3577. '116.solution': 'Corrigez l\'élévation',
  3578. '117.title': 'Obsolete CONST ZN marker',
  3579. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  3580. '117.solution': 'Change CONST ZN to (closed)',
  3581. '118.title': 'Noeud A: Chevauchement des segments (mode lent)',
  3582. '118.problem': 'Le segment se chevauche avec le segment adjacent au noeud A',
  3583. '118.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud A',
  3584. '119.title': 'Noeud B: Chevauchement des segments (mode lent)',
  3585. '119.problem': 'Le segment se chevauche avec le segment adjacent au noeud B',
  3586. '119.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud B',
  3587. '120.title': 'Noeud A: Virage trop fort (mode lent)',
  3588. '120.problem': 'Le segment carrossable a un virage très fort au noeud A',
  3589. '120.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3590. '121.title': 'Noeud B: Virage trop fort (mode lent)',
  3591. '121.problem': 'Le segment carrossable a un virage très fort au noeud B',
  3592. '121.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3593. '128.title': 'Vérification personnalisée définie par l\'utilisateur (vert)',
  3594. '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)',
  3595. '128.solution': 'Résoudre le problème',
  3596. '129.title': 'Vérification personnalisée définie par l\'utilisateur (bleu)',
  3597. '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)',
  3598. '129.solution': 'Résoudre le problème',
  3599. '163.enabled': true,
  3600. '163.title': '\'Vers\' dans le nom de la rue',
  3601. '163.problem': 'Nom de rue contenant \'vers\'',
  3602. '163.solution': 'Renommer le segment selon les règles du wiki ou signaler sur le forum',
  3603. '163.solutionLink': 'W:Nommage_France#Nommage_des_entr.C3.A9es.2C_sorties_et_des_embranchements_d.27autoroutes',
  3604. '163.params':
  3605. {'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'},
  3606. '170.enabled': true,
  3607. '170.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3608. '170.title': 'Majuscule dans le nom de rue',
  3609. '170.problem': 'Le nom de la rue commence par une miniscule',
  3610. '170.solution': 'Passer la première lettre en majuscule',
  3611. '171.enabled': true,
  3612. '171.title': 'Abréviation dans le nom de rue',
  3613. '171.problem': 'Abréviation indésirable dans le nom de rue',
  3614. '171.solution': 'Écrire le mot abréger en toute lettre',
  3615. '171.params': {
  3616. 'regexp':
  3617. '/((^| )([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)\\.)[^ ]+\\.)/'
  3618. },
  3619. '172.title': 'Nom de rue avec des espaces inutiles',
  3620. '172.problem': 'Double espace dans le nom de rue',
  3621. '172.problemLink': 'W:Comment_nommer_les_routes_et_les_villes',
  3622. '172.solution': 'Supprimer les espaces inutiles',
  3623. '173.enabled': false,
  3624. '173.title': 'Nom de rue sans espace avant ou après une abrévation',
  3625. '173.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jan\') une abrévation dans le nom de rue',
  3626. '173.solution': 'Ajouter un espace avant/après l\'abrévation',
  3627. '174.enabled': true,
  3628. '174.title': 'Mauvais orthographe',
  3629. '174.problem': 'Mauvais orthographe qui provoque une mauvaise prononciation',
  3630. '174.solution': 'Corriger l\'orthographe (É = Alt-144 etc)',
  3631. '174.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3632. '174.params': {
  3633. 'regexp':
  3634. '/(^|\\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'
  3635. },
  3636. '175.title': 'Nom de rue avec uniquement des espaces',
  3637. '175.problem': 'Le nom de la rue n\'a que des espaces',
  3638. '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é',
  3639. '190.title': 'Minuscule dans le nom de ville',
  3640. '190.problem': 'Le nom de ville commence avec une lettre en majuscule',
  3641. '190.solution': 'Utilisé ce formulaire pour renommer la ville',
  3642. '192.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3643. '192.solutionLink': 'F:t=29403',
  3644. '192.title': 'Nom de ville avec des espaces inutiles',
  3645. '192.problem': 'Double espace dans le nom de ville',
  3646. '192.solution': 'Utiliser le formulaire suivant pour faire une demande de modification',
  3647. '193.enabled': false,
  3648. '193.title': 'Nom de bille sans espace avant ou après une abrévation',
  3649. '193.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jana\') une abrévation dans le nom de rue',
  3650. '193.solution': 'Utiliser ce formulaire pour renommer la ville',
  3651. '200.problemLink': 'W:Soft_et_hard_turns',
  3652. '200.solutionLink': 'W:Soft_et_hard_turns#Bonnes_pratiques',
  3653. '200.title': 'Noeud A: Autorisation de tourner non confirmée',
  3654. '200.problem': 'Le segment carrossable à une autorisation de tourner non confirmée au noeud A',
  3655. '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'
  3656. },
  3657. 'ES': {
  3658. '.codeISO': 'ES',
  3659. '.country': [
  3660. 'Spain', 'Andorra', 'Bolivia', 'Costa Rica', 'Colombia', 'Cuba', 'Dominican Republic', 'Ecuador', 'Equatorial Guinea', 'Guatemala', 'Honduras', 'Nicaragua', 'Panama', 'Peru', 'Paraguay',
  3661. 'El Salvador', 'Uruguay', 'Venezuela'
  3662. ],
  3663. '.author': 'robindlc and fernandoanguita',
  3664. '.updated': '2014-08-30',
  3665. '.lng': ['ES', 'ES-419', 'GL'],
  3666. 'city.consider': 'considerar este nombre de ciudad:',
  3667. 'city.1': 'nombre de ciudad demasiado corto',
  3668. 'city.2': 'expandir la abreviación',
  3669. 'city.3': 'completar nombre corto',
  3670. 'city.4': 'completar nombre de ciudad',
  3671. 'city.5': 'corregir mayúsculas',
  3672. 'city.6': 'comprobar orden de palabras',
  3673. 'city.7': 'comprobar abreviaciones',
  3674. 'city.8a': 'añadir nombre de país',
  3675. 'city.8r': 'eliminar nombre de país',
  3676. 'city.9': 'comprobar nombre de país',
  3677. 'city.10a': 'añadir palabra',
  3678. 'city.10r': 'eliminar palabra',
  3679. 'city.11': 'añadir código de país',
  3680. 'city.12': 'nombres idénticos, pero ciudades con diferentes IDs',
  3681. 'city.13a': 'añadir espacio',
  3682. 'city.13r': 'eliminar espacio',
  3683. 'city.14': 'revisar el número',
  3684. 'props.skipped.title': 'El segmento no está revisado',
  3685. '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ó',
  3686. 'err.regexp': 'Error al analizar la opción de revisión #${n}:',
  3687. 'props.disabled': 'WME Validator deshabilitado',
  3688. 'props.limit.title': 'Demasiados problemas notificados',
  3689. 'props.limit.problem': 'Hay demasiados problemas notificados, puede que no se muestren todos',
  3690. 'props.limit.solution': 'Deselecciona el segmento y detiene el proceso de escaneo. Luego pincha el botón con la \'✘\' roja (Limpiar Reporte)',
  3691. 'props.reports': 'informes',
  3692. 'props.noneditable': 'No puedes editar este segmento',
  3693. 'report.save': 'Guardar este informe',
  3694. 'report.list.andUp': 'y subiendo',
  3695. 'report.list.severity': 'Severidad:',
  3696. 'report.list.reportOnly': 'sólo en el informe',
  3697. 'report.list.forEditors': 'Para editores nivel:',
  3698. 'report.list.forCountries': 'Para paises:',
  3699. 'report.list.forStates': 'Para estados:',
  3700. 'report.list.forCities': 'Para ciudades:',
  3701. 'report.list.params': 'Parámetros para configurar en el paquete de localización:',
  3702. 'report.list.params.set': 'Parámetros ajustados en el paquete de localización:',
  3703. 'report.list.enabled': '${n} revisiones están habilitadas para',
  3704. 'report.list.disabled': '${n} revisiones están deshabilitadas para',
  3705. 'report.list.total': 'Hay ${n} revisiones disponibles',
  3706. 'report.list.title': 'Lista Completa de Revisiones para',
  3707. 'report.list.see': 'Ver',
  3708. 'report.list.checks': 'Configuración>Acerca>Revisiones disponibles',
  3709. 'report.list.fallback': 'Reglas de Localización de respaldo:',
  3710. 'report.and': 'y',
  3711. 'report.segments': 'Número total de segmentos revisados:',
  3712. 'report.customs': 'Revisiones personalizadas combinadas (verde/azul):',
  3713. 'report.reported': 'Reportados',
  3714. 'report.errors': 'errores',
  3715. 'report.warnings': 'advertencias',
  3716. 'report.notes': 'notas',
  3717. 'report.contents': 'Contenidos:',
  3718. 'report.summary': 'Resumen',
  3719. 'report.title': 'Informe de WME Validator',
  3720. 'report.share': 'para Compartir',
  3721. 'report.generated.by': 'generado por',
  3722. 'report.generated.on': 'activo',
  3723. 'report.source': 'Fuente del informe:',
  3724. 'report.filter.duplicate': 'segmentos duplicados',
  3725. 'report.filter.streets': 'Calles y Calles de Servicio',
  3726. 'report.filter.other': 'Otros conducibles y no conducibles',
  3727. 'report.filter.noneditable': 'segmentos no-editables',
  3728. 'report.filter.notes': 'notas',
  3729. 'report.filter.title': 'Filtro:',
  3730. 'report.filter.excluded': 'están excluidos de este informe.',
  3731. 'report.search.updated.by': 'actualizado por',
  3732. 'report.search.updated.since': 'actualizado desde',
  3733. 'report.search.city': 'desde',
  3734. 'report.search.reported': 'reportado como',
  3735. 'report.search.title': 'Búsqueda:',
  3736. 'report.search.only': 'sólo segmentos',
  3737. 'report.search.included': 'están incluídos en el informe.',
  3738. 'report.beta.warning': '¡Advertencia WME Beta!',
  3739. 'report.beta.text': 'Este informe se genera en WME Beta con permalinks beta.',
  3740. 'report.beta.share': 'Por favor no comparta estos permalinks!',
  3741. 'report.size.warning':
  3742. '<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.',
  3743. 'report.note.limit': '* Nota: había demasiados problemas reportados, por lo que algunos de ellos no se incluyen en el resumen.',
  3744. 'report.forum': 'Para motivar futuros desarrollos, por favor deje su mensaje en el',
  3745. 'report.thanks': 'Gracias por usar WME Validator!',
  3746. 'msg.limit.segments': 'Hay demasiados segmentos.\n\nPincha \'Mostrar informe\' para revisar el informe, luego\n',
  3747. 'msg.limit.segments.continue': 'pincha \'▶\' para continuar.',
  3748. 'msg.limit.segments.clear': 'pulsa \'✘\' para borrar el informe.',
  3749. 'msg.pan.text': 'Desplaza el mapa para validarlo',
  3750. 'msg.zoomout.text': 'Aleja el zoom\tpara iniciar WME Validator',
  3751. 'msg.click.text': 'Pincha \'▶\' para validar el área visible del mapa',
  3752. 'msg.autopaused': 'autopausado',
  3753. 'msg.autopaused.text': '¡Autopausado! Pincha \'▶\' para continuar.',
  3754. 'msg.autopaused.tip': 'WME Validator automáticamente pausó al arrastrar el mapa o cambiar el tamaño de la ventana',
  3755. 'msg.finished.text': 'Pincha <b>\'Mostrar informe\'</b> para ver los problemas del mapa',
  3756. 'msg.finished.tip': 'Pincha el botón \'✉\' (Compartir) para publicar el informe en un \nforo o en un mensaje privado',
  3757. 'msg.noissues.text': '¡Terminado! ¡No se encontraron problemas!',
  3758. 'msg.noissues.tip': '¡Trata de deseleccionar algunas opciones de filtro o inicia WME Validator sobre otra zona del mapa!',
  3759. 'msg.scanning.text': '¡Escaneando! Finalizando en ~ ${n} minutos',
  3760. 'msg.scanning.text.soon': '¡Escaneando! ¡Finalizando en un minuto!',
  3761. 'msg.scanning.tip': 'Pincha el botón \'Pausa\' para pausar o \'■\' para detener',
  3762. 'msg.starting.text': '¡Comenzando! ¡Las capas están desactivadas para escanear más rápido!',
  3763. 'msg.starting.tip': 'Usa el botón \'Pausa\' para pausar o el botón \'■\' para detener',
  3764. 'msg.paused.text': '¡En pausa! Pincha el botón \'▶\' para continuar.',
  3765. 'msg.paused.tip': 'Para ver el informe pincha el botón \'Mostrar informe\' (si está disponible)',
  3766. 'msg.continuing.text': '¡Continuando!',
  3767. 'msg.continuing.tip': 'WME Validator continuará desde la ubicación en que fue pausado',
  3768. 'msg.settings.text': 'Pincha <b>\'Atrás\'</b> para retornar a la vista principal',
  3769. 'msg.settings.tip': 'Pincha el botón \'Restaurar valores predeterminados\' para resetear todos los parámetros en un clic!',
  3770. 'msg.reset.text': 'Todas las opciones de filtro y configuración han sido reseteadas a sus valores por defecto',
  3771. 'msg.reset.tip': 'Pincha el botón \'Atrás\' para retornar a la vista principal',
  3772. 'msg.textarea.pack': 'Por favor copia el texto abajo y luego pégalo en el nuevo archivo <b>.user.js</b>',
  3773. 'msg.textarea': 'Por favor copia el texto abajo y luego pégalo en tu publicación del foro o mensaje privado',
  3774. 'noaccess.text':
  3775. '<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.',
  3776. 'noaccess.tip': 'Por favor revisa el hilo del foro para más información!',
  3777. 'tab.switch.tip.on': 'Pincha para activar el resaltado',
  3778. 'tab.switch.tip.off': 'Pincha para desactivar el resaltado',
  3779. 'tab.filter.text': 'filtro',
  3780. 'tab.filter.tip': 'Opciones para filtrar el informe y los segmentos resaltados',
  3781. 'tab.search.text': 'buscar',
  3782. 'tab.search.tip': 'Opciones de filtro avanzadas para incluir sólo segmentos específicos',
  3783. 'tab.help.text': 'ayuda',
  3784. 'tab.help.tip': '¿Necesitas ayuda?',
  3785. 'filter.noneditables.text': 'Excluir segmentos <b>no-editables</b>',
  3786. 'filter.noneditables.tip': 'No reportar segmentos bloqueados o \nsegmentos fuera de su área de edición',
  3787. 'filter.duplicates.text': 'Excluir segmentos <b>duplicados</b>',
  3788. 'filter.duplicates.tip': 'No mostrar el mismo segmento en diferentes \npartes del reporte\n* Nota: esta opción NO AFECTA el resaltado',
  3789. 'filter.streets.text': 'Excluir <b>Calles y Vías de Servicio</b>',
  3790. 'filter.streets.tip': 'No reportar Calles y Vías de Servicio',
  3791. 'filter.other.text': 'Excluir <b>otros conducibles y no-conducibles</b>',
  3792. 'filter.other.tip': 'No reportar Caminos de Tierra, Vías de Estacionamiento y Caminos Privados\ny no-conducibles',
  3793. 'filter.notes.text': 'Excluir <b>notas</b>',
  3794. 'filter.notes.tip': 'Reportar sólo advertencias y errores',
  3795. 'search.youredits.text': 'Incluir <b>sólo tus ediciones</b>',
  3796. 'search.youredits.tip': 'Incluir sólo los segmentos editados por ti',
  3797. 'search.updatedby.text': '<b>Actualizado por:</b>',
  3798. 'search.updatedby.tip':
  3799. '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',
  3800. 'search.updatedby.example': 'Ejemplo: me',
  3801. 'search.updatedsince.text': '<b>Actualizado desde:</b>',
  3802. 'search.updatedsince.tip': 'Incluir sólo segmentos editados desde la fecha especificada formato de fecha\nFirefox: AAAA-MM-DD',
  3803. 'search.updatedsince.example': 'AAAA-MM-DD',
  3804. 'search.city.text': '<b>Nombre de ciudad:</b>',
  3805. '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, *',
  3806. 'search.city.example': 'Ejemplo: !Paris, *',
  3807. 'search.checks.text': '<b>Reportado como:</b>',
  3808. 'search.checks.tip':
  3809. '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*, *',
  3810. 'search.checks.example': 'Ejemplo: inverso*',
  3811. 'help.text':
  3812. ' <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>',
  3813. 'help.tip': 'Abrir en una nueva pestaña del explorador',
  3814. 'button.scan.tip': 'Comenzar escaneo del área del mapa actual \n* Nota: esto puede tomar unos minutos',
  3815. 'button.scan.tip.NA': 'Aleja el zoom para comenzar a escanear el área del mapa actual',
  3816. 'button.pause.tip': 'Pausar escaneo',
  3817. 'button.continue.tip': 'Continuar escaneando el área del mapa',
  3818. 'button.stop.tip': 'Detener el escaneo y volver a la posición de inicio',
  3819. 'button.clear.tip': 'Borrar informe y caché de segmentos',
  3820. '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.',
  3821. 'button.report.text': 'Mostrar informe',
  3822. 'button.report.tip': 'Aplicar el filtro y generar informe HTML en una nueva pestaña',
  3823. 'button.BBreport.tip': 'Compartir el informe en el foro Waze o en un mensaje privado',
  3824. 'button.settings.tip': 'Configurar ajustes',
  3825. 'tab.custom.text': 'personalizado',
  3826. 'tab.custom.tip': 'Ajustes de revisión personalizados definidos por el usuario',
  3827. 'tab.settings.text': 'Ajustes',
  3828. 'tab.scanner.text': 'escanear',
  3829. 'tab.scanner.tip': 'Ajustes de escaneo de mapa',
  3830. 'tab.about.text': 'acerca de</span>',
  3831. 'tab.about.tip': 'Acerca de WME Validator',
  3832. 'scanner.sounds.text': 'Habilitar sonidos',
  3833. 'scanner.sounds.tip': 'Pitidos y sonidos mientras escanea',
  3834. 'scanner.sounds.NA': 'Su navegador no admite AudioContext',
  3835. 'scanner.highlight.text': 'Resalta problemas en el mapa',
  3836. 'scanner.highlight.tip': 'Resalta problemas reportados en el mapa',
  3837. 'scanner.slow.text': 'Activa \'slow\' verificaciones',
  3838. 'scanner.slow.tip': 'Activa análisis profundo del mapa\n* Nota: esta opción puede ralentizar el proceso de escaneo',
  3839. 'scanner.ext.text': 'Informa de resaltados externos',
  3840. 'scanner.ext.tip': 'Informa de segmentos resaltados por WME Toolbox o WME Color Highlights',
  3841. 'custom.template.text': 'Plantilla personalizada',
  3842. 'custom.template.tip':
  3843. '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}',
  3844. 'custom.template.example': 'Ejemplo: ${street}',
  3845. 'custom.regexp.text': 'Personalizado <a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a>',
  3846. 'custom.regexp.tip':
  3847. '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/',
  3848. 'custom.regexp.example': 'Ejemplo: !/.+/',
  3849. 'about.tip': 'Pincha \'actualizar\' para abrir el hilo del foro en una pestaña nueva',
  3850. 'button.reset.text': 'Restablecer predeterminados',
  3851. 'button.reset.tip': 'Revertir opciones de filtro y ajustes a sus valores predeterminados',
  3852. 'button.list.text': 'Comprobaciones disponibles...',
  3853. 'button.list.tip': 'Muestra una lista de las comprobaciones disponibles en WME Validator',
  3854. 'button.wizard.tip': 'Crear paquete de localización',
  3855. 'button.back.text': 'Atrás',
  3856. 'button.back.tip': 'Cerrar configuración y volver a la vista principal',
  3857. '1.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3858. '1.title': 'WME Toolbox: Rotonda que puede causar problemas',
  3859. '1.problem': 'Los números de identificación de los puntos de unión de los segmentos de la rotonda no son consecutivos',
  3860. '1.solution': 'Rehacer la rotonda',
  3861. '2.title': 'WME Toolbox: Segmento Simple',
  3862. '2.problem': 'El segmento tiene nodos de geometría innecesarios',
  3863. '2.solution': 'Simplifica la geometría del segmento pasando el puntero del ratón por encima y pulsando la tecla \'d\'',
  3864. '3.title': 'WME Toolbox: Bloqueo nivel 2',
  3865. '3.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3866. '4.title': 'WME Toolbox: Bloqueo nivel 3',
  3867. '4.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3868. '5.title': 'WME Toolbox: Bloqueo nivel 4',
  3869. '5.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3870. '6.title': 'WME Toolbox: Bloqueo nivel 5',
  3871. '6.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3872. '7.title': 'WME Toolbox: Bloqueo nivel 6',
  3873. '7.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3874. '8.title': 'WME Toolbox: Numeros de casas',
  3875. '8.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3876. '9.title': 'WME Toolbox: Segmento con restricciones de tiempo',
  3877. '9.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3878. '13.title': 'WME Colour Highlights: Bloqueo de editor',
  3879. '13.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3880. '14.title': 'WME Colour Highlights: Peaje / Vía de sentido único',
  3881. '14.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3882. '15.title': 'WME Colour Highlights: Editado recientemente',
  3883. '15.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3884. '16.title': 'WME Colour Highlights: Rango de vías',
  3885. '16.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3886. '17.title': 'WME Colour Highlights: Sin ciudad',
  3887. '17.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3888. '18.title': 'WME Colour Highlights: Restricción horaria / Tipo de vía resaltado',
  3889. '18.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3890. '19.title': 'WME Colour Highlights: Sin nombre',
  3891. '19.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3892. '20.title': 'WME Colour Highlights: Filtro por ciudad',
  3893. '20.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3894. '21.title': 'WME Colour Highlights: Filtro por ciudad (alt. ciudad)',
  3895. '21.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3896. '22.title': 'WME Colour Highlights: Filtro por editor',
  3897. '22.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3898. '23.title': 'Segmento no confirmado',
  3899. '23.problem': 'Cada segmento debe tener al menos el nombre del país o estado',
  3900. '23.solution': 'Confirma la vía actualizando sus detalles',
  3901. '24.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3902. '24.title': 'Puede haber nombre incorrecto de ciudad (sólo disponible en el informe)',
  3903. '24.problem': 'El segmento puede tener un nombre de ciudad incorrecto',
  3904. '24.solution': 'Considera el nombre de ciudad sugerido y use este formulario para renombrar la ciudad',
  3905. '25.title': 'Dirección del segmento marcada como desconocida',
  3906. '25.problem': 'La dirección del segmento \'Desconocida\' no impedirá enrutar por la vía',
  3907. '25.solution': 'Fijar la dirección de la vía',
  3908. '27.enabled': true,
  3909. '27.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3910. '27.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3911. '27.title': 'Nombre de ciudad en vía férrea',
  3912. '27.problem': 'Poner nombres de ciudad en la vía férrea puede generar ciudades manchadas',
  3913. '27.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3914. '28.problemLink': 'W:Puntos_de_Unión._Guía_de_estilo#Bifurcaciones_de_rampas',
  3915. '28.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3916. '28.title': 'Nombre de calle en una rampa bidireccional',
  3917. '28.problem': 'Si la rampa no tiene nombre, el nombre del segmento siguiente se propagará hacia atrás',
  3918. '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\'',
  3919. '29.problemLink': 'W:Crear_y_editar_rotondas#Creaci.C3.B3n_de_una_rotonda_a_partir_de_una_intersecci.C3.B3n',
  3920. '29.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3921. '29.title': 'Nombre de calle en rotonda',
  3922. '29.problem': 'En Waze, no nombramos los segmentos de las rotondas',
  3923. '29.solution':
  3924. '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',
  3925. '34.title': 'Nombre de calle alternativo vacío',
  3926. '34.problem': 'El nombre de calle alternativo está vacío',
  3927. '34.solution': 'Borrar el nombre alternativo de calle vacío',
  3928. '35.title': 'Segmento de vía sin terminar',
  3929. '35.problem': 'Waze no enrutará desde un segmento sin terminar',
  3930. '35.solution': 'Mover un poco el segmento para que el extremo sin terminar sea añadido automáticamente al punto de unión',
  3931. '36.title': 'Punto de unión A innecesario (slow)',
  3932. '36.problem': 'Los segmentos adyacentes al punto de unión A son idénticos',
  3933. '36.solution': 'Selecciona el punto de unión A y pulsa la tecla borrar para unir los dos segmentos',
  3934. '37.title': 'Punto de unión B innecesario (slow)',
  3935. '37.problem': 'Los segmentos adyacentes al punto de unión B son idénticos',
  3936. '37.solution': 'Selecciona el punto de unión B y pulsa la tecla borrar para unir los dos segmentos',
  3937. '38.problemLink': 'W:Restricciones_horarias#En_segmentos',
  3938. '38.title': 'Restricción de segmento caducada (slow)',
  3939. '38.problem': 'El segmento tiene una restricción caducada',
  3940. '38.solution': 'Hacer clic en \'Editar restricciones\' y borrar la restricción caducada',
  3941. '39.problemLink': 'W:Restricciones_horarias#En_giros',
  3942. '39.title': 'Restricción de giro caducada (slow)',
  3943. '39.problem': 'El segmento tiene un giro con una restricción caducada',
  3944. '39.solution': 'Hacer clic en el icono de reloj cerca de la flecha amarilla y borrar la restricción caducada',
  3945. '41.title': 'Conectividad inversa en punto de unión A del segmento',
  3946. '41.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión A del segmento',
  3947. '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',
  3948. '42.title': 'Conectividad inversa en punto de unión B del segmento',
  3949. '42.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión B del segmento',
  3950. '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',
  3951. '43.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  3952. '43.title': 'Auto conectividad',
  3953. '43.problem': 'El segmento está conectado a si mismo',
  3954. '43.solution': 'Divide el segmento en TRES partes',
  3955. '44.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3956. '44.title': 'Sin conexión de salida',
  3957. '44.problem': 'El segmento no tiene ningún giro de salida permitido',
  3958. '44.solution': 'Activa al menos un giro de salida desde el segmento',
  3959. '45.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3960. '45.title': 'Sin conexión de entrada',
  3961. '45.problem': 'El segmento no privado no tiene ningún giro de entrada permitido',
  3962. '45.solution': 'Selecciona un segmento adyacente y activa por lo menos un giro hacia el segmento',
  3963. '46.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3964. '46.title': 'Sin entrada en A (slow)',
  3965. '46.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión A',
  3966. '46.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión A',
  3967. '47.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3968. '47.title': 'Sin entrada en B (slow)',
  3969. '47.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión B',
  3970. '47.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión B',
  3971. '48.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3972. '48.title': 'Segmento de rotonda bidireccional',
  3973. '48.problem': 'El segmento de rotonda es bidireccional',
  3974. '48.solution': 'Rehacer la rotonda',
  3975. '50.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3976. '50.title': 'No hay conectividad en la rotonda (slow)',
  3977. '50.problem': 'El segmento de la rotonda no tiene conectividad con el segmento de rotonda siguiente',
  3978. '50.solution': 'Permitir un giro al segmento adyacente o rehacer la rotonda',
  3979. '57.enabled': true,
  3980. '57.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3981. '57.title': 'Nombre de ciudad en rampa con nombre',
  3982. '57.problem': 'Poner el nombre de ciudad en las rampas puede afectar a los resultados de búsqueda',
  3983. '57.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3984. '59.enabled': true,
  3985. '59.problemLink': 'W:Corrigiendo_ciudades_\'manchadas\'',
  3986. '59.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3987. '59.title': 'Nombre de Ciudad en Autopista',
  3988. '59.problem': 'Poner nombres de ciudad en la Autopista puede generar ciudades manchadas',
  3989. '59.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3990. '73.enabled': true,
  3991. '73.title': 'Menos de 3 caracteres de longitud en el nombre de la calle',
  3992. '73.problem': 'El nombre de la calle tiene una longitud de menos de 3 caracteres',
  3993. '73.solution': 'Corrige el nombre de la calle',
  3994. '74.problemLink': 'W:Crear_y_editar_rotondas',
  3995. '74.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3996. '74.title': 'Varios segmentos en el punto de unión A de la rotonda',
  3997. '74.problem': 'La rotonda tiene en el punto de unión A más de un segmento conectado',
  3998. '74.solution': 'Rehacer la rotonda',
  3999. '77.title': 'Calle sin salida con giro en U',
  4000. '77.problem': 'La calle sin salida tiene un giro en U habilitado',
  4001. '77.solution': 'Deshabilitar el giro en U',
  4002. '78.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  4003. '78.title': 'Segmentos con los mismos puntos de inicio y final (slow)',
  4004. '78.problem': 'Dos segmentos comparten los puntos de inicio y final',
  4005. '78.solution': 'Divide el segmento. También puedes borrar uno de los segmentos si son idénticos',
  4006. '79.title': 'Conector para giros en U demasiado corto (slow)',
  4007. '79.problem': 'La longitud del segmento es menor de 15 metros por lo que el giro en U no es posible',
  4008. '79.solution': 'Aumente la longitud del segmento',
  4009. '87.problemLink': 'W:Crear_y_editar_rotondas',
  4010. '87.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  4011. '87.title': 'Más de un segmento de salida en el punto de unión A de la rotonda',
  4012. '87.problem': 'La rotonda tiene en el punto de unión A más de un segmento de salida conectado',
  4013. '87.solution': 'Rehacer la rotonda',
  4014. '90.enabled': true,
  4015. '90.title': 'Segmento de Autopista bidireccional',
  4016. '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',
  4017. '90.solution': 'Revisar dirección de Autopista',
  4018. '99.title': 'Giro en U en la entrada de rotonda (slow)',
  4019. '99.problem': 'El segmento de entrada a la rotonda tiene un giro en U habilitado',
  4020. '99.solution': 'Deshabilitar el giro en U',
  4021. '101.enabled': false,
  4022. '101.title': 'Zona en construcción (sólo disponible en el informe)',
  4023. '101.problem': 'El segmento está marcado como zona de construcción',
  4024. '101.solution': 'Si la construcción está terminada, volver a conectar el segmento y borrar el sufijo',
  4025. '102.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4026. '102.title': 'Sin salida en A (slow)',
  4027. '102.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión A',
  4028. '102.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión A',
  4029. '103.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4030. '103.title': 'Sin salida en B (slow)',
  4031. '103.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión B',
  4032. '103.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión B',
  4033. '104.title': 'Vía férrea usada para comentarios',
  4034. '104.problem': 'El segmento de vía férrea es probablemente usado como comentario de mapa',
  4035. '104.solution': 'Borrar el comentario ya que las vías férreas serán añadidas al mapa del cliente',
  4036. '107.title': 'Sin conexión en punto de unión A (slow)',
  4037. '107.problem': 'El punto de unión A del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4038. '107.solution': 'Conectar el punto de unión A a un segmento cercano o separarlos un poco más',
  4039. '108.title': 'Sin conexión en punto de unión B (slow)',
  4040. '108.problem': 'El punto de unión B del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4041. '108.solution': 'Conectar el punto de unión B a un segmento cercano o separarlos un poco más',
  4042. '109.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Eliminar_un_punto_de_uni.C3.B3n',
  4043. '109.title': 'Segmento muy corto',
  4044. '109.problem': 'El segmento tiene menos de 2 metros de longitud, así que es difícil de ver en el mapa',
  4045. '109.solution': 'Aumentar la longitud, borrar el segmento, o unirlo a un segmento adyacente',
  4046. '112.title': 'Más de 55 caracteres en el nombre de la Rampa',
  4047. '112.problem': 'El nombre de la Rampa tiene más de 55 caracteres',
  4048. '112.solution': 'Acorta el nombre de la Rampa',
  4049. '114.enabled': false,
  4050. '114.title': 'No transitable conectada a transitable en el punto de unión A (slow)',
  4051. '114.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo A',
  4052. '114.solution': 'Desconecta el extremo A de todos los segmentos transitables',
  4053. '115.enabled': false,
  4054. '115.title': 'No transitable conectada a transitable en el punto de unión B (slow)',
  4055. '115.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo B',
  4056. '115.solution': 'Desconecta el extremo B de todos los segmentos transitables',
  4057. '116.title': 'Elevación fuera de rango',
  4058. '116.problem': 'La elevación del segmento está fuera de rango',
  4059. '116.solution': 'Corrige la elevación',
  4060. '117.enabled': false,
  4061. '117.title': 'Marcado obsoleto: CONST ZN',
  4062. '117.problem': 'El segmento está marcado con el sufijo obsoleto CONST ZN',
  4063. '117.solution': 'Cambiar CONST ZN a (closed)',
  4064. '118.title': 'Segmentos superpuestos en A (slow)',
  4065. '118.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión A',
  4066. '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',
  4067. '119.title': 'Segmentos superpuestos en B (slow)',
  4068. '119.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión B',
  4069. '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',
  4070. '120.title': 'Giro demasiado cerrado en A (slow)',
  4071. '120.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión A',
  4072. '120.solution': 'Desactiva el giro cerrado en el punto de unión A o considera separar los segmentos hasta un ángulo de 30°',
  4073. '121.title': 'Giro demasiado cerrado en B (slow)',
  4074. '121.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión B',
  4075. '121.solution': 'Desactiva el giro cerrado en el punto de unión B o considera separar los segmentos hasta un ángulo de 30°',
  4076. '128.title': 'Comprobación personalizada por el usuario 1',
  4077. '128.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4078. '128.solution': 'Resolver el problema',
  4079. '129.title': 'Comprobación personalizada por el usuario 2',
  4080. '129.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4081. '129.solution': 'Resolver el problema',
  4082. '130.enabled': true,
  4083. '130.severity': 'N',
  4084. '130.title': 'Nivel de bloqueo de Autopista incorrecto',
  4085. '130.problem': 'El segmento de Autopista no está bloqueado a nivel 4',
  4086. '130.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4087. '130.solution': 'Bloquear el segmento de Autopista a nivel 4',
  4088. '130.params':
  4089. {'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]/'},
  4090. '131.enabled': true,
  4091. '131.severity': 'N',
  4092. '131.title': 'No lock on Major Highway',
  4093. '131.problem': 'The Major Highway segment should be locked to Lvl 3',
  4094. '131.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4095. '131.solution': 'Lock the segment',
  4096. '131.params': {
  4097. 'titleEN': 'No lock on Major Highway',
  4098. 'problemEN': 'The Major Highway segment should be locked to Lvl 3',
  4099. 'solutionEN': 'Lock the segment',
  4100. 'template': '${type}:${lock}:${street}',
  4101. 'regexp': '/^6:[^3]:N-/'
  4102. },
  4103. '133.enabled': true,
  4104. '133.severity': 'N',
  4105. '133.title': 'No lock on Ramp',
  4106. '133.problem': 'The Ramp segment should be locked to Lvl 3',
  4107. '133.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4108. '133.solution': 'Lock the segment',
  4109. '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]/'},
  4110. '150.title': 'Nivel de bloqueo de Autopista incorrecto',
  4111. '150.problem': 'El segmento de Autopista no está bloqueado a nivel ${n}',
  4112. '150.solution': 'Bloquear el segmento de Autopista a nivel ${n}',
  4113. '169.title': 'Calle nombrada incorrectamente',
  4114. '169.problem': 'La calle tiene el nombre incorrecto, usando caracteres o palabras ilegales',
  4115. '169.solution': 'Renombre la calle de acuerdo a los criterios establecidos',
  4116. '170.enabled': true,
  4117. '170.title': 'Nombre de calle comienza con minúscula',
  4118. '170.problem': 'El nombre de la calle comienza con minúscula',
  4119. '170.solution': 'Escribir en mayúscula la primera letra del nombre',
  4120. '172.title': 'Nombre de calle con espacios innecesarios',
  4121. '172.problem': 'Espacio en blanco inicial/final o doble en el nombre de la calle',
  4122. '172.solution': 'Borrar los espacios innecesarios del nombre de Calle',
  4123. '173.enabled': false,
  4124. '173.title': 'Nombre de segmento sin espacio antes o después de una abreviación',
  4125. '173.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jan\') de una abreviación en el nombre del segmento',
  4126. '173.solution': 'Agregar un espacio antes/después de la abreviación',
  4127. '175.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  4128. '175.title': 'Nombre del segmento sólo con espacios',
  4129. '175.problem': 'El nombre del segmento sólo tiene espacios en blanco en el nombre',
  4130. '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',
  4131. '190.title': 'Nombre de ciudad con minúscula',
  4132. '190.problem': 'El nombre de la ciudad comienza con minúscula',
  4133. '190.solution': 'Utiliza este formulario para renombrar la ciudad',
  4134. '192.title': 'Nombre de Ciudad con espacios innecesarios',
  4135. '192.problem': 'Espacio en blanco inicial/final o doble en el nombre de la ciudad',
  4136. '192.solution': 'Use este formulario para renombrar la Ciudad',
  4137. '193.enabled': false,
  4138. '193.title': 'Nombre de Ciudad sin espacio delante o atrás de una abreviación',
  4139. '193.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jean\') de una abreviación en el nombre de la ciudad',
  4140. '193.solution': 'Use este formulario para renombrar la Ciudad',
  4141. '200.problemLink': 'W:Giros_implícitos_y_explícitos',
  4142. '200.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4143. '200.title': 'Unión A: Giro suave (implícito) en segmento',
  4144. '200.problem': 'El segmento tiene un giro no confirmado',
  4145. '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',
  4146. '201.problemLink': 'W:Giros_implícitos_y_explícitos',
  4147. '201.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4148. '201.title': 'Unión A: Giro suave (implícito) en segmento principal',
  4149. '201.problem': 'El segmento principal tiene un giro no confirmado',
  4150. '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'
  4151. },
  4152. 'DE': {
  4153. '.codeISO': 'DE',
  4154. '.country': 'Germany',
  4155. '59.enabled': true,
  4156. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4157. '90.enabled': true,
  4158. '110.enabled': true,
  4159. '150.enabled': true,
  4160. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen',
  4161. '214.params': {'regexp': '/^7|.+0$/'},
  4162. '215.params': {'regexp': '/^7|.+0$/'}
  4163. },
  4164. 'CZ': {
  4165. '.codeISO': 'CZ',
  4166. '.country': 'Czech Republic',
  4167. '27.enabled': true,
  4168. '52.enabled': true,
  4169. '73.enabled': true,
  4170. '90.enabled': true,
  4171. '105.enabled': true,
  4172. '150.enabled': true,
  4173. '150.problemLink': 'F:t=64980&p=572847#p572847',
  4174. '150.params': {'n': 4},
  4175. '151.enabled': true,
  4176. '151.problemLink': 'F:t=64980&p=572847#p572847',
  4177. '151.params': {'n': 4},
  4178. '152.enabled': true,
  4179. '152.problemLink': 'F:t=64980&p=572847#p572847',
  4180. '152.params': {'n': 4},
  4181. '153.enabled': true,
  4182. '153.problemLink': 'F:t=64980&p=572847#p572847',
  4183. '153.params': {'n': 4},
  4184. '154.enabled': true,
  4185. '154.problemLink': 'F:t=64980&p=572847#p572847',
  4186. '154.params': {'n': 3},
  4187. '170.enabled': true,
  4188. '170.params': {
  4189. 'regexp':
  4190. '/^(?!(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]/'
  4191. }
  4192. },
  4193. 'CL': {'.codeISO': 'CL', '.country': 'Chile', '.fallbackCode': 'ES', '59.enabled': true, '150.enabled': true, '170.enabled': true, '200.enabled': false},
  4194. 'CH': {
  4195. '.codeISO': 'CH',
  4196. '.country': 'Switzerland',
  4197. '59.enabled': true,
  4198. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4199. '90.enabled': true,
  4200. '110.enabled': true,
  4201. '150.enabled': true,
  4202. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4203. },
  4204. 'BN': {
  4205. '.codeISO': 'BN',
  4206. '.country': 'Brunei',
  4207. '69.enabled': true,
  4208. '73.enabled': true,
  4209. '150.enabled': true,
  4210. '150.params': {'n': 2},
  4211. '151.enabled': true,
  4212. '151.params': {'n': 2},
  4213. '152.enabled': true,
  4214. '152.params': {'n': 2}
  4215. },
  4216. 'BG': {'.codeISO': 'BG', '.country': 'Bulgaria', '27.enabled': true},
  4217. 'BE': {
  4218. '.codeISO': 'BE',
  4219. '.country': 'Belgium',
  4220. '109.params': {'n': 6},
  4221. '150.enabled': true,
  4222. '150.problemLink': 'W:Belgium/Freeway',
  4223. '151.enabled': true,
  4224. '151.problemLink': 'W:Belgium/Major_Highway',
  4225. '152.enabled': true,
  4226. '152.problemLink': 'W:Belgium/Minor_Highway',
  4227. '154.enabled': true,
  4228. '154.problemLink': 'W:Belgium/Primary_Street',
  4229. '160.enabled': true,
  4230. '160.problemLink': 'W:Belgium/Freeway',
  4231. '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]+)*( > [^\\/]+( \\/ [^\\/]+)*)?$/'},
  4232. '163.enabled': true,
  4233. '163.problemLink': 'W:Belgium/Roads#Highways',
  4234. '163.solutionLink': 'W:Belgium/Ramp',
  4235. '163.params':
  4236. {'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]+)/'},
  4237. '171.enabled': true,
  4238. '171.problemLink': 'W:Belgium/Ramp#Text_To_Speech_.28TTS.29_-_ri_-_di',
  4239. '171.params': {'problemEN': 'The street name contains incorrect \'ri.\' abbreviation', 'solutionEN': 'Change the \'ri.\' abbreviation to \'ri\' (no dot)', 'regexp': '/(^|\\b)ri\\./i'}
  4240. },
  4241. 'AU': {
  4242. '.codeISO': 'AU',
  4243. '.country': 'Australia',
  4244. '27.enabled': true,
  4245. '59.enabled': true,
  4246. '59.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4247. '112.enabled': false,
  4248. '150.enabled': true,
  4249. '150.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4250. '151.enabled': true,
  4251. '151.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Major_Highway',
  4252. '151.params': {'n': 3},
  4253. '152.enabled': true,
  4254. '152.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Minor_Highway'
  4255. },
  4256. 'AT': {
  4257. '.codeISO': 'AT',
  4258. '.country': 'Austria',
  4259. '59.enabled': true,
  4260. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4261. '90.enabled': true,
  4262. '110.enabled': true,
  4263. '150.enabled': true,
  4264. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4265. },
  4266. 'AR': {
  4267. '.codeISO': 'AR',
  4268. '.country': 'Argentina',
  4269. '.fallbackCode': 'ES',
  4270. '150.enabled': true,
  4271. '169.enabled': true,
  4272. '169.solutionLink': 'W:Como_categorizar_y_nombrar_calles_(Argentina)#Calles',
  4273. '169.params': {'regexp': '/(^|\\b)[Cc]alle(?! [0-9]+( ([A-Z]|bis))?$)/'}
  4274. }
  4275. };
  4276. var CC_UNDEFINED = 48;
  4277. var CC_NULL = 34;
  4278. var CC_BOOL = 46;
  4279. var CC_NUMBER = 44;
  4280. var CC_STRING = 58;
  4281. var CC_GLOBAL = 5;
  4282. var CC_FUNCTION = 37;
  4283. var CC_ARRAY = 32;
  4284. var CC_OBJECT = 42;
  4285. var CC_REGEXP = 23;
  4286. var CC_DATE = 33;
  4287. function classOf(val) {
  4288. return {}.toString.call(val).slice(8, -1)
  4289. }
  4290. function classCode(obj) {
  4291. return {}.toString.call(obj).charCodeAt(8) ^ {}.toString.call(obj).charCodeAt(11)
  4292. }
  4293. function classCodeIs(obj, cc) {
  4294. return cc === classCode(obj)
  4295. }
  4296. function classCodeDefined(obj) {
  4297. return CC_UNDEFINED !== classCode(obj)
  4298. }
  4299. function isEmpty(obj) {
  4300. for (var k in obj)
  4301. if (obj.hasOwnProperty(k)) return false;
  4302. return true
  4303. }
  4304. function deepCopy(obj) {
  4305. switch (classCode(obj)) {
  4306. case CC_ARRAY:
  4307. var cpy = [];
  4308. for (var i = 0, len = obj.length; i < len; i++) cpy[i] = deepCopy(obj[i]);
  4309. return cpy;
  4310. case CC_OBJECT:
  4311. var cpy = {};
  4312. for (var attr in obj)
  4313. if (obj.hasOwnProperty(attr)) cpy[attr] = deepCopy(obj[attr]);
  4314. return cpy
  4315. }
  4316. return obj
  4317. }
  4318. function deepCompare(obj1, obj2) {
  4319. if (obj1 === obj2) return true;
  4320. if (classCode(obj1) !== classCode(obj2)) return false;
  4321. switch (classCode(obj1)) {
  4322. case CC_ARRAY:
  4323. if (obj1.length != obj2.length) return false;
  4324. for (var i = 0; i < obj1.length; i++)
  4325. if (!deepCompare(obj1[i], obj2[i])) return false;
  4326. return true;
  4327. case CC_OBJECT:
  4328. for (var k in obj1) {
  4329. if (!obj1.hasOwnProperty(k)) continue;
  4330. if (!obj2.hasOwnProperty(k)) return false;
  4331. if (!deepCompare(obj1[k], obj2[k])) return false
  4332. }
  4333. return true
  4334. }
  4335. return false
  4336. }
  4337. function getDirection(seg) {
  4338. return (seg.attributes.fwdDirection ? 1 : 0) + (seg.attributes.revDirection ? 2 : 0)
  4339. }
  4340. function getLocalizedValue(val, country) {
  4341. var ipu = OpenLayers.INCHES_PER_UNIT;
  4342. var mph = false;
  4343. if (country == 'United Kingdom' || country == 'Jersey' || country == 'Guernsey' || country == 'United States') mph = true;
  4344. return mph ? Math.round(val * ipu['km'] / ipu['mi']) : val
  4345. };
  4346. var DEF_DEBUG = false;
  4347. var _THUI = {};
  4348. _THUI.NONE = 1;
  4349. _THUI.DIV = 2;
  4350. _THUI.NUMBER = 3;
  4351. _THUI.RADIO = 4;
  4352. _THUI.CHECKBOX = 5;
  4353. _THUI.BUTTON = 6;
  4354. _THUI.TEXT = 7;
  4355. _THUI.PASSWORD = 8;
  4356. _THUI.DATE = 9;
  4357. var _WV = {};
  4358. var WME_BETA = false;
  4359. _WV.$loggedIn = 0;
  4360. _WV.$functions = [];
  4361. var _UI = {};
  4362. var _RT = {};
  4363. var _REP = {};
  4364. var GL_SHOWLAYERS = false;
  4365. var GL_LAYERNAME = 'WME Validator';
  4366. var GL_LAYERUNAME = 'WMEValidator';
  4367. var GL_LAYERACCEL = 'toggleWMEValidator';
  4368. var GL_LAYERSHORTCUT = 'A+v';
  4369. var GL_TBCOLOR = 'WMETB_color';
  4370. var GL_TBPREFIX = 'WMETB';
  4371. var GL_WMECHCOLOR = 'WMECH_color';
  4372. var GL_NOTECOLOR = '#30E';
  4373. var GL_NOTEBGCOLOR = '#EEF';
  4374. var GL_WARNINGCOLOR = '#DA0';
  4375. var GL_WARNINGBGCOLOR = '#FFE';
  4376. var GL_ERRORCOLOR = '#E00';
  4377. var GL_ERRORBGCOLOR = '#FEE';
  4378. var GL_CUSTOM1COLOR = '#0A0';
  4379. var GL_CUSTOM1BGCOLOR = '#EFE';
  4380. var GL_CUSTOM2COLOR = '#09E';
  4381. var GL_CUSTOM2BGCOLOR = '#EFF';
  4382. var GL_VISITEDCOLOR = '#0E0';
  4383. var GL_VISITEDBGCOLOR = '#EFE';
  4384. var GL_NOID = 'No ID';
  4385. var GL_GRAYCOLOR = '#AAA';
  4386. var GL_TODOMARKER = 'TODO: ';
  4387. var RT_RUNWAY = 19;
  4388. var RR_RUNWAY = 1;
  4389. var RT_RAILROAD = 18;
  4390. var RR_RAILROAD = 2;
  4391. var RT_STAIRWAY = 16;
  4392. var RR_STAIRWAY = 3;
  4393. var RT_BOARDWALK = 10;
  4394. var RR_BOARDWALK = 4;
  4395. var RT_TRAIL = 5;
  4396. var RR_TRAIL = 5;
  4397. var RT_PRIVATE = 17;
  4398. var RR_PRIVATE = 6;
  4399. var RT_PARKING = 20;
  4400. var RR_PARKING = 7;
  4401. var RT_DIRT = 8;
  4402. var RR_DIRT = 8;
  4403. var RT_SERVICE = 21;
  4404. var RR_SERVICE = 9;
  4405. var RT_STREET = 1;
  4406. var RR_STREET = 10;
  4407. var RT_PRIMARY = 2;
  4408. var RR_PRIMARY = 11;
  4409. var RT_RAMP = 4;
  4410. var RR_RAMP = 12;
  4411. var RT_MINOR = 7;
  4412. var RR_MINOR = 13;
  4413. var RT_MAJOR = 6;
  4414. var RR_MAJOR = 14;
  4415. var RT_FREEWAY = 3;
  4416. var RR_FREEWAY = 15;
  4417. var DIR_UNKNOWN = 0;
  4418. var DIR_AB = 1;
  4419. var DIR_BA = 2;
  4420. var DIR_TWO = 3;
  4421. var ST_STOP = 1116352408;
  4422. var ST_RUN = 1899447441;
  4423. var ST_PAUSE = 3049323471;
  4424. var ST_CONTINUE = 3921009573;
  4425. var DIR_L2R = 961987163;
  4426. var DIR_R2L = -961987163;
  4427. var RF_HTML = 1508970993;
  4428. var RF_BB = 2453635748;
  4429. var RF_LIST = 2870763221;
  4430. var RF_UPDATEMAXSEVERITY = 1;
  4431. var RF_CREATEPACK = 2;
  4432. var RT_STOP = 1;
  4433. var RT_NEXTCHECK = 2;
  4434. var RS_NOTE = 1;
  4435. var RS_WARNING = 2;
  4436. var RS_ERROR = 3;
  4437. var RS_CUSTOM2 = 4;
  4438. var RS_CUSTOM1 = 5;
  4439. var RS_MAX = 6;
  4440. var LIMIT_PERCHECK = 300;
  4441. var LIMIT_TOLERANCE = 6;
  4442. var LIMIT_DEBUG = 20;
  4443. var CK_TBFIRST = 1;
  4444. var CK_TBLAST = 9;
  4445. var CK_WMECHFIRST = 13;
  4446. var CK_WMECHLAST = 22;
  4447. var CK_TYPEFIRST = 70;
  4448. var CK_TYPELAST = 72;
  4449. var CK_MATCHFIRST = 128;
  4450. var CK_MATCHLAST = 139;
  4451. var CK_CUSTOMFIRST = 130;
  4452. var CK_CUSTOMLAST = 139;
  4453. var CK_LOCKFIRST = 150;
  4454. var CK_LOCKLAST = 158;
  4455. var CK_STREETTNFIRST = 160;
  4456. var CK_STREETTNLAST = 167;
  4457. var CK_STREETNAMEFIRST = 170;
  4458. var CK_STREETNAMELAST = 175;
  4459. var CK_CITYNAMEFIRST = 190;
  4460. var CK_CITYNAMELAST = 193;
  4461. var CK_MIRRORFIRST = 200;
  4462. var CK_MIRRORLAST = 201;
  4463. var CL_UI = 2821834349 - 1;
  4464. var ID_PREFIX = 2554220882;
  4465. var CL_TABS = 2821834349;
  4466. var CL_PANEL = 2952996808;
  4467. var CL_BUTTONS = 3210313671;
  4468. var CL_MSG = 3336571891;
  4469. var CL_MSGY = 3584528711;
  4470. var CL_TRANSLATETIP = 3584528711 + 1;
  4471. var AS_LICENSE = 'license';
  4472. var AS_VERSION = 'version';
  4473. var AS_NONEDITABLES = 'non_editables';
  4474. var AS_DUPLICATES = 'duplicates';
  4475. var AS_PLACES = 'enable_places';
  4476. var AS_STREETS = 'streets';
  4477. var AS_OTHERS = 'others';
  4478. var AS_NOTES = 'notes';
  4479. var AS_YOUREDITS = 'your_edits';
  4480. var AS_UPDATEDSINCE = 'updated_since';
  4481. var AS_CITYNAME = 'city_name';
  4482. var AS_CHECKS = 'checks';
  4483. var AS_UPDATEDBY = 'updated_by';
  4484. var AS_SOUNDS = 'sounds';
  4485. var AS_HLISSUES = 'hl_issues';
  4486. var AS_SLOWCHECKS = 'slow_checks';
  4487. var AS_CUSTOM1TEMPLATE = 'custom1_template';
  4488. var AS_CUSTOM1REGEXP = 'custom1_regexp';
  4489. var AS_CUSTOM2TEMPLATE = 'custom2_template';
  4490. var AS_CUSTOM2REGEXP = 'custom2_regexp';
  4491. var AS_REPORTEXT = 'report_ext';
  4492. var ID_PROPERTY = 3835390401;
  4493. var ID_PROPERTY_DISABLED = 3835390401 + 1;
  4494. var CL_COLLAPSE = 4022224774;
  4495. var CL_NOTE = 264347078;
  4496. var CL_WARNING = 604807628;
  4497. var CL_ERROR = 770255983;
  4498. var CL_CUSTOM1 = 770255983 + 1;
  4499. var CL_CUSTOM2 = 770255983 + 2;
  4500. var CL_RIGHTTIP = 1249150122;
  4501. var CL_RIGHTTIPPOPUP = 1249150122 + 1;
  4502. var CL_RIGHTTIPDESCR = 1249150122 + 2;
  4503. var AS_NAME = 'WME_Validator';
  4504. var SZ_PANEL_HEIGHT = 190;
  4505. var SCAN_ZOOM = 17;
  4506. var SCAN_STEP = 100;
  4507. var HL_WIDTH = 30;
  4508. var HL_OPACITY = .4;
  4509. var I_SEVERITY = 0;
  4510. var I_OBJECTCOPY = 1;
  4511. var I_ISTBCOLOR = 2;
  4512. var I_ISWMECHCOLOR = 3;
  4513. var I_ISPARTIAL = 4;
  4514. var I_CITYID = 5;
  4515. var I_VENUECOPY = 6;
  4516. var CO_MIN = 0;
  4517. var CO_REGEXP = 0;
  4518. var CO_STRING = 1;
  4519. var CO_NUMBER = 2;
  4520. var CO_BOOL = 3;
  4521. var CO_MAX = 3;
  4522. var WD_SHORT = 5;
  4523. var WD_LONG = 1E4;
  4524. var nW = null;
  4525. var WM = null;
  4526. var WLM = null;
  4527. var WSM = null;
  4528. var WMo = null;
  4529. var WC = null;
  4530. var UW = null;
  4531. var R = null;
  4532. var policySafeHTML = null;
  4533. function setupPolicy() {
  4534. if (typeof trustedTypes !== 'undefined') policySafeHTML = trustedTypes.createPolicy('policySafeHTML', {createHTML: innerText => innerText})
  4535. }
  4536. function createSafeHtml(text) {
  4537. if (policySafeHTML !== null)
  4538. return policySafeHTML.createHTML(text);
  4539. else
  4540. return text
  4541. }
  4542. function esc(msg) {
  4543. return msg.split('"').join('\\"').split('\n').join('\\n')
  4544. }
  4545. function escRE(e) {
  4546. return e.split('\\')
  4547. .join('\\\\')
  4548. .split('^')
  4549. .join('\\^')
  4550. .split('$')
  4551. .join('\\$')
  4552. .split('+')
  4553. .join('\\+')
  4554. .split('?')
  4555. .join('\\?')
  4556. .split(':')
  4557. .join('\\:')
  4558. .split('!')
  4559. .join('\\!')
  4560. .split('.')
  4561. .join('\\.')
  4562. .split('-')
  4563. .join('\\-')
  4564. .split('*')
  4565. .join('.*')
  4566. .split('(')
  4567. .join('\\(')
  4568. .split(')')
  4569. .join('\\)')
  4570. .split('[')
  4571. .join('\\[')
  4572. .split(']')
  4573. .join('\\]')
  4574. .split('{')
  4575. .join('\\{')
  4576. .split('}')
  4577. .join('\\}')
  4578. }
  4579. function getMsg(mType, msg, newLine) {
  4580. return 'WME Validator v' + WV_VERSION + (mType ? ' ' + mType : '') + (msg ? ':' + (newLine ? '\n' : ' ') + msg : '')
  4581. }
  4582. function log(msg) {
  4583. window.console.log(getMsg('', msg))
  4584. }
  4585. function error(msg) {
  4586. var s = getMsg('error', msg, true);
  4587. log(s);
  4588. if (!isErrorFlag()) {
  4589. setErrorFlag();
  4590. alert(s)
  4591. }
  4592. async(F_PAUSE);
  4593. return -1
  4594. }
  4595. function warning(msg) {
  4596. var s = getMsg('warning', msg, true);
  4597. log(s);
  4598. alert(s);
  4599. return -1
  4600. }
  4601. function info(msg) {
  4602. var s = getMsg('', msg, true);
  4603. alert(s);
  4604. return -1
  4605. }
  4606. function sync(func, param) {
  4607. return func(param)
  4608. }
  4609. function async(func, param, inter) {
  4610. var i = 0;
  4611. if (inter) i = inter;
  4612. window.setTimeout(func, i, param)
  4613. }
  4614. function clearWD() {
  4615. window.clearTimeout(_RT.$WDmoveID);
  4616. window.clearTimeout(_RT.$WDloadID);
  4617. _RT.$WDmoveID = -1;
  4618. _RT.$WDloadID = -1
  4619. }
  4620. function updateTimer(nstate) {
  4621. var csec = Date.now() / 1E3;
  4622. if (RTStateIs(ST_RUN)) _RT.$timer.$secInRun += csec - _RT.$timer.$lastUpdate;
  4623. if (RTStateIs(ST_STOP)) _RT.$timer.$secInRun = 0;
  4624. _RT.$timer.$lastUpdate = csec
  4625. }
  4626. function setRTState(nstate) {
  4627. if (RTStateIs(ST_STOP) && ST_PAUSE === nstate) nstate = ST_STOP;
  4628. updateTimer(nstate);
  4629. _RT.$state = nstate;
  4630. async(F_UPDATEUI)
  4631. }
  4632. function clearReport() {
  4633. _RT.$seen = {};
  4634. _RT.$revalidate = {};
  4635. _REP = {
  4636. $debugCounter: LIMIT_DEBUG,
  4637. $isLimitPerCheck: false,
  4638. $isEditableFound: false,
  4639. $counterTotal: 0,
  4640. $maxSeverity: 0,
  4641. $incompleteIDs: {},
  4642. $users: {},
  4643. $reportCounters: {},
  4644. $cityCounters: {},
  4645. $countries: {},
  4646. $cities: {},
  4647. $streets: {},
  4648. $cityIDs: {},
  4649. $unsortedCityIDs: [],
  4650. $sortedCityIDs: []
  4651. };
  4652. _RT.$reportEditableNotFound = false
  4653. }
  4654. function beep(dur, oscType) {
  4655. try {
  4656. if (_UI.pSettings.pScanner.oSounds.CHECKED) _AUDIO.beep(dur, oscType)
  4657. } catch (e) {
  4658. }
  4659. }
  4660. function setErrorFlag() {
  4661. _RT.$error = true
  4662. }
  4663. function isErrorFlag() {
  4664. return _RT.$error
  4665. }
  4666. function clearErrorFlag() {
  4667. _RT.$error = false
  4668. }
  4669. function RTStateIs(st) {
  4670. return getRTState() === st
  4671. }
  4672. function getRTState() {
  4673. return _RT.$state
  4674. }
  4675. function HLAllObjects() {
  4676. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))
  4677. if (_UI.pSettings.pScanner.oHLReported.CHECKED)
  4678. sync(F_VALIDATE, false);
  4679. else
  4680. sync(F_VALIDATE, true);
  4681. async(F_UPDATEUI)
  4682. }
  4683. function ForceHLAllObjects() {
  4684. _RT.$isMapChanged = true;
  4685. HLAllObjects()
  4686. }
  4687. function delayForceHLAllObjects(e) {
  4688. const ldf = nW.app.layout.model.attributes.loadingFeatures;
  4689. if (ldf)
  4690. setTimeout(function() {
  4691. delayForceHLAllObjects(e)
  4692. }, 50);
  4693. else
  4694. ForceHLAllObjects()
  4695. }
  4696. function resetDefaults() {
  4697. _UI.pMain.pFilter.oEnablePlaces.CHECKED = false;
  4698. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = true;
  4699. _UI.pMain.pFilter.oExcludeDuplicates.CHECKED = true;
  4700. _UI.pMain.pFilter.oExcludeStreets.CHECKED = false;
  4701. _UI.pMain.pFilter.oExcludeOther.CHECKED = false;
  4702. _UI.pMain.pFilter.oExcludeNotes.CHECKED = false;
  4703. _UI.pMain.pSearch.oIncludeYourEdits.CHECKED = false;
  4704. _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE = '';
  4705. _RT.$includeUpdatedByCache = {};
  4706. _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE = '';
  4707. _RT.$includeUpdatedSinceTime = 0;
  4708. _UI.pMain.pSearch.oIncludeCityName.VALUE = '';
  4709. _RT.$includeCityNameCache = {};
  4710. _UI.pMain.pSearch.oIncludeChecks.VALUE = '';
  4711. _RT.$includeChecksCache = {};
  4712. _UI.pSettings.pScanner.oSlowChecks.CHECKED = true;
  4713. _UI.pSettings.pScanner.oReportExt.CHECKED = true;
  4714. _UI.pSettings.pScanner.oHLReported.CHECKED = true;
  4715. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  4716. _UI.pSettings.pCustom.oTemplate1.VALUE = '';
  4717. _UI.pSettings.pCustom.oRegExp1.VALUE = '';
  4718. _UI.pSettings.pCustom.oTemplate2.VALUE = '';
  4719. _UI.pSettings.pCustom.oRegExp2.VALUE = ''
  4720. }
  4721. function cmpCheckIDs(a, b) {
  4722. var checkA = _RT.$checks[a], checkB = _RT.$checks[b];
  4723. if (checkA.SEVERITY !== checkB.SEVERITY) return checkB.SEVERITY - checkA.SEVERITY;
  4724. var cmp = checkA.TITLE.localeCompare(checkB.TITLE);
  4725. if (!cmp) return a - b;
  4726. return cmp
  4727. }
  4728. function checkNoCity(str) {
  4729. return str ? str : 'No City'
  4730. }
  4731. function checkNoStreet(str) {
  4732. return str ? str : 'No Street'
  4733. }
  4734. function getFilteredSeverity(oldSeverity, checkID, checkToHL) {
  4735. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4736. var check = _RT.$checks[checkID];
  4737. if (checkToHL && check.REPORTONLY) return 0;
  4738. var textSeverity = getTextSeverity(check.SEVERITY).toUpperCase();
  4739. var cache = _RT.$includeChecksCache;
  4740. var hash = checkID;
  4741. if (hash in cache) {
  4742. if (cache[hash]) return check.SEVERITY
  4743. } else {
  4744. var forChecks = _UI.pMain.pSearch.oIncludeChecks.VALUE;
  4745. var ccode = _RT.$cachedTopCCode;
  4746. var options = trO(check.OPTIONS, ccode);
  4747. var curTitle = exSOS(check.TITLE, options, 'titleEN');
  4748. try {
  4749. cache[hash] = false;
  4750. if (_WV.checkAccessFor(forChecks, function(e) {
  4751. if (/^#?\d+$/.test(e)) {
  4752. if ('#' === e.charAt(0)) e = e.slice(1);
  4753. return +checkID === +e
  4754. }
  4755. if (e.toUpperCase() === textSeverity) return true;
  4756. e = escRE(e);
  4757. var r = new RegExp('^' + e + '$', 'i');
  4758. return r.test(curTitle)
  4759. })) {
  4760. cache[hash] = true;
  4761. return check.SEVERITY
  4762. }
  4763. } catch (e) {
  4764. }
  4765. }
  4766. return 0
  4767. }
  4768. function getFilteredSeverityObj(oldSeverity, checkIDs, checkToHL) {
  4769. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4770. var ret = 0;
  4771. for (var cid in checkIDs) {
  4772. if (!checkIDs.hasOwnProperty(cid)) continue;
  4773. var check = _RT.$checks[cid];
  4774. if (getFilteredSeverity(check.SEVERITY, cid, checkToHL))
  4775. if (ret < check.SEVERITY) {
  4776. ret = check.SEVERITY;
  4777. if (_RT.$curMaxSeverity === ret) return ret
  4778. }
  4779. }
  4780. return ret
  4781. }
  4782. function checkFilter(severity, objectCopy, seenObjects) {
  4783. if (seenObjects) {
  4784. if (objectCopy.$objectID in seenObjects && _UI.pMain.pFilter.oExcludeDuplicates.CHECKED) return false;
  4785. seenObjects[objectCopy.$objectID] = null
  4786. }
  4787. if ((RR_STREET === objectCopy.$typeRank || RR_SERVICE === objectCopy.$typeRank) && _UI.pMain.pFilter.oExcludeStreets.CHECKED) return false;
  4788. if (RR_SERVICE > objectCopy.$typeRank && _UI.pMain.pFilter.oExcludeOther.CHECKED) return false;
  4789. if (!objectCopy.$isEditable && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) return false;
  4790. if (RS_NOTE === severity && _UI.pMain.pFilter.oExcludeNotes.CHECKED) return false;
  4791. if (objectCopy.$userID !== _RT.$topUser.$userID && !_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) return false;
  4792. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) {
  4793. var cache = _RT.$includeUpdatedByCache;
  4794. var hash = objectCopy.$userID;
  4795. if (hash in cache) {
  4796. if (!cache[hash]) return false
  4797. } else {
  4798. var forUser = _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE;
  4799. var curUser = _REP.$users[objectCopy.$userID];
  4800. try {
  4801. cache[hash] = false;
  4802. if (curUser !== _RT.$topUser.$userName && !_RT.$topUser.$isCM) return false;
  4803. if (_RT.$topUser.$isCM && -1 === _RT.$topUser.$countryIDs.indexOf(objectCopy.$countryID)) return false;
  4804. if (!_WV.checkAccessFor(forUser, function(e) {
  4805. e = escRE(e);
  4806. e = e.replace(/(^|\b)(me|i)($|\b)/gi, _RT.$topUser.$userName);
  4807. var r = new RegExp('^' + e + '$', 'i');
  4808. return r.test(curUser)
  4809. }))
  4810. return false;
  4811. cache[hash] = true
  4812. } catch (e) {
  4813. }
  4814. }
  4815. }
  4816. if (objectCopy.$updated && _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) try {
  4817. if (!_RT.$includeUpdatedSinceTime) _RT.$includeUpdatedSinceTime = (new Date(_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE)).getTime();
  4818. if (objectCopy.$updated < _RT.$includeUpdatedSinceTime) return false
  4819. } catch (e) {
  4820. }
  4821. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) {
  4822. if (!objectCopy.$cityID) return false;
  4823. var cache = _RT.$includeCityNameCache;
  4824. var hash = objectCopy.$cityID;
  4825. if (hash in cache) {
  4826. if (!cache[hash]) return false
  4827. } else {
  4828. var forCity = _UI.pMain.pSearch.oIncludeCityName.VALUE;
  4829. var curCity = _REP.$cities[objectCopy.$cityID];
  4830. try {
  4831. cache[hash] = false;
  4832. if (!_WV.checkAccessFor(forCity, function(e) {
  4833. e = escRE(e);
  4834. var r = new RegExp('^' + e + '$', 'i');
  4835. return r.test(curCity)
  4836. }))
  4837. return false;
  4838. cache[hash] = true
  4839. } catch (e) {
  4840. }
  4841. }
  4842. }
  4843. return true
  4844. }
  4845. function trO(obj, ccode) {
  4846. if (obj) return _I18n.getValueOC(obj, ccode)
  4847. }
  4848. function getCheckOptions(checkID, ccode) {
  4849. return _I18n.getValueOC(_RT.$checks[checkID].OPTIONS, ccode)
  4850. }
  4851. function trLeft(dir) {
  4852. if ('ltr' === dir)
  4853. return 'left';
  4854. else
  4855. return 'right'
  4856. }
  4857. function trRight(dir) {
  4858. if ('ltr' === dir)
  4859. return 'right';
  4860. else
  4861. return 'left'
  4862. }
  4863. function trS(label) {
  4864. return _I18n.getString(label)
  4865. }
  4866. function trSO(label, options) {
  4867. return _I18n.expandSO(_I18n.getString(label), options)
  4868. }
  4869. function exSOS(str, options, subst) {
  4870. if (options && _I18n.$defLng === _RT.$lng && options[subst])
  4871. return _I18n.expandSO(options[subst], options);
  4872. else
  4873. return _I18n.expandSO(str, options)
  4874. }
  4875. function getTextSeverity(sev) {
  4876. switch (sev) {
  4877. case RS_WARNING:
  4878. return 'warning';
  4879. case RS_ERROR:
  4880. return 'error';
  4881. case RS_CUSTOM1:
  4882. return 'custom1';
  4883. case RS_CUSTOM2:
  4884. return 'custom2'
  4885. }
  4886. return 'note'
  4887. }
  4888. function onUpdateUI(e) {
  4889. async(F_UPDATEUI, e)
  4890. }
  4891. function onShowChecks(e) {
  4892. sync(F_SHOWREPORT, RF_LIST)
  4893. }
  4894. function onCreatePack(e) {
  4895. sync(F_SHOWREPORT, RF_CREATEPACK)
  4896. }
  4897. function onShowReport(e) {
  4898. sync(F_SHOWREPORT, RF_HTML)
  4899. }
  4900. function onShareReport(e) {
  4901. sync(F_SHOWREPORT, RF_BB)
  4902. }
  4903. function onWarning(e) {
  4904. async(F_ONWARNING, e)
  4905. }
  4906. function onLogin() {
  4907. async(F_ONLOGIN)
  4908. }
  4909. function onMergeEnd() {
  4910. _RT.$isMapChanged = true;
  4911. window.clearTimeout(_RT.$WDmoveID);
  4912. window.clearTimeout(_RT.$WDloadID);
  4913. async(F_ONMERGEEND)
  4914. }
  4915. function onMoveEnd(e) {
  4916. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE))
  4917. async(F_ONMOVEEND);
  4918. else
  4919. delayForceHLAllObjects(e)
  4920. }
  4921. function onLoadStart() {
  4922. async(F_ONLOADSTART)
  4923. }
  4924. function onChangeLayer(e) {
  4925. sync(F_ONCHANGELAYER, e)
  4926. }
  4927. function onSegmentsChanged(e) {
  4928. _RT.$isMapChanged = true;
  4929. sync(F_ONSEGMENTSCHANGED, e)
  4930. }
  4931. function onSegmentsRemoved(e) {
  4932. _RT.$isMapChanged = true;
  4933. if (1 === e.length)
  4934. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONSEGMENTSCHANGED, e)
  4935. }
  4936. function onSegmentsAdded(e) {
  4937. _RT.$isMapChanged = true
  4938. }
  4939. function onNodesChanged(e) {
  4940. _RT.$isMapChanged = true;
  4941. sync(F_ONNODESCHANGED, e)
  4942. }
  4943. function onNodesRemoved(e) {
  4944. _RT.$isMapChanged = true;
  4945. if (1 === e.length)
  4946. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONNODESCHANGED, e)
  4947. }
  4948. function onChangeIsImperial() {
  4949. clearReport();
  4950. _RT.$HLedObjects = {};
  4951. _RT.$HLlayer.destroyFeatures();
  4952. _RT.$isMapChanged = true;
  4953. async(F_LOGIN)
  4954. }
  4955. function onVenuesAdded(e) {
  4956. _RT.$isMapChanged = true
  4957. }
  4958. function onVenuesChanged(e) {
  4959. _RT.$isMapChanged = true;
  4960. sync(F_ONVENUESCHANGED, e)
  4961. }
  4962. function onVenuesRemoved(e) {
  4963. _RT.$isMapChanged = true;
  4964. if (1 === e.length)
  4965. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONVENUESCHANGED, e)
  4966. };
  4967. function F_SHOWREPORT(reportFormat) {
  4968. var _now = new Date;
  4969. var _nowISO = _now.toISOString().slice(0, 10);
  4970. var _repU = _REP.$users;
  4971. var _repC = _REP.$cities;
  4972. var _repCC = _REP.$cityCounters;
  4973. var _repRC = _REP.$reportCounters;
  4974. var _repS = _REP.$streets;
  4975. var isBeta = -1 !== window.location.href.indexOf('beta');
  4976. var noFilters = true;
  4977. var FR = '';
  4978. var FRheader = '';
  4979. var FRfooter = '';
  4980. var newWin = null;
  4981. var Bh1, Eh1;
  4982. var Bh2, Eh2;
  4983. var Bsmall, Esmall;
  4984. var Bbig, Ebig;
  4985. var Ba, Ca, Ea;
  4986. var BaV;
  4987. var Bcolor, Ccolor, Ecolor;
  4988. var Bb, Eb;
  4989. var Bp, Ep;
  4990. var Br;
  4991. var Bol, Eol;
  4992. var Bul, Eul;
  4993. var Bli, Eli;
  4994. var Bcode, Ecode;
  4995. var Mdash, Nbsp;
  4996. var curFormat;
  4997. function setFormat(fmt) {
  4998. curFormat = fmt;
  4999. switch (fmt) {
  5000. case RF_HTML:
  5001. Bh1 = '\n<h1>', Eh1 = '</h1>\n<hr>\n';
  5002. Bh2 = '\n\n<h2>', Eh2 = '</h2>\n';
  5003. Bsmall = '<small>', Esmall = '</small>';
  5004. Bbig = '<big>', Ebig = '</big>';
  5005. Ba = '<a target="_blank" href="', Ca = '">', Ea = '</a>';
  5006. BaV = '<a target="Validator" href="';
  5007. Bcolor = '<span style="color:', Ccolor = '">', Ecolor = '</span>';
  5008. Bb = '<b>', Eb = '</b>';
  5009. Bp = '<p>', Ep = '</p>';
  5010. Br = '<br>\n';
  5011. Bul = '\n<ul>\n', Eul = '\n</ul>\n';
  5012. Bcode = '\n<div style="text-align:left" dir="ltr" class="code" onclick="selectAll(this)">', Ecode = '</div>\n';
  5013. Bol = '\n<ol>\n', Eol = '\n</ol>\n';
  5014. Bli = '\n<li>', Eli = '</li>\n';
  5015. Mdash = ' &mdash; ';
  5016. Nbsp = '&nbsp;';
  5017. break;
  5018. case RF_BB:
  5019. Bh1 = '\n[size=200]', Eh1 = '[/size]\n';
  5020. Bh2 = '\n[size=150]', Eh2 = '[/size]\n';
  5021. Bsmall = '[size=85]', Esmall = '[/size]';
  5022. Bbig = '[size=120]', Ebig = '[/size]';
  5023. Ba = '[url=', Ca = ']', Ea = '[/url]';
  5024. BaV = Ba;
  5025. Bcolor = '[color=', Ccolor = ']', Ecolor = '[/color]';
  5026. Bb = '[b]', Eb = '[/b]';
  5027. Bp = '\n', Ep = '\n';
  5028. Br = '\n';
  5029. Bul = '\n[list]', Eul = '[/list]\n';
  5030. Bcode = '\n[code]', Ecode = '\n[/code]';
  5031. Bol = '\n[list=1]', Eol = '[/list]\n';
  5032. Bli = '\n[*]', Eli = '[/*]\n';
  5033. Mdash = ' - ';
  5034. Nbsp = ' ';
  5035. break
  5036. }
  5037. return ''
  5038. }
  5039. function getReportSource() {
  5040. var m = 0;
  5041. var n = '';
  5042. for (var cid in _repCC)
  5043. if (_repCC.hasOwnProperty(cid) && m < _repCC[cid] && _repC[cid]) {
  5044. m = _repCC[cid];
  5045. n = _repC[cid]
  5046. }
  5047. return n
  5048. }
  5049. function getTopPermalink() {
  5050. var center, zoom;
  5051. if (_RT.$startCenter) {
  5052. center = _RT.$startCenter;
  5053. zoom = _RT.$startZoom
  5054. } else {
  5055. center = WM.getCenter();
  5056. zoom = WM.getZoom()
  5057. }
  5058. var c = center.clone().transform(nW.Config.map.projection.local, nW.Config.map.projection.remote);
  5059. return window.location.origin + window.location.pathname + '?zoomLevel=' + zoom + '&lat=' + Math.round(c.lat * 1E5) / 1E5 + '&lon=' + Math.round(c.lon * 1E5) / 1E5 +
  5060. '&env=' + nW.app.getAppRegionCode()
  5061. }
  5062. function getHTMLHeader(strTitle) {
  5063. var dir = _I18n.getDir();
  5064. var dirLeft = trLeft(dir);
  5065. var dirRight = trRight(dir);
  5066. return '<html dir="' + dir + '"><head><style>' +
  5067. '\na{background-color:white}' +
  5068. '\na:visited{background-color:' + GL_VISITEDBGCOLOR + ' !important;color:' + GL_VISITEDCOLOR + ' !important}' +
  5069. '\n.note a{background-color:' + GL_NOTEBGCOLOR + ';color:' + GL_NOTECOLOR + '}' +
  5070. '\n.warning a{background-color:' + GL_WARNINGBGCOLOR + ';color:' + GL_WARNINGCOLOR + '}' +
  5071. '\n.error a{background-color:' + GL_ERRORBGCOLOR + ';color:' + GL_ERRORCOLOR + '}' +
  5072. '\n.custom1 a{background-color:' + GL_CUSTOM1BGCOLOR + ';color:' + GL_CUSTOM1COLOR + '}' +
  5073. '\n.custom2 a{background-color:' + GL_CUSTOM2BGCOLOR + ';color:' + GL_CUSTOM2COLOR + '}' +
  5074. '\ndiv.note{background-color:' + GL_NOTEBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5075. '\ndiv.warning{background-color:' + GL_WARNINGBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5076. '\ndiv.error{background-color:' + GL_ERRORBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5077. '\nh2+ul>li{margin-bottom:1em}' +
  5078. '\nul{margin-top:0}' +
  5079. '\nh1,h2{margin-bottom:4px;font-family:Georgia,Times,"Times New Roman",serif}' +
  5080. '\nbody{margin:2em;font-family:"Lucida Grande","Lucida Sans Unicode","DejaVu Sans",Lucida,Arial,Helvetica,sans-serif}' +
  5081. '\ndiv#contents{display:inline-block;margin:1em 0;padding:1em;background-color:#f9f9f9;border:1px solid #aaa}' +
  5082. '\ndiv#contents li{margin-bottom:0.1em}' +
  5083. '\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;}' +
  5084. '\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}' +
  5085. '\n</style>' +
  5086. '\n<script>' +
  5087. '\nfunction selectAll(e){' +
  5088. 'if(window.getSelection){' +
  5089. 'var s = window.getSelection();' +
  5090. 'var r = document.createRange();' +
  5091. 'r.selectNodeContents(e);' +
  5092. 's.removeAllRanges();' +
  5093. 's.addRange(r);' +
  5094. '}}' +
  5095. '\n\x3c/script>' +
  5096. '\n<title>' + strTitle + ' ' + _nowISO + '</title>' +
  5097. '\n<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>' +
  5098. '\n</head><body>'
  5099. }
  5100. function getNaturalList(arr) {
  5101. if (1 === arr.length) return arr[0];
  5102. var ret = '';
  5103. arr.forEach(function(e, i) {
  5104. if (arr.length - 1 === i)
  5105. ret += ' ' + trS('report.and') + ' ';
  5106. else if (0 !== i)
  5107. ret += ', ';
  5108. ret += e
  5109. });
  5110. return ret
  5111. }
  5112. function getHeader(strTitle) {
  5113. var ret = Bh1 + strTitle + Eh1;
  5114. if (RF_LIST !== reportFormat && RF_CREATEPACK !== reportFormat) {
  5115. ret += Bsmall + trS('report.generated.by') + ' ' + _RT.$curUserName + ' ' + trS('report.generated.on') + ' ' + _nowISO + Esmall + Br + Br + Bb + trS('report.source') + ' ' + Eb + Ba +
  5116. getTopPermalink() + Ca + checkNoCity(getReportSource()) + Ea + Br;
  5117. var filters = [];
  5118. if (_UI.pMain.pFilter.oExcludeDuplicates.CHECKED) filters.push(trS('report.filter.duplicate'));
  5119. if (!_UI.pMain.pFilter.oEnablePlaces.CHECKED) filters.push(trS('report.filter.places'));
  5120. if (_UI.pMain.pFilter.oExcludeStreets.CHECKED) filters.push(trS('report.filter.streets'));
  5121. if (_UI.pMain.pFilter.oExcludeOther.CHECKED) filters.push(trS('report.filter.other'));
  5122. if (_UI.pMain.pFilter.oExcludeNonEditables.CHECKED) filters.push(trS('report.filter.noneditable'));
  5123. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED) filters.push(trS('report.filter.notes'));
  5124. if (filters.length) {
  5125. noFilters = false;
  5126. ret += Bb + trS('report.filter.title') + ' ' + Eb + getNaturalList(filters) + ' ' + trS('report.filter.excluded') + Br
  5127. }
  5128. filters = [];
  5129. if (!_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) filters.push(trS('report.search.updated.by') + ' ' + _RT.$curUserName);
  5130. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) filters.push(trS('report.search.updated.by') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE);
  5131. if (_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) filters.push(trS('report.search.updated.since') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE);
  5132. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) filters.push(trS('report.search.city') + ' ' + _UI.pMain.pSearch.oIncludeCityName.VALUE);
  5133. if (_UI.pMain.pSearch.oIncludeChecks.VALUE) filters.push(trS('report.search.reported') + ' ' + _UI.pMain.pSearch.oIncludeChecks.VALUE);
  5134. if (filters.length) {
  5135. noFilters = false;
  5136. ret += Bb + trS('report.search.title') + Eb + ' ' + trS('report.search.only') + ' ' + getNaturalList(filters) + ' ' + trS('report.search.included') + Br
  5137. }
  5138. if (isBeta) ret += Br + Bb + trS('report.beta.warning') + Eb + Br + trS('report.beta.text') + Br + Bb + trS('report.beta.share') + Eb + Br
  5139. }
  5140. return ret
  5141. }
  5142. function getSubHeader(strTitle) {
  5143. return Bh2 + strTitle + Eh2
  5144. }
  5145. function getTextACL(acl) {
  5146. if (acl)
  5147. return acl.split(',').join(', ');
  5148. else
  5149. return '*'
  5150. }
  5151. function getCheckProperties(checkID, ccode, showSeverity, showCountry) {
  5152. var check = _RT.$checks[checkID];
  5153. var ret = '';
  5154. if (showSeverity && check.SEVERITY && RS_MAX > check.SEVERITY)
  5155. ret += Bb + trS('report.list.severity') + ' ' + Eb + getTextSeverity(check.SEVERITY) + (check.REPORTONLY ? ' (' + trS('report.list.reportOnly') + ')' : '') + Br;
  5156. if (1 < check.FORLEVEL) ret += Bb + trS('report.list.forEditors') + ' ' + Eb + check.FORLEVEL + ' ' + trS('report.list.andUp') + Br;
  5157. if (showCountry) ret += Bb + trS('report.list.forCountries') + ' ' + Eb + getTextACL(check.FORCOUNTRY) + Br;
  5158. if (check.FORCITY) ret += Bb + trS('report.list.forCities') + ' ' + Eb + getTextACL(check.FORCITY) + Br;
  5159. var options;
  5160. if (check.OPTIONS && (options = getCheckOptions(checkID, ccode))) {
  5161. var defParams = ccode === _I18n.$defLng;
  5162. var arrParams = [];
  5163. for (var optionName in options) {
  5164. if (!/^[a-z]+$/i.test(optionName)) continue;
  5165. var optionTitle = options[optionName + '.title'];
  5166. if (defParams && !optionTitle) continue;
  5167. arrParams.push({$name: optionName, $title: optionTitle, $value: options[optionName]})
  5168. }
  5169. if (arrParams.length) {
  5170. ret += Bb;
  5171. var country = _I18n.getCapitalizedCountry(ccode) || ccode;
  5172. if (defParams)
  5173. ret += trS('report.list.params');
  5174. else
  5175. ret += trSO('report.list.params.set', {'country': country});
  5176. ret += Eb + Bcode + '"' + checkID + '.params": {\n';
  5177. for (var i = 0; i < arrParams.length; i++) {
  5178. var param = arrParams[i];
  5179. if (defParams) ret += ' // ' + param.$title + '\n';
  5180. ret += ' "' + param.$name + '": ' + JSON.stringify(param.$value) + ',' +
  5181. '\n'
  5182. }
  5183. ret += '},' + Ecode
  5184. }
  5185. }
  5186. return ret
  5187. }
  5188. function addTextLabels(pack, label, defSet, oldPack) {
  5189. 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);
  5190. var origData = oldPack[label] || '';
  5191. if (origData) {
  5192. var oldData = origData.replace(new RegExp('^' + GL_TODOMARKER), '')
  5193. .replace(new RegExp('^W:'), PFX_WIKI)
  5194. .replace(new RegExp('^P:'), PFX_PEDIA)
  5195. .replace(new RegExp('^F:'), PFX_FORUM)
  5196. .replace(new RegExp('^D:'), PFX_DISCUSS);
  5197. var oldDataEN =
  5198. (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);
  5199. if (oldDataEN)
  5200. if (oldDataEN === defData) {
  5201. pack[label + '.en'] = defData;
  5202. pack[label] = origData
  5203. } else {
  5204. pack[label + '.en'] = defData;
  5205. pack[label] = GL_TODOMARKER + oldData
  5206. }
  5207. else {
  5208. pack[label + '.en'] = defData;
  5209. pack[label] = origData
  5210. }
  5211. } else {
  5212. pack[label + '.en'] = defData;
  5213. pack[label] = GL_TODOMARKER + defData
  5214. }
  5215. }
  5216. function getPackHeader(country, lng) {
  5217. return '// ==UserScript==' + Br + '// @name WME Validator Localization for ' + country + Br + '// @version ' + WV_VERSION + Br +
  5218. '// @description This script localizes WME Validator for ' + country + '. You also need main package (WME Validator) installed.' + Br +
  5219. '// @match https://beta.waze.com/*editor*' + Br + '// @match https://www.waze.com/*editor*' + Br + '// @exclude https://www.waze.com/*user/*editor/*' +
  5220. Br + '// @grant none' + Br + '// @run-at document-start' + Br + '// ==/UserScript==' + Br + '//' + Br + '/*' + Br +
  5221. (lng ? ' Please translate all the lines marked with "' + GL_TODOMARKER + '"' + Br + ' Please DO NOT change ".en" properties. To override english text use "titleEN",' + Br +
  5222. ' "problemEN" and "solutionEN" properties (see an example below).' + Br + Br :
  5223. '') +
  5224. ' See Settings->About->Available checks for complete list of checks and their params.' + Br + Br + ' Examples:' + Br + Br +
  5225. ' Enable #170 "Lowercase street name" but allow lowercase "exit" and "to":' + Br + ' "170.enabled": true,' + Br + ' "170.params": {' + Br +
  5226. ' "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 +
  5227. ' "130.enabled": true,' + Br + ' "130.params": {' + Br + ' "titleEN": "Street name with a dot",' + Br +
  5228. ' "problemEN": "There is a dot in the street name (excluding Ramps)",' + Br + ' "solutionEN": "Expand the abbreviation or remove the dot",' + Br +
  5229. ' "template": "${type}:${street}",' + Br + ' "regexp": "D/^[^4][0-9]?:.*\\\\./",' + Br + ' },' + Br +
  5230. ' *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 +
  5231. '*/' + Br
  5232. }
  5233. function getPack(country, ccode, lng) {
  5234. var ucountry = country.toUpperCase();
  5235. var _country = country.split(' ').join('_');
  5236. var oldPack = _I18n.$translations[ccode] || {};
  5237. var ret = '' + Br + 'window.WME_Validator_' + _country + ' = ';
  5238. var newCountries = [];
  5239. for (var k in _I18n.$country2code)
  5240. if (ccode === _I18n.$country2code[k] && ucountry !== k) newCountries.push(_I18n.capitalize(k));
  5241. newCountries.unshift(country);
  5242. var newAuthor = oldPack['.author'] || _RT.$topUser.$userName;
  5243. if (-1 === newAuthor.indexOf(_RT.$topUser.$userName)) newAuthor += ' and ' + _RT.$topUser.$userName;
  5244. var newLink = oldPack['.link'] || GL_TODOMARKER;
  5245. var pack = {'.country': 1 === newCountries.length ? newCountries[0] : newCountries, '.codeISO': ccode, '.author': newAuthor, '.updated': _nowISO, '.link': newLink};
  5246. if (ccode in _I18n.$code2code) pack['.fallbackCode'] = _I18n.$code2code[ccode];
  5247. if (lng) {
  5248. if (ccode in _I18n.$code2dir) pack['.dir'] = _I18n.$code2dir[ccode];
  5249. var newLngs = [];
  5250. for (var k in _I18n.$lng2code)
  5251. if (ccode === _I18n.$lng2code[k] && k !== lng) newLngs.push(k);
  5252. newLngs.unshift(lng);
  5253. pack['.lng'] = 1 === newLngs.length ? newLngs[0] : newLngs
  5254. }
  5255. if (lng)
  5256. for (var label in _I18n.$defSet) {
  5257. if (/^\./.test(label) || /^[0-9]/.test(label)) continue;
  5258. addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5259. }
  5260. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  5261. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5262. for (var i = 1; i < MAX_CHECKS; i++) {
  5263. if (CK_MIRRORFIRST + 100 <= i && CK_MIRRORLAST + 100 >= i) continue;
  5264. var label = i + '.enabled';
  5265. var checkEnabled = false;
  5266. if (_I18n.$defSet[label] || oldPack[label]) checkEnabled = true;
  5267. if (!checkEnabled)
  5268. for (var depC = 0; depC < arrDepCodes.length; depC++) {
  5269. var depCode = arrDepCodes[depC];
  5270. if (_I18n.$translations[depCode] && _I18n.$translations[depCode][label]) checkEnabled = true
  5271. }
  5272. if (checkEnabled && !(i + '.title' in _I18n.$defSet)) {
  5273. pack[i + '.note'] = GL_TODOMARKER + 'The check #' + i + ' is no longer exist. See the forum thread for more details.';
  5274. continue
  5275. }
  5276. for (var j = 0; j < allLabels.length; j++) {
  5277. var labelSfx = allLabels[j];
  5278. label = i + '.' + labelSfx;
  5279. var defData = _I18n.$defSet[label];
  5280. var oldData = oldPack[label];
  5281. if (classCodeDefined(defData) || classCodeDefined(oldData))
  5282. if (-1 !== _RT.$textLabels.indexOf(labelSfx)) {
  5283. if (lng && checkEnabled) addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5284. } else {
  5285. if ('params' === labelSfx) {
  5286. if (!classCodeDefined(oldData)) continue;
  5287. defData = deepCopy(defData || {});
  5288. oldData = deepCopy(oldData);
  5289. for (var k = CO_MIN; k <= CO_MAX; k++) {
  5290. delete defData[k];
  5291. delete oldData[k]
  5292. }
  5293. for (var k in defData) {
  5294. if (!defData.hasOwnProperty(k)) continue;
  5295. if (/\.title$/.test(k)) delete defData[k]
  5296. }
  5297. }
  5298. if (!deepCompare(defData, oldData)) pack[label] = oldData
  5299. }
  5300. }
  5301. }
  5302. ret += JSON.stringify(pack, null, ' ') + ';\n';
  5303. return ret
  5304. }
  5305. function getListOfChecks(countryID, country) {
  5306. var ucountry = country.toUpperCase();
  5307. var ccode = '';
  5308. if (countryID) ccode = _I18n.getCountryCode(ucountry);
  5309. var ret = trS('report.list.see') + ' ' + Bb + trS('report.list.checks') + Eb + Br + Br;
  5310. var fallbacks = '';
  5311. if (ccode)
  5312. for (var i in _I18n.$country2code) {
  5313. if (!_I18n.$country2code.hasOwnProperty(i)) continue;
  5314. if (i === ucountry) continue;
  5315. var acode = _I18n.$country2code[i];
  5316. if (ccode && acode !== ccode) continue;
  5317. fallbacks += _I18n.capitalize(i) + ' → ' + country + Br
  5318. }
  5319. for (var i in _I18n.$code2code) {
  5320. if (!_I18n.$code2code.hasOwnProperty(i)) continue;
  5321. var countryFrom = _I18n.getCapitalizedCountry(i);
  5322. var countryTo = _I18n.getCapitalizedCountry(_I18n.$code2code[i]);
  5323. if (ccode && i !== ccode && _I18n.$code2code[i] !== ccode) continue;
  5324. if (country && countryFrom !== country && countryTo !== country) continue;
  5325. fallbacks += countryFrom + ' (' + i + ') → ' + countryTo + ' (' + _I18n.$code2code[i] + ')' + Br
  5326. }
  5327. if (fallbacks) ret += Bb + trS('report.list.fallback') + Eb + Br + fallbacks;
  5328. var sortedIDs = getSortedCheckIDs();
  5329. if (ccode) {
  5330. var enabledIDs = [];
  5331. var disabledIDs = [];
  5332. sortedIDs.forEach(function(cid) {
  5333. var c = _RT.$checks[cid];
  5334. if (!c) return;
  5335. if (RS_MAX === c.SEVERITY) return;
  5336. var en = true;
  5337. var forCountry = c.FORCOUNTRY;
  5338. if (forCountry)
  5339. if (!_WV.checkAccessFor(forCountry, function(e) {
  5340. if (e in _I18n.$code2country) return _I18n.$code2country[e] === ucountry;
  5341. error('Please report: fc=' + e);
  5342. return false
  5343. }))
  5344. en = false;
  5345. if (en)
  5346. enabledIDs.push(cid);
  5347. else
  5348. disabledIDs.push(cid)
  5349. });
  5350. ret += Bh2 + trSO('report.list.enabled', {'n': enabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5351. enabledIDs.forEach(function(cid) {
  5352. ret += Bli + getCheckDescription(cid, countryID, Bb, Eb + Br) + Bsmall;
  5353. ret += getCheckProperties(cid, ccode, false, false);
  5354. ret += Esmall + Eli
  5355. });
  5356. ret += Eul;
  5357. ret += Bh2 + trSO('report.list.disabled', {'n': disabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5358. disabledIDs.forEach(function(cid) {
  5359. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5360. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5361. ret += Esmall + Eli
  5362. });
  5363. ret += Eul
  5364. } else {
  5365. ret += Bh2 + trSO('report.list.total', {'n': sortedIDs.length}) + ':' + Eh2 + Bul;
  5366. sortedIDs.forEach(function(cid) {
  5367. var c = _RT.$checks[cid];
  5368. if (!c) return;
  5369. if (RS_MAX === c.SEVERITY) return;
  5370. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5371. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5372. ret += Esmall + Eli
  5373. });
  5374. ret += Eul
  5375. }
  5376. return ret
  5377. }
  5378. function getHTMLFooter() {
  5379. return '\n<hr>' +
  5380. '\n<center dir="ltr"><small>WME Validator v' + WV_VERSION + '<br>&copy; 2013-2018 Andriy Berestovskyy</small></center>' +
  5381. '\n</body></html>'
  5382. }
  5383. function getTAHeader(h) {
  5384. var ret = '\n<p>' + (RF_CREATEPACK === reportFormat ? trS('msg.textarea.pack') : trS('msg.textarea')) + ':</p>' +
  5385. '\n<p><textarea style="resize:vertical;width:100%;height:' + h + '">';
  5386. setFormat(RF_BB);
  5387. return ret
  5388. }
  5389. function getTAFooter() {
  5390. setFormat(RF_HTML);
  5391. return '\n</textarea></p>'
  5392. }
  5393. function getSizeWarning(size) {
  5394. return 5E4 < size ? '\n<p style="color:#e00">' + trSO('report.size.warning', {'n': size}) + '</p>' : ''
  5395. }
  5396. function openWindow(data) {
  5397. var nw = UW.open('', '_blank');
  5398. nw.document.write(data)
  5399. }
  5400. function openWindowFR(title) {
  5401. var encFR = 'data:text/html;charset=UTF-8,';
  5402. if (newWin)
  5403. if (reportFormat === RF_HTML) {
  5404. title = title.split(' ').join('_');
  5405. newWin.document.write(FRheader);
  5406. var saveRep = FRheader;
  5407. saveRep += FR;
  5408. saveRep += FRfooter;
  5409. saveRep = encodeURIComponent(saveRep);
  5410. var saveLink = '<br><a download="';
  5411. saveLink += title;
  5412. saveLink += '_';
  5413. saveLink += _nowISO;
  5414. saveLink += '.html" href="data:text/html;charset=UTF-8,';
  5415. saveLink += saveRep;
  5416. saveRep = '';
  5417. saveLink += '"><button>';
  5418. saveLink += trS('report.save');
  5419. saveLink += '</button></a><br>';
  5420. newWin.document.write(saveLink);
  5421. newWin.document.write(FR);
  5422. newWin.document.write(saveLink);
  5423. newWin.document.write(FRfooter)
  5424. } else
  5425. newWin.document.write(FR);
  5426. else {
  5427. encFR += encodeURIComponent(FRheader);
  5428. FRheader = '';
  5429. encFR += encodeURIComponent(FR);
  5430. FR = '';
  5431. encFR += encodeURIComponent(FRfooter);
  5432. FRfooter = '';
  5433. UW.open(encFR, '_blank')
  5434. }
  5435. }
  5436. var seenObjects = {};
  5437. var lastCheckID = -1;
  5438. var lastCityID = -1;
  5439. var lastStreetID = -1;
  5440. var counterNotes = 0;
  5441. var counterWarnings = 0;
  5442. var counterErrors = 0;
  5443. var counterCustoms1 = 0;
  5444. var counterCustoms2 = 0;
  5445. function resetFilter() {
  5446. seenObjects = {};
  5447. lastCheckID = -1;
  5448. lastCityID = -1;
  5449. lastStreetID = -1;
  5450. counterNotes = 0;
  5451. counterWarnings = 0;
  5452. counterErrors = 0;
  5453. counterCustoms1 = 0;
  5454. counterCustoms2 = 0
  5455. }
  5456. function getTOC() {
  5457. resetFilter();
  5458. FR += '\n<br><div id="contents">';
  5459. FR += '\n<big><b>';
  5460. FR += trS('report.contents');
  5461. FR += '</b></big>';
  5462. FR += '\n<ol>';
  5463. traverseReport(function(obj) {
  5464. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false))
  5465. if (obj.$checkID !== lastCheckID) {
  5466. lastCheckID = obj.$checkID;
  5467. var check = obj.$check;
  5468. var strCountry = _REP.$countries[obj.$objectCopy.$countryID];
  5469. var ccode = '';
  5470. if (strCountry)
  5471. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5472. else
  5473. ccode = _RT.$cachedTopCCode;
  5474. var options = trO(check.OPTIONS, ccode);
  5475. FR += '\n<li class="';
  5476. FR += getTextSeverity(obj.$check.SEVERITY);
  5477. FR += '"><a href="#a';
  5478. FR += lastCheckID;
  5479. FR += '">';
  5480. FR += exSOS(check.TITLE, options, 'titleEN');
  5481. FR += '</a></li>'
  5482. }
  5483. });
  5484. FR += '\n<li><a href="#a">';
  5485. FR += trS('report.summary');
  5486. FR += '</a></li>';
  5487. FR += '\n</ol>\n</div>'
  5488. }
  5489. function getSortedCheckIDs() {
  5490. return _RT.$sortedCheckIDs ? _RT.$sortedCheckIDs : _RT.$sortedCheckIDs = Object.keys(_RT.$checks).sort(cmpCheckIDs)
  5491. }
  5492. function traverseReport(handler) {
  5493. var mapCenter = WM.getCenter();
  5494. function getSortedCities() {
  5495. var ret = _REP.$sortedCityIDs;
  5496. if (!ret || ret.length != _REP.$unsortedCityIDs.length)
  5497. return _REP.$sortedCityIDs = [].concat(_REP.$unsortedCityIDs).sort(function(a, b) {
  5498. return _repC[a].localeCompare(_repC[b])
  5499. });
  5500. return ret
  5501. }
  5502. function getSortedStreets(repC) {
  5503. var ret = repC.$sortedStreetIDs;
  5504. if (!ret || ret.length != repC.$unsortedStreetIDs.length)
  5505. return repC.$sortedStreetIDs = [].concat(repC.$unsortedStreetIDs).sort(function(a, b) {
  5506. return _repS[a].localeCompare(_repS[b])
  5507. });
  5508. return ret
  5509. }
  5510. function getHypot(c1, c2) {
  5511. return Math.sqrt(c1 * c1 + c2 * c2)
  5512. }
  5513. function getSortedObjects(repS) {
  5514. var ret = repS.$sortedObjectIDs;
  5515. var repSeg = repS.$objectIDs;
  5516. if (!ret || ret.length != repS.$unsortedObjectIDs.length)
  5517. return repS.$sortedSegmentIDs = [].concat(repS.$unsortedObjectIDs).sort(function(a, b) {
  5518. var segA = repSeg[a], segB = repSeg[b];
  5519. if (segA.$typeRank !== segB.$typeRank) return segB.$typeRank - segA.$typeRank;
  5520. var distAB = getHypot(segA.$center.lat - segB.$center.lat, segA.$center.lon - segB.$center.lon);
  5521. if (.002 > distAB) return 0;
  5522. var distA = getHypot(mapCenter.lat - segA.$center.lat, mapCenter.lon - segA.$center.lon);
  5523. var distB = getHypot(mapCenter.lat - segB.$center.lat, mapCenter.lon - segB.$center.lon);
  5524. return distA - distB
  5525. });
  5526. return ret
  5527. }
  5528. var checkIDs = getSortedCheckIDs();
  5529. nextCheck: for (var i = 1; i < checkIDs.length; i++) {
  5530. var checkID = checkIDs[i];
  5531. var check = _RT.$checks[checkID];
  5532. if (!check) continue;
  5533. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED && RS_NOTE === check.SEVERITY) continue;
  5534. var sortedCities = getSortedCities();
  5535. for (var sorcid = 0; sorcid < sortedCities.length; sorcid++) {
  5536. var cid = sortedCities[sorcid];
  5537. var repC = _REP.$cityIDs[cid];
  5538. var sortedStreets = getSortedStreets(repC);
  5539. for (var sorsid = 0; sorsid < sortedStreets.length; sorsid++) {
  5540. var sid = sortedStreets[sorsid];
  5541. var repS = repC.$streetIDs[sid];
  5542. if (repS.$unsortedObjectIDs) {
  5543. var sortedObjects = getSortedObjects(repS);
  5544. for (var sorscid = 0; sorscid < sortedObjects.length; sorscid++) {
  5545. var scid = sortedObjects[sorscid];
  5546. var sc = repS.$objectIDs[scid];
  5547. if (checkID in sc.$reportIDs) {
  5548. var obj = {$checkID: checkID, $check: check, $param: sc.$reportIDs[checkID], $cityParam: repC.$params[checkID], $streetParam: repS.$params[checkID], $objectCopy: sc};
  5549. switch (handler(obj)) {
  5550. case RT_STOP:
  5551. return;
  5552. case RT_NEXTCHECK:
  5553. continue nextCheck
  5554. }
  5555. }
  5556. }
  5557. }
  5558. }
  5559. }
  5560. }
  5561. }
  5562. function closeReportStreet() {
  5563. if (0 <= lastStreetID || 0 <= lastCityID) {
  5564. lastStreetID = -1;
  5565. FR += Eli
  5566. }
  5567. }
  5568. function closeReportCity() {
  5569. if (0 <= lastCityID) {
  5570. lastCityID = -1;
  5571. closeReportStreet();
  5572. FR += Eul
  5573. }
  5574. }
  5575. function closeReportCheck() {
  5576. if (0 <= lastCheckID) {
  5577. if (LIMIT_PERCHECK < _repRC[lastCheckID])
  5578. if (1 === _repRC[lastCheckID] - LIMIT_PERCHECK)
  5579. FR += '[and more...]';
  5580. else {
  5581. FR += '[and ';
  5582. FR += _repRC[lastCheckID] - LIMIT_PERCHECK;
  5583. FR += ' objects more...]'
  5584. }
  5585. lastCheckID = -1;
  5586. closeReportCity()
  5587. }
  5588. if (RF_HTML === curFormat) FR += '</div>'
  5589. }
  5590. function getCheckDescription(checkID, countryID, headB, headE) {
  5591. var check = _RT.$checks[checkID];
  5592. var ret = headB;
  5593. var strCountry = _REP.$countries[countryID];
  5594. var ccode = '';
  5595. if (strCountry)
  5596. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5597. else
  5598. ccode = _RT.$cachedTopCCode;
  5599. var options = trO(check.OPTIONS, ccode);
  5600. if (check.COLOR) ret += Bcolor + check.COLOR + Ccolor + '██ ' + Ecolor;
  5601. ret += '' + (countryID ? exSOS(check.TITLE, options, 'titleEN') : check.TITLE) + ' (#' + checkID + ')' + headE;
  5602. var sevColor = GL_NOTECOLOR;
  5603. switch (check.SEVERITY) {
  5604. case RS_WARNING:
  5605. sevColor = GL_WARNINGCOLOR;
  5606. break;
  5607. case RS_ERROR:
  5608. sevColor = GL_ERRORCOLOR;
  5609. break;
  5610. case RS_CUSTOM1:
  5611. sevColor = GL_CUSTOM1COLOR;
  5612. break;
  5613. case RS_CUSTOM2:
  5614. sevColor = GL_CUSTOM2COLOR;
  5615. break
  5616. }
  5617. if (check.PROBLEM) {
  5618. ret += Bcolor + sevColor + Ccolor + (countryID ? exSOS(check.PROBLEM, options, 'problemEN') : check.PROBLEM);
  5619. var pl = trO(check.PROBLEMLINK, ccode);
  5620. if (pl)
  5621. ret += ': ' + Ba + pl + Ca + trO(check.PROBLEMLINKTEXT, ccode) + Ea;
  5622. else
  5623. ret += '.';
  5624. ret += Ecolor + Br
  5625. }
  5626. if (check.SOLUTION) {
  5627. ret += countryID ? exSOS(check.SOLUTION, options, 'solutionEN') : check.SOLUTION;
  5628. var sl = trO(check.SOLUTIONLINK, ccode);
  5629. if (sl)
  5630. ret += ': ' + Ba + sl + Ca + trO(check.SOLUTIONLINKTEXT, ccode) + Ea;
  5631. else
  5632. ret += '.';
  5633. ret += Br
  5634. }
  5635. return ret
  5636. }
  5637. function getReportCheck(obj) {
  5638. closeReportCheck();
  5639. if (RF_HTML === curFormat) {
  5640. FR += '<div class="';
  5641. FR += getTextSeverity(obj.$check.SEVERITY);
  5642. FR += '"><a name="a';
  5643. FR += obj.$checkID;
  5644. FR += '"></a>'
  5645. }
  5646. FR += getCheckDescription(obj.$checkID, obj.$objectCopy.$countryID, Bh2, Eh2);
  5647. FR += Br
  5648. }
  5649. function getReportCity(obj) {
  5650. closeReportCity();
  5651. FR += Bbig;
  5652. FR += Bb;
  5653. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5654. FR += Eb;
  5655. FR += Ebig;
  5656. if (obj.$cityParam) {
  5657. FR += Mdash;
  5658. FR += obj.$cityParam
  5659. }
  5660. FR += Bul
  5661. }
  5662. function getReportStreet(obj) {
  5663. closeReportStreet();
  5664. FR += Bli;
  5665. FR += checkNoStreet(_repS[obj.$objectCopy.$streetID]);
  5666. FR += ', ';
  5667. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5668. if (obj.$streetParam) {
  5669. FR += Mdash;
  5670. FR += obj.$streetParam
  5671. }
  5672. FR += Br
  5673. }
  5674. function getPermalink(obj) {
  5675. var z = SCAN_ZOOM;
  5676. if (obj.$objectCopy)
  5677. if (50 > obj.$objectCopy.$length)
  5678. z = 19;
  5679. else if (500 > obj.$objectCopy.$length) {
  5680. if (18 > z) z += 1
  5681. } else
  5682. z = 16;
  5683. else
  5684. z = 16;
  5685. FR += window.location.origin;
  5686. FR += window.location.pathname;
  5687. FR += '?zoomLevel=';
  5688. FR += z;
  5689. FR += '&lat=';
  5690. FR += obj.$objectCopy.$center.lat;
  5691. FR += '&lon=';
  5692. FR += obj.$objectCopy.$center.lon;
  5693. FR += '&env=';
  5694. FR += nW.app.getAppRegionCode();
  5695. FR += '&' + obj.$objectCopy.$model.name + '=';
  5696. FR += obj.$objectCopy.$objectID
  5697. }
  5698. function getReportItem(obj) {
  5699. if (!checkFilter(0, obj.$objectCopy, seenObjects) || !getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) return;
  5700. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5701. if (obj.$checkID !== lastCheckID) {
  5702. getReportCheck(obj);
  5703. if (noFilters) {
  5704. var c = _repRC[obj.$checkID];
  5705. switch (obj.$check.SEVERITY) {
  5706. case RS_NOTE:
  5707. counterNotes += c;
  5708. break;
  5709. case RS_WARNING:
  5710. counterWarnings += c;
  5711. break;
  5712. case RS_ERROR:
  5713. counterErrors += c;
  5714. break;
  5715. case RS_CUSTOM1:
  5716. counterCustoms1 += c;
  5717. break;
  5718. case RS_CUSTOM2:
  5719. counterCustoms2 += c;
  5720. break
  5721. }
  5722. }
  5723. }
  5724. if (obj.$objectCopy.$cityID !== lastCityID) getReportCity(obj);
  5725. if (obj.$objectCopy.$streetID !== lastStreetID) getReportStreet(obj);
  5726. lastCityID = obj.$objectCopy.$cityID;
  5727. lastStreetID = obj.$objectCopy.$streetID;
  5728. lastCheckID = obj.$checkID;
  5729. if (!noFilters) switch (obj.$check.SEVERITY) {
  5730. case RS_NOTE:
  5731. counterNotes++;
  5732. break;
  5733. case RS_WARNING:
  5734. counterWarnings++;
  5735. break;
  5736. case RS_ERROR:
  5737. counterErrors++;
  5738. break;
  5739. case RS_CUSTOM1:
  5740. counterCustoms1++;
  5741. break;
  5742. case RS_CUSTOM2:
  5743. counterCustoms2++;
  5744. break
  5745. }
  5746. FR += BaV;
  5747. getPermalink(obj);
  5748. FR += Ca;
  5749. if (isBeta) FR += 'B:';
  5750. if (obj.$objectCopy.$model === WMo.segments)
  5751. FR += obj.$objectCopy.$objectID;
  5752. else if (obj.$objectCopy.$name !== '')
  5753. FR += obj.$objectCopy.$name;
  5754. else
  5755. FR += obj.$objectCopy.$objectID;
  5756. FR += Ea;
  5757. FR += ' '
  5758. }
  5759. function getSummary() {
  5760. if (RF_HTML === curFormat) FR += '<a name="a"></a>';
  5761. FR += Bh2;
  5762. FR += trS('report.summary');
  5763. FR += Eh2;
  5764. FR += Bb;
  5765. FR += trS('report.segments');
  5766. FR += Eb;
  5767. FR += ' ';
  5768. FR += _REP.$counterTotal;
  5769. FR += Br;
  5770. if (counterCustoms1 || counterCustoms2) {
  5771. FR += Bb;
  5772. FR += trS('report.customs');
  5773. FR += Eb;
  5774. FR += ' ';
  5775. FR += counterCustoms1;
  5776. FR += '/';
  5777. FR += counterCustoms2;
  5778. if (_REP.$isLimitPerCheck) FR += '*';
  5779. FR += Br
  5780. }
  5781. FR += Bb;
  5782. FR += trS('report.reported');
  5783. FR += Eb;
  5784. FR += ' ';
  5785. var summary = [];
  5786. if (counterErrors)
  5787. summary.push(Bb + trS('report.errors') + Mdash + Eb + ' ' + counterErrors + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterErrors * 1E3 / _REP.$counterTotal) + '‰)');
  5788. if (counterWarnings)
  5789. summary.push(Bb + trS('report.warnings') + Mdash + Eb + ' ' + counterWarnings + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterWarnings * 1E3 / _REP.$counterTotal) + '‰)');
  5790. if (counterNotes) summary.push(Bb + trS('report.notes') + Mdash + Eb + ' ' + counterNotes + (_REP.$isLimitPerCheck ? '*' : ''));
  5791. FR += getNaturalList(summary);
  5792. FR += Br;
  5793. if (_REP.$isLimitPerCheck) {
  5794. FR += trS('report.note.limit');
  5795. FR += Br
  5796. }
  5797. FR += Br;
  5798. FR += trS('report.forum');
  5799. FR += ' ';
  5800. FR += Ba;
  5801. FR += PFX_DISCUSS;
  5802. FR += DISCUSS_HOME;
  5803. FR += Ca;
  5804. FR += trS('report.forum.link');
  5805. FR += Ea;
  5806. FR += Br;
  5807. FR += Br;
  5808. FR += trS('report.thanks');
  5809. FR += Br
  5810. }
  5811. function getReport(fmt) {
  5812. var oldFormat = curFormat;
  5813. setFormat(fmt);
  5814. resetFilter();
  5815. _REP.$maxSeverity = 0;
  5816. traverseReport(function(e) {
  5817. getReportItem(e)
  5818. });
  5819. closeReportCheck();
  5820. getSummary();
  5821. setFormat(oldFormat)
  5822. }
  5823. function updateMaxSeverity() {
  5824. resetFilter();
  5825. _REP.$maxSeverity = 0;
  5826. traverseReport(function(obj) {
  5827. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) {
  5828. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5829. if (_RT.$curMaxSeverity === _REP.$maxSeverity) return RT_STOP
  5830. }
  5831. })
  5832. }
  5833. setFormat(RF_HTML);
  5834. var t = trS('report.title');
  5835. switch (reportFormat) {
  5836. case RF_UPDATEMAXSEVERITY:
  5837. updateMaxSeverity();
  5838. break;
  5839. case RF_CREATEPACK:
  5840. var wType = 'Localization Package Wizard';
  5841. if (!window.confirm(getMsg(
  5842. wType,
  5843. '\nBefore starting the Wizard:' +
  5844. '\n\n1. Position WME over your country' +
  5845. '\n so the Wizard will know your country name' +
  5846. '\n\n2. Switch WME to your language' +
  5847. '\n so the Wizard will add translations into the package' +
  5848. '\n\n3. Enable any previous version of localization pack' +
  5849. '\n so the Wizard will preserve already translated text',
  5850. true)))
  5851. break;
  5852. var country = _RT.$topCity && _RT.$topCity.$country ? _RT.$topCity.$country : window.prompt(getMsg(wType, '\nWME country name (example: United Kingdom):', true));
  5853. if (!country) break;
  5854. var ucountry = country.toUpperCase();
  5855. var ccode = _I18n.getCountryCode(ucountry) ? _I18n.getCountryCode(ucountry) : window.prompt(getMsg(wType, '\nISO 3166-1 Alpha-2 country code (example: UK):', true));
  5856. if (!ccode) break;
  5857. ccode = ccode.toUpperCase();
  5858. var lng = window.prompt(
  5859. getMsg(
  5860. wType,
  5861. '\nPlease confirm the WME language code:' +
  5862. '\n\nfor "EN" no translations will be included into the package' +
  5863. '\nfor any other code the translations will be included',
  5864. true),
  5865. _RT.$lng);
  5866. if (!lng) break;
  5867. lng = lng.toUpperCase();
  5868. if (_I18n.$defLng === lng)
  5869. t = 'Minimal Localization for ' + country;
  5870. else
  5871. t = 'Localization and Translation for ' + country;
  5872. if (_I18n.$defLng === lng) lng = '';
  5873. var lPack = getHTMLHeader(t) + getHeader(t) + getTAHeader('400px') + getPackHeader(country, lng) + getPack(country, ccode, lng);
  5874. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5875. for (var i = 0; i < arrDepCodes.length; i++) {
  5876. var depCode = arrDepCodes[i];
  5877. var depCountry = _I18n.getCapitalizedCountry(depCode);
  5878. if (depCountry && depCode) {
  5879. lPack += '\n// Dependant package:';
  5880. lPack += getPack(depCountry, depCode, '')
  5881. }
  5882. }
  5883. openWindow(lPack + getTAFooter() + getHTMLFooter());
  5884. break;
  5885. case RF_LIST:
  5886. var countryID = 0;
  5887. var country = '';
  5888. t = trS('report.list.title') + ' ';
  5889. if (_RT.$topCity && _RT.$topCity.$country) {
  5890. countryID = _RT.$topCity.$countryID;
  5891. country = _RT.$topCity.$country;
  5892. t += country + ' (v' + WV_VERSION + ')'
  5893. } else
  5894. t += 'v' + WV_VERSION;
  5895. openWindow(getHTMLHeader(t) + getHeader(t) + getListOfChecks(countryID, country) + getTAHeader('200px') + getHeader(t) + getListOfChecks(countryID, country) + getTAFooter() + getHTMLFooter());
  5896. break;
  5897. case RF_HTML:
  5898. newWin = UW.open('', '_blank');
  5899. FR += getHTMLHeader(t);
  5900. FR += getHeader(t);
  5901. FRheader = FR;
  5902. FR = '';
  5903. getTOC();
  5904. getReport(RF_HTML);
  5905. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5906. if (newWin) newWin.close();
  5907. async(F_UPDATEUI);
  5908. break
  5909. }
  5910. FRfooter += getHTMLFooter();
  5911. openWindowFR(t);
  5912. break;
  5913. case RF_BB:
  5914. newWin = UW.open('', '_blank');
  5915. var tf = t + ' ' + trS('report.share');
  5916. FR += getHTMLHeader(tf);
  5917. FR += getHeader(tf);
  5918. FR += getTAHeader('200px');
  5919. var beforeShareLen = FR.length;
  5920. FR += getHeader(t);
  5921. getReport(RF_BB);
  5922. var shareLen = FR.length - beforeShareLen;
  5923. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5924. if (newWin) newWin.close();
  5925. async(F_UPDATEUI);
  5926. break
  5927. }
  5928. FR += getTAFooter();
  5929. FR += getSizeWarning(shareLen);
  5930. FR += getHTMLFooter();
  5931. openWindowFR();
  5932. break
  5933. }
  5934. resetFilter()
  5935. };
  5936. function F_VALIDATE(disabledHL) {
  5937. if (!_RT.$isMapChanged) return;
  5938. _RT.$isMapChanged = false;
  5939. var bUpdateMaxSeverity = false;
  5940. if (RTStateIs(ST_RUN)) beep(10);
  5941. var options;
  5942. var skippedObject = false;
  5943. if (disabledHL) {
  5944. updateObjectProperties([], true);
  5945. return
  5946. }
  5947. if (LIMIT_TOTAL < _REP.$counterTotal && !isErrorFlag()) {
  5948. setErrorFlag();
  5949. if (RTStateIs(ST_RUN)) {
  5950. window.alert(getMsg(trS('msg.autopaused'), '\n' + trS('msg.limit.segments') + trS('msg.limit.segments.continue'), true));
  5951. sync(F_PAUSE)
  5952. } else
  5953. warning(trS('msg.limit.segments') + trS('msg.limit.segments.clear'));
  5954. return
  5955. }
  5956. _RT.$topCenter = WM.getCenter();
  5957. if (_UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED) {
  5958. var el = document.getElementById(_RT.oReportWMECH.FORID);
  5959. if (el) {
  5960. var ev = new CustomEvent('click');
  5961. el.dispatchEvent(ev)
  5962. }
  5963. }
  5964. var _repC = _REP.$cities;
  5965. var _repCC = _REP.$cityCounters;
  5966. var _repRC = _REP.$reportCounters;
  5967. var _repS = _REP.$streets;
  5968. var _repU = _REP.$users;
  5969. function isLimitOk(id) {
  5970. if (DEF_DEBUG)
  5971. return true;
  5972. else
  5973. return !(LIMIT_PERCHECK < _repRC[id])
  5974. }
  5975. function formatDate(d) {
  5976. var n = new Date(d);
  5977. return n.toISOString().substr(0, 10)
  5978. }
  5979. function getUserName(objID) {
  5980. var u = WMo.users.getObjectById(objID);
  5981. return u ? u.attributes.userName : objID.toString()
  5982. }
  5983. function getUserLevel(objID) {
  5984. var u = WMo.users.getObjectById(objID);
  5985. return u ? u.attributes.rank + 1 : 0
  5986. }
  5987. function SimpleNODE(objID, segID) {
  5988. this.$rawNode = null;
  5989. this.$nodeID = objID;
  5990. this._center = null;
  5991. this.$center = null;
  5992. this.$isUturn = false;
  5993. this.$isEditable = true;
  5994. this.$isPartial = true;
  5995. this._rawRestrictions = [];
  5996. this._rawRestrictionIDs = [];
  5997. this._restrictions = null;
  5998. this.$restrictions = null;
  5999. this._rawOtherSegments = [];
  6000. this._otherSegments = null;
  6001. this.$otherSegments = null;
  6002. this._rawOutConnections = [];
  6003. this._outConnections = null;
  6004. this.$outConnections = null;
  6005. this._rawInConnections = [];
  6006. this._inConnections = null;
  6007. this.$inConnections = null;
  6008. this.$restrictionsLen = 0;
  6009. this.$otherSegmentsLen = 0;
  6010. this.$outConnectionsLen = 0;
  6011. this.$inConnectionsLen = 0;
  6012. var n = WMo.nodes.getObjectById(objID);
  6013. this.$rawNode = n;
  6014. if (n) {
  6015. this.$isPartial = n.attributes.partial;
  6016. this.$isEditable = true;
  6017. var co = n.attributes.restrictions;
  6018. for (var k in co) {
  6019. if (!co[k]) continue;
  6020. var _con = k.split(',');
  6021. var con0 = +_con[0];
  6022. if (+segID === con0) {
  6023. var con1 = +_con[1];
  6024. var cok = co[k];
  6025. for (var j = 0, l = cok.length; j < l; j++) {
  6026. this._rawRestrictions.push(cok[j]);
  6027. this._rawRestrictionIDs.push(con1)
  6028. }
  6029. }
  6030. }
  6031. this.$restrictionsLen = this._rawRestrictions.length;
  6032. for (var i = 0; i < n.attributes.segIDs.length; i++) {
  6033. var si = n.attributes.segIDs[i];
  6034. if (+segID === +si || !WMo.segments.getObjectById(si)) continue;
  6035. this._rawOtherSegments.push(si)
  6036. }
  6037. this.$otherSegmentsLen = this._rawOtherSegments.length;
  6038. co = n.attributes.connections;
  6039. for (var k in co) {
  6040. if (!co[k]) continue;
  6041. var _con = k.split(',');
  6042. var con0 = +_con[0];
  6043. var con1 = +_con[1];
  6044. if (+segID === con0 && +segID === con1) {
  6045. this.$isUturn = true;
  6046. continue
  6047. }
  6048. if (+segID === con0) this._rawOutConnections.push(con1);
  6049. if (+segID === con1) this._rawInConnections.push(con0)
  6050. }
  6051. }
  6052. this.$outConnectionsLen = this._rawOutConnections.length;
  6053. this.$inConnectionsLen = this._rawInConnections.length;
  6054. Object.defineProperties(this, {
  6055. $rawNode: {enumerable: false},
  6056. $nodeID: {writable: false},
  6057. _center: {enumerable: false},
  6058. $center: {get: this.getCenter},
  6059. $isUturn: {writable: false},
  6060. $isEditable: {writable: false},
  6061. $isPartial: {writable: false},
  6062. _rawRestrictions: {enumerable: false},
  6063. _rawRestrictionIDs: {enumerable: false},
  6064. _restrictions: {enumerable: false},
  6065. $restrictions: {get: this.getRestrictions},
  6066. _rawOtherSegments: {enumerable: false},
  6067. _otherSegments: {enumerable: false},
  6068. $otherSegments: {get: this.getOtherSegments},
  6069. _rawOutConnections: {enumerable: false},
  6070. _outConnections: {enumerable: false},
  6071. $outConnections: {get: this.getOutConnections},
  6072. _rawInConnections: {enumerable: false},
  6073. _inConnections: {enumerable: false},
  6074. $inConnections: {get: this.getInConnections},
  6075. $restrictionsLen: {writable: false},
  6076. $otherSegmentsLen: {writable: false},
  6077. $outConnectionsLen: {writable: false},
  6078. $inConnectionsLen: {writable: false}
  6079. })
  6080. }
  6081. SimpleNODE.prototype.getCenter = function() {
  6082. if (this._center) return this._center;
  6083. if (!this.$rawNode) return null;
  6084. var bounds = this.$rawNode.getOLGeometry().getBounds();
  6085. this._center = (new OpenLayers.LonLat(bounds.left, bounds.bottom)).transform(nW.Config.map.projection.local, nW.Config.map.projection.remote);
  6086. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6087. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6088. return this._center
  6089. };
  6090. SimpleNODE.prototype.getRestrictions = function() {
  6091. var t;
  6092. return this._restrictions ? this._restrictions : (t = this, this._restrictions = this._rawRestrictions.map(function(e, i) {
  6093. return new SimpleRESTRICTION(e, t._rawRestrictionIDs[i])
  6094. }))
  6095. };
  6096. SimpleNODE.prototype.getOutConnections = function() {
  6097. return this._outConnections ? this._outConnections : this._outConnections = this._rawOutConnections.map(function(e) {
  6098. return new SimpleOBJECT(e, WMo.segments)
  6099. })
  6100. };
  6101. SimpleNODE.prototype.getInConnections = function() {
  6102. return this._inConnections ? this._inConnections : this._inConnections = this._rawInConnections.map(function(e) {
  6103. return new SimpleOBJECT(e, WMo.segments)
  6104. })
  6105. };
  6106. SimpleNODE.prototype.getOtherSegments = function() {
  6107. return this._otherSegments ? this._otherSegments : this._otherSegments = this._rawOtherSegments.map(function(e) {
  6108. return new SimpleOBJECT(e, WMo.segments)
  6109. })
  6110. };
  6111. function SimpleROADCLOSURE(obj) {
  6112. this.$id = obj.id;
  6113. this.$segID = obj.segID;
  6114. this.$active = obj.active;
  6115. this.$updatedOn = '';
  6116. this.$updatedBy = '';
  6117. this.$updatedByID = 0;
  6118. this.$updatedByLevel = 0;
  6119. this.$createdOn = '';
  6120. this.$createdBy = '';
  6121. this.$createdByID = 0;
  6122. this.$createdByLevel = 0;
  6123. this.$startDate = Date.parse(obj.startDate);
  6124. this.$endDate = Date.parse(obj.endDate);
  6125. this.$location = obj.location;
  6126. this.$reason = obj.reason;
  6127. if (obj.updatedOn) this.$updatedOn = formatDate('' + obj.updatedOn);
  6128. if (0 < obj.updatedBy) {
  6129. this.$updatedByID = obj.updatedBy;
  6130. this.$updatedBy = getUserName(obj.updatedBy);
  6131. this.$updatedByLevel = getUserLevel(obj.updatedBy)
  6132. }
  6133. if (obj.createdOn) this.$createdOn = formatDate('' + obj.createdOn);
  6134. if (obj.createdBy) {
  6135. this.$createdByID = obj.createdBy;
  6136. this.$createdBy = getUserName(obj.createdBy);
  6137. this.$createdByLevel = getUserLevel(obj.createdBy)
  6138. }
  6139. var past = new Date;
  6140. past.setDate(past.getDate() - 2);
  6141. this.$isInThePast = this.$endDate < past
  6142. }
  6143. function SimpleRESTRICTION(obj, segID) {
  6144. var timeFrame = obj.getTimeFrame();
  6145. this._to = null;
  6146. this.$to = null;
  6147. this.$toID = segID;
  6148. this.$allDay = timeFrame.isAllDay() || false;
  6149. this.$days = timeFrame.getWeekdays();
  6150. this.$description = obj.getDescription() || '';
  6151. this.$isEnabled = true;
  6152. this.$fromDate = timeFrame.getStartDate() || '';
  6153. this.$fromTime = timeFrame.getFromTime() || '';
  6154. this.$toDate = timeFrame.getEndDate() || '';
  6155. this.$toTime = timeFrame.getToTime() || '';
  6156. var past = new Date;
  6157. past.setDate(past.getDate() - 2);
  6158. this.$isInThePast = new Date(this.$toDate + ' ' + this.$toTime) < past;
  6159. Object.defineProperties(this, {
  6160. _to: {enumerable: false},
  6161. $to: {get: this.getTo},
  6162. $toID: {writable: false},
  6163. $allDay: {writable: false},
  6164. $days: {writable: false},
  6165. $description: {writable: false},
  6166. $isInThePast: {writable: false},
  6167. $isEnabled: {writable: false},
  6168. $fromDate: {writable: false},
  6169. $fromTime: {writable: false},
  6170. $toDate: {writable: false},
  6171. $toTime: {writable: false}
  6172. })
  6173. }
  6174. SimpleRESTRICTION.prototype.getTo = function() {
  6175. return this._to ? this._to : this._to = new SimpleOBJECT('' + this.$toID, WMo.segments)
  6176. };
  6177. function SimpleOBJECT(objID, model) {
  6178. this.$model = model;
  6179. var raw = this.$model.getObjectById(objID);
  6180. this.$rawObject = raw;
  6181. this._nodeA = null;
  6182. this.$nodeA = null;
  6183. this.$nodeAID = 0;
  6184. this._nodeB = null;
  6185. this.$nodeB = null;
  6186. this.$nodeBID = 0;
  6187. this._center = null;
  6188. this.$center = null;
  6189. this._restrictions = null;
  6190. this.$restrictions = null;
  6191. this.$name = '';
  6192. this.$brand = '';
  6193. this.$objectID = objID;
  6194. this.$address = null;
  6195. this.$isPoint = false;
  6196. this.$isTurnALocked = false;
  6197. this.$isTurnBLocked = false;
  6198. this.$isRoundabout = false;
  6199. this.$hasHNs = false;
  6200. this.$isEditable = false;
  6201. this.$forceNonEditable = false;
  6202. this.$mainCategory = '';
  6203. this.$categories = [];
  6204. this.$openingHours = [];
  6205. this.$phone = '';
  6206. this.$url = '';
  6207. this.$services = [];
  6208. this.$externalProviders = [];
  6209. this.$type = 0;
  6210. this.$typeRank = 0;
  6211. this.$direction = 0;
  6212. this.$isToll = false;
  6213. this.$elevation = 0;
  6214. this.$lock = 0;
  6215. this.$rank = 0;
  6216. this.$length = 0;
  6217. this.$updatedOn = '';
  6218. this.$updatedBy = '';
  6219. this.$updatedByID = 0;
  6220. this.$updatedByLevel = 0;
  6221. this.$createdOn = '';
  6222. this.$createdBy = '';
  6223. this.$createdByID = 0;
  6224. this.$createdByLevel = 0;
  6225. this.$alts = [];
  6226. this.restrictionsLen = 0;
  6227. this.$fwdMaxSpeed = 0;
  6228. this.$fwdMaxSpeedUnverified = true;
  6229. this.$revMaxSpeed = 0;
  6230. this.$revMaxSpeedUnverified = false;
  6231. this.$flags = null;
  6232. this.$hasClosures = false;
  6233. if (classCodeIs(raw, CC_UNDEFINED) || classCodeIs(raw, CC_NULL)) return;
  6234. var attrs = raw.attributes;
  6235. if (this.$model === WMo.segments) {
  6236. this.$nodeAID = attrs.fromNodeID;
  6237. this.$nodeBID = attrs.toNodeID;
  6238. this.$isRoutable = this.isRoutable();
  6239. this.$isTurnALocked = attrs.revTurnsLocked;
  6240. this.$isTurnBLocked = attrs.fwdTurnsLocked;
  6241. this.$isRoundabout = classCodeDefined(attrs.junctionID) && null !== attrs.junctionID;
  6242. this.$hasHNs = attrs.hasHNs;
  6243. this.$hasRestrictions = raw.hasRestrictions();
  6244. this.$restrictions = attrs.restrictions;
  6245. this.$type = attrs.roadType;
  6246. this.$typeRank = this.getTypeRank(attrs.roadType);
  6247. this.$direction = getDirection(raw);
  6248. this.$elevation = attrs.level;
  6249. if ('length' in attrs)
  6250. this.$length = attrs.length;
  6251. else
  6252. this.$length = Math.round(raw.getOLGeometry().getGeodesicLength(WM.projection));
  6253. this.$alts = attrs.streetIDs.map(function(objID) {
  6254. return new _WV.SimpleADDRESS(objID)
  6255. });
  6256. this.$restrictionsLen = attrs.restrictions.length;
  6257. this.$address = new _WV.SimpleADDRESS(attrs.primaryStreetID);
  6258. this.$fwdMaxSpeed = getLocalizedValue(+attrs.fwdMaxSpeed, this.$address.$country);
  6259. this.$fwdMaxSpeedUnverified = attrs.fwdMaxSpeedUnverified;
  6260. this.$revMaxSpeed = getLocalizedValue(+attrs.revMaxSpeed, this.$address.$country);
  6261. this.$revMaxSpeedUnverified = attrs.revMaxSpeedUnverified;
  6262. this.$hasClosures = attrs.hasClosures;
  6263. if (raw.getFlagAttributes) this.$flags = raw.getFlagAttributes()
  6264. } else {
  6265. this.$name = attrs.name;
  6266. this.$brand = attrs.brand;
  6267. if (this.$brand === null) this.$brand = '';
  6268. this.$isApproved = attrs.approved;
  6269. this.$mainCategory = raw.getMainCategory();
  6270. this.$categories = attrs.categories;
  6271. this.$categoryAttributes = attrs.categoryAttributes;
  6272. this.$openingHours = attrs.openingHours;
  6273. this.$services = attrs.services;
  6274. this.$externalProviders = attrs.externalProviderIDs;
  6275. this.$entryExitPoints = attrs.entryExitPoints;
  6276. this.$alts = attrs.aliases;
  6277. this.$address = new _WV.SimpleADDRESS(attrs.streetID);
  6278. this.$geometry = raw.getOLGeometry();
  6279. this.$phone = attrs.phone;
  6280. this.$url = attrs.url;
  6281. this.$isPoint = raw.isPoint()
  6282. }
  6283. this.$isEditable = raw.arePropertiesEditable();
  6284. this.$lock = attrs.lockRank + 1;
  6285. this.$rank = attrs.rank + 1;
  6286. if (attrs.updatedOn) this.$updatedOn = formatDate(attrs.updatedOn);
  6287. if (0 < attrs.updatedBy) {
  6288. this.$updatedByID = attrs.updatedBy;
  6289. this.$updatedBy = getUserName(attrs.updatedBy);
  6290. this.$updatedByLevel = getUserLevel(attrs.updatedBy)
  6291. }
  6292. if (attrs.createdOn) this.$createdOn = formatDate(attrs.createdOn);
  6293. if (attrs.createdBy) {
  6294. this.$createdByID = attrs.createdBy;
  6295. this.$createdBy = getUserName(attrs.createdBy);
  6296. this.$createdByLevel = getUserLevel(attrs.createdBy)
  6297. }
  6298. Object.defineProperties(this, {
  6299. $rawObject: {enumerable: false},
  6300. _nodeA: {enumerable: false},
  6301. $nodeA: {get: this.getNodeA},
  6302. $nodeAID: {writable: false},
  6303. _nodeB: {enumerable: false},
  6304. $nodeB: {get: this.getNodeB},
  6305. $nodeBID: {writable: false},
  6306. _center: {enumerable: false},
  6307. $center: {get: this.getCenter},
  6308. _restrictions: {enumerable: false},
  6309. $restrictions: {get: this.getRestrictions},
  6310. $segmentID: {writable: false},
  6311. $isRoutable: {writable: false},
  6312. $isPoint: {writable: false},
  6313. $isTurnALocked: {writable: false},
  6314. $isTurnBLocked: {writable: false},
  6315. $isRoundabout: {writable: false},
  6316. $hasHNs: {writable: false},
  6317. $typeRank: {writable: false},
  6318. $isEditable: {writable: false},
  6319. $rank: {writable: false},
  6320. $length: {writable: false},
  6321. $mainCategory: {writable: false},
  6322. $updatedOn: {writable: false},
  6323. $updatedBy: {writable: false},
  6324. $updatedByID: {writable: false},
  6325. $updatedByLevel: {writable: false},
  6326. $createdOn: {writable: false},
  6327. $createdBy: {writable: false},
  6328. $createdByID: {writable: false},
  6329. $createdByLevel: {writable: false},
  6330. $restrictionsLen: {writable: false}
  6331. })
  6332. }
  6333. SimpleOBJECT.prototype.isRoutable = function() {
  6334. var routeableRoadTypes = [RT_STREET, RT_PRIMARY, RT_MINOR, RT_MAJOR, RT_FREEWAY];
  6335. return routeableRoadTypes.includes(this.$type)
  6336. };
  6337. SimpleOBJECT.prototype.getTypeRank = function(typeID) {
  6338. 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]
  6339. };
  6340. SimpleOBJECT.prototype.getNodeA = function() {
  6341. return this._nodeA ? this._nodeA : this._nodeA = new SimpleNODE(this.$nodeAID, this.$objectID)
  6342. };
  6343. SimpleOBJECT.prototype.getNodeB = function() {
  6344. return this._nodeB ? this._nodeB : this._nodeB = new SimpleNODE(this.$nodeBID, this.$objectID)
  6345. };
  6346. SimpleOBJECT.prototype.getCenter = function() {
  6347. if (this._center) return this._center;
  6348. this._center = this.$rawObject.getOLGeometry().getBounds().getCenterLonLat().clone().transform(nW.Config.map.projection.local, nW.Config.map.projection.remote);
  6349. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6350. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6351. return this._center
  6352. };
  6353. SimpleOBJECT.prototype.getRestrictions = function() {
  6354. var t;
  6355. return this._restrictions ? this._restrictions : this._restrictions = this.$model == WMo.venues ? [] : (t = this, this.$rawObject.attributes.restrictions.map(function(e) {
  6356. return new SimpleRESTRICTION(e, t.$objectID)
  6357. }))
  6358. };
  6359. SimpleOBJECT.prototype.report = function(params) {
  6360. if (classCodeIs(params, CC_NUMBER)) params = {$checkID: params};
  6361. var id = params.$checkID;
  6362. if (!id || !isLimitOk(id)) return;
  6363. function getObjectCopy(ss) {
  6364. return {
  6365. $objectID: ss.$objectID, $model: ss.$model, $name: ss.$name, $countryID: +ss.$address.$countryID, $cityID: +ss.$address.$cityID, $streetID: +ss.$address.$streetID, $reportIDs: {},
  6366. $updated: ss.$updatedOn ? ss.$rawObject.attributes.updatedOn :
  6367. ss.$createdOn ? ss.$rawObject.attributes.createdOn :
  6368. 0,
  6369. $userID: ss.$updatedByID ? +ss.$updatedByID :
  6370. ss.$createdByID ? +ss.$createdByID :
  6371. 0,
  6372. $isEditable: ss.$isEditable && (ss.$nodeA.$isEditable || ss.$nodeA.$isPartial) && (ss.$nodeB.$isEditable || ss.$nodeB.$isPartial), $typeRank: +ss.$typeRank, $center: ss.$center,
  6373. $length: +ss.$length
  6374. }
  6375. }
  6376. var rep = _REP.$cityIDs[this.$address.$cityID];
  6377. var check = _RT.$checks[id];
  6378. if (_repRC[id])
  6379. _repRC[id]++;
  6380. else
  6381. _repRC[id] = 1;
  6382. if (LIMIT_PERCHECK < _repRC[id]) {
  6383. _REP.$isLimitPerCheck = true;
  6384. return
  6385. }
  6386. if (params.$cityParam) rep.$params[id] = params.$cityParam;
  6387. var sid = this.$address.$streetID;
  6388. if (!(sid in rep.$streetIDs)) {
  6389. rep.$unsortedStreetIDs.push(sid);
  6390. _repS[sid] = this.$address.$street;
  6391. rep.$streetIDs[sid] = {};
  6392. rep.$streetIDs[sid].$params = {};
  6393. rep.$streetIDs[sid].$objectIDs = {};
  6394. rep.$streetIDs[sid].$unsortedObjectIDs = [];
  6395. rep.$streetIDs[sid].$sortedObjectIDs = []
  6396. }
  6397. rep = rep.$streetIDs[sid];
  6398. if (params.$streetParam) rep.$params[id] = params.$streetParam;
  6399. if (!(this.$objectID in rep.$objectIDs)) {
  6400. rep.$unsortedObjectIDs.push(this.$objectID);
  6401. rep.$objectIDs[this.$objectID] = getObjectCopy(this)
  6402. }
  6403. var objectCopy = rep.$objectIDs[this.$objectID];
  6404. var uid = objectCopy.$userID;
  6405. if (!(uid in _repU)) {
  6406. var n = '';
  6407. if (uid === this.$createdByID)
  6408. n = this.$createdBy;
  6409. else if (uid === this.$updatedByID)
  6410. n = this.$updatedBy;
  6411. _repU[uid] = n
  6412. }
  6413. var seenObj = _RT.$seen[this.$objectID];
  6414. if (this.$forceNonEditable) {
  6415. this.$forceNonEditable = false;
  6416. objectCopy.$isEditable = false;
  6417. if (_REP.$maxSeverity <= seenObj[I_SEVERITY] || _REP.$maxSeverity <= check.SEVERITY) bUpdateMaxSeverity = true
  6418. }
  6419. objectCopy.$reportIDs[id] = params.$param;
  6420. if (_REP.$maxSeverity < check.SEVERITY)
  6421. if (checkFilter(check.SEVERITY, objectCopy, null) && getFilteredSeverity(check.SEVERITY, id, true)) _REP.$maxSeverity = check.SEVERITY;
  6422. if (!check.REPORTONLY && seenObj[I_SEVERITY] < check.SEVERITY) seenObj[I_SEVERITY] = check.SEVERITY;
  6423. seenObj[I_OBJECTCOPY] = objectCopy
  6424. };
  6425. SimpleOBJECT.prototype.incCityCounter = function() {
  6426. var rep = _REP.$cityIDs;
  6427. var cid = this.$address.$cityID;
  6428. if (!(cid in rep)) {
  6429. _REP.$countries[this.$address.$countryID] = this.$address.$country;
  6430. _REP.$unsortedCityIDs.push(cid);
  6431. _repC[cid] = this.$address.$city;
  6432. _repCC[cid] = 0;
  6433. rep[cid] = {};
  6434. rep[cid].$params = {};
  6435. rep[cid].$streetIDs = {};
  6436. rep[cid].$unsortedStreetIDs = [];
  6437. rep[cid].$sortedStreetIDs = []
  6438. }
  6439. _repCC[cid]++;
  6440. _REP.$counterTotal++
  6441. };
  6442. function deleteCityCheck(cityID, checkID) {
  6443. var repS = _REP.$cityIDs[cityID].$streetIDs;
  6444. for (var sid in repS) {
  6445. if (!repS.hasOwnProperty(sid)) continue;
  6446. var repSG = repS[sid].$objectIDs;
  6447. for (var sgid in repSG) {
  6448. if (!repSG.hasOwnProperty(sgid)) continue;
  6449. var reportIDs = repSG[sgid].$reportIDs;
  6450. if (!(checkID in reportIDs)) continue;
  6451. var seen = _RT.$seen[sgid];
  6452. var maxSev = 0;
  6453. var filSev = 0;
  6454. delete reportIDs[checkID];
  6455. for (var repID in reportIDs) {
  6456. if (!reportIDs.hasOwnProperty(repID)) continue;
  6457. var check = _RT.$checks[repID];
  6458. if (!check) continue;
  6459. if (filSev < check.SEVERITY && getFilteredSeverity(check.SEVERITY, repID, true)) filSev = check.SEVERITY;
  6460. if (maxSev < check.SEVERITY) {
  6461. maxSev = check.SEVERITY;
  6462. if (_RT.$curMaxSeverity === maxSev) break
  6463. }
  6464. }
  6465. seen[I_SEVERITY] = maxSev;
  6466. reHLObjectID(+sgid, filSev)
  6467. }
  6468. }
  6469. }
  6470. function getCityCmpObj(cityID, city, otherCity) {
  6471. var obj = {
  6472. $cityID: cityID,
  6473. $counterReported: 0,
  6474. $limit: 0,
  6475. $city: city,
  6476. $otherCity: otherCity,
  6477. $CITY: city.toUpperCase(),
  6478. $noCountyCity: '',
  6479. $noAbbreviationCity: '',
  6480. $sortedCity: '',
  6481. $noSpaceCity: '',
  6482. $reason: ''
  6483. };
  6484. obj.$noCountyCity = obj.$CITY.replace(/ *\([^\)]+\) */g, '').replace(/ *,.*/g, '');
  6485. obj.$noAbbreviationCity = obj.$noCountyCity.replace(/ *[^\. ]+ *\. */g, '');
  6486. obj.$noDigitsCity = obj.$noCountyCity.replace(/ *\d+ */g, ' ');
  6487. obj.$sortedCity = obj.$noAbbreviationCity.split(' ').sort().join(' ');
  6488. obj.$noSpaceCity = obj.$noAbbreviationCity.split(' ').join('');
  6489. return obj
  6490. }
  6491. function setCmpObjLimits(obj1, obj2) {
  6492. var curCase = '';
  6493. if (obj1.$city === obj2.$city) {
  6494. curCase = trS('city.12') + ' ' + obj1.$cityID + ' & ' + obj2.$cityID;
  6495. obj1.$reason = obj2.$reason = curCase;
  6496. obj1.$limit = obj2.$limit = 100;
  6497. return
  6498. }
  6499. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity && obj1.$noSpaceCity === obj2.$noAbbreviationCity) {
  6500. obj1.$reason = trS('city.13r');
  6501. obj2.$reason = trS('city.13a');
  6502. obj1.$limit = 10;
  6503. obj2.$limit = 1E3;
  6504. return
  6505. }
  6506. if ((new RegExp('(^| )' + obj1.$sortedCity)).test(obj2.$sortedCity)) {
  6507. if (obj1.$noCountyCity.length !== obj1.$noAbbreviationCity.length) {
  6508. curCase = trS('city.2');
  6509. obj1.$reason = obj2.$reason = curCase;
  6510. obj1.$limit = 1E3;
  6511. obj2.$limit = 10;
  6512. return
  6513. }
  6514. if (3 > obj1.$city.length) {
  6515. curCase = trS('city.3');
  6516. obj1.$reason = obj2.$reason = curCase;
  6517. obj1.$limit = 1E3;
  6518. obj2.$limit = 0;
  6519. return
  6520. }
  6521. if (obj1.$CITY === obj2.$CITY) {
  6522. curCase = trS('city.5');
  6523. obj1.$reason = obj2.$reason = curCase;
  6524. if (obj1.$city.charAt(0) !== obj1.$CITY.charAt(0)) {
  6525. obj1.$limit = 1E3;
  6526. obj2.$limit = 10
  6527. } else {
  6528. obj1.$limit = 10;
  6529. obj2.$limit = 1E3
  6530. }
  6531. return
  6532. }
  6533. if (obj1.$sortedCity === obj2.$sortedCity) {
  6534. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity) {
  6535. curCase = trS('city.6');
  6536. obj1.$reason = obj2.$reason = curCase;
  6537. obj1.$limit = obj2.$limit = 1E3;
  6538. return
  6539. }
  6540. if (obj1.$city.length === obj1.$noCountyCity.length) {
  6541. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6542. curCase = trS('city.7');
  6543. obj1.$reason = obj2.$reason = curCase;
  6544. obj1.$limit = obj2.$limit = 1E3
  6545. } else {
  6546. obj1.$reason = trS('city.8a');
  6547. obj2.$reason = trS('city.8r');
  6548. obj1.$limit = 1E3;
  6549. obj2.$limit = 10
  6550. }
  6551. return
  6552. }
  6553. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6554. obj1.$reason = trS('city.8r');
  6555. obj2.$reason = trS('city.8a');
  6556. obj1.$limit = 10;
  6557. obj2.$limit = 1E3
  6558. } else {
  6559. curCase = trS('city.9');
  6560. obj1.$reason = obj2.$reason = curCase;
  6561. obj1.$limit = obj2.$limit = 1E3
  6562. }
  6563. return
  6564. }
  6565. if ((new RegExp(obj1.$sortedCity + '( |$)')).test(obj2.$sortedCity)) {
  6566. if (4 < obj2.$sortedCity.length - obj1.$sortedCity.length) {
  6567. obj1.$reason = trS('city.10a');
  6568. obj2.$reason = trS('city.10r');
  6569. obj1.$limit = obj2.$limit = 10;
  6570. return
  6571. }
  6572. if (obj1.$noDigitsCity === obj2.$noDigitsCity) {
  6573. curCase = trS('city.14');
  6574. obj1.$reason = obj2.$reason = curCase;
  6575. obj1.$limit = obj2.$limit = 1;
  6576. return
  6577. }
  6578. curCase = trS('city.11');
  6579. obj1.$reason = obj2.$reason = curCase;
  6580. obj1.$limit = 1E3;
  6581. obj2.$limit = 10;
  6582. return
  6583. }
  6584. curCase = trS('city.4');
  6585. obj1.$reason = obj2.$reason = curCase;
  6586. obj1.$limit = 1E3;
  6587. obj2.$limit = 10;
  6588. return
  6589. }
  6590. }
  6591. function addHLedObjects() {
  6592. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6593. var features = [];
  6594. for (var i in _RT.$HLedObjects) {
  6595. if (!_RT.$HLedObjects.hasOwnProperty(i)) continue;
  6596. var obj = _RT.$HLedObjects[i];
  6597. if (obj.$severity) features.push(new OpenLayers.Feature.Vector(obj.$geometry.clone(), {0: obj.$severity}))
  6598. }
  6599. _RT.$HLlayer.destroyFeatures();
  6600. _RT.$HLlayer.addFeatures(features)
  6601. }
  6602. function HLObject(rawObject) {
  6603. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6604. var objectID = rawObject.getID();
  6605. var seenObj = _RT.$seen[objectID];
  6606. var severity = seenObj[I_SEVERITY];
  6607. var objectCopy = seenObj[I_OBJECTCOPY];
  6608. if (!severity || !objectCopy || !checkFilter(severity, objectCopy, null)) return;
  6609. var filteredSeverity = getFilteredSeverityObj(severity, objectCopy.$reportIDs, true);
  6610. if (!filteredSeverity) return;
  6611. var obj = {$severity: filteredSeverity, $geometry: rawObject.getOLGeometry()};
  6612. _RT.$HLedObjects[objectID] = obj
  6613. }
  6614. function reHLObjectID(objectID, newSeverity) {
  6615. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6616. if (_REP.$maxSeverity !== newSeverity) bUpdateMaxSeverity = true;
  6617. if (oExcludeNotes && RS_NOTE === newSeverity) newSeverity = 0;
  6618. if (objectID in _RT.$HLedObjects) {
  6619. var hlObj = _RT.$HLedObjects[objectID];
  6620. hlObj.$severity = newSeverity
  6621. }
  6622. }
  6623. function deleteSeenObject(objectID) {
  6624. reHLObjectID(objectID, 0);
  6625. var seen = null;
  6626. if (objectID in _RT.$seen) seen = _RT.$seen[objectID];
  6627. if (!seen) return;
  6628. if (_REP.$maxSeverity <= seen[I_SEVERITY]) bUpdateMaxSeverity = true;
  6629. var objectCopy = seen[I_OBJECTCOPY];
  6630. var cityID = seen[I_CITYID];
  6631. delete _RT.$seen[objectID];
  6632. if (0 < _REP.$counterTotal) _REP.$counterTotal--;
  6633. if (0 < _repCC[cityID]) _repCC[cityID]--;
  6634. if (!objectCopy) return;
  6635. var repC = _REP.$cityIDs;
  6636. for (var cid in repC) {
  6637. if (!repC.hasOwnProperty(cid)) continue;
  6638. var repS = repC[cid].$streetIDs;
  6639. for (var sid in repS) {
  6640. if (!repS.hasOwnProperty(sid)) continue;
  6641. var repSG = repS[sid].$objectIDs;
  6642. for (var sgid in repSG) {
  6643. if (!repSG.hasOwnProperty(sgid) || sgid !== objectID) continue;
  6644. var reportIDs = repSG[sgid].$reportIDs;
  6645. for (var repID in reportIDs) {
  6646. if (!reportIDs.hasOwnProperty(repID)) continue;
  6647. if (0 < _repRC[repID]) _repRC[repID]--
  6648. }
  6649. delete repSG[sgid];
  6650. var repUSG = repS[sid].$unsortedObjectIDs;
  6651. repUSG.splice(repUSG.indexOf(sgid), 1);
  6652. repS[sid].$sortedObjectIDs = [];
  6653. return
  6654. }
  6655. }
  6656. }
  6657. }
  6658. function updateObjectProperties(selectedObjects, disabledHL) {
  6659. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6660. var prop = document.getElementById('i' + ID_PROPERTY);
  6661. var propDis = document.getElementById('i' + ID_PROPERTY_DISABLED);
  6662. var defID = ID_PROPERTY;
  6663. var defHTML = '';
  6664. if (disabledHL) {
  6665. defID = ID_PROPERTY_DISABLED;
  6666. defHTML = '<div class="direction-message">' +
  6667. '<i class="fa fa-info-circle" aria-hidden="true"></i> ' + trS('props.disabled') + '</div> ';
  6668. if (prop) prop.parentNode.removeChild(prop);
  6669. prop = propDis
  6670. } else if (propDis)
  6671. propDis.parentNode.removeChild(propDis);
  6672. if (prop)
  6673. prop.innerHTML = createSafeHtml(defHTML);
  6674. else {
  6675. var objectProperties = document.getElementsByClassName('address-edit')[0];
  6676. if (!objectProperties) objectProperties = document.getElementsByClassName('venue-edit-general')[0];
  6677. if (objectProperties) {
  6678. var d = document.createElement('div');
  6679. d.innerHTML = createSafeHtml(defHTML);
  6680. d.id = 'i' + defID;
  6681. d.style.cssText = 'text-transform: none; padding: 5px;';
  6682. prop = objectProperties.appendChild(d)
  6683. }
  6684. }
  6685. if (disabledHL) return;
  6686. if (!selectedObjects.length) return;
  6687. var selectedIssues = [];
  6688. for (var i = 0; i < selectedObjects.length; i++) {
  6689. var objectID = selectedObjects[i];
  6690. if (objectID in _RT.$seen) {
  6691. var objectCopy = _RT.$seen[objectID][I_OBJECTCOPY];
  6692. if (!objectCopy) continue;
  6693. for (var cid in objectCopy.$reportIDs)
  6694. if (objectCopy.$reportIDs.hasOwnProperty(cid)) {
  6695. var check = _RT.$checks[cid];
  6696. if (check.REPORTONLY) continue;
  6697. selectedIssues.push([check, objectCopy, cid])
  6698. }
  6699. }
  6700. }
  6701. var newProp = '<b style="display:block"><a target="_blank" href="' + PFX_DISCUSS + DISCUSS_HOME + '">WME Validator</a> ' + trS('props.reports') + ':</b>';
  6702. if (_REP.$isLimitPerCheck)
  6703. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6704. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6705. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.limit.title') + '</a></span>' +
  6706. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6707. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6708. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.limit.problem') + '.</div>' +
  6709. '<i class="fa fa-check-square-o fa-lg fa-pull-left" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6710. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6711. '<p>' + trS('props.limit.solution') + '.</p>' +
  6712. '</div></div><br></div>';
  6713. if (skippedObject)
  6714. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6715. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6716. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.skipped.title') + '</a></span>' +
  6717. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6718. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6719. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.skipped.problem') + '.</div>' +
  6720. '</div><br></div>';
  6721. if (!selectedIssues.length) {
  6722. if (prop && (_REP.$isLimitPerCheck || skippedObject)) prop.innerHTML = createSafeHtml(newProp);
  6723. return
  6724. }
  6725. selectedIssues.sort(function(a, b) {
  6726. return cmpCheckIDs(a[2], b[2])
  6727. });
  6728. var selectedCounters = {};
  6729. selectedIssues = selectedIssues.filter(function(e, i, arr) {
  6730. var checkID = e[2];
  6731. if (i && arr[i - 1][2] === checkID) {
  6732. selectedCounters[checkID]++;
  6733. return false
  6734. }
  6735. selectedCounters[checkID] = 1;
  6736. return true
  6737. });
  6738. selectedIssues.forEach(function(e) {
  6739. var check = e[0];
  6740. var objectCopy = e[1];
  6741. var checkID = e[2];
  6742. var checkCounter = selectedCounters[checkID];
  6743. var sevClass = 0;
  6744. var sevIcon = '';
  6745. var sevBG = '';
  6746. var strCountry = _REP.$countries[objectCopy.$countryID];
  6747. var ccode = '';
  6748. if (strCountry)
  6749. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  6750. else
  6751. ccode = _RT.$cachedTopCCode;
  6752. options = trO(check.OPTIONS, ccode);
  6753. switch (check.SEVERITY) {
  6754. case RS_NOTE:
  6755. sevClass = CL_NOTE;
  6756. sevIcon = 'info-circle';
  6757. sevBG = GL_NOTEBGCOLOR;
  6758. break;
  6759. case RS_WARNING:
  6760. sevClass = CL_WARNING;
  6761. sevIcon = 'exclamation-triangle';
  6762. sevBG = GL_WARNINGBGCOLOR;
  6763. break;
  6764. case RS_ERROR:
  6765. sevClass = CL_ERROR;
  6766. sevIcon = 'times-circle';
  6767. sevBG = GL_ERRORBGCOLOR;
  6768. break;
  6769. case RS_CUSTOM1:
  6770. sevClass = CL_CUSTOM1;
  6771. sevIcon = 'user';
  6772. sevBG = GL_CUSTOM1BGCOLOR;
  6773. break;
  6774. case RS_CUSTOM2:
  6775. sevClass = CL_CUSTOM2;
  6776. sevIcon = 'user';
  6777. sevBG = GL_CUSTOM2BGCOLOR;
  6778. break
  6779. }
  6780. var shortTitle = exSOS(check.TITLE, options, 'titleEN').replace('WME Color Highlights', 'WMECH').replace('WME Toolbox', 'WMETB');
  6781. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + sevClass + '">' +
  6782. '<span><i class="fa fa-' + sevIcon + '" aria-hidden="true"></i>' +
  6783. ' <a class="c' + sevClass + '" href="#">' + shortTitle + (1 < checkCounter ? ' (' + checkCounter + ')' : '') + '</a></span>' +
  6784. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6785. '<i class="fa fa-' + sevIcon + ' fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6786. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6787. '#' + checkID + ' ' + exSOS(check.PROBLEM, options, 'problemEN');
  6788. var pl = trO(check.PROBLEMLINK, ccode);
  6789. if (pl)
  6790. newProp += ': <a target="_blank" href="' + pl + '">' + trO(check.PROBLEMLINKTEXT, ccode) + '</a>';
  6791. else
  6792. newProp += '.';
  6793. newProp += '</div>';
  6794. if (objectCopy.$isEditable) {
  6795. newProp += '<i class="fa fa-check-square-o fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6796. '<div class="c' + CL_RIGHTTIPDESCR + '">';
  6797. if (check.SOLUTION) {
  6798. newProp += '<p>' + exSOS(check.SOLUTION, options, 'solutionEN');
  6799. var sl = trO(check.SOLUTIONLINK, ccode);
  6800. if (sl)
  6801. newProp += ': <a target="_blank" href="' + sl + '">' + trO(check.SOLUTIONLINKTEXT, ccode) + '</a>';
  6802. else
  6803. newProp += '.';
  6804. newProp += '</p>'
  6805. }
  6806. } else
  6807. newProp += '<i class="fa fa-ban fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6808. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6809. '<p>' + trS('props.noneditable') + '.</p>';
  6810. var cityID = objectCopy.$cityID;
  6811. var cityParam = _REP.$cityIDs[cityID].$params[checkID];
  6812. if (cityParam) newProp += '<p>' + cityParam + '</p>';
  6813. var streetID = objectCopy.$streetID;
  6814. var streetParam = _REP.$cityIDs[cityID].$streetIDs[streetID].$params[checkID];
  6815. if (streetParam) newProp += '<p>' + streetParam + '</p>';
  6816. newProp += '</div></div><br></div>'
  6817. });
  6818. if (prop) prop.innerHTML = createSafeHtml(newProp)
  6819. }
  6820. function matchRegExp(checkID, objectID, expandedString, options) {
  6821. var optRegExp = options[CO_REGEXP];
  6822. if (!optRegExp) return false;
  6823. var optString = options[CO_STRING];
  6824. var optBool = options[CO_BOOL];
  6825. if (options[CO_NUMBER] && 0 < _REP.$debugCounter) {
  6826. var checkTitle = '';
  6827. if (_RT.$checks[checkID] && _RT.$checks[checkID].TITLE) checkTitle = _RT.$checks[checkID].TITLE;
  6828. var reported = optRegExp.test(expandedString) ? optBool ? false : true : optBool ? true : false;
  6829. _REP.$debugCounter--;
  6830. log(getMsg(
  6831. 'debug log for segment ' + objectID + ', check #' + checkID,
  6832. '\n1. ' + (optString ? 'Expand template: ' + optString + ' -> ' : 'String: ') + expandedString + '\n2. Match RegExp: ' + (optBool ? 'not ' : '') + optRegExp + ' -> ' +
  6833. JSON.stringify(expandedString.match(optRegExp)) + '\n=> ' + (reported ? 'REPORT the segment as #' + checkID + ' \'' + checkTitle + '\'' : 'skip the segment') +
  6834. (0 < _REP.$debugCounter ? '' : '\nEnd of debug log. Click \'✘\' (Clear report) button to start debug over.')))
  6835. }
  6836. if (optRegExp.test(expandedString)) {
  6837. if (!optBool) return true
  6838. } else if (optBool)
  6839. return true;
  6840. return false
  6841. }
  6842. function checkPublicConnection(seg, ignoreSegment) {
  6843. var foundPublicConnection = false;
  6844. if (!seg.$nodeA.$isPartial && seg.$nodeA.$otherSegmentsLen > 0)
  6845. for (var i = 0; i < seg.$nodeA.$otherSegmentsLen; i++) {
  6846. var otherSegment = seg.$nodeA.$otherSegments[i];
  6847. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6848. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6849. foundPublicConnection = true;
  6850. break
  6851. }
  6852. }
  6853. if (!seg.$nodeB.$isPartial && seg.$nodeB.$otherSegmentsLen > 0)
  6854. for (var i = 0; i < seg.$nodeB.$otherSegmentsLen; i++) {
  6855. var otherSegment = seg.$nodeB.$otherSegments[i];
  6856. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6857. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6858. foundPublicConnection = true;
  6859. break
  6860. }
  6861. }
  6862. return foundPublicConnection
  6863. }
  6864. var reportWMECH = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED;
  6865. var reportToolbox = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportToolbox.CHECKED;
  6866. var currentZoom = WM.getZoom();
  6867. var slowChecks = _UI.pSettings.pScanner.oSlowChecks.CHECKED && 15 < currentZoom;
  6868. var oExcludeNotes = _UI.pMain.pFilter.oExcludeNotes.CHECKED;
  6869. var selectedObjects = [];
  6870. _RT.$HLedObjects = {};
  6871. for (var segmentKey in WMo.segments.objects) {
  6872. var rawSegment = WMo.segments.objects[segmentKey];
  6873. var segmentID = rawSegment.getID();
  6874. if (_RT.$topUser.$userLevel <= rawSegment.attributes.lockRank && rawSegment.attributes.updatedOn && 13989024E5 < rawSegment.attributes.updatedOn) {
  6875. if (rawSegment.selected) {
  6876. skippedObject = true;
  6877. if (!DEF_DEBUG) selectedObjects.push(segmentID)
  6878. }
  6879. if (!DEF_DEBUG) continue
  6880. }
  6881. if (rawSegment.layer && rawSegment.id in rawSegment.layer.unrenderedFeatures) continue;
  6882. if ('Delete' === rawSegment.state) continue;
  6883. var seen = null;
  6884. if (segmentID in _RT.$seen) seen = _RT.$seen[segmentID];
  6885. if (rawSegment.selected) {
  6886. selectedObjects.push(segmentID);
  6887. _RT.$revalidate[segmentID] = true;
  6888. if (seen && !seen[I_ISWMECHCOLOR]) {
  6889. deleteSeenObject(segmentID);
  6890. seen = null
  6891. }
  6892. } else if (segmentID in _RT.$revalidate) {
  6893. deleteSeenObject(segmentID);
  6894. seen = null;
  6895. delete _RT.$revalidate[segmentID];
  6896. delete rawSegment[GL_WMECHCOLOR]
  6897. }
  6898. var segmentGeometry = nW.userscripts.getFeatureElementByDataModel(rawSegment);
  6899. if (segmentGeometry) {
  6900. var strokeColor = segmentGeometry.getAttribute('stroke').toUpperCase();
  6901. if (4 === strokeColor.length) strokeColor = '#' + strokeColor.charAt(1) + strokeColor.charAt(1) + strokeColor.charAt(2) + strokeColor.charAt(2) + strokeColor.charAt(3) + strokeColor.charAt(3);
  6902. if (strokeColor in _RT.$WMECHcolors) rawSegment[GL_WMECHCOLOR] = strokeColor
  6903. }
  6904. if (seen) {
  6905. var isTBColor = GL_TBCOLOR in rawSegment;
  6906. var isWMECHColor = GL_WMECHCOLOR in rawSegment;
  6907. if (!seen[I_ISPARTIAL] && isTBColor === seen[I_ISTBCOLOR] && isWMECHColor === seen[I_ISWMECHCOLOR]) {
  6908. HLObject(rawSegment);
  6909. continue
  6910. }
  6911. }
  6912. var segment = new SimpleOBJECT(segmentID, WMo.segments);
  6913. Object.seal(segment);
  6914. var address = segment.$address;
  6915. var country = address.$country;
  6916. var countryLen = country.length;
  6917. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  6918. var city = address.$city;
  6919. var cityLen = city.length;
  6920. var cityID = address.$cityID;
  6921. var street = address.$street;
  6922. var state = address.$state;
  6923. var streetLen = street.length;
  6924. var alts = segment.$alts;
  6925. var roadType = segment.$type;
  6926. var typeRank = segment.$typeRank;
  6927. var isToll = segment.$isToll;
  6928. var direction = segment.$direction;
  6929. var elevation = segment.$elevation;
  6930. var lock = Math.max(segment.$lock, segment.$rank);
  6931. var segmentLen = segment.$length;
  6932. var isRoundabout = segment.$isRoundabout;
  6933. var hasHNs = segment.$hasHNs;
  6934. var isDrivable = RR_TRAIL < typeRank;
  6935. var nodeA = segment.$nodeA;
  6936. var nodeB = segment.$nodeB;
  6937. var nodeAID = segment.$nodeAID;
  6938. var nodeBID = segment.$nodeBID;
  6939. var isPartial = nodeA.$isPartial || nodeB.$isPartial;
  6940. var forwardSpeed = segment.$fwdMaxSpeed;
  6941. var reverseSpeed = segment.$revMaxSpeed;
  6942. var forwardSpeedUnverified = segment.$fwdMaxSpeedUnverified;
  6943. var reverseSpeedUnverified = segment.$revMaxSpeedUnverified;
  6944. var hasRestrictions = segment.$hasRestrictions;
  6945. var hasClosures = segment.$hasClosures;
  6946. var flags = segment.$flags;
  6947. var now = Date.now();
  6948. if (seen) {
  6949. if (seen[I_ISPARTIAL] && isPartial) {
  6950. HLObject(rawSegment);
  6951. continue
  6952. }
  6953. deleteSeenObject(segmentID);
  6954. seen = null
  6955. }
  6956. _RT.$seen[segmentID] = seen = [0, null, GL_TBCOLOR in rawSegment, GL_WMECHCOLOR in rawSegment, isPartial || 16 > currentZoom, cityID];
  6957. segment.incCityCounter();
  6958. if (segment.$isEditable) _REP.$isEditableFound = true;
  6959. if (GL_NOID === street) {
  6960. deleteSeenObject(segmentID);
  6961. continue
  6962. }
  6963. _RT.$isGlobalAccess = true;
  6964. if (!address.isOkFor(0)) {
  6965. _RT.$isGlobalAccess = false;
  6966. continue
  6967. }
  6968. if (slowChecks && RT_RAILROAD !== roadType) {
  6969. if (nodeA.$otherSegmentsLen && isLimitOk(118)) {
  6970. var rawNode = nodeA.$rawNode;
  6971. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6972. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  6973. var otherSegment = nodeA.$otherSegments[i];
  6974. if (!otherSegment.$rawObject) continue;
  6975. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  6976. var angle = Math.abs(baseAngle - curAngle);
  6977. if (angle > 180) angle = 360 - angle;
  6978. if (2 > angle && address.isOkFor(118)) {
  6979. segment.report(118);
  6980. break
  6981. }
  6982. }
  6983. }
  6984. if (nodeB.$otherSegmentsLen && isLimitOk(119)) {
  6985. var rawNode = nodeB.$rawNode;
  6986. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6987. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  6988. var otherSegment = nodeB.$otherSegments[i];
  6989. if (!otherSegment.$rawObject) continue;
  6990. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  6991. var angle = Math.abs(baseAngle - curAngle);
  6992. if (angle > 180) angle = 360 - angle;
  6993. if (2 > angle && address.isOkFor(119)) {
  6994. segment.report(119);
  6995. break
  6996. }
  6997. }
  6998. }
  6999. }
  7000. if (!countryLen && isLimitOk(23)) {
  7001. seen[I_ISPARTIAL] = false;
  7002. if (address.isOkFor(23)) {
  7003. segment.report(23);
  7004. HLObject(rawSegment)
  7005. }
  7006. continue
  7007. }
  7008. if (streetLen && address.isOkFor(101)) {
  7009. options = getCheckOptions(101, countryCode);
  7010. if (options[CO_REGEXP].test(street)) {
  7011. segment.report(101);
  7012. HLObject(rawSegment);
  7013. continue
  7014. }
  7015. }
  7016. if (!state && address.isOkFor(106)) segment.report(106);
  7017. if (reportToolbox && address.isOkFor(CK_TBFIRST)) {
  7018. var col = rawSegment[GL_TBCOLOR];
  7019. if (col) {
  7020. col = col.toUpperCase();
  7021. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7022. var check = _RT.$checks[i];
  7023. if (check.COLOR === col) {
  7024. segment.report(i);
  7025. break
  7026. }
  7027. }
  7028. }
  7029. }
  7030. if (reportWMECH && address.isOkFor(CK_WMECHFIRST)) {
  7031. var col = rawSegment[GL_WMECHCOLOR];
  7032. if (col)
  7033. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7034. var check = _RT.$checks[i];
  7035. if (check && check.COLOR === col) {
  7036. segment.report(i);
  7037. break
  7038. }
  7039. }
  7040. }
  7041. if (alts.length && address.isOkFor(34))
  7042. for (var i = 0; i < alts.length; i++)
  7043. if (!alts[i].$street) {
  7044. segment.report(34);
  7045. break
  7046. }
  7047. if (slowChecks && segment.$restrictionsLen && isLimitOk(38) && address.isOkFor(38)) {
  7048. var restrictions = segment.$restrictions;
  7049. for (var i = 0; i < restrictions.length; i++)
  7050. if (restrictions[i].$isInThePast) {
  7051. segment.report(38);
  7052. break
  7053. }
  7054. }
  7055. if (slowChecks && (nodeA.$restrictionsLen || nodeB.$restrictionsLen) && isLimitOk(39) && address.isOkFor(39)) {
  7056. var restrictions = nodeA.$restrictions.concat(nodeB.$restrictions);
  7057. for (var i = 0; i < restrictions.length; i++) {
  7058. var restriction = restrictions[i];
  7059. if (restriction.$isInThePast) {
  7060. var param = '';
  7061. if (restriction.$to.$address && restriction.$to.$address.$street) param = 'turn to ' + restriction.$to.$address.$street;
  7062. segment.report({$checkID: 39, $streetParam: param});
  7063. break
  7064. }
  7065. }
  7066. }
  7067. if (nodeAID && nodeAID === nodeBID && address.isOkFor(43)) segment.report(43);
  7068. if (RT_RAILROAD === roadType && 100 > segmentLen && !isPartial && !nodeA.$otherSegmentsLen && !nodeB.$otherSegmentsLen && address.isOkFor(104)) segment.report(104);
  7069. if (RT_TRAIL === roadType && -5 === elevation && address.isOkFor(105)) segment.report(105);
  7070. if ((9 < elevation || -5 > elevation) && address.isOkFor(116)) segment.report(116);
  7071. var expandOptions = {
  7072. 'country': country,
  7073. 'state': state,
  7074. 'city': city,
  7075. 'street': street,
  7076. 'altStreet': alts.map(function(e) {
  7077. return e.$street
  7078. }),
  7079. 'altCity': alts.map(function(e) {
  7080. return e.$city
  7081. }),
  7082. 'type': roadType,
  7083. 'typeRank': typeRank,
  7084. 'toll': +isToll,
  7085. 'direction': direction,
  7086. 'elevation': elevation,
  7087. 'lock': lock,
  7088. 'length': segmentLen,
  7089. 'ID': segmentID,
  7090. 'roundabout': +isRoundabout,
  7091. 'hasHNs': +hasHNs,
  7092. 'drivable': +isDrivable,
  7093. 'Uturn': +(nodeA.$isUturn || nodeB.$isUturn),
  7094. 'deadEnd': +!(isPartial || nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen),
  7095. 'partialA': +nodeA.$isPartial,
  7096. 'deadEndA': +!(nodeA.$isPartial || nodeA.$otherSegmentsLen),
  7097. 'segmentsA': nodeA.$otherSegmentsLen,
  7098. 'inA': nodeA.$inConnectionsLen,
  7099. 'outA': nodeA.$outConnectionsLen,
  7100. 'UturnA': +nodeA.$isUturn,
  7101. 'partialB': +nodeB.$isPartial,
  7102. 'deadEndB': +!(nodeB.$isPartial || nodeB.$otherSegmentsLen),
  7103. 'segmentsB': nodeB.$otherSegmentsLen,
  7104. 'inB': nodeB.$inConnectionsLen,
  7105. 'outB': nodeB.$outConnectionsLen,
  7106. 'UturnB': +nodeB.$isUturn,
  7107. 'softTurns': +!(segment.$isTurnALocked && segment.$isTurnBLocked),
  7108. 'speedLimit': forwardSpeed || reverseSpeed,
  7109. 'speedLimitAB': forwardSpeed,
  7110. 'speedLimitBA': reverseSpeed,
  7111. 'checkSpeedLimit': isDrivable && (reverseSpeedUnverified || forwardSpeedUnverified)
  7112. };
  7113. for (var i = CK_MATCHFIRST; i <= CK_MATCHLAST; i++) {
  7114. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7115. options = getCheckOptions(i, countryCode);
  7116. var optString = options[CO_STRING];
  7117. var optRegExp = options[CO_REGEXP];
  7118. if (!optString || !optRegExp) continue;
  7119. var expandedString = _I18n.expandSO(optString, expandOptions);
  7120. if (matchRegExp(i, segmentID, expandedString, options)) segment.report(i)
  7121. }
  7122. if (!cityLen && RT_FREEWAY === roadType && isLimitOk(69) && address.isOkFor(69)) segment.report(69);
  7123. if (slowChecks) {
  7124. if (1 === nodeA.$otherSegmentsLen && DIR_UNKNOWN !== direction && !nodeA.$isPartial && !nodeA.$isUturn && !nodeA.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(36) &&
  7125. address.isOkFor(36)) {
  7126. var otherSegment = nodeA.$otherSegments[0];
  7127. var otherNode, nextNode;
  7128. if (otherSegment.$nodeAID === nodeAID) {
  7129. otherNode = otherSegment.$nodeA;
  7130. nextNode = otherSegment.$nodeB
  7131. } else {
  7132. otherNode = otherSegment.$nodeB;
  7133. nextNode = otherSegment.$nodeA
  7134. }
  7135. if ((!nodeB.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawObject && (1E4 > otherSegment.$length + segmentLen || 1E3 > segmentLen) &&
  7136. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7137. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7138. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7139. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7140. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7141. otherSegment.$nodeAID !== nodeBID && otherSegment.$nodeBID !== nodeBID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7142. var loopFound = false;
  7143. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7144. var thirdSegment = nextNode.$otherSegments[i];
  7145. if (thirdSegment.$nodeAID === nodeBID || thirdSegment.$nodeBID === nodeBID) {
  7146. loopFound = true;
  7147. break
  7148. }
  7149. }
  7150. if (!loopFound) segment.report(36)
  7151. }
  7152. }
  7153. if (DIR_UNKNOWN !== direction && !nodeB.$isPartial && 1 === nodeB.$otherSegmentsLen && !nodeB.$isUturn && !nodeB.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(37) &&
  7154. address.isOkFor(37)) {
  7155. var otherSegment = nodeB.$otherSegments[0];
  7156. var otherNode, nextNode;
  7157. if (otherSegment.$nodeAID === nodeBID) {
  7158. otherNode = otherSegment.$nodeA;
  7159. nextNode = otherSegment.$nodeB
  7160. } else {
  7161. otherNode = otherSegment.$nodeB;
  7162. nextNode = otherSegment.$nodeA
  7163. }
  7164. if ((!nodeA.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawObject && 1E4 > otherSegment.$length + segmentLen &&
  7165. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7166. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7167. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7168. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7169. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7170. otherSegment.$nodeAID !== nodeAID && otherSegment.$nodeBID !== nodeAID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7171. var loopFound = false;
  7172. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7173. var thirdSegment = nextNode.$otherSegments[i];
  7174. if (thirdSegment.$nodeAID === nodeAID || thirdSegment.$nodeBID === nodeAID) {
  7175. loopFound = true;
  7176. break
  7177. }
  7178. }
  7179. if (!loopFound) segment.report(37)
  7180. }
  7181. }
  7182. }
  7183. if (cityLen) {
  7184. for (var i = CK_CITYNAMEFIRST; i <= CK_CITYNAMELAST; i++) {
  7185. if (!address.isOkFor(i) || !isLimitOk(i)) continue;
  7186. if (matchRegExp(i, segmentID, city, getCheckOptions(i, countryCode))) segment.report(i)
  7187. }
  7188. if (isLimitOk(24) && address.isOkFor(24)) {
  7189. var param = trS('city.1');
  7190. var r = 3 > cityLen ? true : false;
  7191. var cityCounter = _repCC[cityID];
  7192. if (1 === cityCounter || cityID in _REP.$incompleteIDs && !_REP.$incompleteIDs[cityID].$counterReported)
  7193. for (var i = 0, len = _REP.$unsortedCityIDs.length; i < len; i++) {
  7194. var cid = _REP.$unsortedCityIDs[i];
  7195. if (cid === cityID) continue;
  7196. var c = _repC[cid];
  7197. var cLen = c.length;
  7198. if (1 > cLen) continue;
  7199. var cityObj = getCityCmpObj(cityID, city, c);
  7200. var cObj = getCityCmpObj(cid, c, city);
  7201. setCmpObjLimits(cityObj, cObj);
  7202. setCmpObjLimits(cObj, cityObj);
  7203. if (cityObj.$limit) _REP.$incompleteIDs[cityID] = cityObj;
  7204. if (cObj.$limit && !_REP.$incompleteIDs[cid]) _REP.$incompleteIDs[cid] = cObj;
  7205. if (cityObj.$limit || cObj.$limit) break
  7206. }
  7207. if (cityID in _REP.$incompleteIDs) {
  7208. var incompleteCity = _REP.$incompleteIDs[cityID];
  7209. incompleteCity.$counterReported++;
  7210. if (incompleteCity.$limit < cityCounter) {
  7211. r = false;
  7212. deleteCityCheck(cityID, 24);
  7213. delete _REP.$incompleteIDs[cityID]
  7214. } else {
  7215. r = true;
  7216. param = trS('city.consider') + ' ' + incompleteCity.$otherCity + ' [' + incompleteCity.$reason + ']'
  7217. }
  7218. }
  7219. if (r) segment.report({$checkID: 24, $cityParam: param})
  7220. }
  7221. if (RT_RAILROAD === roadType && isLimitOk(24) && address.isOkFor(27)) segment.report(27);
  7222. if (RT_FREEWAY === roadType && isLimitOk(59) && address.isOkFor(59)) segment.report(59)
  7223. }
  7224. if (isDrivable) {
  7225. if (slowChecks) {
  7226. if (nodeA.$outConnectionsLen && (DIR_TWO === direction || DIR_BA === direction) && isLimitOk(120)) {
  7227. var rawNode = nodeA.$rawNode;
  7228. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7229. for (var i = 0; i < nodeA.$outConnectionsLen; i++) {
  7230. var otherSegment = nodeA.$outConnections[i];
  7231. if (!otherSegment.$rawObject) continue;
  7232. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  7233. var angle = Math.abs(baseAngle - curAngle);
  7234. if (angle > 180) angle = 360 - angle;
  7235. if (30 > angle && 2 <= angle && address.isOkFor(120))
  7236. if (10 > angle) {
  7237. segment.report(120);
  7238. break
  7239. } else if (!nodeA.$isPartial && 3 > nodeA.$otherSegmentsLen && RR_STREET < typeRank) {
  7240. segment.report(120);
  7241. break
  7242. }
  7243. }
  7244. }
  7245. if (nodeB.$outConnectionsLen && (DIR_TWO === direction || DIR_AB === direction) && isLimitOk(121)) {
  7246. var rawNode = nodeB.$rawNode;
  7247. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7248. for (var i = 0; i < nodeB.$outConnectionsLen; i++) {
  7249. var otherSegment = nodeB.$outConnections[i];
  7250. if (!otherSegment.$rawObject) continue;
  7251. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawObject);
  7252. var angle = Math.abs(baseAngle - curAngle);
  7253. if (angle > 180) angle = 360 - angle;
  7254. if (30 > angle && 2 <= angle && address.isOkFor(121))
  7255. if (10 > angle) {
  7256. segment.report(121);
  7257. break
  7258. } else if (!nodeB.$isPartial && 3 > nodeB.$otherSegmentsLen && RR_STREET < typeRank) {
  7259. segment.report(121);
  7260. break
  7261. }
  7262. }
  7263. }
  7264. }
  7265. if (RT_PRIVATE !== roadType && isLimitOk(45) && address.isOkFor(45))
  7266. if (!nodeA.$isPartial && !nodeA.$inConnectionsLen)
  7267. if (DIR_AB === direction)
  7268. segment.report(45);
  7269. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7270. segment.report(45);
  7271. else {
  7272. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(46))
  7273. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7274. var otherSegment = nodeA.$otherSegments[i];
  7275. if (!otherSegment.$rawObject) continue;
  7276. if (RR_TRAIL < otherSegment.$typeRank &&
  7277. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7278. DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7279. segment.report(46);
  7280. break
  7281. }
  7282. }
  7283. }
  7284. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7285. if (DIR_BA === direction)
  7286. segment.report(45);
  7287. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(47))
  7288. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7289. var otherSegment = nodeB.$otherSegments[i];
  7290. if (!otherSegment.$rawObject) continue;
  7291. if (RR_TRAIL < otherSegment.$typeRank &&
  7292. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7293. DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7294. segment.report(47);
  7295. break
  7296. }
  7297. }
  7298. if (5 < segmentLen && isLimitOk(44) && address.isOkFor(44))
  7299. if (!nodeA.$isPartial && !nodeA.$outConnectionsLen)
  7300. if (DIR_BA === direction)
  7301. segment.report(44);
  7302. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7303. segment.report(44);
  7304. else {
  7305. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(102))
  7306. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7307. var otherSegment = nodeA.$otherSegments[i];
  7308. if (!otherSegment.$rawObject) continue;
  7309. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7310. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7311. DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7312. segment.report(102);
  7313. break
  7314. }
  7315. }
  7316. }
  7317. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7318. if (DIR_AB === direction)
  7319. segment.report(44);
  7320. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(103))
  7321. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7322. var otherSegment = nodeB.$otherSegments[i];
  7323. if (!otherSegment.$rawObject) continue;
  7324. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7325. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7326. DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7327. segment.report(103);
  7328. break
  7329. }
  7330. }
  7331. if (slowChecks && segment.$isRoutable && !nodeA.$isPartial && !nodeB.$isPartial && nodeA.$otherSegmentsLen > 0 && nodeB.$otherSegmentsLen > 0 && isLimitOk(202) && address.isOkFor(202)) {
  7332. var foundPublicConnection = checkPublicConnection(segment, null);
  7333. if (!foundPublicConnection)
  7334. if (nodeA.$otherSegmentsLen == 1 && nodeB.$otherSegmentsLen == 1) {
  7335. var nodeASegment = nodeA.$otherSegments[0];
  7336. var nodeBSegment = nodeB.$otherSegments[0];
  7337. if (checkPublicConnection(nodeASegment, segment) && checkPublicConnection(nodeBSegment, segment)) foundPublicConnection = true
  7338. }
  7339. if (!foundPublicConnection) segment.report(202)
  7340. }
  7341. if (RR_STREET < typeRank && RT_RAMP !== roadType && !segment.$isRoundabout && segmentLen > 5) {
  7342. if (DIR_AB === direction || DIR_TWO === direction) {
  7343. if (forwardSpeedUnverified && isLimitOk(210) && address.isOkFor(210)) segment.report(210);
  7344. if (!forwardSpeed && isLimitOk(212) && address.isOkFor(212)) segment.report(212);
  7345. if (forwardSpeed) {
  7346. options = getCheckOptions(214, countryCode);
  7347. if (!options[CO_REGEXP].test(forwardSpeed) && isLimitOk(214) && address.isOkFor(214)) segment.report(214)
  7348. }
  7349. }
  7350. if (DIR_BA === direction || DIR_TWO == direction) {
  7351. if (reverseSpeedUnverified && isLimitOk(211) && address.isOkFor(211)) segment.report(211);
  7352. if (!reverseSpeed && isLimitOk(213) && address.isOkFor(213)) segment.report(213);
  7353. if (reverseSpeed) {
  7354. options = getCheckOptions(215, countryCode);
  7355. if (!options[CO_REGEXP].test(reverseSpeed) && isLimitOk(215) && address.isOkFor(215)) segment.report(215)
  7356. }
  7357. }
  7358. }
  7359. if (!cityLen && streetLen && RT_RAMP !== roadType && RT_FREEWAY !== roadType && (isLimitOk(54) || isLimitOk(55))) {
  7360. var noCity = true;
  7361. if (alts.length)
  7362. for (var i = 0; i < alts.length; i++)
  7363. if (alts[i].$city) {
  7364. noCity = false;
  7365. break
  7366. }
  7367. if (noCity) {
  7368. if (hasHNs && isLimitOk(54) && address.isOkFor(54)) segment.report(54);
  7369. if (!hasHNs && isLimitOk(55) && address.isOkFor(55)) segment.report(55)
  7370. }
  7371. }
  7372. if (DIR_UNKNOWN === direction && isLimitOk(25) && address.isOkFor(25)) segment.report(25);
  7373. if (!(nodeAID && nodeBID) && isLimitOk(35) && address.isOkFor(35)) segment.report(35);
  7374. if (RR_PRIMARY > typeRank) {
  7375. if (nodeAID && nodeBID && address.isOkFor(200)) {
  7376. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(200)) segment.report(200);
  7377. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(300)) segment.report(300)
  7378. }
  7379. } else if (nodeAID && nodeBID && address.isOkFor(201)) {
  7380. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(201)) segment.report(201);
  7381. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(301)) segment.report(301)
  7382. }
  7383. if ((DIR_AB === direction && nodeA.$outConnectionsLen || DIR_BA === direction && nodeA.$inConnectionsLen) && isLimitOk(41) && address.isOkFor(41)) segment.report(41);
  7384. if ((DIR_BA === direction && nodeB.$outConnectionsLen || DIR_AB === direction && nodeB.$inConnectionsLen) && isLimitOk(42) && address.isOkFor(42)) segment.report(42);
  7385. if (!nodeA.$isPartial) {
  7386. if (slowChecks && 5 < segmentLen && !nodeA.$otherSegmentsLen && nodeA.$rawNode.getOLGeometry().getBounds() && isLimitOk(107) && address.isOkFor(107)) {
  7387. var IDs = nodeA.$rawNode.attributes.segIDs;
  7388. const bd = nodeA.$rawNode.getOLGeometry().getBounds();
  7389. var pt = new OpenLayers.Geometry.Point(bd.left, bd.bottom);
  7390. for (var segKey in WMo.segments.objects) {
  7391. var seg = WMo.segments.objects[segKey];
  7392. if (segmentID === seg.getID()) continue;
  7393. if (!seg.getOLGeometry()) continue;
  7394. if (elevation !== seg.attributes.level) continue;
  7395. if ('Delete' === seg.state) continue;
  7396. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7397. if (LIMIT_TOLERANCE > seg.getOLGeometry().distanceTo(pt, null)) {
  7398. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7399. segment.report(107);
  7400. break
  7401. }
  7402. }
  7403. }
  7404. if (nodeA.$isUturn)
  7405. if (slowChecks && 1 === nodeA.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeA.$outConnections[0].$isRoundabout) segment.report(99);
  7406. if (slowChecks && nodeA.$otherSegmentsLen && !isRoundabout && isLimitOk(78) && address.isOkFor(78))
  7407. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7408. var otherSegment = nodeA.$otherSegments[i];
  7409. if (!otherSegment.$rawObject) continue;
  7410. if (RR_TRAIL < otherSegment.$typeRank && nodeAID && nodeBID &&
  7411. (otherSegment.$nodeAID === nodeAID && otherSegment.$nodeBID === nodeBID || otherSegment.$nodeAID === nodeBID && otherSegment.$nodeBID === nodeAID))
  7412. if (otherSegment.$typeRank > typeRank || otherSegment.$length < segmentLen && otherSegment.$typeRank === typeRank ||
  7413. otherSegment.$segmentID < segmentID && otherSegment.$length === segmentLen && otherSegment.$typeRank === typeRank) {
  7414. segment.report(78);
  7415. break
  7416. }
  7417. }
  7418. if (!nodeB.$isPartial) {
  7419. options = getCheckOptions(109, countryCode);
  7420. if (options[CO_NUMBER] > segmentLen && nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen && !isRoundabout && address.isOkFor(109)) segment.report(109);
  7421. if (slowChecks && 15 > segmentLen && !streetLen && 2 === nodeA.$otherSegmentsLen && 2 === nodeB.$otherSegmentsLen && isLimitOk(79) && address.isOkFor(79) &&
  7422. nodeA.$otherSegments[0].$rawObject && nodeA.$otherSegments[1].$rawObject && nodeB.$otherSegments[0].$rawObject && nodeB.$otherSegments[1].$rawObject &&
  7423. nodeA.$otherSegments[0].$address.$street && nodeA.$otherSegments[0].$type === nodeA.$otherSegments[1].$type && nodeB.$otherSegments[0].$type === nodeB.$otherSegments[1].$type &&
  7424. nodeA.$otherSegments[0].$address.$street === nodeA.$otherSegments[1].$address.$street && nodeB.$otherSegments[0].$address.$street === nodeB.$otherSegments[1].$address.$street &&
  7425. nodeA.$otherSegments[0].$address.$street === nodeB.$otherSegments[0].$address.$street) {
  7426. if ((DIR_TWO === direction || DIR_BA === direction) && 1 === nodeA.$outConnectionsLen && 2 > nodeA.$inConnectionsLen && 1 === nodeB.$inConnectionsLen && 2 > nodeB.$outConnectionsLen)
  7427. segment.report(79);
  7428. if ((DIR_TWO === direction || DIR_AB === direction) && 1 === nodeB.$outConnectionsLen && 2 > nodeB.$inConnectionsLen && 1 === nodeA.$inConnectionsLen && 2 > nodeA.$outConnectionsLen)
  7429. segment.report(79)
  7430. }
  7431. }
  7432. }
  7433. if (!nodeB.$isPartial) {
  7434. if (slowChecks && 5 < segmentLen && !nodeB.$otherSegmentsLen && nodeB.$rawNode.getOLGeometry().getBounds() && isLimitOk(108) && address.isOkFor(108)) {
  7435. var IDs = nodeB.$rawNode.attributes.segIDs;
  7436. const bd = nodeB.$rawNode.getOLGeometry().getBounds();
  7437. var pt = new OpenLayers.Geometry.Point(bd.left, bd.bottom);
  7438. for (var segKey in WMo.segments.objects) {
  7439. var seg = WMo.segments.objects[segKey];
  7440. if (segmentID === seg.getID()) continue;
  7441. if (!seg.getOLGeometry()) continue;
  7442. if (elevation !== seg.attributes.level) continue;
  7443. if ('Delete' === seg.state) continue;
  7444. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7445. if (LIMIT_TOLERANCE > seg.getOLGeometry().distanceTo(pt, null)) {
  7446. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7447. segment.report(108);
  7448. break
  7449. }
  7450. }
  7451. }
  7452. if (nodeB.$isUturn) {
  7453. if (!nodeB.$otherSegmentsLen && isLimitOk(77) && address.isOkFor(77)) segment.report(77);
  7454. if (slowChecks && 1 === nodeB.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeB.$outConnections[0].$isRoundabout) segment.report(99)
  7455. }
  7456. }
  7457. if (RT_FREEWAY === roadType) {
  7458. if (0 !== elevation && isLimitOk(110) && address.isOkFor(110)) segment.report(110);
  7459. options = getCheckOptions(150, countryCode);
  7460. if (options[CO_NUMBER] > lock && isLimitOk(150) && address.isOkFor(150)) segment.report(150);
  7461. if (DIR_TWO === direction && address.isOkFor(90)) segment.report(90)
  7462. }
  7463. if (RT_MAJOR === roadType) {
  7464. options = getCheckOptions(151, countryCode);
  7465. if (options[CO_NUMBER] > lock && isLimitOk(151) && address.isOkFor(151)) segment.report(151)
  7466. }
  7467. if (RT_MINOR === roadType) {
  7468. options = getCheckOptions(152, countryCode);
  7469. if (options[CO_NUMBER] > lock && isLimitOk(152) && address.isOkFor(152)) segment.report(152)
  7470. }
  7471. if (RT_RAMP === roadType) {
  7472. if (DIR_TWO === direction && isLimitOk(91) && address.isOkFor(91)) segment.report(91);
  7473. options = getCheckOptions(153, countryCode);
  7474. if (options[CO_NUMBER] > lock && isLimitOk(153) && address.isOkFor(153)) segment.report(153)
  7475. }
  7476. if (RT_PRIMARY === roadType) {
  7477. options = getCheckOptions(154, countryCode);
  7478. if (options[CO_NUMBER] > lock && isLimitOk(154) && address.isOkFor(154)) segment.report(154)
  7479. }
  7480. if (RT_STREET === roadType) {
  7481. options = getCheckOptions(155, countryCode);
  7482. if (options[CO_NUMBER] > lock && isLimitOk(155) && address.isOkFor(155)) segment.report(155)
  7483. }
  7484. if (RT_PARKING === roadType) {
  7485. options = getCheckOptions(156, countryCode);
  7486. if (options[CO_NUMBER] > lock && isLimitOk(156) && address.isOkFor(156)) segment.report(156)
  7487. }
  7488. if (RT_RAILROAD === roadType) {
  7489. options = getCheckOptions(157, countryCode);
  7490. if (options[CO_NUMBER] > lock && isLimitOk(157) && address.isOkFor(157)) segment.report(157)
  7491. }
  7492. if (RT_PRIVATE === roadType) {
  7493. options = getCheckOptions(158, countryCode);
  7494. if (options[CO_NUMBER] > lock && isLimitOk(158) && address.isOkFor(158)) segment.report(158)
  7495. }
  7496. } else if (slowChecks && !hasHNs && RT_RAILROAD !== roadType) {
  7497. if (nodeA.$otherSegmentsLen && (nodeB.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(114) && address.isOkFor(114))
  7498. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7499. var otherSegment = nodeA.$otherSegments[i];
  7500. if (!otherSegment.$rawObject) continue;
  7501. if (RR_TRAIL < otherSegment.$typeRank) {
  7502. segment.report(114);
  7503. break
  7504. }
  7505. }
  7506. if (nodeB.$otherSegmentsLen && (nodeA.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(115) && address.isOkFor(115))
  7507. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7508. var otherSegment = nodeB.$otherSegments[i];
  7509. if (!otherSegment.$rawObject) continue;
  7510. if (RR_TRAIL < otherSegment.$typeRank) {
  7511. segment.report(115);
  7512. break
  7513. }
  7514. }
  7515. }
  7516. if (streetLen) {
  7517. 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};
  7518. var checkIDID = {160: 70, 161: 71, 162: 72};
  7519. for (var i in checkIDType) {
  7520. i = +i;
  7521. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7522. var rType = checkIDType[i];
  7523. options = getCheckOptions(i, countryCode);
  7524. if (rType === roadType || !rType) {
  7525. if (matchRegExp(i, segmentID, street, options)) segment.report(i)
  7526. } else {
  7527. var mi = checkIDID[i];
  7528. if (mi && address.isOkFor(mi) && !matchRegExp(i, segmentID, street, options)) segment.report(mi)
  7529. }
  7530. }
  7531. for (var i = CK_STREETNAMEFIRST; i <= CK_STREETNAMELAST; i++) {
  7532. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7533. if (matchRegExp(i, segmentID, street, getCheckOptions(i, countryCode))) segment.report(i)
  7534. }
  7535. if (cityLen && RT_RAMP === roadType && isLimitOk(57) && address.isOkFor(57)) segment.report(57);
  7536. if (-1 !== street.indexOf('CONST ZN') && isLimitOk(117) && address.isOkFor(117)) segment.report(117);
  7537. if (RT_RAMP !== roadType && -1 !== street.indexOf('.') && isLimitOk(95) && address.isOkFor(95)) segment.report(95);
  7538. if (RT_RAMP === roadType)
  7539. if (DIR_TWO === direction)
  7540. if (isLimitOk(28) && address.isOkFor(28)) segment.report(28);
  7541. if (RR_RAMP > typeRank) {
  7542. options = getCheckOptions(73, countryCode);
  7543. if (options[CO_NUMBER] > streetLen && isLimitOk(73) && address.isOkFor(73)) segment.report(73)
  7544. }
  7545. if (isDrivable)
  7546. if (RT_RAMP === roadType) {
  7547. options = getCheckOptions(112, countryCode);
  7548. if (options[CO_NUMBER] < streetLen && isLimitOk(112) && address.isOkFor(112)) segment.report(112)
  7549. } else {
  7550. options = getCheckOptions(52, countryCode);
  7551. if (options[CO_NUMBER] < streetLen && isLimitOk(52) && address.isOkFor(52)) segment.report(52)
  7552. }
  7553. }
  7554. if (isRoundabout && isDrivable) {
  7555. if (streetLen && isLimitOk(29) && address.isOkFor(29)) segment.report(29);
  7556. if (DIR_TWO === direction && address.isOkFor(48)) segment.report(48);
  7557. if (!nodeA.$isPartial && 2 < nodeA.$otherSegmentsLen)
  7558. if (2 < nodeA.$outConnectionsLen) {
  7559. if (address.isOkFor(87)) segment.report(87)
  7560. } else if (address.isOkFor(74))
  7561. segment.report(74);
  7562. if (slowChecks && !isPartial && (DIR_AB === direction || DIR_BA === direction)) {
  7563. var okA = false;
  7564. var okB = false;
  7565. var anode, bnode;
  7566. if (DIR_AB === direction)
  7567. anode = nodeA, bnode = nodeB;
  7568. else
  7569. anode = nodeB, bnode = nodeA;
  7570. for (var i = 0; i < bnode.$outConnectionsLen; i++) {
  7571. var otherSegment = bnode.$outConnections[i];
  7572. if (otherSegment.$isRoundabout) {
  7573. okB = true;
  7574. break
  7575. }
  7576. }
  7577. if (okB)
  7578. for (var i = 0; i < anode.$inConnectionsLen; i++) {
  7579. var otherSegment = anode.$inConnections[i];
  7580. if (otherSegment.$isRoundabout) {
  7581. okA = true;
  7582. break
  7583. }
  7584. }
  7585. if ((!okB || !okA) && address.isOkFor(50)) segment.report(50)
  7586. }
  7587. }
  7588. HLObject(rawSegment)
  7589. }
  7590. if (_UI.pMain.pFilter.oEnablePlaces.CHECKED)
  7591. for (var venueKey in WMo.venues.objects) {
  7592. var rawVenue = WMo.venues.objects[venueKey];
  7593. var venueID = rawVenue.getID();
  7594. if (rawVenue.layer && rawVenue.id in rawVenue.layer.unrenderedFeatures) continue;
  7595. if ('Delete' === rawVenue.state) continue;
  7596. if (rawVenue.outOfScope) continue;
  7597. var seen = null;
  7598. if (venueID in _RT.$seen) seen = _RT.$seen[venueID];
  7599. if (rawVenue.selected) {
  7600. selectedObjects.push(venueID);
  7601. _RT.$revalidate[venueID] = true;
  7602. if (seen) {
  7603. deleteSeenObject(venueID);
  7604. seen = null
  7605. }
  7606. } else if (segmentID in _RT.$revalidate) {
  7607. deleteSeenObject(venueID);
  7608. seen = null;
  7609. delete _RT.$revalidate[segmentID]
  7610. }
  7611. if (seen) {
  7612. HLObject(rawVenue);
  7613. continue
  7614. }
  7615. var venue = new SimpleOBJECT(venueID, WMo.venues);
  7616. Object.seal(venue);
  7617. var address = venue.$address;
  7618. var country = address.$country;
  7619. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  7620. var city = address.$city;
  7621. var cityLen = city.length;
  7622. var cityID = address.$cityID;
  7623. var street = address.$street;
  7624. var streetLen = street.length;
  7625. var lock = venue.$lock;
  7626. _RT.$seen[venueID] = seen = [0, null, false, false, 16 > currentZoom, cityID];
  7627. venue.incCityCounter();
  7628. if (venue.$isEditable) _REP.$isEditableFound = true;
  7629. if (!cityLen && isLimitOk(250)) {
  7630. options = getCheckOptions(250, countryCode);
  7631. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(250)) venue.report(250)
  7632. }
  7633. if (!streetLen && isLimitOk(251)) {
  7634. options = getCheckOptions(251, countryCode);
  7635. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(251)) venue.report(251)
  7636. }
  7637. if (isLimitOk(252)) {
  7638. options = getCheckOptions(252, countryCode);
  7639. if (options[CO_REGEXP].test(venue.$updatedByID.toString()) || options[CO_REGEXP].test(venue.$updatedBy.toString()) && address.isOkFor(252)) venue.report(252)
  7640. }
  7641. if (venue.$categories.indexOf('OTHER') > -1 && isLimitOk(253) && address.isOkFor(253)) venue.report(253);
  7642. if (venue.$entryExitPoints && venue.$entryExitPoints.length && isLimitOk(254)) {
  7643. var stopPoint = venue.$entryExitPoints[0].getPoint();
  7644. var spt = new OpenLayers.Geometry.Point(stopPoint.coordinates[0], stopPoint.coordinates[1]);
  7645. stopPoint = spt.transform(nW.Config.map.projection.remote, nW.Config.map.projection.local);
  7646. var areaCenter = venue.$geometry.getCentroid();
  7647. if (areaCenter && areaCenter.equals(stopPoint) && address.isOkFor(254)) venue.report(254)
  7648. }
  7649. if (venue.$phone && isLimitOk(255)) {
  7650. options = getCheckOptions(255, countryCode);
  7651. if (!options[CO_REGEXP].test(venue.$phone) && address.isOkFor(255)) venue.report(255)
  7652. }
  7653. if (venue.$url && isLimitOk(256)) {
  7654. options = getCheckOptions(256, countryCode);
  7655. if (!options[CO_REGEXP].test(venue.$url) && address.isOkFor(256)) venue.report(256)
  7656. }
  7657. if (venue.$isPoint && isLimitOk(257)) {
  7658. options = getCheckOptions(257, countryCode);
  7659. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(257)) venue.report(257)
  7660. } else if (isLimitOk(258)) {
  7661. options = getCheckOptions(258, countryCode);
  7662. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(258)) venue.report(258)
  7663. }
  7664. if (isLimitOk(259)) {
  7665. options = getCheckOptions(259, countryCode);
  7666. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(259)) venue.report(259)
  7667. }
  7668. if (isLimitOk(260)) {
  7669. options = getCheckOptions(260, countryCode);
  7670. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(260)) venue.report(260)
  7671. }
  7672. if (venue.$rawObject.isParkingLot()) {
  7673. var catAttr = venue.$categoryAttributes;
  7674. var parkAttr = catAttr ? catAttr.PARKING_LOT : undefined;
  7675. if ((!parkAttr || !parkAttr.parkingType) && address.isOkFor(270)) venue.report(270);
  7676. if ((!parkAttr || !parkAttr.costType || parkAttr.costType === 'UNKNOWN') && address.isOkFor(271)) venue.report(271);
  7677. if (parkAttr && parkAttr.costType && parkAttr.costType !== 'FREE' && parkAttr.costType !== 'UNKNOWN' && (!parkAttr.paymentType || !parkAttr.paymentType.length) && address.isOkFor(272))
  7678. venue.report(272);
  7679. if ((!parkAttr || !parkAttr.lotType || parkAttr.lotType.length === 0) && address.isOkFor(273)) venue.report(273);
  7680. if ((!venue.$entryExitPoints || !venue.$entryExitPoints.length) && address.isOkFor(274)) venue.report(274)
  7681. }
  7682. if (venue.$rawObject.isGasStation())
  7683. if (isLimitOk(275) && venue.$name.toLowerCase().indexOf(venue.$brand.toLowerCase().split(' ')[0]) === -1 && address.isOkFor(275)) venue.report(275)
  7684. }
  7685. if (bUpdateMaxSeverity && (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))) async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  7686. updateObjectProperties(selectedObjects, false);
  7687. addHLedObjects()
  7688. };
  7689. async function F_LOGIN() {
  7690. log('login ' + WLM.user.attributes.userName);
  7691. _WV.parseAccessList = function(s) {
  7692. var a = s.split(/\s*,\s*/);
  7693. var res = [];
  7694. a.forEach(function(r, i) {
  7695. var n = false;
  7696. if ('!' === r.charAt(0)) n = true, r = r.slice(1);
  7697. res[i] = { $id: r, $not: n }
  7698. });
  7699. return res
  7700. };
  7701. _WV.checkAccessFor = function(forStr, cmpFunc) {
  7702. if (!forStr) return true;
  7703. var l = _WV.parseAccessList(forStr);
  7704. if (!l.length) return true;
  7705. for (var i = 0; i < l.length; i++) {
  7706. var r = l[i];
  7707. if ('*' === r.$id || cmpFunc(r.$id))
  7708. if (r.$not)
  7709. return false;
  7710. else
  7711. return true
  7712. }
  7713. return false
  7714. };
  7715. function mirrorChecks(defTranslation) {
  7716. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  7717. for (var i = CK_MIRRORFIRST; i <= CK_MIRRORLAST; i++)
  7718. allLabels.forEach(function(l) {
  7719. var label = i + '.' + l;
  7720. if (!(label in defTranslation)) return;
  7721. var value = defTranslation[label];
  7722. var mLabel = i + 100 + '.' + l;
  7723. switch (l) {
  7724. case 'title':
  7725. case 'problem':
  7726. case 'solution':
  7727. defTranslation[mLabel] = value.replace(/ A($|\b)/g, ' B');
  7728. break;
  7729. case 'params':
  7730. defTranslation[mLabel] = deepCopy(value);
  7731. break;
  7732. default:
  7733. defTranslation[mLabel] = value;
  7734. break
  7735. }
  7736. })
  7737. }
  7738. _RT = {
  7739. $textLabels: ['title', 'problem', 'solution'],
  7740. $otherLabels: ['enabled', 'color', 'severity', 'reportOnly', 'params', 'problemLink', 'solutionLink'],
  7741. $curMaxSeverity: RS_ERROR,
  7742. $RegExp1: '',
  7743. $RegExp2: '',
  7744. oReportWMECH: {FORID: '_cbHighlightLocked', CHECKED: false, NA: true},
  7745. oReportToolbox: {FORID: 'WMETB_NavBar', CHECKED: false, NA: true},
  7746. $isMapChanged: false,
  7747. $lng: I18n.locale.toUpperCase(),
  7748. $includeUpdatedByCache: {},
  7749. $includeUpdatedSinceTime: 0,
  7750. $includeCityNameCache: {},
  7751. $includeChecksCache: {},
  7752. $switchValidator: false,
  7753. $HLlayer: null,
  7754. $HLedObjects: {},
  7755. $isGlobalAccess: false,
  7756. $timer: {$secInRun: 0, $lastUpdate: 0},
  7757. $curMessage: {TEXT: '', TITLE: '', CLASS: CL_MSG},
  7758. $topCity: null,
  7759. $cachedTopCCode: '',
  7760. $topUser: {$userID: WLM.user.attributes.id, $userName: WLM.user.attributes.userName, $userLevel: WLM.user.attributes.rank + 1},
  7761. $topCenter: null,
  7762. $WDmoveID: -1,
  7763. $WDloadID: -1,
  7764. $layersVisibility: '',
  7765. $state: ST_STOP,
  7766. $direction: DIR_L2R,
  7767. $firstStep: true,
  7768. $startExtent: null,
  7769. $startCenter: null,
  7770. $startZoom: null,
  7771. $nextCenter: null,
  7772. $moveEndCenter: null,
  7773. $seen: {},
  7774. $revalidate: {},
  7775. $curUserName: WLM.user.attributes.userName,
  7776. $error: false,
  7777. $reportEditableNotFound: false,
  7778. $checks: {},
  7779. $sortedCheckIDs: null,
  7780. $WMECHcolors: {},
  7781. $untranslatedLngs: ['IT']
  7782. };
  7783. _RT.$topUser.$isCM = WLM.user.attributes.editableCountryIDs ? 0 !== WLM.user.attributes.editableCountryIDs.length : false;
  7784. _RT.$topUser.$countryIDs = WLM.user.attributes.editableCountryIDs ? WLM.user.attributes.editableCountryIDs : [];
  7785. _RT.$checks = {
  7786. 0: {
  7787. SEVERITY: RS_MAX,
  7788. REPORTONLY: false,
  7789. TITLE: 'Global access list to test before any of the checks below',
  7790. FORCOUNTRY: GA_FORCOUNTRY,
  7791. FORCITY: GA_FORCITY,
  7792. FORUSER: GA_FORUSER,
  7793. FORLEVEL: GA_FORLEVEL,
  7794. OPTIONS: {},
  7795. COLOR: '',
  7796. PROBLEM: '',
  7797. PROBLEMLINK: '',
  7798. PROBLEMLINKTEXT: '',
  7799. SOLUTION: '',
  7800. SOLUTIONLINK: '',
  7801. SOLUTIONLINKTEXT: ''
  7802. }
  7803. };
  7804. _I18n.init({$lng: _RT.$lng});
  7805. var defTranslation = _translations[_I18n.$defLng];
  7806. var defTBProblem = 'The segment is highlighted by WME Toolbox. It is not a problem';
  7807. var defTBProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Toolbox';
  7808. var TBchecks = [
  7809. [
  7810. '#3030FF', 'W', , 'Roundabout which may cause issues', 'Junction IDs of the roundabout segments are not consecutive', '', 'Redo the roundabout',
  7811. 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts'
  7812. ],
  7813. [
  7814. '#FF30FF', , , 'Simple segment', 'The segment has unneeded geometry nodes', , 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  7815. 'W:Creating_and_Editing_street_segments#Adjusting_road_geometry_.28nodes.29'
  7816. ],
  7817. ['#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'],
  7818. ['#00A8FF', , true, 'House numbers'], ['#F7B020', , true, 'Segment with time restrictions']
  7819. ];
  7820. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7821. var cc = TBchecks[i - CK_TBFIRST];
  7822. var cp = cc[4] || defTBProblem;
  7823. var cpl = cc[5];
  7824. if (!classCodeDefined(cpl)) cpl = defTBProblemLink;
  7825. defTranslation[i + '.enabled'] = true;
  7826. defTranslation[i + '.color'] = cc[0];
  7827. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7828. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7829. defTranslation[i + '.title'] = 'WME Toolbox: ' + cc[3];
  7830. defTranslation[i + '.problem'] = cp;
  7831. if (cpl) defTranslation[i + '.problemLink'] = cpl;
  7832. if (cc[6]) defTranslation[i + '.solution'] = cc[6];
  7833. if (cc[7]) defTranslation[i + '.solutionLink'] = cc[7]
  7834. }
  7835. var defWMECHProblem = 'The segment is highlighted by WME Color Highlights. It is not a problem';
  7836. var defWMECHProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Color_Highlights_.28WMECH.29';
  7837. var WMECHchecks = [
  7838. ['#000000', , true, 'Editor lock'], ['#0000FF', , true, 'Toll road / One way road'], ['#00FF00', , true, 'Recently edited'], ['#880000', , true, 'Road rank'], ['#888888', , true, 'No city'],
  7839. ['#990099', , true, 'Time restriction / Highlighted road type'], ['#FFBB00', , true, 'No name'], ['#FFFF00', , true, 'Filter by city'], ['#FFFF01', , true, 'Filter by city (alt. city)'],
  7840. ['#00FF00', , true, 'Filter by editor']
  7841. ];
  7842. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7843. var cc = WMECHchecks[i - CK_WMECHFIRST];
  7844. var cp = defWMECHProblem;
  7845. var cpl = defWMECHProblemLink;
  7846. defTranslation[i + '.enabled'] = true;
  7847. defTranslation[i + '.color'] = cc[0];
  7848. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7849. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7850. defTranslation[i + '.title'] = 'WME Color Highlights: ' + cc[3];
  7851. defTranslation[i + '.problem'] = cp;
  7852. if (cpl) defTranslation[i + '.problemLink'] = cpl
  7853. }
  7854. var streetNames = ['Freeway', 'Major Highway', 'Minor Highway', 'Ramp', 'Primary Street', 'Street', 'Parking Lot Road', 'Railroad', 'Private Road'];
  7855. for (var i = CK_TYPEFIRST; i <= CK_TYPELAST; i++) {
  7856. var streetName = streetNames[i - CK_TYPEFIRST];
  7857. defTranslation[i + '.severity'] = 'W';
  7858. defTranslation[i + '.title'] = 'Must be a ' + streetName;
  7859. defTranslation[i + '.problem'] = 'This segment must be a ' + streetName;
  7860. defTranslation[i + '.solution'] = 'Set the road type to ' + streetName + ' or change the road name'
  7861. }
  7862. for (var i = CK_CUSTOMFIRST; i <= CK_CUSTOMLAST; i++) {
  7863. defTranslation[i + '.title'] = 'Custom check';
  7864. defTranslation[i + '.severity'] = 'W';
  7865. defTranslation[i + '.problem'] = 'The segment matched custom conditions';
  7866. defTranslation[i + '.solution'] = 'Solve the issue';
  7867. defTranslation[i + '.params'] = {
  7868. 'template.title': '{string} expandable template',
  7869. 'template': '${street}',
  7870. 'regexp.title': '{string} regular expression to match the template',
  7871. 'regexp': '!/.+/',
  7872. 'titleEN.title': '{string} check title in English',
  7873. 'titleEN': '',
  7874. 'problemEN.title': '{string} problem description in English',
  7875. 'problemEN': '',
  7876. 'solutionEN.title': '{string} solution instructions in English',
  7877. 'solutionEN': ''
  7878. }
  7879. }
  7880. var lockLevels = {150: 5, 151: 4, 152: 3, 153: 4, 154: 2, 155: 0, 156: 0, 157: 2, 158: 2};
  7881. for (var i = CK_LOCKFIRST; i <= CK_LOCKLAST; i++) {
  7882. var lockName = streetNames[i - CK_LOCKFIRST];
  7883. var lockLevel = lockLevels[i];
  7884. defTranslation[i + '.title'] = 'No lock on ' + lockName;
  7885. defTranslation[i + '.problem'] = 'The ' + lockName + ' segment should be locked at least to Lvl ${n}';
  7886. defTranslation[i + '.solution'] = 'Lock the segment';
  7887. defTranslation[i + '.params'] = { 'n.title': '{number} minimum lock level', 'n': lockLevel }
  7888. }
  7889. var streetRegExps = {160: '!/^[AS][0-9]{1,2}/', 161: '!/^[0-9]{1,2}/', 162: '!/^[0-9]{1,3}/', 163: '!/^[AS]?[0-9]* ?> /'};
  7890. var streetDefRegExp = '!/.?/';
  7891. for (var i = CK_STREETTNFIRST; i <= CK_STREETTNLAST; i++) {
  7892. var streetName = streetNames[i - CK_STREETTNFIRST];
  7893. var streetRegExp = streetRegExps[CK_STREETTNFIRST] || streetDefRegExp;
  7894. if (i < 165 || i > 167) defTranslation[i + '.severity'] = 'W';
  7895. defTranslation[i + '.title'] = 'Incorrect ' + streetName + ' name';
  7896. defTranslation[i + '.problem'] = 'The ' + streetName + ' segment has incorrect street name';
  7897. defTranslation[i + '.solution'] = 'Rename the segment in accordance with the guidelines';
  7898. defTranslation[i + '.params'] = { 'regexp.title': '{string} regular expression to match incorrect ' + streetName + ' name', 'regexp': streetRegExp }
  7899. }
  7900. mirrorChecks(defTranslation);
  7901. var listOfIntPacks = '';
  7902. for (var translationsKey in _translations) {
  7903. var translation = _translations[translationsKey];
  7904. mirrorChecks(translation);
  7905. _I18n.addTranslation(translation);
  7906. var country = translation['.country'];
  7907. if (!country) continue;
  7908. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7909. country = country.split(' ').join('&nbsp;');
  7910. if (listOfIntPacks) listOfIntPacks += ', ';
  7911. if ('.lng' in translation)
  7912. listOfIntPacks += '<b>' + country + '*';
  7913. else
  7914. listOfIntPacks += country;
  7915. if ('.author' in translation) listOfIntPacks += ' by&nbsp;' + translation['.author'];
  7916. if ('.lng' in translation) listOfIntPacks += '</b>';
  7917. if ('.updated' in translation) listOfIntPacks += ' (' + translation['.updated'] + ')'
  7918. }
  7919. listOfIntPacks += '.';
  7920. listOfIntPacks += '<br>* localization pack with translations';
  7921. var listOfPacks = '';
  7922. for (var gObject in window) {
  7923. if (!window.hasOwnProperty(gObject)) continue;
  7924. if (-1 !== gObject.indexOf('WME_Validator')) {
  7925. var translation = window[gObject];
  7926. log('found localization pack: ' + gObject.replace('WME_Validator_', ''));
  7927. mirrorChecks(translation);
  7928. _I18n.addTranslation(translation);
  7929. if ('.country' in translation) {
  7930. var country = translation['.country'];
  7931. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7932. listOfPacks += '<b>' + country;
  7933. if ('.author' in translation) listOfPacks += ' by&nbsp;' + translation['.author'];
  7934. listOfPacks += '</b>';
  7935. if (!('.lng' in translation)) listOfPacks += '<br>(does not include translations)';
  7936. if ('.updated' in translation) {
  7937. listOfPacks += '<br>Updated: ' + translation['.updated'];
  7938. if ('.link' in translation && translation['.link']) listOfPacks += ' <a target="_blank" href="' + translation['.link'] + '">check&nbsp;for&nbsp;updates</a>'
  7939. }
  7940. listOfPacks += '<br>'
  7941. }
  7942. }
  7943. }
  7944. listOfPacks = listOfPacks ? listOfPacks : 'No external localization packs found';
  7945. listOfPacks += '<br><b>See</b> <a target="_blank" href="' + PFX_DISCUSS + DISCUSS_LOCAL + '">' +
  7946. 'how to create a localization pack</a>';
  7947. for (var i = 1; i < MAX_CHECKS; i++) {
  7948. var check = {ENABLED: {}, PROBLEMLINK: {}, PROBLEMLINKTEXT: {}, SOLUTIONLINK: {}, SOLUTIONLINKTEXT: {}};
  7949. var label = i + '.title';
  7950. if (!_I18n.isLabelExist(label)) continue;
  7951. check.TITLE = trS(label);
  7952. label = i + '.color';
  7953. if (_I18n.isLabelExist(label)) {
  7954. var col = trS(label).toUpperCase();
  7955. check.COLOR = col;
  7956. if (CK_WMECHFIRST <= i && CK_WMECHLAST >= i) _RT.$WMECHcolors[col] = true
  7957. }
  7958. label = i + '.problem';
  7959. if (_I18n.isLabelExist(label)) check.PROBLEM = trS(label);
  7960. label = i + '.solution';
  7961. if (_I18n.isLabelExist(label)) check.SOLUTION = trS(label);
  7962. label = i + '.reportOnly';
  7963. if (_I18n.isLabelExist(label)) check.REPORTONLY = trS(label);
  7964. label = i + '.severity';
  7965. var s = 'N';
  7966. if (_I18n.isLabelExist(label)) s = trS(label);
  7967. if (s) switch (s.charAt(0)) {
  7968. case 'w':
  7969. case 'W':
  7970. check.SEVERITY = RS_WARNING;
  7971. break;
  7972. case 'e':
  7973. case 'E':
  7974. check.SEVERITY = RS_ERROR;
  7975. break;
  7976. case '1':
  7977. check.SEVERITY = RS_CUSTOM1;
  7978. break;
  7979. case '2':
  7980. check.SEVERITY = RS_CUSTOM2;
  7981. break;
  7982. default:
  7983. check.SEVERITY = RS_NOTE;
  7984. break
  7985. }
  7986. else
  7987. check.SEVERITY = RS_NOTE;
  7988. label = i + '.enabled';
  7989. var labelP = i + '.params';
  7990. var labelPL = i + '.problemLink';
  7991. var labelSL = i + '.solutionLink';
  7992. var defEnabled = false;
  7993. var arrCodes = [];
  7994. for (var ccode in _I18n.$translations) {
  7995. var translation = _I18n.$translations[ccode];
  7996. if (label in translation) {
  7997. var e = translation[label];
  7998. check.ENABLED[ccode] = e;
  7999. if (_I18n.$defLng === ccode) {
  8000. if (e) defEnabled = true
  8001. } else if (e)
  8002. arrCodes.push(ccode);
  8003. else
  8004. arrCodes.push('!' + ccode)
  8005. }
  8006. if (labelPL in translation) {
  8007. var l = translation[labelPL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM).replace('D:', PFX_DISCUSS);
  8008. check.PROBLEMLINK[ccode] = encodeURI(l);
  8009. if (-1 !== l.indexOf(PFX_WIKI) || -1 !== l.indexOf(PFX_PEDIA))
  8010. check.PROBLEMLINKTEXT[ccode] = trS('report.link.wiki');
  8011. else if (-1 !== l.indexOf(PFX_FORUM))
  8012. check.PROBLEMLINKTEXT[ccode] = trS('report.link.forum');
  8013. else
  8014. check.PROBLEMLINKTEXT[ccode] = trS('report.link.other')
  8015. }
  8016. if (labelSL in translation) {
  8017. var l = translation[labelSL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM).replace('D:', PFX_DISCUSS);
  8018. check.SOLUTIONLINK[ccode] = encodeURI(l);
  8019. if (-1 !== l.indexOf(PFX_WIKI || -1 !== l.indexOf(PFX_PEDIA)))
  8020. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.wiki');
  8021. else if (-1 !== l.indexOf(PFX_FORUM))
  8022. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.forum');
  8023. else
  8024. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.other')
  8025. }
  8026. if (labelP in translation) {
  8027. var params = translation[labelP];
  8028. if (!check.OPTIONS) check.OPTIONS = {};
  8029. if (!(ccode in check.OPTIONS)) check.OPTIONS[ccode] = params;
  8030. if (params['template']) check.OPTIONS[ccode][CO_STRING] = params['template'];
  8031. if (params['regexp']) _WV.buildRegExp(i, check.OPTIONS[ccode], params['regexp']);
  8032. if (params['n']) check.OPTIONS[ccode][CO_NUMBER] = +params['n']
  8033. }
  8034. }
  8035. if (defEnabled) {
  8036. if (arrCodes.length) check.FORCOUNTRY = arrCodes.join(',') + ',*'
  8037. } else if (arrCodes.length)
  8038. check.FORCOUNTRY = arrCodes.join(',');
  8039. else
  8040. check.FORCOUNTRY = '!*';
  8041. _RT.$checks[i] = check
  8042. }
  8043. var dir = _I18n.getDir();
  8044. var dirLeft = trLeft(dir);
  8045. var dirRight = trRight(dir);
  8046. var cssRules, cssRules2, cssRulesA = '>a{text-decoration:underline;cursor:pointer;pointer-events:auto}';
  8047. _THUI.addElemetClassStyle('div', CL_TABS, '{border-bottom:2px solid #ddd;height:29px}');
  8048. _THUI.addElemetClassStyle('div', CL_TABS, '>input{display:none}');
  8049. _THUI.addElemetClassStyle(
  8050. 'div', CL_TABS,
  8051. '>label{white-space:nowrap;overflow:hidden;max-width:100px;text-overflow:ellipsis;cursor:pointer;display:inline-block;margin:0px;margin-' + dirRight +
  8052. ':3px;padding:4px 12px;border-radius:4px 4px 0 0;background-color:#dadbdc}');
  8053. _THUI.addElemetClassStyle(
  8054. 'div', CL_TABS,
  8055. '>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}');
  8056. _THUI.addElemetClassStyle('div', CL_TABS, '>input:disabled+label{font-weight:bold !important;padding-' + dirLeft + ':0px;color:#333;cursor:default;background-color:transparent}');
  8057. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label:hover{background-color:#fff}');
  8058. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label:hover{background-color:#fff}');
  8059. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label>span>span.c' + CL_COLLAPSE + '{display:none}');
  8060. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label>span>span.c' + CL_COLLAPSE + '{display:inline}');
  8061. _THUI.addElemetClassStyle(
  8062. 'div', CL_PANEL,
  8063. '{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:' +
  8064. SZ_PANEL_HEIGHT + 'px}');
  8065. _THUI.addElemetClassStyle('div', CL_PANEL, '>span' + cssRulesA);
  8066. _THUI.addElemetClassStyle('div', CL_PANEL, '>label>span' + cssRulesA);
  8067. _THUI.addElemetClassStyle('div', CL_PANEL, '>span>p' + cssRulesA);
  8068. cssRules = '>span{border-radius:5px;background-color:';
  8069. _THUI.addElemetClassStyle('label', 'c1', cssRules + GL_CUSTOM1COLOR + ';color:' + GL_CUSTOM1BGCOLOR + '}');
  8070. _THUI.addElemetClassStyle('label', 'c2', cssRules + GL_CUSTOM2COLOR + ';color:' + GL_CUSTOM2BGCOLOR + '}');
  8071. cssRules = '>span>a{color:white}';
  8072. _THUI.addElemetClassStyle('label', 'c1', cssRules);
  8073. _THUI.addElemetClassStyle('label', 'c2', cssRules);
  8074. _THUI.addElemetClassStyle('div', CL_BUTTONS, '{overflow:hidden;margin-bottom:1em}');
  8075. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button{font-weight:normal;padding:4px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8076. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button>i{pointer-events:none}');
  8077. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button:disabled{background-color:#eee;border-bottom:0px;cursor:default;pointer-events:auto}');
  8078. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox{display:block;height:24px;font-weight:normal;margin:0}');
  8079. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox>span{display:inline-block;height:20px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8080. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.date{display:block;height:32px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8081. _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}');
  8082. _THUI.addElemetClassStyle(
  8083. 'div', CL_PANEL,
  8084. '>label.date>input[type=date]{box-sizing:border-box;height:28px;padding:2px 10px;padding-' + dirRight + ':2px;float:' + dirRight + ';margin-' + dirRight + ':-155px;width:150px}');
  8085. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.text{display:block;height:30px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8086. _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}');
  8087. _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}');
  8088. cssRules = '{position:relative;height:2em;width:100%;margin-bottom:';
  8089. cssRules2 = '>span{position:absolute;' + dirLeft + ':0;bottom:0;display:inline-block;padding:4px 12px;margin:0px;border-radius:8px;border-bottom-' + dirLeft +
  8090. '-radius:0;box-shadow:3px 3px 3px #aaa;border:1px solid ';
  8091. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules + '12px}');
  8092. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules2 + '#aea;background-color:#cfc;' + dirLeft + ':auto;' + dirRight + ':0;border-radius:8px;border-bottom-' + dirRight + '-radius:0}');
  8093. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, '>span' + cssRulesA);
  8094. _THUI.addElemetClassStyle('div', CL_MSG, cssRules + '1em}');
  8095. _THUI.addElemetClassStyle('div', CL_MSG, cssRules2 + '#ded;background-color:#efe}');
  8096. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules + '1em}');
  8097. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules2 + '#ee9;background-color:#ffa}');
  8098. _THUI.addElemetIdStyle('div', ID_PROPERTY, '{padding-bottom:5px}');
  8099. _THUI.addElemetIdStyle('div', ID_PROPERTY, '>b' + cssRulesA);
  8100. cssRules = '{color:' + GL_NOTECOLOR + '}';
  8101. _THUI.addElemetClassStyle('div', CL_NOTE, cssRules);
  8102. _THUI.addElemetClassStyle('a', CL_NOTE, cssRules);
  8103. cssRules = '{color:' + GL_WARNINGCOLOR + '}';
  8104. _THUI.addElemetClassStyle('div', CL_WARNING, cssRules);
  8105. _THUI.addElemetClassStyle('a', CL_WARNING, cssRules);
  8106. cssRules = '{color:' + GL_ERRORCOLOR + '}';
  8107. _THUI.addElemetClassStyle('div', CL_ERROR, cssRules);
  8108. _THUI.addElemetClassStyle('a', CL_ERROR, cssRules);
  8109. cssRules = '{color:' + GL_CUSTOM1COLOR + '}';
  8110. _THUI.addElemetClassStyle('div', CL_CUSTOM1, cssRules);
  8111. _THUI.addElemetClassStyle('a', CL_CUSTOM1, cssRules);
  8112. cssRules = '{color:' + GL_CUSTOM2COLOR + '}';
  8113. _THUI.addElemetClassStyle('div', CL_CUSTOM2, cssRules);
  8114. _THUI.addElemetClassStyle('a', CL_CUSTOM2, cssRules);
  8115. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '{white-space:nowrap;position:relative;cursor:help}');
  8116. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span{display:inline-block;overflow:hidden;text-overflow:ellipsis;width:279px}');
  8117. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span' + cssRulesA);
  8118. cssRules = ';z-index:1000000;position:absolute;visibility:hidden;opacity:0;transition:0.1s ease;' + dirLeft + ':30px;top:-1.7em;cursor:default}';
  8119. _THUI.addElemetClassStyle(
  8120. 'div', CL_RIGHTTIP, ':before{content:"";position:absolute;border:1em solid transparent;border-' + dirRight + '-color:#ddd;margin-' + dirLeft + ':-2em;margin-top:1.5em' + cssRules);
  8121. _THUI.addElemetClassStyle(
  8122. '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);
  8123. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '{margin-' + dirLeft + ':2em}');
  8124. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, cssRulesA);
  8125. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p{color:black;margin-top:0.5em;margin-bottom:0.5em !important}');
  8126. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p' + cssRulesA);
  8127. cssRules = '{visibility:visible;opacity:1}';
  8128. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover:before' + cssRules);
  8129. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover>div' + cssRules);
  8130. _UI = {
  8131. _DISABLED: undefined,
  8132. _NODISPLAY: undefined,
  8133. MAXLENGTH: undefined,
  8134. REVERSE: undefined,
  8135. WARNING: undefined,
  8136. TYPE: undefined,
  8137. FORUSER: undefined,
  8138. FORCITY: undefined,
  8139. FORCOUNTRY: undefined,
  8140. FORLEVEL: undefined,
  8141. ACCESSKEY: undefined,
  8142. STYLEI: '',
  8143. DISCLOSE: 0,
  8144. _NAME: '',
  8145. READONLY: 0,
  8146. _STYLE: '',
  8147. ONWARNING: null,
  8148. ONCHANGE: null,
  8149. _ONCHANGE: undefined,
  8150. ONCLICKO: undefined,
  8151. MIN: undefined,
  8152. MAX: undefined,
  8153. STEP: undefined,
  8154. CLASS: CL_UI,
  8155. _TYPE: _THUI.DIV,
  8156. _ONWARNING: onWarning,
  8157. pTips: {},
  8158. pTranslateBanner: {
  8159. CLASS: CL_TRANSLATETIP,
  8160. TEXT: 'Please help to ' +
  8161. '<a target="_blank" href="' + PFX_DISCUSS + DISCUSS_LOCAL + '">' +
  8162. 'translate Validator!</a>',
  8163. TITLE: trS('about.tip')
  8164. },
  8165. pNoAccess: {CLASS: CL_PANEL, NODISPLAY: 1, STYLE: 'text-align:center', TEXT: trS('noaccess.text'), TITLE: trS('noaccess.tip')},
  8166. pMain: {
  8167. pTabs: {
  8168. CLASS: CL_TABS,
  8169. _DISCLOSE: 1,
  8170. _TYPE: _THUI.RADIO,
  8171. _ONCLICK: onUpdateUI,
  8172. tMain: {TEXT: '', TITLE: '', DISABLED: 1, STYLEO: 'cursor:pointer;max-width:97px', ONCLICKO: onUpdateUI},
  8173. tFilter: {
  8174. TEXT: '<i class="fa fa-filter" aria-hidden="true"></i>' +
  8175. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.filter.text') + '</span>',
  8176. TITLE: trS('tab.filter.tip'),
  8177. CHECKED: 1
  8178. },
  8179. tSearch: {
  8180. TEXT: '<i class="fa fa-search" aria-hidden="true"></i>' +
  8181. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.search.text') + '</span>',
  8182. TITLE: trS('tab.search.tip')
  8183. },
  8184. tHelp: {
  8185. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8186. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.help.text') + '</span>',
  8187. TITLE: trS('tab.help.tip'),
  8188. STYLEO: 'float:' + dirRight
  8189. }
  8190. },
  8191. pFilter: {
  8192. CLASS: CL_PANEL,
  8193. _CLASS: 'checkbox',
  8194. _TYPE: _THUI.CHECKBOX,
  8195. _REVERSE: 1,
  8196. _ONCHANGE: onUpdateUI,
  8197. oEnablePlaces: {TEXT: trS('filter.places.text'), TITLE: trS('filter.places.tip'), AUTOSAVE: AS_PLACES},
  8198. oExcludeNonEditables: {TEXT: trS('filter.noneditables.text'), TITLE: trS('filter.noneditables.tip'), AUTOSAVE: AS_NONEDITABLES},
  8199. oExcludeDuplicates: {TEXT: trS('filter.duplicates.text'), TITLE: trS('filter.duplicates.tip'), AUTOSAVE: AS_DUPLICATES},
  8200. oExcludeStreets: {TEXT: trS('filter.streets.text'), TITLE: trS('filter.streets.tip'), AUTOSAVE: AS_STREETS},
  8201. oExcludeOther: {TEXT: trS('filter.other.text'), TITLE: trS('filter.other.tip'), AUTOSAVE: AS_OTHERS},
  8202. oExcludeNotes: {TEXT: trS('filter.notes.text'), TITLE: trS('filter.notes.tip'), AUTOSAVE: AS_NOTES}
  8203. },
  8204. pSearch: {
  8205. CLASS: CL_PANEL,
  8206. NODISPLAY: 1,
  8207. _REVERSE: 1,
  8208. _ONCHANGE: onUpdateUI,
  8209. oIncludeYourEdits: {NODISPLAY: 1, TYPE: _THUI.CHECKBOX, TEXT: trS('search.youredits.text'), TITLE: trS('search.youredits.tip'), CLASS: 'checkbox', AUTOSAVE: AS_YOUREDITS},
  8210. oIncludeUpdatedBy: {
  8211. TYPE: _THUI.TEXT,
  8212. TEXT: trS('search.updatedby.text'),
  8213. TITLE: trS('search.updatedby.tip'),
  8214. PLACEHOLDER: trS('search.updatedby.example'),
  8215. CLASS: 'form-label text',
  8216. CLASSI: 'form-control',
  8217. AUTOSAVE: AS_UPDATEDBY
  8218. },
  8219. oIncludeUpdatedSince: {
  8220. TYPE: _THUI.DATE,
  8221. TEXT: trS('search.updatedsince.text'),
  8222. TITLE: trS('search.updatedsince.tip'),
  8223. PLACEHOLDER: trS('search.updatedsince.example'),
  8224. CLASS: 'form-label date',
  8225. CLASSI: 'form-control',
  8226. AUTOSAVE: AS_UPDATEDSINCE
  8227. },
  8228. oIncludeCityName: {
  8229. TYPE: _THUI.TEXT,
  8230. TEXT: trS('search.city.text'),
  8231. TITLE: trS('search.city.tip'),
  8232. PLACEHOLDER: trS('search.city.example'),
  8233. CLASS: 'form-label text',
  8234. CLASSI: 'form-control',
  8235. AUTOSAVE: AS_CITYNAME
  8236. },
  8237. oIncludeChecks: {
  8238. TYPE: _THUI.TEXT,
  8239. TEXT: trS('search.checks.text'),
  8240. TITLE: trS('search.checks.tip'),
  8241. PLACEHOLDER: trS('search.checks.example'),
  8242. CLASS: 'form-label text',
  8243. CLASSI: 'form-control',
  8244. AUTOSAVE: AS_CHECKS
  8245. }
  8246. },
  8247. pHelp: {CLASS: CL_PANEL, NODISPLAY: 1, TEXT: trS('help.text'), TITLE: trS('help.tip')},
  8248. pButtons: {
  8249. CLASS: CL_BUTTONS,
  8250. _CLASS: 'btn btn-default',
  8251. _TYPE: _THUI.BUTTON,
  8252. _ONCLICK: onUpdateUI,
  8253. bScan: {TEXT: '', TITLE: '', STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8254. bPause: {NODISPLAY: 1, TEXT: '', TITLE: trS('button.pause.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8255. bContinue: {TEXT: '', TITLE: trS('button.continue.tip'), NODISPLAY: 1, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8256. bStop: {TEXT: '', TITLE: trS('button.stop.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome;margin-' + dirRight + ':10px'},
  8257. bClear: {TEXT: '✘', TITLE: '', NODISPLAY: 1, DISABLED: 1, STYLE: 'float:' + dirLeft + ';width:38px;margin-' + dirRight + ':10px'},
  8258. bReport: {TEXT: trS('button.report.text'), TITLE: trS('button.report.tip'), STYLE: 'float:' + dirLeft + ';max-width:110px', ONCLICK: onShowReport},
  8259. bReportBB: {TEXT: '', TITLE: trS('button.BBreport.tip'), ONCLICK: onShareReport, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8260. bSettings: {TEXT: '', TITLE: trS('button.settings.tip'), STYLE: 'float:' + dirRight + ';width:38px;font-family:FontAwesome'}
  8261. }
  8262. },
  8263. pSettings: {
  8264. NODISPLAY: 1,
  8265. pTabs: {
  8266. CLASS: CL_TABS,
  8267. _DISCLOSE: 1,
  8268. _TYPE: _THUI.RADIO,
  8269. _ONCLICK: onUpdateUI,
  8270. tMain: {TEXT: trS('tab.settings.text') + ':', TITLE: 'WME Validator Version ' + WV_VERSION, STYLEO: 'max-width:85px', DISABLED: 1},
  8271. tCustom: {
  8272. TEXT: '<i class="fa fa-user" aria-hidden="true"></i>' +
  8273. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.custom.text') + '</span>',
  8274. STYLEO: 'max-width:110px',
  8275. TITLE: trS('tab.custom.tip'),
  8276. CHECKED: 1
  8277. },
  8278. tScanner: {
  8279. TEXT: '<i class="fa fa-wrench" aria-hidden="true"></i>' +
  8280. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.scanner.text') + '</span>',
  8281. TITLE: trS('tab.scanner.tip'),
  8282. STYLEO: 'max-width:110px'
  8283. },
  8284. tAbout: {
  8285. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8286. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.about.text') + '</span>',
  8287. TITLE: trS('tab.about.tip'),
  8288. STYLEO: 'float:' + dirRight + ';max-width:110px'
  8289. }
  8290. },
  8291. pCustom: {
  8292. CLASS: CL_PANEL,
  8293. _CLASS: 'form-label text',
  8294. _REVERSE: 1,
  8295. _ONCHANGE: onUpdateUI,
  8296. oTemplate1: {
  8297. TYPE: _THUI.TEXT,
  8298. TEXT: '&nbsp;' + trS('custom.template.text'),
  8299. TITLE: trS('custom.template.tip'),
  8300. PLACEHOLDER: trS('custom.template.example'),
  8301. CLASS: 'form-label text c1',
  8302. CLASSI: 'form-control',
  8303. AUTOSAVE: AS_CUSTOM1TEMPLATE
  8304. },
  8305. oRegExp1: {
  8306. TYPE: _THUI.TEXT,
  8307. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8308. TITLE: trS('custom.regexp.tip'),
  8309. PLACEHOLDER: trS('custom.regexp.example'),
  8310. CLASSI: 'form-control',
  8311. AUTOSAVE: AS_CUSTOM1REGEXP
  8312. },
  8313. oTemplate2: {
  8314. TYPE: _THUI.TEXT,
  8315. TEXT: '&nbsp;' + trS('custom.template.text'),
  8316. TITLE: trS('custom.template.tip'),
  8317. PLACEHOLDER: trS('custom.template.example'),
  8318. CLASS: 'form-label text c2',
  8319. CLASSI: 'form-control',
  8320. AUTOSAVE: AS_CUSTOM2TEMPLATE
  8321. },
  8322. oRegExp2: {
  8323. TYPE: _THUI.TEXT,
  8324. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8325. TITLE: trS('custom.regexp.tip'),
  8326. PLACEHOLDER: trS('custom.regexp.example'),
  8327. CLASSI: 'form-control',
  8328. AUTOSAVE: AS_CUSTOM2REGEXP
  8329. }
  8330. },
  8331. pScanner: {
  8332. NODISPLAY: 1,
  8333. CLASS: CL_PANEL,
  8334. _CLASS: 'checkbox',
  8335. _TYPE: _THUI.CHECKBOX,
  8336. _REVERSE: 1,
  8337. _ONCHANGE: onUpdateUI,
  8338. oSlowChecks: {TEXT: trS('scanner.slow.text'), TITLE: trS('scanner.slow.tip'), AUTOSAVE: AS_SLOWCHECKS},
  8339. oReportExt: {TEXT: trS('scanner.ext.text'), TITLE: trS('scanner.ext.tip'), AUTOSAVE: AS_REPORTEXT},
  8340. oHLReported: {TEXT: trS('scanner.highlight.text'), TITLE: trS('scanner.highlight.tip'), AUTOSAVE: AS_HLISSUES},
  8341. oSounds: {TEXT: trS('scanner.sounds.text'), TITLE: trS('scanner.sounds.tip'), NATITLE: trS('scanner.sounds.NA'), AUTOSAVE: AS_SOUNDS}
  8342. },
  8343. pAbout: {
  8344. CLASS: CL_PANEL,
  8345. NODISPLAY: 1,
  8346. TEXT: '<p><b>WME Validator</b>' +
  8347. '<br>Version ' + WV_VERSION + ' <a target="_blank" href="' + PFX_DISCUSS + DISCUSS_HOME + '">check for updates</a>' +
  8348. '<br>&copy; 2013-2018 Andriy Berestovskyy</p>' +
  8349. '<p><b>Built-in localization packs for:</b><br>' + listOfIntPacks + '<p><b>External localization packs for:</b><br>' + listOfPacks + '</p>' +
  8350. '<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>',
  8351. TITLE: trS('about.tip'),
  8352. STYLE: 'direction:ltr;text-align:center;white-space:normal'
  8353. },
  8354. pButtons: {
  8355. CLASS: CL_BUTTONS,
  8356. _CLASS: 'btn btn-default',
  8357. _TYPE: _THUI.BUTTON,
  8358. _ONCLICK: onUpdateUI,
  8359. 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'},
  8360. bList: {
  8361. NODISPLAY: 1,
  8362. TEXT: '<i class="fa fa-list" aria-hidden="true"></i> ' + trS('button.list.text'),
  8363. TITLE: trS('button.list.tip'),
  8364. STYLE: 'float:' + dirLeft + ';max-width:165px',
  8365. ONCLICK: onShowChecks
  8366. },
  8367. bWizard: {
  8368. NODISPLAY: 1,
  8369. TEXT: '<i class="fa fa-magic" aria-hidden="true"></i>',
  8370. TITLE: trS('button.wizard.tip'),
  8371. STYLE: 'float:' + dirLeft + ';margin-' + dirLeft + ':6px;width:38px',
  8372. ONCLICK: onCreatePack
  8373. },
  8374. 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'}
  8375. }
  8376. }
  8377. };
  8378. clearReport();
  8379. if (_RT.$topUser.$isCM) {
  8380. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 1;
  8381. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 0
  8382. } else {
  8383. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 0;
  8384. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 1
  8385. }
  8386. if (-1 !== _RT.$untranslatedLngs.indexOf(_RT.$lng.split('-')[0]))
  8387. _UI.pTranslateBanner.NODISPLAY = 0;
  8388. else
  8389. _UI.pTranslateBanner.NODISPLAY = 1;
  8390. if (!classCodeDefined(UW.AudioContext) && !classCodeDefined(UW.webkitAudioContext)) {
  8391. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  8392. _UI.pSettings.pScanner.oSounds.NA = true
  8393. }
  8394. resetDefaults();
  8395. var storageObj = null;
  8396. var s = null;
  8397. try {
  8398. s = window.localStorage.getItem(AS_NAME);
  8399. storageObj = s ? JSON.parse(s) : null;
  8400. if (!(AS_PASSWORD in storageObj)) storageObj = null
  8401. } catch (e) {
  8402. }
  8403. if (!storageObj || WV_LICENSE_VERSION !== storageObj[AS_LICENSE])
  8404. if (!confirm(WV_LICENSE)) {
  8405. _UI = {};
  8406. WLM.events.un({'afterloginchanged': onLogin, 'login': onLogin});
  8407. return
  8408. }
  8409. var showWhatsNew = false;
  8410. if (s && !storageObj) {
  8411. warning('\nDue to the major changes in Validator, all filter options\nand settings have been RESET to their DEFAULTS.');
  8412. showWhatsNew = true
  8413. }
  8414. if (storageObj && WV_VERSION !== storageObj[AS_VERSION]) showWhatsNew = true;
  8415. if (showWhatsNew) info(WV_WHATSNEW);
  8416. _THUI.loadValues(_UI, storageObj);
  8417. var styleMap = new OpenLayers.StyleMap({strokeWidth: HL_WIDTH});
  8418. var lookup = {};
  8419. lookup[RS_NOTE] = {strokeColor: GL_NOTECOLOR, graphicZIndex: 10};
  8420. lookup[RS_WARNING] = {strokeColor: GL_WARNINGCOLOR, graphicZIndex: 20};
  8421. lookup[RS_ERROR] = {strokeColor: GL_ERRORCOLOR, graphicZIndex: 30};
  8422. lookup[RS_CUSTOM2] = {strokeColor: GL_CUSTOM2COLOR, graphicZIndex: 40};
  8423. lookup[RS_CUSTOM1] = {strokeColor: GL_CUSTOM1COLOR, graphicZIndex: 50};
  8424. styleMap.addUniqueValueRules('default', 0, lookup);
  8425. _RT.$HLlayer = new OpenLayers.Layer.Vector(GL_LAYERNAME, {
  8426. uniqueName: GL_LAYERUNAME,
  8427. shortcutKey: GL_LAYERSHORTCUT,
  8428. accelerator: GL_LAYERACCEL,
  8429. units: 'm',
  8430. styleMap: styleMap,
  8431. projection: new OpenLayers.Projection('EPSG:4326'),
  8432. visibility: _UI.pSettings.pScanner.oHLReported.CHECKED
  8433. });
  8434. I18n.translations[I18n.currentLocale()].layers.name[GL_LAYERUNAME] = GL_LAYERNAME;
  8435. _RT.$HLlayer.setOpacity(HL_OPACITY);
  8436. WM.addLayer(_RT.$HLlayer);
  8437. _RT.$HLlayer.setVisibility(_UI.pSettings.pScanner.oHLReported.CHECKED);
  8438. WM.raiseLayer(_RT.$HLlayer, 99);
  8439. var tabLabel;
  8440. var tabPane;
  8441. var res = W.userscripts.registerSidebarTab('validator');
  8442. tabLabel = res.tabLabel;
  8443. tabPane = res.tabPane;
  8444. tabLabel.innerText = ' Validator';
  8445. await W.userscripts.waitForElementConnected(tabPane);
  8446. $(tabLabel.parentElement).prepend($('<span>', {class: 'fa fa-check-square-o'}));
  8447. _THUI.appendUI(tabPane, _UI, 'i' + ID_PREFIX);
  8448. async(F_UPDATEUI);
  8449. async(ForceHLAllObjects, null, 700);
  8450. WMo.events.on({'mergeend': onMergeEnd});
  8451. WM.events.on({'moveend': onMoveEnd, 'zoomend': delayForceHLAllObjects, 'changelayer': onChangeLayer});
  8452. WSM.addEventListener('selectionchanged', delayForceHLAllObjects);
  8453. WC.events.on({'loadstart': onLoadStart});
  8454. WMo.segments.on({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  8455. WMo.venues.on({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  8456. WMo.nodes.on({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved});
  8457. W.prefs.on({'change:isImperial': onChangeIsImperial})
  8458. };
  8459. function F_ONSEGMENTSCHANGED(e) {
  8460. var changedNodes = [];
  8461. for (var i = 0; i < e.length; i++) {
  8462. var nodeIDs = [e[i].attributes.fromNodeID, e[i].attributes.toNodeID];
  8463. for (var j = 0; j < nodeIDs.length; j++) {
  8464. var nodeID = nodeIDs[j];
  8465. if (!nodeID) continue;
  8466. var node = WMo.nodes.getObjectById(nodeID);
  8467. if (node) changedNodes.push(node)
  8468. }
  8469. }
  8470. if (changedNodes.length) sync(F_ONNODESCHANGED, changedNodes)
  8471. }
  8472. function F_ONNODESCHANGED(e) {
  8473. var reHL = false;
  8474. for (var i = 0; i < e.length; i++) {
  8475. var ids = e[i].attributes.segIDs;
  8476. for (var j = 0; j < ids.length; j++) _RT.$revalidate[ids[j]] = true, reHL = true
  8477. }
  8478. if (reHL) HLAllObjects()
  8479. }
  8480. function F_ONVENUESCHANGED(e) {
  8481. var reHL = false;
  8482. for (var i = e.length - 1; i >= 0; i--) {
  8483. var id = e[i].attributes.id;
  8484. _RT.$revalidate[id] = true;
  8485. reHL = true
  8486. }
  8487. if (reHL) HLAllObjects()
  8488. }
  8489. function F_ONCHANGELAYER(e) {
  8490. if (!e.hasOwnProperty('layer')) return;
  8491. if (-1 !== e.layer.id.indexOf(GL_TBPREFIX)) {
  8492. if (!e.layer.visibility)
  8493. for (var segmentID in WMo.segments.objects) {
  8494. if (!WMo.segments.objects.hasOwnProperty(segmentID)) continue;
  8495. delete WMo.segments.objects[segmentID][GL_TBCOLOR]
  8496. }
  8497. ForceHLAllObjects()
  8498. } else if (GL_LAYERUNAME === e.layer.uniqueName && e.layer.visibility !== _UI.pSettings.pScanner.oHLReported.CHECKED) {
  8499. _RT.$switchValidator = true;
  8500. async(F_UPDATEUI)
  8501. }
  8502. }
  8503. function F_ONMOVEEND() {
  8504. var c = WM.getCenter();
  8505. if (-1 === _RT.$WDmoveID && -1 === _RT.$WDloadID && c.equals(_RT.$nextCenter))
  8506. _RT.$WDmoveID = window.setTimeout(onMergeEnd, WD_SHORT);
  8507. else if (RTStateIs(ST_RUN) && !_RT.$firstStep && !c.equals(_RT.$nextCenter) && !c.equals(_RT.$startCenter)) {
  8508. _RT.$curMessage = {TEXT: trS('msg.autopaused.text'), TITLE: trS('msg.autopaused.tip')};
  8509. async(F_PAUSE)
  8510. }
  8511. _RT.$moveEndCenter = c
  8512. }
  8513. function F_ONLOADSTART() {
  8514. var c = WM.getCenter();
  8515. window.clearTimeout(_RT.$WDmoveID);
  8516. if (-1 === _RT.$WDloadID && c.equals(_RT.$nextCenter)) _RT.$WDloadID = window.setTimeout(onMergeEnd, WD_LONG);
  8517. _RT.$WDmoveID = -1
  8518. }
  8519. function F_LAYERSOFF() {
  8520. _RT.$HLlayer.destroyFeatures();
  8521. if (_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8522. WM.layers.forEach(function(el) {
  8523. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName) {
  8524. if (el.getVisibility())
  8525. _RT.$layersVisibility += 'T';
  8526. else
  8527. _RT.$layersVisibility += 'F';
  8528. el.setVisibility(false)
  8529. }
  8530. })
  8531. }
  8532. function F_LAYERSON() {
  8533. if (!_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8534. var j = 0;
  8535. WM.layers.forEach(function(el) {
  8536. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName)
  8537. if (_RT.$layersVisibility.length > j) {
  8538. el.setVisibility('T' === _RT.$layersVisibility.charAt(j));
  8539. j++
  8540. }
  8541. });
  8542. _RT.$layersVisibility = ''
  8543. }
  8544. function F_PAUSE() {
  8545. if (!RTStateIs(ST_RUN)) return;
  8546. beep(50, 'square');
  8547. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8548. setRTState(ST_PAUSE);
  8549. async(F_LAYERSON)
  8550. }
  8551. function F_STOP() {
  8552. if (!RTStateIs(ST_STOP)) {
  8553. beep(100, 'square');
  8554. if (_RT.$startCenter) {
  8555. WM.panTo(_RT.$startCenter);
  8556. WM.zoomTo(_RT.$startZoom)
  8557. }
  8558. if (!_REP.$maxSeverity) _RT.$curMessage = { TEXT: trS('msg.noissues.text'), TITLE: trS('msg.noissues.tip') }
  8559. }
  8560. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8561. setRTState(ST_STOP);
  8562. async(F_LAYERSON)
  8563. }
  8564. function F_ONMERGEEND() {
  8565. var c = WM.getCenter();
  8566. if (RTStateIs(ST_RUN) && _RT.$nextCenter && !c.equals(_RT.$nextCenter)) return;
  8567. var e = nW.map.getOLExtent();
  8568. var ew = e.getWidth();
  8569. var eh = e.getHeight();
  8570. var ew2 = ew / 2;
  8571. var eh2 = eh / 2;
  8572. var s = _RT.$startExtent;
  8573. if (!s) s = new UW.OpenLayers.Bounds;
  8574. var cx = c.lon;
  8575. var cy = c.lat;
  8576. var dir = Math.round(_RT.$direction / Math.abs(_RT.$direction));
  8577. var sw = s.getWidth();
  8578. var sh = s.getHeight();
  8579. var kxMax = Math.ceil(sw / (ew * SCAN_STEP / 100));
  8580. var stepX = sw / kxMax;
  8581. var kyMax = Math.ceil(sh / (eh * SCAN_STEP / 100));
  8582. var stepY = sh / kyMax;
  8583. if (RTStateIs(ST_CONTINUE)) {
  8584. if (_RT.$nextCenter) {
  8585. setRTState(ST_RUN);
  8586. WM.zoomTo(SCAN_ZOOM);
  8587. WM.panTo(_RT.$nextCenter);
  8588. clearWD();
  8589. return
  8590. }
  8591. async(F_ONRUN);
  8592. return
  8593. }
  8594. if (!RTStateIs(ST_RUN)) {
  8595. HLAllObjects();
  8596. return
  8597. }
  8598. async(F_UPDATEUI);
  8599. if (_RT.$firstStep) {
  8600. _RT.$firstStep = false;
  8601. var newX = s.left + ew2;
  8602. var newY = s.top - eh2;
  8603. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8604. WM.zoomTo(SCAN_ZOOM);
  8605. WM.panTo(_RT.$nextCenter);
  8606. clearWD();
  8607. return
  8608. }
  8609. sync(F_VALIDATE, false);
  8610. var deltaX = Number.MAX_VALUE;
  8611. var deltaY = Number.MAX_VALUE;
  8612. var kx = 0;
  8613. var ky = 0;
  8614. for (var i = 0;; i++) {
  8615. var x = s.left + ew2 + i * stepX;
  8616. var y = s.top - eh2 - i * stepY;
  8617. if (x > s.right && y < s.bottom) break;
  8618. var cd = Math.abs(x - cx);
  8619. if (cd < deltaX) deltaX = cd, kx = i;
  8620. cd = Math.abs(y - cy);
  8621. if (cd < deltaY) deltaY = cd, ky = i
  8622. }
  8623. updateTimer(ST_RUN);
  8624. var curStep = ky * kxMax + (0 < dir ? kx : kxMax - kx);
  8625. if (4 < curStep)
  8626. if (0 === curStep % 5) {
  8627. var maxStep = kyMax * kxMax;
  8628. var minETA = (maxStep / curStep - 1) * _RT.$timer.$secInRun / 60;
  8629. var strMsg = 1 > minETA ? trS('msg.scanning.text.soon') : trSO('msg.scanning.text', {'n': Math.round(minETA)});
  8630. _RT.$curMessage = { TEXT: strMsg, TITLE: trS('msg.scanning.tip') }
  8631. }
  8632. kx = kx + dir;
  8633. var newX = s.left + ew2 + kx * stepX;
  8634. 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)) {
  8635. newX = s.left + ew2 + (kx - dir) * stepX;
  8636. _RT.$direction = -_RT.$direction;
  8637. ky++
  8638. }
  8639. var newY = s.top - eh2 - ky * stepY;
  8640. if (newY < s.bottom || Math.abs(newY - s.bottom) < Math.abs(newY - eh2 - s.bottom)) {
  8641. if (!_REP.$isEditableFound && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) _RT.$reportEditableNotFound = true;
  8642. async(F_STOP);
  8643. return
  8644. }
  8645. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8646. WM.zoomTo(SCAN_ZOOM);
  8647. WM.panTo(_RT.$nextCenter);
  8648. clearWD()
  8649. }
  8650. function F_ONRUN() {
  8651. clearErrorFlag();
  8652. if (RTStateIs(ST_RUN)) return;
  8653. async(F_LAYERSOFF);
  8654. _RT.$curMessage = {TEXT: trS('msg.starting.text'), TITLE: trS('msg.starting.tip')};
  8655. setRTState(ST_RUN);
  8656. clearWD();
  8657. _RT.$direction = DIR_L2R;
  8658. _RT.$firstStep = true;
  8659. var e = nW.map.getOLExtent();
  8660. _RT.$startExtent = e;
  8661. _RT.$startCenter = WM.getCenter();
  8662. _RT.$startZoom = WM.getZoom();
  8663. _RT.$nextCenter = null;
  8664. _RT.$moveEndCenter = null;
  8665. _RT.$nextCenter = new UW.OpenLayers.LonLat(e.left, e.top);
  8666. WM.panTo(_RT.$nextCenter);
  8667. WM.zoomTo(SCAN_ZOOM)
  8668. }
  8669. function F_ONLOGIN() {
  8670. if (WLM.user) {
  8671. if (!_WV.$loggedIn) {
  8672. _WV.$loggedIn = true;
  8673. async(F_LOGIN)
  8674. }
  8675. } else if (_WV.$loggedIn) {
  8676. _WV.$loggedIn = false;
  8677. async(F_LOGOUT)
  8678. } else {
  8679. log('waiting for login...');
  8680. async(F_ONLOGIN, null, 1E3)
  8681. }
  8682. }
  8683. function F_INIT() {
  8684. UW = window;
  8685. nW = UW.W;
  8686. WLM = nW.loginManager;
  8687. WSM = nW.selectionManager;
  8688. WM = nW.map;
  8689. WMo = nW.model;
  8690. WC = nW.controller;
  8691. if (!nW || !WLM || !WLM.user || !WSM || !WM || !WMo || !WC || !$('#user-tabs')) {
  8692. log('waiting for WME...');
  8693. async(F_INIT, null, 1E3);
  8694. return
  8695. }
  8696. WM = nW.map.olMap;
  8697. if (classCodeDefined(UW.require)) {
  8698. R = UW.require;
  8699. WME_BETA = /beta/.test(location.href)
  8700. }
  8701. setupPolicy();
  8702. var _gaq = UW['_gaq'];
  8703. if (_gaq) {
  8704. _gaq.push(['WME_Validator._setAccount', 'UA-46853768-3']);
  8705. _gaq.push(['WME_Validator._setDomainName', 'waze.com']);
  8706. _gaq.push(['WME_Validator._trackPageview'])
  8707. }
  8708. _WV.$loggedIn = false;
  8709. WLM.events.on({'loginStatus': onLogin, 'login': onLogin});
  8710. async(F_ONLOGIN);
  8711. _WV.buildRegExp = function(checkID, options, strRegExp) {
  8712. try {
  8713. while (strRegExp && ' ' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8714. if (strRegExp) {
  8715. if ('D' === strRegExp.charAt(0)) {
  8716. strRegExp = strRegExp.substr(1);
  8717. options[CO_NUMBER] = 1
  8718. } else
  8719. options[CO_NUMBER] = 0;
  8720. if ('!' === strRegExp.charAt(0)) {
  8721. strRegExp = strRegExp.substr(1);
  8722. options[CO_BOOL] = true
  8723. } else
  8724. options[CO_BOOL] = false;
  8725. if ('/' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8726. var strRegExpOptions = '';
  8727. var arrMatch = strRegExp.match(/\/([igmy]*)$/);
  8728. if (arrMatch) {
  8729. strRegExpOptions = arrMatch[1];
  8730. strRegExp = strRegExp.slice(0, -arrMatch[0].length)
  8731. }
  8732. options[CO_REGEXP] = new RegExp(strRegExp, strRegExpOptions)
  8733. } else {
  8734. options[CO_BOOL] = false;
  8735. options[CO_NUMBER] = 0;
  8736. options[CO_REGEXP] = null
  8737. }
  8738. } catch (e) {
  8739. error(trSO('err.regexp', {'n': checkID}) + '\n\n' + e);
  8740. options[CO_BOOL] = false;
  8741. options[CO_NUMBER] = 0;
  8742. options[CO_REGEXP] = null
  8743. }
  8744. };
  8745. _WV.SimpleCITY = function(objID) {
  8746. this.$hash = 0;
  8747. this.$cityID = 0;
  8748. this.$city = '';
  8749. this.$state = '';
  8750. this.$countryID = 0;
  8751. this.$country = '';
  8752. if (objID) {
  8753. this.$cityID = objID;
  8754. var oc = WMo.cities.getObjectById(objID);
  8755. if (oc) {
  8756. this.$city = oc.attributes.isEmpty ? '' : oc.attributes.name;
  8757. var o = WMo.states.getObjectById(oc.attributes.stateID);
  8758. if (o) this.$state = o.attributes.name;
  8759. this.$countryID = oc.attributes.countryID;
  8760. o = WMo.countries.getObjectById(oc.attributes.countryID);
  8761. if (o) this.$country = o.attributes.name
  8762. }
  8763. this.$hash = this.$cityID + this.$countryID;
  8764. Object.defineProperties(this, {$hash: {writable: false}, $cityID: {writable: false}, $state: {writable: false}, $countryID: {writable: false}, $country: {writable: false}})
  8765. }
  8766. };
  8767. _WV.SimpleCITY.prototype.isOkFor = function(checkID) {
  8768. if (!_RT.$isGlobalAccess) return false;
  8769. var rep = _RT.$checks[checkID];
  8770. if (!rep.$cache) rep.$cache = {};
  8771. var cache = rep.$cache;
  8772. var forCity = rep.FORCITY;
  8773. var hash = forCity ? this.$hash : this.$countryID;
  8774. if (hash in cache) return cache[hash];
  8775. cache[hash] = false;
  8776. var forLevel = rep.FORLEVEL;
  8777. if (forLevel && forLevel > _RT.$topUser.$userLevel) return false;
  8778. if (forCity) {
  8779. var curCity = this.$city.toUpperCase();
  8780. if (!_WV.checkAccessFor(forCity, function(e) {
  8781. return e.toUpperCase() === curCity
  8782. }))
  8783. return false
  8784. }
  8785. var forUser = rep.FORUSER;
  8786. if (forUser) {
  8787. var curUser = _RT.$topUser.$userName.toUpperCase();
  8788. if (!_WV.checkAccessFor(forUser, function(e) {
  8789. return e.toUpperCase() === curUser
  8790. }))
  8791. return false
  8792. }
  8793. var forCountry = rep.FORCOUNTRY;
  8794. if (forCountry) {
  8795. var curCountry = this.$country.toUpperCase();
  8796. if (!_WV.checkAccessFor(forCountry, function(e) {
  8797. if (e in _I18n.$code2country) return _I18n.$code2country[e] === curCountry;
  8798. error('Please report: fc=' + e);
  8799. return false
  8800. }))
  8801. return false
  8802. }
  8803. cache[hash] = true;
  8804. return true
  8805. };
  8806. _WV.SimpleADDRESS = function(objID) {
  8807. this.$streetID = 0;
  8808. this.$street = '';
  8809. if (objID) {
  8810. this.$streetID = objID;
  8811. var o = WMo.streets.getObjectById(objID);
  8812. if (o)
  8813. if (o.hasOwnProperty('isEmpty')) {
  8814. this.$street = o.isEmpty ? '' : o.name;
  8815. _WV.SimpleCITY.call(this, o.cityID)
  8816. } else {
  8817. this.$street = o.attributes.isEmpty ? '' : o.attributes.name;
  8818. _WV.SimpleCITY.call(this, o.attributes.cityID)
  8819. }
  8820. else {
  8821. this.$street = GL_NOID;
  8822. _WV.SimpleCITY.call(this, 0)
  8823. }
  8824. }
  8825. Object.defineProperties(this, {$streetID: {writable: false}})
  8826. };
  8827. _WV.SimpleADDRESS.prototype = new _WV.SimpleCITY;
  8828. _WV.SimpleADDRESS.prototype.constructor = _WV.SimpleADDRESS
  8829. }
  8830. function F_ONWARNING(e) {
  8831. _THUI.viewToDoc(_UI);
  8832. var target = _THUI.getByDOM(_UI, e.target);
  8833. if (target && target.CHECKED && target.WARNING) warning(target.WARNING);
  8834. async(F_UPDATEUI)
  8835. }
  8836. function F_UPDATEUI(e) {
  8837. function destroyHLs() {
  8838. _RT.$HLedObjects = {};
  8839. _RT.$HLlayer.destroyFeatures()
  8840. }
  8841. function updateReportButtons() {
  8842. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) {
  8843. btns.bReport.CLASS = 'btn btn-default';
  8844. btns.bReport.DISABLED = true;
  8845. btns.bReportBB.DISABLED = true;
  8846. return
  8847. }
  8848. if (!_REP.$maxSeverity) {
  8849. btns.bReport.CLASS = 'btn btn-default';
  8850. btns.bReport.DISABLED = true;
  8851. btns.bReportBB.DISABLED = true
  8852. } else {
  8853. switch (_REP.$maxSeverity) {
  8854. case RS_NOTE:
  8855. btns.bReport.CLASS = 'btn btn-info';
  8856. break;
  8857. case RS_WARNING:
  8858. btns.bReport.CLASS = 'btn btn-warning';
  8859. break;
  8860. case RS_ERROR:
  8861. btns.bReport.CLASS = 'btn btn-danger';
  8862. break;
  8863. case RS_CUSTOM1:
  8864. btns.bReport.CLASS = 'btn btn-success';
  8865. break;
  8866. case RS_CUSTOM2:
  8867. btns.bReport.CLASS = 'btn btn-primary';
  8868. break
  8869. }
  8870. btns.bReport.DISABLED = false;
  8871. btns.bReportBB.DISABLED = false
  8872. }
  8873. if (15 < WM.getZoom()) {
  8874. btns.bScan.CLASS = 'btn btn-default';
  8875. btns.bScan.DISABLED = true;
  8876. btns.bScan.TITLE = trS('button.scan.tip.NA')
  8877. } else {
  8878. btns.bScan.CLASS = 'btn btn-success';
  8879. btns.bScan.DISABLED = false;
  8880. btns.bScan.TITLE = trS('button.scan.tip')
  8881. }
  8882. if (_REP.$isLimitPerCheck) {
  8883. btns.bClear.CLASS = 'btn btn-danger';
  8884. btns.bClear.TITLE = trS('button.clear.tip.red')
  8885. } else {
  8886. btns.bClear.CLASS = 'btn btn-default';
  8887. btns.bClear.TITLE = trS('button.clear.tip')
  8888. }
  8889. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  8890. _UI.pMain.pTabs.tMain.TEXT = '<i class="fa fa-check-square-o" aria-hidden="true"></i> ' +
  8891. 'Validator:';
  8892. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.off')
  8893. } else {
  8894. _UI.pMain.pTabs.tMain.TEXT = '<font color="#ccc"><i class="fa fa-power-off" aria-hidden="true"></i> ' +
  8895. 'Validator:</font>';
  8896. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.on')
  8897. }
  8898. _UI.pMain.pTabs.tMain.TITLE += '\nWME Validator Version ' + WV_VERSION
  8899. }
  8900. function getTopCity() {
  8901. var i = WMo.segments.topCityID;
  8902. if (i) return new _WV.SimpleCITY(i);
  8903. return new _WV.SimpleCITY(0)
  8904. }
  8905. _RT.$topCity = getTopCity();
  8906. if (_RT.$topCity.$country) _RT.$cachedTopCCode = _I18n.getCountryCode(_RT.$topCity.$country.toUpperCase());
  8907. _THUI.viewToDoc(_UI);
  8908. _RT.$isGlobalAccess = true;
  8909. if (!_RT.$topCity.isOkFor(0)) _RT.$isGlobalAccess = false;
  8910. if (!_RT.$isGlobalAccess) {
  8911. _UI.pMain.NODISPLAY = 1;
  8912. _UI.pSettings.NODISPLAY = 1;
  8913. _UI.pTips.NODISPLAY = 1;
  8914. _UI.pNoAccess.NODISPLAY = 0;
  8915. _THUI.docToView(_UI);
  8916. return
  8917. } else if (!_UI.pNoAccess.NODISPLAY) {
  8918. _UI.pMain.NODISPLAY = 0;
  8919. _UI.pTips.NODISPLAY = 0;
  8920. _UI.pNoAccess.NODISPLAY = 1
  8921. }
  8922. if (_RT.oReportToolbox.NA && null !== document.getElementById(_RT.oReportToolbox.FORID)) {
  8923. _RT.oReportToolbox.CHECKED = true;
  8924. _RT.oReportToolbox.NA = false;
  8925. clearReport();
  8926. async(ForceHLAllObjects, null, 1E3)
  8927. }
  8928. if (_RT.oReportWMECH.NA && null !== document.getElementById(_RT.oReportWMECH.FORID)) {
  8929. _RT.oReportWMECH.CHECKED = true;
  8930. _RT.oReportWMECH.NA = false;
  8931. clearReport();
  8932. async(ForceHLAllObjects, null, 1E3)
  8933. }
  8934. var customOptions = _RT.$checks[128].OPTIONS[_I18n.$defLng];
  8935. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate1.VALUE || _RT.$RegExp1 !== _UI.pSettings.pCustom.oRegExp1.VALUE) {
  8936. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate1.VALUE;
  8937. if (customOptions[CO_STRING]) {
  8938. clearErrorFlag();
  8939. _RT.$RegExp1 = _UI.pSettings.pCustom.oRegExp1.VALUE;
  8940. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp1.VALUE)
  8941. } else
  8942. customOptions[CO_REGEXP] = null
  8943. }
  8944. customOptions = _RT.$checks[129].OPTIONS[_I18n.$defLng];
  8945. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate2.VALUE || _RT.$RegExp2 !== _UI.pSettings.pCustom.oRegExp2.VALUE) {
  8946. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate2.VALUE;
  8947. if (customOptions[CO_STRING]) {
  8948. clearErrorFlag();
  8949. _RT.$RegExp2 = _UI.pSettings.pCustom.oRegExp2.VALUE;
  8950. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp2.VALUE)
  8951. } else
  8952. customOptions[CO_REGEXP] = null
  8953. }
  8954. if (_RT.$checks[128].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8955. _RT.$curMaxSeverity = RS_CUSTOM1;
  8956. else if (_RT.$checks[129].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8957. _RT.$curMaxSeverity = RS_CUSTOM2;
  8958. else
  8959. _RT.$curMaxSeverity = RS_ERROR;
  8960. if (e) {
  8961. switch (_THUI.getByDOM(_UI, e.target)) {
  8962. case _UI.pMain.pTabs.tMain:
  8963. _RT.$switchValidator = true;
  8964. break;
  8965. case _UI.pSettings.pCustom.oTemplate1:
  8966. case _UI.pSettings.pCustom.oRegExp1:
  8967. case _UI.pSettings.pCustom.oTemplate2:
  8968. case _UI.pSettings.pCustom.oRegExp2:
  8969. _RT.$isMapChanged = true;
  8970. clearReport();
  8971. async(ForceHLAllObjects);
  8972. break;
  8973. case _UI.pMain.pFilter.oEnablePlaces:
  8974. case _UI.pMain.pFilter.oExcludeNonEditables:
  8975. case _UI.pMain.pFilter.oExcludeDuplicates:
  8976. case _UI.pMain.pFilter.oExcludeStreets:
  8977. case _UI.pMain.pFilter.oExcludeOther:
  8978. case _UI.pMain.pFilter.oExcludeNotes:
  8979. case _UI.pMain.pSearch.oIncludeYourEdits:
  8980. case _UI.pMain.pSearch.oIncludeUpdatedBy:
  8981. case _UI.pMain.pSearch.oIncludeUpdatedSince:
  8982. case _UI.pMain.pSearch.oIncludeCityName:
  8983. case _UI.pMain.pSearch.oIncludeChecks:
  8984. _RT.$includeUpdatedByCache = {};
  8985. _RT.$includeUpdatedSinceTime = 0;
  8986. _RT.$includeCityNameCache = {};
  8987. _RT.$includeChecksCache = {};
  8988. async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8989. async(ForceHLAllObjects);
  8990. break;
  8991. case _UI.pMain.pButtons.bScan:
  8992. async(F_ONRUN);
  8993. break;
  8994. case _UI.pMain.pButtons.bStop:
  8995. async(F_STOP);
  8996. break;
  8997. case _UI.pMain.pButtons.bClear:
  8998. _RT.$isMapChanged = true;
  8999. clearErrorFlag();
  9000. clearReport();
  9001. destroyHLs();
  9002. break;
  9003. case _UI.pMain.pButtons.bPause:
  9004. _RT.$curMessage = {TEXT: trS('msg.paused.text'), TITLE: trS('msg.paused.tip')};
  9005. async(F_PAUSE);
  9006. break;
  9007. case _UI.pMain.pButtons.bContinue:
  9008. clearErrorFlag();
  9009. if (!RTStateIs(ST_PAUSE)) break;
  9010. if (LIMIT_TOTAL < _REP.$counterTotal) clearReport();
  9011. async(F_LAYERSOFF);
  9012. _RT.$curMessage = {TEXT: trS('msg.continuing.text'), TITLE: trS('msg.continuing.tip')};
  9013. setRTState(ST_CONTINUE);
  9014. if (_RT.$startCenter) {
  9015. WM.zoomTo(_RT.$startZoom);
  9016. WM.panTo(_RT.$startCenter)
  9017. }
  9018. clearWD();
  9019. break;
  9020. case _UI.pMain.pButtons.bSettings:
  9021. _UI.pMain.NODISPLAY = true;
  9022. _UI.pSettings.NODISPLAY = false;
  9023. _RT.$curMessage = {TEXT: trS('msg.settings.text'), TITLE: trS('msg.settings.tip')};
  9024. break;
  9025. case _UI.pSettings.pButtons.bReset:
  9026. resetDefaults();
  9027. _RT.$curMessage = {TEXT: trS('msg.reset.text'), TITLE: trS('msg.reset.tip')};
  9028. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  9029. async(ForceHLAllObjects);
  9030. break;
  9031. case _UI.pSettings.pButtons.bBack:
  9032. _UI.pMain.NODISPLAY = false;
  9033. _UI.pSettings.NODISPLAY = true;
  9034. break;
  9035. case _UI.pSettings.pScanner.oHLReported:
  9036. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  9037. _RT.$switchValidator = true;
  9038. break
  9039. }
  9040. async(F_ONWARNING, e)
  9041. }
  9042. if (_RT.$switchValidator) {
  9043. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  9044. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  9045. ForceHLAllObjects();
  9046. _RT.$HLlayer.setVisibility(true)
  9047. } else {
  9048. ForceHLAllObjects();
  9049. destroyHLs();
  9050. _RT.$HLlayer.setVisibility(false)
  9051. }
  9052. _RT.$switchValidator = false
  9053. }
  9054. if (_RT.$reportEditableNotFound) {
  9055. _RT.$reportEditableNotFound = false;
  9056. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = false;
  9057. info(trS('filter.noneditables.reverted'))
  9058. }
  9059. _UI.pMain.pHelp.NODISPLAY = !_UI.pMain.pTabs.tHelp.CHECKED;
  9060. _UI.pMain.pFilter.NODISPLAY = !_UI.pMain.pTabs.tFilter.CHECKED;
  9061. _UI.pMain.pSearch.NODISPLAY = !_UI.pMain.pTabs.tSearch.CHECKED;
  9062. _UI.pSettings.pScanner.NODISPLAY = !_UI.pSettings.pTabs.tScanner.CHECKED;
  9063. _UI.pSettings.pCustom.NODISPLAY = !_UI.pSettings.pTabs.tCustom.CHECKED;
  9064. _UI.pSettings.pAbout.NODISPLAY = !_UI.pSettings.pTabs.tAbout.CHECKED;
  9065. if (_UI.pSettings.pTabs.tAbout.CHECKED) {
  9066. _UI.pSettings.pButtons.bReset.NODISPLAY = 1;
  9067. _UI.pSettings.pButtons.bList.NODISPLAY = 0;
  9068. _UI.pSettings.pButtons.bWizard.NODISPLAY = 0
  9069. } else {
  9070. _UI.pSettings.pButtons.bReset.NODISPLAY = 0;
  9071. _UI.pSettings.pButtons.bList.NODISPLAY = 1;
  9072. _UI.pSettings.pButtons.bWizard.NODISPLAY = 1
  9073. }
  9074. var btns = _UI.pMain.pButtons;
  9075. switch (getRTState()) {
  9076. case ST_CONTINUE:
  9077. case ST_RUN:
  9078. btns.bScan.NODISPLAY = true;
  9079. btns.bPause.NODISPLAY = false;
  9080. btns.bContinue.NODISPLAY = true;
  9081. btns.bStop.NODISPLAY = false;
  9082. btns.bClear.NODISPLAY = true;
  9083. updateReportButtons();
  9084. btns.bSettings.DISABLED = true;
  9085. _UI.pMain.pFilter._DISABLED = true;
  9086. _UI.pMain.pSearch._DISABLED = true;
  9087. break;
  9088. case ST_STOP:
  9089. btns.bScan.NODISPLAY = false;
  9090. btns.bPause.NODISPLAY = true;
  9091. btns.bContinue.NODISPLAY = true;
  9092. btns.bStop.NODISPLAY = true;
  9093. btns.bClear.NODISPLAY = false;
  9094. if (isEmpty(_RT.$seen))
  9095. btns.bClear.DISABLED = true;
  9096. else
  9097. btns.bClear.DISABLED = false;
  9098. updateReportButtons();
  9099. if (_REP.$maxSeverity && !_UI.pMain.NODISPLAY) _RT.$curMessage = {TEXT: trS('msg.finished.text'), TITLE: trS('msg.finished.tip'), CLASS: CL_MSGY};
  9100. btns.bSettings.DISABLED = false;
  9101. _UI.pMain.pFilter._DISABLED = false;
  9102. _UI.pMain.pSearch._DISABLED = false;
  9103. break;
  9104. case ST_PAUSE:
  9105. btns.bScan.NODISPLAY = true;
  9106. btns.bPause.NODISPLAY = true;
  9107. btns.bContinue.NODISPLAY = false;
  9108. btns.bContinue.DISABLED = false;
  9109. btns.bStop.NODISPLAY = false;
  9110. btns.bClear.NODISPLAY = true;
  9111. updateReportButtons();
  9112. btns.bSettings.DISABLED = false;
  9113. _UI.pMain.pFilter._DISABLED = false;
  9114. _UI.pMain.pSearch._DISABLED = false;
  9115. break
  9116. }
  9117. if (RTStateIs(ST_STOP) && !_REP.$maxSeverity)
  9118. if (!_UI.pMain.NODISPLAY)
  9119. if (15 < WM.getZoom())
  9120. _RT.$curMessage = {TEXT: _UI.pSettings.pScanner.oHLReported.CHECKED ? trS('msg.pan.text') : trS('msg.zoomout.text'), TITLE: '', CLASS: CL_MSGY};
  9121. else
  9122. _RT.$curMessage = {TEXT: trS('msg.click.text'), TITLE: '', CLASS: CL_MSGY};
  9123. _UI.pTips.TEXT = _RT.$curMessage.TEXT;
  9124. if (_RT.$curMessage.TITLE)
  9125. _UI.pTips.TITLE = _RT.$curMessage.TITLE;
  9126. else
  9127. _UI.pTips.TITLE = '';
  9128. if (_RT.$curMessage.CLASS)
  9129. _UI.pTips.CLASS = _RT.$curMessage.CLASS;
  9130. else
  9131. _UI.pTips.CLASS = CL_MSG;
  9132. var storageObj = _THUI.saveValues(_UI);
  9133. storageObj[AS_VERSION] = WV_VERSION;
  9134. storageObj[AS_LICENSE] = WV_LICENSE_VERSION;
  9135. storageObj[AS_PASSWORD] = 1;
  9136. try {
  9137. window.localStorage.setItem(AS_NAME, JSON.stringify(storageObj))
  9138. } catch (err) {
  9139. }
  9140. _THUI.docToView(_UI)
  9141. }
  9142. function F_LOGOUT() {
  9143. log('logout');
  9144. _UI = {};
  9145. WMo.events.un({'mergeend': onMergeEnd});
  9146. WM.events.un({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  9147. WSM.removeEventListener('selectionchanged', delayForceHLAllObjects);
  9148. WC.events.un({'loadstart': onLoadStart});
  9149. WMo.segments.events.un({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  9150. WMo.venues.events.un({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  9151. WMo.nodes.events.un({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved})
  9152. }
  9153. async(F_INIT, null, 0);
  9154. var _I18n = {
  9155. $defLng: 'EN',
  9156. $lng: '',
  9157. $translations: null,
  9158. $curSet: null,
  9159. $curCode: '',
  9160. $fallbackSet: null,
  9161. $fallbackCode: '',
  9162. $defSet: null,
  9163. $country2code: null,
  9164. $code2country: null,
  9165. $code2code: null,
  9166. $lng2code: null,
  9167. $code2dir: null
  9168. };
  9169. _I18n.init = function(options) {
  9170. _I18n.$lng = options.$lng || _I18n.$defLng;
  9171. _I18n.$translations = options.$translations || {};
  9172. _I18n.$country2code = options.$country2code || {};
  9173. _I18n.$code2country = options.$code2country || {};
  9174. _I18n.$code2code = options.$code2code || {};
  9175. _I18n.$lng2code = options.$lng2code || {};
  9176. _I18n.$code2dir = options.$code2dir || {}
  9177. };
  9178. _I18n.addTranslation = function(translation) {
  9179. var ccode = translation['.codeISO'];
  9180. if (!ccode) return;
  9181. ccode = ccode.toUpperCase();
  9182. _I18n.$translations[ccode] = translation;
  9183. if (_I18n.$defLng !== ccode) {
  9184. var country = translation['.country'];
  9185. if (country) {
  9186. if (!classCodeIs(country, CC_ARRAY)) country = [country];
  9187. for (var i = 0; i < country.length; i++) {
  9188. var ucountry = country[i].toUpperCase();
  9189. _I18n.$country2code[ucountry] = ccode;
  9190. if (!(ccode in _I18n.$code2country)) _I18n.$code2country[ccode] = ucountry
  9191. }
  9192. }
  9193. var lng = translation['.lng'];
  9194. if (lng) {
  9195. if (!classCodeIs(lng, CC_ARRAY)) lng = [lng];
  9196. for (var i = 0; i < lng.length; i++) {
  9197. var ulng = lng[i].toUpperCase();
  9198. _I18n.$lng2code[ulng] = ccode
  9199. }
  9200. }
  9201. var dir = translation['.dir'];
  9202. if (dir) _I18n.$code2dir[ccode] = dir.toLowerCase();
  9203. var fcode = translation['.fallbackCode'];
  9204. if (fcode) {
  9205. fcode = fcode.toUpperCase();
  9206. if (_I18n.$defLng !== fcode) _I18n.$code2code[ccode] = fcode
  9207. }
  9208. }
  9209. _I18n.$curCode = _I18n.getCodeOL(_I18n.$translations, _I18n.$lng);
  9210. _I18n.$curSet = _I18n.getValueOC(_I18n.$translations, _I18n.$curCode);
  9211. _I18n.$fallbackCode = _I18n.getFallbackCodeOC(_I18n.$translations, _I18n.$curCode);
  9212. _I18n.$fallbackSet = _I18n.getValueOC(_I18n.$translations, _I18n.$fallbackCode);
  9213. _I18n.$defSet = _I18n.$translations[_I18n.$defLng]
  9214. };
  9215. _I18n.getDependantCodes = function(uc) {
  9216. var ret = [];
  9217. for (var depCode in _I18n.$code2code)
  9218. if (_I18n.$code2code[depCode] === uc) ret.push(depCode);
  9219. return ret
  9220. };
  9221. _I18n.getCountryCode = function(uc) {
  9222. if (uc in _I18n.$country2code) return _I18n.$country2code[uc];
  9223. return ''
  9224. };
  9225. _I18n.getCountry = function(ucc) {
  9226. if (ucc in _I18n.$code2country) return _I18n.$code2country[ucc];
  9227. return ''
  9228. };
  9229. _I18n.getCapitalizedCountry = function(ucc) {
  9230. return _I18n.capitalize(_I18n.getCountry(ucc)).toLowerCase().replace(/\b./g, function(c) {
  9231. return c.toUpperCase()
  9232. })
  9233. };
  9234. _I18n.capitalize = function(str) {
  9235. return str.toLowerCase().replace(/\b./g, function(c) {
  9236. return c.toUpperCase()
  9237. })
  9238. };
  9239. _I18n.getDir = function() {
  9240. if (_I18n.$curCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$curCode];
  9241. if (_I18n.$fallbackCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$fallbackCode];
  9242. return 'ltr'
  9243. };
  9244. _I18n.getString = function(label) {
  9245. if (label in _I18n.$curSet) return _I18n.$curSet[label];
  9246. if (label in _I18n.$fallbackSet) return _I18n.$fallbackSet[label];
  9247. if (label in _I18n.$defSet) return _I18n.$defSet[label];
  9248. var ret = '[missing ' + label + ']';
  9249. return ret
  9250. };
  9251. _I18n.isLabelExist = function(label) {
  9252. if (label in _I18n.$curSet) return true;
  9253. if (label in _I18n.$fallbackSet) return true;
  9254. if (label in _I18n.$defSet) return true;
  9255. return false
  9256. };
  9257. _I18n.getCodeOL = function(obj, lng) {
  9258. var ccode = _I18n.$lng2code[lng];
  9259. if (ccode)
  9260. if (ccode in obj)
  9261. return ccode;
  9262. else
  9263. return _I18n.getFallbackCodeOC(obj, ccode);
  9264. else
  9265. return _I18n.$defLng
  9266. };
  9267. _I18n.getFallbackCodeOC = function(obj, ccode) {
  9268. var fcode = _I18n.$code2code[ccode];
  9269. if (fcode && fcode in obj) return fcode;
  9270. return _I18n.$defLng
  9271. };
  9272. _I18n.getValueOL = function(obj, lng) {
  9273. return _I18n.getValueOC(obj, _I18n.getCodeOL(obj, lng))
  9274. };
  9275. _I18n.getValueOC = function(obj, ccode) {
  9276. if (ccode in obj)
  9277. return obj[ccode];
  9278. else if (ccode in _I18n.$code2code) {
  9279. var fcode = _I18n.$code2code[ccode];
  9280. if (fcode in obj) return obj[fcode]
  9281. }
  9282. return obj[_I18n.$defLng]
  9283. };
  9284. _I18n.expandSO = function(str, options) {
  9285. if (!options) return str;
  9286. return str.replace(/\$\{(\w+)(\[(\d+)\]|\[(\W*)\])?\}/g, function(all, name, arr, idx, delims) {
  9287. if (arr) {
  9288. if (idx) return options[name][idx] || '';
  9289. return options[name].join(delims)
  9290. } else
  9291. return options[name]
  9292. })
  9293. };
  9294. _I18n.t = function(obj, ccode, options) {
  9295. return _I18n.expandSO(_I18n.getValueOC(obj, ccode), options)
  9296. };
  9297. _I18n.tL = function(obj, options) {
  9298. return _I18n.expandSO(_I18n.getValueOL(obj, _I18n.$lng), options)
  9299. };
  9300. var _AUDIO = {};
  9301. _AUDIO.beep = function(dur, oscType) {
  9302. try {
  9303. _AUDIO._context = new (window.AudioContext || window.webkitAudioContext);
  9304. var osc = _AUDIO._context.createOscillator();
  9305. osc.connect(_AUDIO._context.destination);
  9306. osc.type = oscType || 'sine';
  9307. osc.start(0);
  9308. setTimeout(function() {
  9309. osc.stop(0)
  9310. }, dur)
  9311. } catch (e) {
  9312. log('beep!')
  9313. }
  9314. };
  9315. _THUI.$def = {
  9316. _class: '',
  9317. _disclose: 0,
  9318. _name: '',
  9319. _nodisplay: 0,
  9320. _disabled: 0,
  9321. _reverse: 0,
  9322. _style: '',
  9323. _type: '',
  9324. _onclick: null,
  9325. _onwarning: null,
  9326. _onchange: null
  9327. };
  9328. _THUI.loadValues = function(uiObj, storageObj) {
  9329. if (!storageObj) return;
  9330. if (uiObj.AUTOSAVE && uiObj.AUTOSAVE in storageObj) {
  9331. switch (uiObj.TYPE) {
  9332. case _THUI.TEXT:
  9333. case _THUI.DATE:
  9334. uiObj.VALUE = storageObj[uiObj.AUTOSAVE];
  9335. break;
  9336. default:
  9337. uiObj.CHECKED = storageObj[uiObj.AUTOSAVE];
  9338. break
  9339. }
  9340. return
  9341. }
  9342. for (var i in uiObj) {
  9343. if (!uiObj.hasOwnProperty(i)) continue;
  9344. var o = uiObj[i];
  9345. switch (classCode(o)) {
  9346. case CC_OBJECT:
  9347. _THUI.loadValues(o, storageObj);
  9348. break;
  9349. case CC_ARRAY:
  9350. for (var j = 0; j < o.length; j++) _THUI.loadValues(o[j], storageObj);
  9351. break
  9352. }
  9353. }
  9354. };
  9355. _THUI.saveValues = function(uiObj, storageObj) {
  9356. if (!storageObj) storageObj = {};
  9357. if (uiObj.AUTOSAVE) {
  9358. switch (uiObj.TYPE) {
  9359. case _THUI.TEXT:
  9360. case _THUI.DATE:
  9361. storageObj[uiObj.AUTOSAVE] = uiObj.VALUE;
  9362. break;
  9363. default:
  9364. storageObj[uiObj.AUTOSAVE] = uiObj.CHECKED;
  9365. break
  9366. }
  9367. return storageObj
  9368. }
  9369. for (var i in uiObj) {
  9370. if (!uiObj.hasOwnProperty(i)) continue;
  9371. var o = uiObj[i];
  9372. switch (classCode(o)) {
  9373. case CC_OBJECT:
  9374. _THUI.saveValues(o, storageObj);
  9375. break;
  9376. case CC_ARRAY:
  9377. for (var j = 0; j < o.length; j++) _THUI.saveValues(o[j], storageObj);
  9378. break
  9379. }
  9380. }
  9381. return storageObj
  9382. };
  9383. _THUI.storage = {
  9384. get: function(name) {
  9385. try {
  9386. var s = window.localStorage.getItem(name);
  9387. return s ? JSON.parse(s) : null
  9388. } catch (e) {
  9389. return null
  9390. }
  9391. },
  9392. set: function(name, obj) {
  9393. try {
  9394. var s = JSON.stringify(obj);
  9395. window.localStorage.setItem(name, s);
  9396. return true
  9397. } catch (e) {
  9398. return false
  9399. }
  9400. }
  9401. };
  9402. _THUI.addElemetClassStyle = function(elem, cl, newStyle) {
  9403. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9404. return _THUI.addStyle(elem + '.' + cl + newStyle)
  9405. };
  9406. _THUI.addElemetIdStyle = function(elem, id, newStyle) {
  9407. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9408. return _THUI.addStyle(elem + '#' + id + newStyle)
  9409. };
  9410. _THUI.addStyle = function(newStyle) {
  9411. for (var i = 0; i < 10; i++) {
  9412. var sheet = document.styleSheets[i];
  9413. try {
  9414. if ('cssRules' in sheet) return sheet.insertRule(newStyle, sheet.cssRules.length)
  9415. } catch (e) {
  9416. }
  9417. }
  9418. };
  9419. _THUI.getByDOM = function(uiObj, elem) {
  9420. if (uiObj.IDOM == elem || uiObj.ODOM == elem) return uiObj;
  9421. var ret = null;
  9422. for (var i in uiObj) {
  9423. if (!uiObj.hasOwnProperty(i)) continue;
  9424. var o = uiObj[i];
  9425. switch (classCode(o)) {
  9426. case CC_OBJECT:
  9427. if (ret = _THUI.getByDOM(o, elem)) return ret;
  9428. break;
  9429. case CC_ARRAY:
  9430. for (var j = 0; j < o.length; j++)
  9431. if (ret = _THUI.getByDOM(o[j], elem)) return ret;
  9432. break
  9433. }
  9434. }
  9435. return null
  9436. };
  9437. _THUI.getById = function(uiObj, id) {
  9438. if (uiObj.ID && uiObj.ID == id) return uiObj;
  9439. var ret = null;
  9440. for (var i in uiObj) {
  9441. if (!uiObj.hasOwnProperty(i)) continue;
  9442. var o = uiObj[i];
  9443. switch (classCode(o)) {
  9444. case CC_OBJECT:
  9445. if (ret = _THUI.getById(o, id)) return ret;
  9446. break;
  9447. case CC_ARRAY:
  9448. for (var j = 0; j < o.length; j++)
  9449. if (ret = _THUI.getById(o[j], id)) return ret;
  9450. break
  9451. }
  9452. }
  9453. return null
  9454. };
  9455. _THUI.docToView = function(uiObj) {
  9456. _THUI.appendUI(null, uiObj)
  9457. };
  9458. _THUI.viewToDoc = function(uiObj) {
  9459. if (uiObj.IDOM) {
  9460. if (classCodeDefined(uiObj.IDOM.value)) {
  9461. var val = uiObj.IDOM.value;
  9462. if (classCodeDefined(uiObj.MAX) && val > uiObj.MAX) val = uiObj.MAX;
  9463. if (classCodeDefined(uiObj.MIN) && val < uiObj.MIN) val = uiObj.MIN;
  9464. uiObj.VALUE = val
  9465. }
  9466. if (classCodeDefined(uiObj.IDOM.checked)) uiObj.CHECKED = uiObj.IDOM.checked
  9467. }
  9468. for (var i in uiObj) {
  9469. if (!uiObj.hasOwnProperty(i)) continue;
  9470. var o = uiObj[i];
  9471. switch (classCode(o)) {
  9472. case CC_OBJECT:
  9473. _THUI.viewToDoc(o);
  9474. break;
  9475. case CC_ARRAY:
  9476. o.forEach(_THUI.viewToDoc);
  9477. break
  9478. }
  9479. }
  9480. };
  9481. _THUI.appendUI = function(parent, uiObj, uiPrefix, uiName) {
  9482. uiPrefix = uiPrefix || '';
  9483. uiName = uiName || '';
  9484. var id = uiObj.ID;
  9485. if (!classCodeDefined(id)) id = '';
  9486. var NA = uiObj.NA || false;
  9487. var NAti = uiObj.NATITLE || '';
  9488. var ch = uiObj.CHECKED || false;
  9489. var cl = classCodeDefined(uiObj.CLASS) ? uiObj.CLASS : _THUI.$def._class;
  9490. var cli = uiObj.CLASSI;
  9491. var _cl = uiObj._CLASS;
  9492. var va = uiObj.VALUE;
  9493. var disc = classCodeDefined(uiObj.DISCLOSE) ? uiObj.DISCLOSE : _THUI.$def._disclose;
  9494. var _disc = uiObj._DISCLOSE;
  9495. var di = NA ? NA : classCodeDefined(uiObj.DISABLED) ? uiObj.DISABLED : _THUI.$def._disabled;
  9496. var _di = uiObj._DISABLED;
  9497. var no = classCodeDefined(uiObj.NODISPLAY) ? uiObj.NODISPLAY : _THUI.$def._nodisplay;
  9498. var _no = uiObj._NODISPLAY;
  9499. var ma = uiObj.MAX;
  9500. var mal = uiObj.MAXLENGTH;
  9501. var plh = uiObj.PLACEHOLDER;
  9502. var mi = uiObj.MIN;
  9503. var name = classCodeDefined(uiObj.NAME) ? uiObj.NAME : _THUI.$def._name;
  9504. var _name = uiObj._NAME;
  9505. var ro = uiObj.READONLY || false;
  9506. var re = classCodeDefined(uiObj.REVERSE) ? uiObj.REVERSE : _THUI.$def._reverse;
  9507. var _re = uiObj._REVERSE;
  9508. var step = uiObj.STEP;
  9509. var st = classCodeDefined(uiObj.STYLE) ? uiObj.STYLE : _THUI.$def._style;
  9510. var _st = uiObj._STYLE;
  9511. var sti = classCodeDefined(uiObj.STYLEI) ? uiObj.STYLEI : '';
  9512. var sto = classCodeDefined(uiObj.STYLEO) ? uiObj.STYLEO : '';
  9513. var te = uiObj.TEXT || '';
  9514. var ti = NA ? NAti ? NAti : 'Not available' : uiObj.TITLE;
  9515. var ty = classCodeDefined(uiObj.TYPE) ? uiObj.TYPE : _THUI.$def._type;
  9516. var _ty = uiObj._TYPE;
  9517. var accK = uiObj.ACCESSKEY || '';
  9518. var oncl = uiObj.ONCLICK || _THUI.$def._onclick;
  9519. var onclo = uiObj.ONCLICKO;
  9520. var _oncl = uiObj._ONCLICK;
  9521. var onwa = uiObj.ONWARNING || _THUI.$def._onwarning;
  9522. var _onwa = uiObj._ONWARNING;
  9523. var onch = uiObj.ONCHANGE || _THUI.$def._onchange;
  9524. var _onch = uiObj._ONCHANGE;
  9525. var els = [];
  9526. var iel = document.createElement('input');
  9527. var oel = document.createElement('label');
  9528. var ote = te;
  9529. if (classCodeIs(uiPrefix, CC_NUMBER)) uiPrefix = 'p' + uiPrefix;
  9530. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9531. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9532. if (classCodeIs(cli, CC_NUMBER)) cli = 'c' + cli;
  9533. if (classCodeIs(name, CC_NUMBER)) name = 'n' + name;
  9534. switch (ty) {
  9535. case _THUI.NONE:
  9536. iel = oel = null;
  9537. ote = '';
  9538. break;
  9539. case _THUI.NUMBER:
  9540. iel.type = 'number';
  9541. break;
  9542. case _THUI.RADIO:
  9543. if (disc && !id) id = uiPrefix + uiName + 'i';
  9544. if (!name) name = uiPrefix + 'n';
  9545. iel.type = 'radio';
  9546. if (disc) oel.htmlFor = id;
  9547. break;
  9548. case _THUI.CHECKBOX:
  9549. if (disc && !id) id = uiPrefix + uiName + 'i';
  9550. iel.type = 'checkbox';
  9551. if (disc) oel.htmlFor = id;
  9552. break;
  9553. case _THUI.BUTTON:
  9554. iel = document.createElement('button');
  9555. if (te) iel.innerHTML = createSafeHtml(te);
  9556. oel = null;
  9557. ote = '';
  9558. break;
  9559. case _THUI.TEXT:
  9560. iel.type = 'text';
  9561. break;
  9562. case _THUI.PASSWORD:
  9563. iel.type = 'password';
  9564. break;
  9565. case _THUI.DATE:
  9566. iel.type = 'date';
  9567. break;
  9568. default:
  9569. iel = null;
  9570. oel = document.createElement('div');
  9571. break
  9572. }
  9573. if (oel && iel && !disc)
  9574. if (re)
  9575. oel.appendChild(iel);
  9576. else
  9577. oel.insertBefore(iel, oel.firstChild);
  9578. if (classCodeDefined(uiObj.ODOM)) oel = uiObj.ODOM;
  9579. if (classCodeDefined(uiObj.IDOM)) iel = uiObj.IDOM;
  9580. if (ote) {
  9581. var spanEl = document.createElement('span');
  9582. spanEl.innerHTML = createSafeHtml(ote);
  9583. spanEl.style.pointerEvents = 'none';
  9584. var oldSpans = oel.getElementsByTagName('span');
  9585. var bInserted = false;
  9586. for (var i = 0; i < oldSpans.length; i++) oel.removeChild(oldSpans[i]);
  9587. oel.insertBefore(spanEl, oel.firstChild)
  9588. }
  9589. if (oel && iel)
  9590. if (disc)
  9591. if (re)
  9592. els.push(oel, iel);
  9593. else
  9594. els.push(iel, oel);
  9595. else
  9596. els.push(oel);
  9597. else {
  9598. if (oel) els.push(oel);
  9599. if (iel) els.push(iel)
  9600. }
  9601. if (id) {
  9602. if (iel)
  9603. iel.id = id;
  9604. else if (oel)
  9605. oel.id = id;
  9606. uiObj.ID = id
  9607. }
  9608. if (name) uiObj.NAME = name;
  9609. if (iel) {
  9610. if (cli) iel.className = cli;
  9611. if (accK) iel.accessKey = accK;
  9612. if (classCodeDefined(ch)) iel.checked = ch;
  9613. iel.disabled = di;
  9614. if (classCodeDefined(ma)) iel.max = ma;
  9615. if (classCodeDefined(mal)) iel.maxLength = mal;
  9616. if (classCodeDefined(mi)) iel.min = mi;
  9617. if (plh) iel.placeholder = plh;
  9618. if (name) iel.name = name;
  9619. if (classCodeDefined(ro)) iel.readonly = ro;
  9620. if (classCodeDefined(step)) iel.step = step;
  9621. if (classCodeDefined(va)) iel.value = va;
  9622. if (classCodeDefined(oncl)) iel.onclick = oncl;
  9623. if (classCodeDefined(onch)) iel.onchange = onch;
  9624. if (classCodeDefined(onwa) && uiObj.WARNING) iel.onchange = onwa;
  9625. if (sti) iel.style.cssText = sti
  9626. }
  9627. if (oel) {
  9628. if (classCodeDefined(onclo)) oel.onclick = onclo;
  9629. if (sto) oel.style.cssText = sto
  9630. }
  9631. var fel = els[0];
  9632. if (fel) {
  9633. if (cl) fel.className = cl;
  9634. if (st) fel.style.cssText = st
  9635. } else
  9636. fel = parent;
  9637. var oldDef = deepCopy(_THUI.$def);
  9638. if (classCodeDefined(_cl)) _THUI.$def._class = _cl;
  9639. if (classCodeDefined(_disc)) _THUI.$def._disclose = _disc;
  9640. if (classCodeDefined(_name)) _THUI.$def._name = _name;
  9641. if (classCodeDefined(_di)) _THUI.$def._disabled = _di;
  9642. if (classCodeDefined(_no)) _THUI.$def._nodisplay = _no;
  9643. if (classCodeDefined(_re)) _THUI.$def._reverse = _re;
  9644. if (classCodeDefined(_st)) _THUI.$def._style = _st;
  9645. if (classCodeDefined(_ty)) _THUI.$def._type = _ty;
  9646. if (_oncl) _THUI.$def._onclick = _oncl;
  9647. if (_onch) _THUI.$def._onchange = _onch;
  9648. if (_onwa) _THUI.$def._onwarning = _onwa;
  9649. for (var i in uiObj) {
  9650. if (!uiObj.hasOwnProperty(i)) continue;
  9651. var o = uiObj[i];
  9652. switch (classCode(o)) {
  9653. case CC_OBJECT:
  9654. fel = _THUI.appendUI(fel, o, uiPrefix + uiName, i);
  9655. break;
  9656. case CC_ARRAY:
  9657. for (var j = 0; j < o.length; j++)
  9658. if (classCodeIs(o[j], CC_OBJECT)) fel = _THUI.appendUI(fel, o[j], uiPrefix + uiName, i);
  9659. break
  9660. }
  9661. }
  9662. _THUI.$def = oldDef;
  9663. els.forEach(function(e) {
  9664. if (no)
  9665. e.style.display = 'none';
  9666. else
  9667. e.style.display = '';
  9668. if (classCodeDefined(ti)) e.title = ti;
  9669. if (e !== uiObj.IDOM && e !== uiObj.ODOM) parent.appendChild(e)
  9670. });
  9671. uiObj.IDOM = iel;
  9672. uiObj.ODOM = oel;
  9673. Object.defineProperties(uiObj, {IDOM: {enumerable: false}, ODOM: {enumerable: false}});
  9674. return parent
  9675. };
  9676. })()

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址