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

当前为 2020-10-25 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name WME Validator
  3. // @version 2020.10.25
  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. // @grant none
  9. // @icon https://raw.githubusercontent.com/WMEValidator/release/master/img/WV-icon96.png
  10. // @namespace a
  11. // @homepage https://www.waze.com/forum/viewtopic.php?f=819&t=76488
  12. // @author Andriy Berestovskyy <berestovskyy@gmail.com>
  13. // @copyright 2013-2018 Andriy Berestovskyy
  14. // @license GPLv3
  15. // @contributor justins83
  16. // @contributor davidakachaos
  17. // @contributor jangliss
  18. // ==/UserScript==
  19. /*
  20. * WME Validator uses Open Source GPLv3 license, i.e. you may copy,
  21. * distribute and modify the software as long as you track changes/dates
  22. * in source files. Any modifications to or software including
  23. * (via compiler) GPL-licensed code must also be made available under
  24. * the GPL along with build & install instructions.
  25. *
  26. * WME Validator source code is available on GitHub:
  27. * https://github.com/WMEValidator/
  28. *
  29. * For questions please use official forum:
  30. * https://www.waze.com/forum/viewtopic.php?f=819&t=76488
  31. *
  32. * Report bugs on GitHub Issues Tracker:
  33. * https://github.com/WMEValidator/validator/issues
  34. */
  35.  
  36. (function() {
  37. var WV_VERSION = '2020.10.25';
  38. var AS_PASSWORD = 'v1';
  39. var WV_WHATSNEW = '' +
  40. 'v2020.10.25:' +
  41. '\n- davidakachaos: updated Wiki links for BE/NL' +
  42. '\n' +
  43. '\nv2020.04.12:' +
  44. '\n- davidakachaos: fixes for latests WME' +
  45. '\n' +
  46. '\nv2019.09.24:' +
  47. '\n- davidakachaos: Added new places checks!' +
  48. '\n- davidakachaos: Added Dutch translations for places checks' +
  49. '\n- other minor fixes' +
  50. '\nPlease report any issues/suggestions on the forum:' +
  51. '\nhttps://www.waze.com/forum/viewtopic.php?t=76488' +
  52. '\n' +
  53. '\nv2019.08.29:' +
  54. '\n- luc45z: update PL abbreviations' +
  55. '\n' +
  56. '\nv2019.08.16:' +
  57. '\n- jangliss: Fix for layer refresh if layer did not trigger update' +
  58. '\n- jangliss: Add lock checks for railroad and private roads' +
  59. '\n' +
  60. '\nv2019.04.11:' +
  61. '\n- berestovskyy: hot fix for login issue' +
  62. '\n- berestovskyy: fixed audio for Google Chrome' +
  63. '\n' +
  64. '\nv2019.02.26:' +
  65. '\n- berestovskyy: hot fixes for latests WME' +
  66. '\n' +
  67. '\nv2018.11.10:' +
  68. '\n- davidakachaos: fix streets isolated by ramps' +
  69. '\n- davidakachaos: fix recover from preference change' +
  70. '\n- davidakachaos: add road closures to fix #36 and #37' +
  71. '\n- davidakachaos: fix speed limit issues on borders';
  72. var WV_LICENSE_VERSION = '1';
  73. var WV_LICENSE = '' +
  74. '\nLICENSE:' +
  75. '\nWME Validator uses Open Source GPLv3 license,' +
  76. '\ni.e. you may copy, distribute and modify the software' +
  77. '\nas long as you track changes/dates in source files.' +
  78. '\nAny modifications to or software including (via compiler)' +
  79. '\nGPL-licensed code must also be made available' +
  80. '\nunder the GPL along with build & install instructions.' +
  81. '\n' +
  82. '\nWME Validator source code is available on GitHub:' +
  83. '\nhttps://github.com/WMEValidator/' +
  84. '\n' +
  85. '\nFor questions please use official forum:' +
  86. '\nhttps://www.waze.com/forum/viewtopic.php?f=819&t=76488' +
  87. '\n' +
  88. '\nReport bugs on GitHub Issues Tracker:' +
  89. '\nhttps://github.com/WMEValidator/validator/issues' +
  90. '\n' +
  91. '\nNote: WME Validator uses local storage to remember' +
  92. '\nyour choices and preferences.';
  93. var GA_FORLEVEL = 1;
  94. var GA_FORUSER = '!Dekis,*';
  95. var GA_FORCOUNTRY = '';
  96. var GA_FORCITY = '!Kraków,*';
  97. var LIMIT_TOTAL = 2E4;
  98. var MAX_CHECKS = 310;
  99. var PFX_WIKI = 'https://www.waze.com/wiki/';
  100. var PFX_PEDIA = 'https://wazeopedia.waze.com/wiki/';
  101. var PFX_FORUM = 'https://www.waze.com/forum/viewtopic.php?';
  102. var FORUM_HOME = 't=76488';
  103. var FORUM_FAQ = 't=76488&p=666476#p666476';
  104. var FORUM_LOCAL = 't=76488&p=661300#p661185';
  105. var FORUM_CUSTOM = 't=76488&p=749456#p749456';
  106. var
  107. _translations =
  108. {
  109. 'EN':
  110. {
  111. '.codeISO': 'EN',
  112. 'city.consider': 'consider this city name:',
  113. 'city.1': 'city name is too short',
  114. 'city.2': 'expand the abbreviation',
  115. 'city.3': 'complete short name',
  116. 'city.4': 'complete city name',
  117. 'city.5': 'correct letter case',
  118. 'city.6': 'check word order',
  119. 'city.7': 'check abbreviations',
  120. 'city.8a': 'add county name',
  121. 'city.8r': 'remove county name',
  122. 'city.9': 'check county name',
  123. 'city.10a': 'add a word',
  124. 'city.10r': 'remove a word',
  125. 'city.11': 'add county code',
  126. 'city.12': 'identical names, but different city IDs',
  127. 'city.13a': 'add a space',
  128. 'city.13r': 'remove a space',
  129. 'city.14': 'check the number',
  130. 'props.skipped.title': 'The segment is not checked',
  131. 'props.skipped.problem': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  132. 'err.regexp': 'Error parsing option for check #${n}:',
  133. 'props.disabled': 'WME Validator is disabled',
  134. 'props.limit.title': 'Too many issues reported',
  135. 'props.limit.problem': 'There are too many issues reported, so some of them might not be shown',
  136. 'props.limit.solution': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  137. 'props.reports': 'reports',
  138. 'props.noneditable': 'You cannot edit this segment',
  139. 'report.save': 'Save this report',
  140. 'report.list.andUp': 'and up',
  141. 'report.list.severity': 'Severity:',
  142. 'report.list.reportOnly': 'only in report',
  143. 'report.list.forEditors': 'For editors level:',
  144. 'report.list.forCountries': 'For countries:',
  145. 'report.list.forStates': 'For states:',
  146. 'report.list.forCities': 'For cities:',
  147. 'report.list.params': 'Params to configure in localization pack:',
  148. 'report.list.params.set': 'Current configuration for ${country}:',
  149. 'report.list.enabled': '${n} checks are enabled for',
  150. 'report.list.disabled': '${n} checks are disabled for',
  151. 'report.list.total': 'There are ${n} checks available',
  152. 'report.list.title': 'Complete List of Checks for',
  153. 'report.list.see': 'See',
  154. 'report.list.checks': 'Settings->About->Available checks',
  155. 'report.list.fallback': 'Localization Fallback Rules:',
  156. 'report.and': 'and',
  157. 'report.segments': 'Total number of segments checked:',
  158. 'report.customs': 'Custom checks matched (green/blue):',
  159. 'report.reported': 'Reported',
  160. 'report.errors': 'errors',
  161. 'report.warnings': 'warnings',
  162. 'report.notes': 'notes',
  163. 'report.link.wiki': 'wiki',
  164. 'report.link.forum': 'forum',
  165. 'report.link.other': 'link',
  166. 'report.contents': 'Contents:',
  167. 'report.summary': 'Summary',
  168. 'report.title': 'WME Validator Report',
  169. 'report.share': 'to Share',
  170. 'report.generated.by': 'generated by',
  171. 'report.generated.on': 'on',
  172. 'report.source': 'Report source:',
  173. 'report.filter.duplicate': 'duplicate segments',
  174. 'report.filter.places': 'Places',
  175. 'report.filter.streets': 'Streets and Service Roads',
  176. 'report.filter.other': 'Other drivable and Non-drivable',
  177. 'report.filter.noneditable': 'non-editable segments',
  178. 'report.filter.notes': 'notes',
  179. 'report.filter.title': 'Filter:',
  180. 'report.filter.excluded': 'are excluded from this report.',
  181. 'report.search.updated.by': 'updated by',
  182. 'report.search.updated.since': 'updated since',
  183. 'report.search.city': 'from',
  184. 'report.search.reported': 'reported as',
  185. 'report.search.title': 'Search:',
  186. 'report.search.only': 'only segments',
  187. 'report.search.included': 'are included into the report.',
  188. 'report.beta.warning': 'WME Beta Warning!',
  189. 'report.beta.text': 'This report is generated in beta WME with beta permalinks.',
  190. 'report.beta.share': 'Please do not share those permalinks!',
  191. 'report.size.warning': '<b>Warning!</b><br>The report is ${n}' +
  192. ' characters long' +
  193. ' so <b>it will not fit</b> into a single forum or private message.' +
  194. '\n<br>Please add <b>more filters</b> to reduce the size of the report.',
  195. 'report.note.limit': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  196. 'report.forum': 'To motivate further development please leave your comment on the',
  197. 'report.forum.link': 'Waze forum thread.',
  198. 'report.thanks': 'Thank you for using WME Validator!',
  199. 'msg.limit.segments': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  200. 'msg.limit.segments.continue': 'click \'▶\' (Play) to continue.',
  201. 'msg.limit.segments.clear': 'click \'✘\' (Clear) to clear the report.',
  202. 'msg.pan.text': 'Pan around to validate the map',
  203. 'msg.zoomout.text': 'Zoom out to start WME Validator',
  204. 'msg.click.text': 'Click \'▶\' (Play) to validate visible map area',
  205. 'msg.autopaused': 'autopaused',
  206. 'msg.autopaused.text': 'Auto paused! Click \'▶\' (Play) to continue.',
  207. 'msg.autopaused.tip': 'WME Validator automatically paused on map drag or window size change',
  208. 'msg.finished.text': 'Click <b>\'Show report\'</b> to review map issues',
  209. 'msg.finished.tip': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  210. 'msg.noissues.text': 'Finished! No issues found!',
  211. 'msg.noissues.tip': 'Try to uncheck some filter options or start WME Validator over another map area!',
  212. 'msg.scanning.text': 'Scanning! Finishing in ~ ${n} min',
  213. 'msg.scanning.text.soon': 'Scanning! Finishing in a minute!',
  214. 'msg.scanning.tip': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  215. 'msg.starting.text': 'Starting! Layers are off to scan faster!',
  216. 'msg.starting.tip': 'Use \'Pause\' button to pause or \'■\' button to stop',
  217. 'msg.paused.text': 'On pause! Click \'▶\' (Play) button to continue.',
  218. 'msg.paused.tip': 'To view the report click \'Show report\' button (if available)',
  219. 'msg.continuing.text': 'Continuing!',
  220. 'msg.continuing.tip': 'WME Validator will continue from the location it was paused',
  221. 'msg.settings.text': 'Click <b>\'Back\'</b> to return to main view',
  222. 'msg.settings.tip': 'Click \'Reset defaults\' button to reset all settings in one click!',
  223. 'msg.reset.text': 'All filter options and settings have been reset to their defaults',
  224. 'msg.reset.tip': 'Click \'Back\' button to return to main view',
  225. 'msg.textarea.pack':
  226. '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',
  227. 'msg.textarea': 'Please copy the text below and then paste it into your forum post or private message',
  228. 'noaccess.text': '<b>Sorry,</b><br>You cannot use WME Validator over here.<br>Please check <a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_HOME +
  229. '\'>the forum thread</a><br>for more information.',
  230. 'noaccess.tip': 'Please check the forum thread for more information!',
  231. 'tab.switch.tip.on': 'Click to switch highlighting on (Alt+V)',
  232. 'tab.switch.tip.off': 'Click to switch highlighting off (Alt+V)',
  233. 'tab.filter.text': 'filter',
  234. 'tab.filter.tip': 'Options to filter the report and highlighted segments',
  235. 'tab.search.text': 'search',
  236. 'tab.search.tip': 'Advanced filter options to include only specific segments',
  237. 'tab.help.text': 'help',
  238. 'tab.help.tip': 'Need help?',
  239. 'filter.places.text': '<span style=\'color:#c00000\'><b>BETA:</b> Enable <b>Places</b> checks</span>',
  240. 'filter.places.tip': 'Do not run places checks',
  241. 'filter.noneditables.reverted':
  242. '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!',
  243. 'filter.noneditables.text': 'Exclude <b>non-editable</b> objects',
  244. 'filter.noneditables.tip': 'Do not report locked objects or\nobjects outside of your editable areas',
  245. 'filter.duplicates.text': 'Exclude <b>duplicate</b> objects',
  246. 'filter.duplicates.tip': 'Do not show the same object in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  247. 'filter.streets.text': 'Exclude <b>Streets and Service Roads</b>',
  248. 'filter.streets.tip': 'Do not report Streets and Service Roads',
  249. 'filter.other.text': 'Exclude <b>Other drivable and Non-drivable</b>',
  250. 'filter.other.tip': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  251. 'filter.notes.text': 'Exclude <b>notes</b>',
  252. 'filter.notes.tip': 'Report only warnings and errors',
  253. 'search.youredits.text': 'Include <b>only your edits</b>',
  254. 'search.youredits.tip': 'Include only segments edited by you',
  255. 'search.updatedby.text': '<b>Updated by*:</b>',
  256. 'search.updatedby.tip': 'Include only segments updated by the specified editor' +
  257. '\n* Note: this option is available for country managers only' +
  258. '\nThis field supports:' +
  259. '\n - lists: me, otherEditor' +
  260. '\n - wildcards: world*' +
  261. '\n - negation: !me, *' +
  262. '\n* Note: you may use \'me\' to match yourself',
  263. 'search.updatedby.example': 'Example: me',
  264. 'search.updatedsince.text': '<b>Updated since:</b>',
  265. 'search.updatedsince.tip': 'Include only segments edited since the date specified' +
  266. '\nFirefox date format: YYYY-MM-DD',
  267. 'search.updatedsince.example': 'YYYY-MM-DD',
  268. 'search.city.text': '<b>City name:</b>',
  269. 'search.city.tip': 'Include only segments with specified city name' +
  270. '\nThis field supports:' +
  271. '\n - lists: Paris, Meudon' +
  272. '\n - wildcards: Greater * Area' +
  273. '\n - negation: !Paris, *',
  274. 'search.city.example': 'Example: !Paris, *',
  275. 'search.checks.text': '<b>Reported as:</b>',
  276. 'search.checks.tip': 'Include only segments reported as specified' +
  277. '\nThis field matches:' +
  278. '\n - severities: error|warning|note|custom1|custom2' +
  279. '\n - check names: New road' +
  280. '\n - check IDs: 200' +
  281. '\nThis field supports:' +
  282. '\n - lists: 36, 37' +
  283. '\n - wildcards: *roundabout*' +
  284. '\n - negation: !unconfirmed*, *',
  285. 'search.checks.example': 'Example: reverse*',
  286. 'help.text': '<b>Help Topics:</b>' +
  287. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_FAQ + '">F.A.Q.</a>' +
  288. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">Ask your question on the forum</a>' +
  289. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">How to adjust Validator for your country</a>' +
  290. '<br><a target="_blank" href="' + PFX_FORUM + 't=76488&p=663286#p663286">About the "Might be Incorrect City Name"</a>',
  291. 'help.tip': 'Open in a new browser tab',
  292. 'button.scan.tip': 'Start scanning current map area\n* Note: this might take few minutes',
  293. 'button.scan.tip.NA': 'Zoom out to start scanning current map area',
  294. 'button.pause.tip': 'Pause scanning',
  295. 'button.continue.tip': 'Continue scanning the map area',
  296. 'button.stop.tip': 'Stop scanning and return to the start position',
  297. 'button.clear.tip': 'Clear report and segment cache',
  298. '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.',
  299. 'button.report.text': 'Show report',
  300. 'button.report.tip': 'Apply the filter and generate HTML report in a new tab',
  301. 'button.BBreport.tip': 'Share the report on Waze forum or in a private message',
  302. 'button.settings.tip': 'Configure settings',
  303. 'tab.custom.text': 'custom',
  304. 'tab.custom.tip': 'User-defined custom checks settings',
  305. 'tab.settings.text': 'Settings',
  306. 'tab.scanner.text': 'scanner',
  307. 'tab.scanner.tip': 'Map scanner settings',
  308. 'tab.about.text': 'about</span>',
  309. 'tab.about.tip': 'About WME Validator',
  310. 'scanner.sounds.text': 'Enable sounds',
  311. 'scanner.sounds.tip': 'Bleeps and the bloops while scanning',
  312. 'scanner.sounds.NA': 'Your browser does not support AudioContext',
  313. 'scanner.highlight.text': 'Highlight issues on the map',
  314. 'scanner.highlight.tip': 'Highlight reported issues on the map',
  315. 'scanner.slow.text': 'Enable "slow" checks',
  316. 'scanner.slow.tip': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  317. 'scanner.ext.text': 'Report external highlights',
  318. 'scanner.ext.tip': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  319. 'advanced.atbottom.text': 'At the bottom',
  320. 'advanced.atbottom.tip': 'Put WME Validator at the bottom of the page',
  321. 'custom.template.text': '<a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_CUSTOM + '\'>Custom template</a>',
  322. 'custom.template.tip': 'User-defined custom check expandable template.' +
  323. '\n\nYou may use the following expandable variables:' +
  324. '\nAddress:' +
  325. '\n ${country}, ${state}, ${city}, ${street},' +
  326. '\n ${altCity[index or delimeter]}, ${altStreet[index or delimeter]}' +
  327. '\nSegment properties:' +
  328. '\n ${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},' +
  329. '\n ${length}, ${ID}, ${speedLimit}, ${speedLimitAB}, ${speedLimitBA}' +
  330. '\nHelpers:' +
  331. '\n ${drivable}, ${roundabout}, ${hasHNs},' +
  332. '\n ${Uturn}, ${deadEnd}, ${softTurns},' +
  333. '\n ${deadEndA}, ${partialA},' +
  334. '\n ${deadEndB}, ${partialB},' +
  335. '\n ${checkSpeedLimit}' +
  336. '\nConnectivity:' +
  337. '\n ${segmentsA}, ${inA}, ${outA}, ${UturnA},' +
  338. '\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  339. 'custom.template.example': 'Example: ${street}',
  340. 'custom.regexp.text': 'Custom <a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_CUSTOM + '\'>RegExp</a>',
  341. 'custom.regexp.tip': 'User-defined custom check regular expression to match the template.' +
  342. '\n\nCase-insensitive match: /regexp/i' +
  343. '\nNegation (do not match): !/regexp/' +
  344. '\nLog debug information on console: D/regexp/',
  345. 'custom.regexp.example': 'Example: !/.+/',
  346. 'about.tip': 'Open link in a new tab',
  347. 'button.reset.text': 'Reset defaults',
  348. 'button.reset.tip': 'Revert filter options and settings to their defaults',
  349. 'button.list.text': 'Available checks...',
  350. 'button.list.tip': 'Show a list of checks available in WME Validator',
  351. 'button.wizard.tip': 'Create localization package',
  352. 'button.back.text': 'Back',
  353. 'button.back.tip': 'Close settings and return to main view',
  354. '23.enabled': true,
  355. '23.title': 'Unconfirmed road',
  356. '23.problem': 'Each segment must minimally have the Country and State information',
  357. '23.problemLink': 'W:Map_Editing_Quick-start_Guide#Create_a_Road',
  358. '23.solution': 'Confirm the road by updating its details',
  359. '23.solutionLink': 'W:How_to_label_and_name_roads',
  360. '24.enabled': true,
  361. '24.severity': 'W',
  362. '24.reportOnly': true,
  363. '24.title': 'Might be incorrect city name (only available in the report)',
  364. '24.problem': 'The segment might have incorrect city name',
  365. '24.problemLink': 'W:Fixing_"smudged"_cities',
  366. '24.solution': 'Consider suggested city name and use this form to rename the city',
  367. '24.solutionLink': 'F:t=50314#p450378',
  368. '25.enabled': true,
  369. '25.severity': 'W',
  370. '25.title': 'Unknown direction of drivable road',
  371. '25.problem': '\'Unknown\' road direction will not prevent routing on the road',
  372. '25.problemLink': 'W:How_to_handle_road_closures#NOTES_for_all_durations',
  373. '25.solution': 'Set the road direction',
  374. '27.title': 'City name on Railroad',
  375. '27.problem': 'City name on the Railroad may cause a city smudge',
  376. '27.problemLink': 'W:Fixing_"smudged"_cities',
  377. '27.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  378. '27.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  379. '28.enabled': true,
  380. '28.severity': 'W',
  381. '28.title': 'Street name on two-way Ramp',
  382. '28.problem': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  383. '28.problemLink': 'W:Junction_Style_Guide#Ramp_to_Ramp_Splits',
  384. '28.solution': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  385. '28.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  386. '29.enabled': true,
  387. '29.severity': 'W',
  388. '29.title': 'Street name on roundabout',
  389. '29.problem': 'In Waze, we do not name roundabout segments',
  390. '29.problemLink': 'W:Creating_and_Editing_a_roundabout#Creating_a_roundabout_from_an_intersection',
  391. '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',
  392. '29.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  393. '34.enabled': true,
  394. '34.title': 'Empty alternate street',
  395. '34.problem': 'Alternate street name is empty',
  396. '34.solution': 'Remove empty alternate street name',
  397. '35.enabled': true,
  398. '35.severity': 'W',
  399. '35.title': 'Unterminated drivable road',
  400. '35.problem': 'Waze will not route from the unterminated segment',
  401. '35.solution': 'Move the segment a bit so the terminating node will be added automatically',
  402. '36.enabled': false,
  403. '36.title': 'Node A: Unneeded (slow)',
  404. '36.problem': 'Adjacent segments at node A are identical',
  405. '36.problemLink': 'W:Creating_and_Editing_street_segments#Removing_junctions_with_only_two_segments',
  406. '36.solution': 'Select node A and press Delete key to join the segments',
  407. '36.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  408. '37.enabled': false,
  409. '37.title': 'Node B: Unneeded (slow)',
  410. '37.problem': 'Adjacent segments at node B are identical',
  411. '37.problemLink': 'W:Creating_and_Editing_street_segments#Removing_junctions_with_only_two_segments',
  412. '37.solution': 'Select node B and press Delete key to join the segments',
  413. '37.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  414. '38.enabled': true,
  415. '38.title': 'Expired segment restriction (slow)',
  416. '38.problem': 'The segment has an expired restriction',
  417. '38.problemLink': 'W:Scheduled_Restrictions#Segments',
  418. '38.solution': 'Click \'Edit restrictions\' and delete the expired restriction',
  419. '39.enabled': true,
  420. '39.title': 'Expired turn restriction (slow)',
  421. '39.problem': 'The segment has a turn with an expired restriction',
  422. '39.problemLink': 'W:Scheduled_Restrictions#Turns',
  423. '39.solution': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  424. '41.enabled': true,
  425. '41.title': 'Node A: Reverse connectivity of drivable road',
  426. '41.problem': 'There is a turn which goes against the directionality of the segment at node A',
  427. '41.problemLink': 'W:Glossary#Reverse_Connectivity',
  428. '41.solution': 'Make the segment \'Two-way\', restrict all the turns at node A and then make the segment \'One way (A→B)\' again',
  429. '42.enabled': true,
  430. '42.title': 'Node B: Reverse connectivity of drivable road',
  431. '42.problem': 'There is a turn which goes against the directionality of the segment at node B',
  432. '42.problemLink': 'W:Glossary#Reverse_Connectivity',
  433. '42.solution': 'Make the segment \'Two-way\', restrict all the turns at node B and then make the segment \'One way (B→A)\' again',
  434. '43.enabled': true,
  435. '43.severity': 'E',
  436. '43.title': 'Self connectivity',
  437. '43.problem': 'The segment is connected back to itself',
  438. '43.problemLink': 'W:Glossary#Self_Connectivity',
  439. '43.solution': 'Split the segment into THREE pieces',
  440. '43.solutionLink': 'W:Map_Editing_Quick-start_Guide#Splitting_a_segment',
  441. '44.enabled': false,
  442. '44.severity': 'E',
  443. '44.title': 'No outward connectivity',
  444. '44.problem': 'The drivable segment has no single outward turn enabled',
  445. '44.solution': 'Enable at least one outward turn from the segment',
  446. '44.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  447. '45.enabled': false,
  448. '45.severity': 'E',
  449. '45.title': 'No inward connectivity',
  450. '45.problem': 'The drivable non-private segment has no single inward turn enabled',
  451. '45.solution': 'Select an adjacent segment and enable at least one turn to the segment',
  452. '45.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  453. '46.enabled': true,
  454. '46.severity': 'W',
  455. '46.title': 'Node A: No inward connectivity of drivable road (slow)',
  456. '46.problem': 'The drivable non-private segment has no single inward turn enabled at node A',
  457. '46.solution': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  458. '46.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  459. '47.enabled': true,
  460. '47.severity': 'W',
  461. '47.title': 'Node B: No inward connectivity of drivable road (slow)',
  462. '47.problem': 'The drivable non-private segment has no single inward turn enabled at node B',
  463. '47.solution': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  464. '47.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  465. '48.enabled': true,
  466. '48.severity': 'E',
  467. '48.title': 'Two-way drivable roundabout segment',
  468. '48.problem': 'The drivable roundabout segment is bidirectional',
  469. '48.solution': 'Redo the roundabout',
  470. '48.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  471. '50.enabled': false,
  472. '50.severity': 'E',
  473. '50.title': 'No connectivity on roundabout (slow)',
  474. '50.problem': 'The drivable roundabout segment has no connectivity with adjacent roundabout segment',
  475. '50.solution': 'Enable a turn to the adjacent segment or redo the roundabout',
  476. '50.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  477. '52.title': 'Too long street name',
  478. '52.problem': 'The name of the drivable segment is more than ${n} letters long and it is not a Ramp',
  479. '52.solution': 'Consider an abbreviation for the street name',
  480. '52.params': {'n.title': '{number} maximum street name length', 'n': 30},
  481. '57.severity': 'W',
  482. '57.title': 'City name on named Ramp',
  483. '57.problem': 'City name on the named Ramp may affect search results',
  484. '57.problemLink': 'F:t=68015',
  485. '57.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  486. '57.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  487. '59.title': 'City name on Freeway',
  488. '59.problem': 'City name on the Freeway may cause a city smudge',
  489. '59.problemLink': 'W:Fixing_"smudged"_cities',
  490. '59.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  491. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  492. '69.title': 'No city name on Freeway',
  493. '69.problem': 'The Freeway has no city name set',
  494. '69.solution': 'Set the city name',
  495. '73.title': 'Too short street name',
  496. '73.problem': 'The street name is less than ${n} letters long and it is not a highway',
  497. '73.solution': 'Correct the street name',
  498. '73.params': {'n.title': '{number} minimum street name length', 'n': 3},
  499. '74.enabled': false,
  500. '74.severity': 'W',
  501. '74.title': 'Node A: Multiple segments connected at roundabout',
  502. '74.problem': 'The drivable roundabout node A has more than one segment connected',
  503. '74.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  504. '74.solution': 'Redo the roundabout',
  505. '74.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  506. '77.enabled': false,
  507. '77.severity': 'W',
  508. '77.title': 'Dead-end U-turn',
  509. '77.problem': 'The drivable dead-end road has a U-turn enabled',
  510. '77.problemLink': 'W:Map_Editing_Quick-start_Guide#U-Turns_at_the_end_of_dead-end-streets',
  511. '77.solution': 'Disable U-turn',
  512. '78.enabled': true,
  513. '78.severity': 'W',
  514. '78.title': 'Same endpoints drivable segments (slow)',
  515. '78.problem': 'Two drivable segments share the same two endpoints',
  516. '78.problemLink': 'W:Junction_Style_Guide#Two-segment_loops',
  517. '78.solution': 'Split the segment. You might also remove one of the segments if they are identical',
  518. '78.solutionLink': 'W:Map_Editing_Quick-start_Guide#Splitting_a_segment',
  519. '79.enabled': false,
  520. '79.severity': 'W',
  521. '79.title': 'Too short U-turn connector (slow)',
  522. '79.problem': 'The length of the segment is less than 15m long so U-turn is not possible here',
  523. '79.problemLink': 'W:Classification_of_crossings',
  524. '79.solution': 'Increase the length of the segment',
  525. '87.enabled': true,
  526. '87.severity': 'E',
  527. '87.title': 'Node A: Multiple outgoing segments at roundabout',
  528. '87.problem': 'The drivable roundabout node A has more than one outgoing segment connected',
  529. '87.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  530. '87.solution': 'Redo the roundabout',
  531. '87.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  532. '90.severity': 'W',
  533. '90.title': 'Two-way Freeway segment',
  534. '90.problem': 'Most of the Freeways are split into two one-way roads, so this two-way segment might be a mistake',
  535. '90.solution': 'Check Freeway direction',
  536. '91.severity': 'W',
  537. '91.title': 'Two-way Ramp segment',
  538. '91.problem': 'Most of the Ramps are one-way roads, so this two-way segment might be a mistake',
  539. '91.solution': 'Check Ramp direction',
  540. '95.severity': 'W',
  541. '95.title': 'Street name with a dot',
  542. '95.problem': 'There is a dot in the street name (excluding Ramps)',
  543. '95.solution': 'Expand the abbreviation or remove the dot',
  544. '99.enabled': true,
  545. '99.severity': 'W',
  546. '99.title': 'U-turn at roundabout entrance (slow)',
  547. '99.problem': 'The roundabout entrance segment has a U-turn enabled',
  548. '99.problemLink': 'W:Map_Editing_Quick-start_Guide#U-Turns_at_the_end_of_dead-end-streets',
  549. '99.solution': 'Disable U-turn',
  550. '101.enabled': true,
  551. '101.severity': 'E',
  552. '101.reportOnly': true,
  553. '101.title': 'Closed road (only available in the report)',
  554. '101.problem': 'The segment is marked as closed',
  555. '101.problemLink': 'W:How_to_handle_road_closures',
  556. '101.solution': 'If the construction is done, restore the segment connectivity and remove the suffix',
  557. '101.solutionLink': 'W:Road_Naming_(USA)#Construction_zones_and_closed_roads',
  558. '101.params': {'regexp.title': '{string} regular expression to match closed road', 'regexp': '/(^|\\b)closed(\\b|$)/i'},
  559. '102.enabled': true,
  560. '102.severity': 'W',
  561. '102.title': 'Node A: No outward connectivity of drivable road (slow)',
  562. '102.problem': 'The drivable segment has no single outward turn enabled at node A',
  563. '102.solution': 'Enable at least one outward turn from the segment at node A',
  564. '102.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  565. '103.enabled': true,
  566. '103.severity': 'W',
  567. '103.title': 'Node B: No outward connectivity of drivable road (slow)',
  568. '103.problem': 'The drivable segment has no single outward turn enabled at node B',
  569. '103.solution': 'Enable at least one outward turn from the segment at node B',
  570. '103.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  571. '104.enabled': true,
  572. '104.title': 'Railroad used for comments',
  573. '104.problem': 'The Railroad segment is probably used as a map comment',
  574. '104.problemLink': 'F:t=61546',
  575. '104.solution': 'Remove the comment as Railroads will be added to the client display',
  576. '105.title': 'Walking Trail instead of a Railroad',
  577. '105.problem': 'The Walking Trail segment with elevation -5 is probably used instead of a Railroad',
  578. '105.problemLink': 'F:t=61546',
  579. '105.solution': 'Change road type to Railroad as Railroads will be added to the client display',
  580. '106.title': 'No state name selected',
  581. '106.problem': 'The segment has no state name selected',
  582. '106.solution': 'Select a state for the segment and apply the changes',
  583. '106.solutionLink': 'W:Creating_and_Editing_street_segments#Confirm_the_road_by_updating_details',
  584. '107.enabled': true,
  585. '107.severity': 'E',
  586. '107.title': 'Node A: No connection (slow)',
  587. '107.problem': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  588. '107.solution': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  589. '108.enabled': true,
  590. '108.severity': 'E',
  591. '108.title': 'Node B: No connection (slow)',
  592. '108.problem': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  593. '108.solution': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  594. '109.enabled': true,
  595. '109.severity': 'W',
  596. '109.title': 'Too short segment',
  597. '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',
  598. '109.problemLink': 'W:Segment_length',
  599. '109.solution': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  600. '109.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  601. '109.params': {'n.title': '{number} minimum segment length', 'n': 5},
  602. '110.title': 'Incorrect Freeway elevation',
  603. '110.problem': 'The elevation of the Freeway segment is not a ground',
  604. '110.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#.C3.9Cber-_und_Unterf.C3.BChrungen',
  605. '110.solution': 'Set the Freeway elevation to ground',
  606. '112.enabled': true,
  607. '112.severity': 'W',
  608. '112.title': 'Too long Ramp name',
  609. '112.problem': 'The Ramp name is more than ${n} letters long',
  610. '112.solution': 'Shorten the Ramp name',
  611. '112.params': {'n.title': '{number} maximum Ramp name length', 'n': 55},
  612. '114.enabled': false,
  613. '114.severity': 'W',
  614. '114.title': 'Node A: Non-drivable connected to drivable (slow)',
  615. '114.problem': 'The non-drivable segment makes a junction with a drivable at node A',
  616. '114.problemLink': 'W:Road_Types_(USA)#Non-drivable_roads',
  617. '114.solution': 'Disconnect node A from all of the drivable segments',
  618. '115.enabled': false,
  619. '115.severity': 'W',
  620. '115.title': 'Node B: Non-drivable connected to drivable (slow)',
  621. '115.problem': 'The non-drivable segment makes a junction with a drivable at node B',
  622. '115.problemLink': 'W:Road_Types_(USA)#Non-drivable_roads',
  623. '115.solution': 'Disconnect node B from all of the drivable segments',
  624. '116.enabled': true,
  625. '116.severity': 'W',
  626. '116.title': 'Out of range elevation',
  627. '116.problem': 'The segment elevation is out of range',
  628. '116.solution': 'Correct the elevation',
  629. '117.enabled': true,
  630. '117.severity': 'W',
  631. '117.title': 'Obsolete CONST ZN marker',
  632. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  633. '117.solution': 'Change CONST ZN to (closed)',
  634. '117.solutionLink': 'W:Road_Naming_(USA)#Construction_zones_and_closed_roads',
  635. '118.enabled': true,
  636. '118.severity': 'E',
  637. '118.title': 'Node A: Overlapping segments (slow)',
  638. '118.problem': 'The segment is overlapping with the adjacent segment at node A',
  639. '118.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  640. '119.enabled': true,
  641. '119.severity': 'E',
  642. '119.title': 'Node B: Overlapping segments (slow)',
  643. '119.problem': 'The segment is overlapping with the adjacent segment at node B',
  644. '119.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  645. '120.enabled': true,
  646. '120.severity': 'W',
  647. '120.title': 'Node A: Too sharp turn (slow)',
  648. '120.problem': 'The drivable segment has a very acute turn at node A',
  649. '120.solution': 'Disable the sharp turn at node A or spread the segments at 30°',
  650. '121.enabled': true,
  651. '121.severity': 'W',
  652. '121.title': 'Node B: Too sharp turn (slow)',
  653. '121.problem': 'The drivable segment has a very acute turn at node B',
  654. '121.solution': 'Disable the sharp turn at node B or spread the segments at 30°',
  655. '128.enabled': true,
  656. '128.severity': '1',
  657. '128.title': 'User-defined custom check (green)',
  658. '128.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  659. '128.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  660. '128.solution': 'Solve the issue',
  661. '128.params': {},
  662. '129.enabled': true,
  663. '129.severity': '2',
  664. '129.title': 'User-defined custom check (blue)',
  665. '129.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  666. '129.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  667. '129.solution': 'Solve the issue',
  668. '129.params': {},
  669. '169.severity': 'W',
  670. '169.title': 'Incorrectly named street',
  671. '169.problem': 'The street named incorrectly, illegal chars or words used',
  672. '169.solution': 'Rename the segment in accordance with the guidelines',
  673. '169.params': {'regexp.title': '{string} regular expression to match incorrect street name', 'regexp': '!/^[a-zA-Z0-9\\. :"\'(/)-]+$/'},
  674. '170.severity': 'W',
  675. '170.title': 'Lowercase street name',
  676. '170.problem': 'The street name starts with a lowercase word',
  677. '170.solution': 'Correct lettercase in the street name',
  678. '170.params': {'regexp.title': '{string} regular expression to match a lowercase name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  679. '171.severity': 'W',
  680. '171.title': 'Incorrectly abbreviated street name',
  681. '171.problem': 'The street name has incorrect abbreviation',
  682. '171.solution': 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table',
  683. '171.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\.$/'},
  684. '172.enabled': true,
  685. '172.title': 'Unneeded spaces in street name',
  686. '172.problem': 'Leading/trailing/double space in the street name',
  687. '172.solution': 'Remove unneeded spaces from the street name',
  688. '172.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  689. '173.enabled': true,
  690. '173.severity': 'W',
  691. '173.title': 'No space before/after street abbreviation',
  692. '173.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  693. '173.solution': 'Add a space before/after the abbreviation',
  694. '173.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  695. '174.severity': 'W',
  696. '174.title': 'Street name spelling mistake',
  697. '174.problem': 'The is a spelling mistake in the street name',
  698. '174.solution': 'Add/correct the mistake, check accented letters',
  699. '174.params':
  700. {
  701. 'regexp.title': '{string} regular expression to match spelling mistakes',
  702. 'regexp': '/(^|\\b)(accross|cemetary|fourty|foward|goverment|independant|liason|pavillion|portugese|posession|prefered|shcool|wat|wich)($|\\b)/i'
  703. },
  704. '175.enabled': true,
  705. '175.severity': 'W',
  706. '175.title': 'Empty street name',
  707. '175.problem': 'The street name has only space characters or a dot',
  708. '175.solution': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  709. '175.solutionLink': 'W:Creating_and_Editing_street_segments#Confirm_the_road_by_updating_details',
  710. '175.params': {'regexp': '/^[\\s\\.]*$/'},
  711. '190.severity': 'W',
  712. '190.enabled': true,
  713. '190.title': 'Lowercase city name',
  714. '190.problem': 'The city name starts with a lowercase letter',
  715. '190.solution': 'Use this form to rename the city',
  716. '190.solutionLink': 'F:t=50314#p450378',
  717. '190.params': {'regexp.title': '{string} regular expression to match a lowercase city name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  718. '191.severity': 'W',
  719. '191.title': 'Incorrectly abbreviated city name',
  720. '191.problem': 'The city name has incorrect abbreviation',
  721. '191.solution': 'Use this form to rename the city',
  722. '191.solutionLink': 'F:t=50314#p450378',
  723. '191.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\./'},
  724. '192.enabled': true,
  725. '192.title': 'Unneeded spaces in city name',
  726. '192.problem': 'Leading/trailing/double space in the city name',
  727. '192.solution': 'Use this form to rename the city',
  728. '192.solutionLink': 'F:t=50314#p450378',
  729. '192.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  730. '193.enabled': true,
  731. '193.title': 'No space before/after city abbreviation',
  732. '193.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  733. '193.solution': 'Use this form to rename the city',
  734. '193.solutionLink': 'F:t=50314#p450378',
  735. '193.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  736. '200.enabled': true,
  737. '200.title': 'Node A: Unconfirmed turn on minor road',
  738. '200.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  739. '200.problemLink': 'W:Soft_and_hard_turns',
  740. '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',
  741. '200.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  742. '300.enabled': true,
  743. '300.title': 'Node B: Unconfirmed turn on minor road',
  744. '300.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node B',
  745. '300.problemLink': 'W:Soft_and_hard_turns',
  746. '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',
  747. '300.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  748. '201.enabled': true,
  749. '201.severity': 'W',
  750. '201.title': 'Node A: Unconfirmed turn on primary road',
  751. '201.problem': 'The primary segment has an unconfirmed (soft) turn at node A',
  752. '201.problemLink': 'W:Soft_and_hard_turns',
  753. '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',
  754. '201.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  755. '301.enabled': true,
  756. '301.severity': 'W',
  757. '301.title': 'Node B: Unconfirmed turn on primary road',
  758. '301.problem': 'The primary segment has an unconfirmed (soft) turn at node B',
  759. '301.problemLink': 'W:Soft_and_hard_turns',
  760. '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',
  761. '301.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  762. '202.enabled': true,
  763. '202.severity': 'W',
  764. '202.title': 'BETA: No public connection for public segment (slow)',
  765. '202.problem': 'The public segment is not connected to any other public segment',
  766. '202.solution': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  767. '210.enabled': true,
  768. '210.title': 'Segment has unverified speed limits from A to B',
  769. '210.problem': 'Segment has speed limit set from A to B that is unverified',
  770. '210.solution': 'Verify the speed limit on the segment and confirm or correct it',
  771. '210.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  772. '211.enabled': true,
  773. '211.title': 'Segment has unverified speed limits from B to A',
  774. '211.problem': 'Segment has speed limit set from B to A that is unverified',
  775. '211.solution': 'Verify the speed limit on the segment and confirm or correct it',
  776. '211.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  777. '212.enabled': true,
  778. '212.title': 'Segment has no speed limit set from A to B',
  779. '212.problem': 'Segment has no speed limit set from A to B',
  780. '212.solution': 'Verify the speed limit on the segment and set it',
  781. '212.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  782. '213.enabled': true,
  783. '213.title': 'Segment has no speed limit set from B to A',
  784. '213.problem': 'Segment has no speed limit set from B to A',
  785. '213.solution': 'Verify the speed limit on the segment and set it',
  786. '213.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  787. '214.enabled': true,
  788. '214.title': 'Segment has possibly wrong speed limit from A to B',
  789. '214.problem': 'Segment has a speed limit that seems to be incorrect',
  790. '214.solution': 'Verify the speed limit on the segment and correct it if needed',
  791. '214.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  792. '215.enabled': true,
  793. '215.title': 'Segment has possibly wrong speed limit from B to A',
  794. '215.problem': 'Segment has a speed limit that seems to be incorrect',
  795. '215.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  796. '215.solution': 'Verify the speed limit on the segment and correct it if needed',
  797. '250.enabled': true,
  798. '250.title': 'BETA: No city name on Place',
  799. '250.problem': 'The Place has no city name set',
  800. '250.solution': 'Set the city name',
  801. '250.params':
  802. {
  803. 'regexp.title': '{string} regular expression for categories to exclude from this check',
  804. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  805. },
  806. '251.enabled': true,
  807. '251.title': 'BETA: No street name on Place',
  808. '251.problem': 'The Place has no street name set',
  809. '251.solution': 'Set the street name',
  810. '251.params':
  811. {
  812. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  813. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  814. },
  815. '252.enabled': true,
  816. '252.title': 'BETA: Automatically updated Place',
  817. '252.problem': 'The Place was updated automatically by Waze',
  818. '252.solution': 'Verify and update the Place details if needed',
  819. '252.params':
  820. {
  821. 'regexp.title': '{string} regular expression to match Waze bot names and ids',
  822. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  823. },
  824. '253.enabled': true,
  825. '253.title': 'BETA: Category \'OTHER\' should not be used',
  826. '253.problem': 'Users can search on category, and category \'OTHER\' doesn\'t give enough information',
  827. '253.solution': 'Set the correct category',
  828. '254.enabled': true,
  829. '254.title': 'BETA: No entry/exit points on Place',
  830. '254.problem': 'The Place entry/exit points are not set',
  831. '254.solution': 'Set the entry/exit points',
  832. '255.enabled': true,
  833. '255.title': 'BETA: Invalid phone number',
  834. '255.problem': 'The Place has an invalid phone number',
  835. '255.solution': 'Set the correct phone number',
  836. '255.params': {'regexp.title': '{string} regular expression to match a correct phone number', 'regexp': '/.+/'},
  837. '256.enabled': true,
  838. '256.title': 'BETA: Invalid website',
  839. '256.problem': 'The Place has an invalid website URL',
  840. '256.solution': 'Set the correct website URL',
  841. '256.params': {'regexp.title': '{string} regular expression to match a correct website URL', 'regexp': '/^(https?://)?[^\\s/$.?#].[^\\s]*$/i'},
  842. '256.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  843. '257.enabled': true,
  844. '257.title': 'BETA: Place should be an area place',
  845. '257.problem': 'The Place is set as a point place, but should be an area',
  846. '257.solution': 'Convert the Place to an area place',
  847. '257.params':
  848. {
  849. 'regexp.title': '{string} regular expression to match categories that should be a area',
  850. 'regexp':
  851. '/^(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)$/'
  852. },
  853. '257.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  854. '258.enabled': true,
  855. '258.title': 'BETA: Place should be a point place',
  856. '258.problem': 'The Place is set as an area place, but should be a point',
  857. '258.solution': 'Convert the Place to a point place',
  858. '258.params':
  859. {
  860. 'regexp.title': '{string} regular expression to match categories that should be a point',
  861. 'regexp':
  862. '/^(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)$/'
  863. },
  864. '259.enabled': true,
  865. '259.title': 'BETA: No lock on Place',
  866. '259.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  867. '259.solution': 'Lock the Place',
  868. '259.params':
  869. {
  870. 'n.title': '{number} minimum lock level',
  871. 'n': 2,
  872. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  873. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  874. },
  875. '260.enabled': true,
  876. '260.title': 'BETA: No lock on Place',
  877. '260.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  878. '260.solution': 'Lock the Place',
  879. '260.params':
  880. {
  881. 'n.title': '{number} minimum lock level',
  882. 'n': 3,
  883. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  884. 'regexp': '/(GAS_STATION|AIRPORT)/'
  885. },
  886. '270.enabled': true,
  887. '270.title': 'BETA: No type on Parking Lot',
  888. '270.problem': 'The primary Parking Lot type is not set',
  889. '270.solution': 'Set the primary lot type',
  890. '271.enabled': true,
  891. '271.title': 'BETA: No cost on Parking Lot',
  892. '271.problem': 'The Parking Lot cost is not set',
  893. '271.solution': 'Set the Parking Lot cost',
  894. '272.enabled': true,
  895. '272.title': 'BETA: No payment types on Parking Lot',
  896. '272.problem': 'The Parking Lot payment types are not set',
  897. '272.solution': 'Set the payment types',
  898. '273.enabled': true,
  899. '273.title': 'BETA: No elevation on Parking Lot',
  900. '273.problem': 'The Parking Lot elevation is not set',
  901. '273.solution': 'Set the elevation',
  902. '274.enabled': true,
  903. '274.title': 'BETA: No Parking Lot entry/exit points',
  904. '274.problem': 'The Parking Lot entry/exit points are not set',
  905. '274.solution': 'Set the entry/exit points',
  906. '275.enabled': true,
  907. '275.title': 'BETA: No brand on Gas Station',
  908. '275.problem': 'The Gas Station brand is not in its name',
  909. '275.solution': 'Add or update brand in the Gas Station name'
  910. },
  911. 'US':
  912. {
  913. '.codeISO': 'US',
  914. '.country': 'United States',
  915. '27.enabled': true,
  916. '90.enabled': true,
  917. '106.enabled': true,
  918. '112.enabled': false,
  919. '150.enabled': true,
  920. '150.params': {'n': 2},
  921. '170.enabled': true,
  922. '170.params': {'regexp': '/^(?!(to) [^a-z])((S|N|W|E) )?[a-z]/'},
  923. '171.enabled': true,
  924. '171.solutionLink': 'W:Abbreviations_and_acronyms/USA#Standard_suffix_abbreviations',
  925. '171.params':
  926. {
  927. 'regexp':
  928. '/((?!(\\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/',
  929. 'problemEN': 'The street name has incorrect abbreviation, or character',
  930. 'solutionEN':
  931. 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table. Remove any comma (,), backslash (\\), or semicolon (;)'
  932. }
  933. },
  934. 'UK': {'.codeISO': 'UK', '.country': 'United Kingdom', '1.enabled': false, '200.enabled': false},
  935. 'SK':
  936. {
  937. '.codeISO': 'SK',
  938. '.country': 'Slovakia',
  939. '27.enabled': true,
  940. '52.enabled': true,
  941. '73.enabled': true,
  942. '90.enabled': true,
  943. '150.enabled': true,
  944. '150.problemLink': 'F:t=64980&p=572847#p572847',
  945. '150.params': {'n': 2},
  946. '151.enabled': true,
  947. '151.problemLink': 'F:t=64980&p=572847#p572847',
  948. '151.params': {'n': 2},
  949. '152.enabled': true,
  950. '152.problemLink': 'F:t=64980&p=572847#p572847',
  951. '152.params': {'n': 2},
  952. '170.enabled': true,
  953. '170.params': {'regexp': '/^(?!(exit) [^a-z])[a-z]/'}
  954. },
  955. 'SG':
  956. {
  957. '.codeISO': 'SG',
  958. '.country': 'Singapore',
  959. '69.enabled': true,
  960. '73.enabled': true,
  961. '150.enabled': true,
  962. '150.params': {'n': 2},
  963. '151.enabled': true,
  964. '151.params': {'n': 2},
  965. '152.enabled': true,
  966. '152.params': {'n': 2}
  967. },
  968. 'RU': {'.codeISO': 'RU', '.country': 'Russia', '77.enabled': false, '190.enabled': false},
  969. 'PL':
  970. {
  971. '.codeISO': 'PL',
  972. '.country': 'Poland',
  973. '.author': 'Zniwek',
  974. '.updated': '2014-10-01',
  975. '.lng': 'PL',
  976. 'city.consider': 'rozważ tę nazwę miasta:',
  977. 'city.1': 'nazwa miasta jest za krótka',
  978. 'city.2': 'rozwiń skrót',
  979. 'city.3': 'uzupełnij skróconą nazwę',
  980. 'city.4': 'uzupełnij nazwę miasta',
  981. 'city.5': 'popraw wielkość liter',
  982. 'city.6': 'sprawdź kolejność słów',
  983. 'city.7': 'sprawdź skróty',
  984. 'city.8a': 'dodaj nazwę państwa',
  985. 'city.8r': 'usuń nazwę państwa',
  986. 'city.9': 'sprawdź nazwę państwa',
  987. 'city.10a': 'dodaj słowo',
  988. 'city.10r': 'usuń słowo',
  989. 'city.11': 'dodaj kod państwa',
  990. 'city.12': 'identyczne nazwy, ale inne ID miasta',
  991. 'city.13a': 'dodaj spację',
  992. 'city.13r': 'usuń spację',
  993. 'city.14': 'sprawdź numer',
  994. 'props.skipped.title': 'Segment nie jest sprawdzony',
  995. 'props.skipped.problem': 'Segment jest zmodyfikowany po 2014-05-01 I zablokowany dla Ciebie, więc Validator go nie sprawdził',
  996. 'err.regexp': 'Błąd podczas parsowania opcji dla sprawdzenia #${n}:',
  997. 'props.disabled': 'WME Validator jest wyłączony',
  998. 'props.limit.title': 'Zgłoszono zbyt wiele problemów',
  999. 'props.limit.problem': 'Zgłoszono zbyt wiele problemów, więc niektóre z nich mogą nie być pokazane',
  1000. 'props.limit.solution': 'Odznacz segment i zatrzymaj skanowanie. Następnie kliknij czerwony \'✘\', przycisk (Wyczyść raport)',
  1001. 'props.reports': 'raporty',
  1002. 'props.noneditable': 'Nie możesz edytować tego segmentu',
  1003. 'report.save': 'Zapisz ten raport',
  1004. 'report.list.andUp': 'i wyższe',
  1005. 'report.list.severity': 'Ważność:',
  1006. 'report.list.reportOnly': 'tylko w raporcie',
  1007. 'report.list.forEditors': 'Dla edytorów poziomu:',
  1008. 'report.list.forCountries': 'Dla państw:',
  1009. 'report.list.forStates': 'Dla stanów:',
  1010. 'report.list.forCities': 'Dla miast:',
  1011. 'report.list.params': 'Parametry do skonfigurowania w paczce językowej:',
  1012. 'report.list.params.set': 'Aktualna konfiguracja dla ${country}:',
  1013. 'report.list.enabled': '${n} sprawdzenia włączone dla',
  1014. 'report.list.disabled': '${n} sprawdzenia wyłączone dla',
  1015. 'report.list.total': 'There are ${n} sprawdzenia dostępne',
  1016. 'report.list.title': 'Pełna lista Sprawdzeń dla',
  1017. 'report.list.see': 'Zobacz',
  1018. 'report.list.checks': 'Ustawienia->O->Dostępne sprawdzenia',
  1019. 'report.list.fallback': 'Zasady Cofnięcia Lokalizacji:',
  1020. 'report.and': 'i',
  1021. 'report.segments': 'Liczba sprawdzonych segmentów:',
  1022. 'report.customs': 'Własne zaznaczone sprawdzenia (zielone/niebieskie):',
  1023. 'report.reported': 'Zaraportowane',
  1024. 'report.errors': 'błędy',
  1025. 'report.warnings': 'ostrzeżenia',
  1026. 'report.notes': 'notki',
  1027. 'report.contents': 'Zawartość:',
  1028. 'report.summary': 'Podsumowanie',
  1029. 'report.title': 'WME Validator - Raport',
  1030. 'report.share': 'by się Podzielić',
  1031. 'report.generated.by': 'wygenerowane przez',
  1032. 'report.generated.on': 'na',
  1033. 'report.source': 'Źródło raportu:',
  1034. 'report.filter.duplicate': 'duplikowane segmenty',
  1035. 'report.filter.streets': 'Ulice i Drogi Serwisowe',
  1036. 'report.filter.other': 'Pozostałe przejezdne/nieprzejezdne',
  1037. 'report.filter.noneditable': 'segmenty bez możliwości edycji',
  1038. 'report.filter.notes': 'notki',
  1039. 'report.filter.title': 'Filtruj:',
  1040. 'report.filter.excluded': 'są wyłączone z tego raportu.',
  1041. 'report.search.updated.by': 'zaktualizowane przez',
  1042. 'report.search.updated.since': 'zaktualizowane od',
  1043. 'report.search.city': 'z',
  1044. 'report.search.reported': 'zaraportowane jako',
  1045. 'report.search.title': 'Szukaj:',
  1046. 'report.search.only': 'tylko segmenty',
  1047. 'report.search.included': 'są zawarte w tym raporcie.',
  1048. 'report.beta.warning': 'Ostrzeżenie WME Beta!',
  1049. 'report.beta.text': 'Ten raport jest wygenerowany w wersji beta WME z permalinkami beta.',
  1050. 'report.beta.share': 'Proszę, nie dziel się raportem z tymi permalinkami!',
  1051. 'report.size.warning':
  1052. '<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.',
  1053. 'report.note.limit': '* Info: było zbyt wiele zgłoszonych problemów, więc niektóre z nich nie są policzone w podsumowaniu.',
  1054. 'report.forum': 'Żeby zmotywować mnie do pracy nad skrpytem, zostaw komentarz w',
  1055. 'report.thanks': 'Dziękuję za używanie WME Validator!',
  1056. 'msg.limit.segments': 'Zbyt wiele segmentów.\n\nKliknij \'Pokaż raport\' żeby go przejrzeć, a potem\n',
  1057. 'msg.limit.segments.continue': 'kliknij \'▶\' (Start) by kontynuować.',
  1058. 'msg.limit.segments.clear': 'kliknij \'✘\' (Wyczyść) by wyczyścić raport.',
  1059. 'msg.pan.text': 'Przesuwaj mapę, by ją sprawdzić',
  1060. 'msg.zoomout.text': 'Oddal widok, by uruchomić WME Validator',
  1061. 'msg.click.text': 'Kliknij \'▶\' (Start), by sprawdzić widoczny obszar mapy',
  1062. 'msg.autopaused': 'autopauza',
  1063. 'msg.autopaused.text': 'Spauzowano automatycznie! Kliknij \'▶\' (Start) by kontynuować.',
  1064. 'msg.autopaused.tip': 'WME Validator wstrzymany automatycznie przy przesunięciu mapy lub skalowaniu okna',
  1065. 'msg.finished.text': 'Kliknij <b>\'Pokaż raport\'</b> by przejrzeć błędy',
  1066. 'msg.finished.tip': 'Kliknij przycisk \'✉\' (Podziel się), żeby umieścić raport na\nforum lub w prywatnej wiadomości',
  1067. 'msg.noissues.text': 'Ukończono! Nie znaleziono błędów!',
  1068. 'msg.noissues.tip': 'Spróbuj odznaczyć niektóre opcje filtrowania lub odpal WME Validator na innym obszarze!',
  1069. 'msg.scanning.text': 'Skanowanie! Koniec za ~ ${n} min',
  1070. 'msg.scanning.text.soon': 'Skanowanie! Koniec w ciągu minuty!',
  1071. 'msg.scanning.tip': 'Kliknij przycisk \'Pauza\' by wstrzymać lub \'■\' (Stop) by zatrzymać',
  1072. 'msg.starting.text': 'Start! Warstwy są wyłączone, by skanować szybciej!',
  1073. 'msg.starting.tip': 'Użyj przycisku \'Pauza\' by wstrzymać lub przycisku \'■\' by zatrzymać',
  1074. 'msg.paused.text': 'Wstrzymane! Kliknij przycisk \'▶\' (Start) by kontynuować.',
  1075. 'msg.paused.tip': 'Żeby zobaczyć raport, kliknij przycisk \'Pokaż raport\' (jeżeli dostępne)',
  1076. 'msg.continuing.text': 'Kontynuowanie!',
  1077. 'msg.continuing.tip': 'WME Validator zacznie ponownie z miejsca, gdzie włączono pauzę',
  1078. 'msg.settings.text': 'Kliknij <b>\'Wstecz\'</b>, by powrócić do głównego widoku',
  1079. 'msg.settings.tip': 'Kliknij przycisk \'Resetuj domyślne\' aby zresetować wszystkie ustawienia za jednym zamachem!',
  1080. 'msg.reset.text': 'Wszystkie opcje filtrowania i ustawienia zostały zresetowane do domyślnych',
  1081. 'msg.reset.tip': 'Kliknij przycisk \'Wstecz\', by powrócić do głównego widoku',
  1082. 'msg.textarea.pack':
  1083. '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',
  1084. 'msg.textarea': 'Skopiuj proszę tekst poniżej, a następnie wklej do posta lub wiadomości prywatnej',
  1085. 'noaccess.text':
  1086. '<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.',
  1087. 'noaccess.tip': 'Sprawdź proszę wątek na forum po więcej informacji!',
  1088. 'tab.switch.tip.on': 'Kliknij by włączyć podświetlanie (Alt+V)',
  1089. 'tab.switch.tip.off': 'Kliknij by wyłączyć podświetlanie (Alt+V)',
  1090. 'tab.filter.text': 'filtruj',
  1091. 'tab.filter.tip': 'Opcje filtrowania raportu i podświetlonych segmentów',
  1092. 'tab.search.text': 'szukaj',
  1093. 'tab.search.tip': 'Zaawansowane opcje filtrowania, żeby załączyć tylko specyficzne segmenty',
  1094. 'tab.help.text': 'pomoc',
  1095. 'tab.help.tip': 'Potrzebujesz pomocy?',
  1096. 'filter.noneditables.text': 'Wyklucz <b>nieedytowalne</b> segmenty',
  1097. 'filter.noneditables.tip': 'Nie raportuj zablokowanych segmentów lub\nsegmentów poza Twoim obszarem edycji',
  1098. 'filter.duplicates.text': 'Wyklucz <b>duplikowane</b> segmenty',
  1099. 'filter.duplicates.tip': 'Nie pokazuj tego samego segmentu w różnych\nczęściach raportu\n* Info: ta opcja NIE WPŁYWA na podświetlanie',
  1100. 'filter.streets.text': 'Wyklucz <b>Ulice i Drogi Serwisowe</b>',
  1101. 'filter.streets.tip': 'Nie raportuj Ulic i Dróg Serwisowych',
  1102. 'filter.other.text': 'Wyklucz <b>Pozostałe przejezdne i nieprzejezdne</b>',
  1103. 'filter.other.tip': 'Nie raportuj Gruntowych, Wewnętrznych, Prywatnych Dróg\ni nieprzejezdnych segmentów',
  1104. 'filter.notes.text': 'Wyklucz <b>notki</b>',
  1105. 'filter.notes.tip': 'Raportuj tylko ostrzeżenia i błędy',
  1106. 'search.youredits.text': 'Załącz <b>tylko Twoje edycje</b>',
  1107. 'search.youredits.tip': 'Załącz tylko segmenty edytowane przez Ciebie',
  1108. 'search.updatedby.text': '<b>Zaktualizowane przez*:</b>',
  1109. 'search.updatedby.tip':
  1110. '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',
  1111. 'search.updatedby.example': 'Przykład: me',
  1112. 'search.updatedsince.text': '<b>Zaktualizowane od:</b>',
  1113. 'search.updatedsince.tip': 'Załącz tylko segmenty edytowane od ustalonej daty\nformat daty Firefox: RRRR-MM-DD',
  1114. 'search.updatedsince.example': 'RRRR-MM-DD',
  1115. 'search.city.text': '<b>Nazwa miasta:</b>',
  1116. '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, *',
  1117. 'search.city.example': 'Przykład: !Paris, *',
  1118. 'search.checks.text': '<b>Zaraportowane jako:</b>',
  1119. 'search.checks.tip':
  1120. '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*, *',
  1121. 'search.checks.example': 'Przykład: reverse*',
  1122. 'help.text':
  1123. '<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>',
  1124. 'help.tip': 'Otwórz w nowej karcie przeglądarki',
  1125. 'button.scan.tip': 'Zacznij skanowanie aktualnego obszaru\n* Info: to może zająć kilka minut',
  1126. 'button.scan.tip.NA': 'Oddal widok by zacząć skanować aktualny obszar',
  1127. 'button.pause.tip': 'Wstrzymaj skanowanie',
  1128. 'button.continue.tip': 'Kontynuuj skanowanie obszaru mapy',
  1129. 'button.stop.tip': 'Zatrzymaj skanowanie i powróć do pozycji startowej',
  1130. 'button.clear.tip': 'Wyczyść raport i cache segmentu',
  1131. '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.',
  1132. 'button.report.text': 'Pokaż raport',
  1133. 'button.report.tip': 'Zatwierdź filtr i wygeneruj raport HTML w nowej karcie',
  1134. 'button.BBreport.tip': 'Podziel się raportem na forum Waze lub w prywatnej wiadomości',
  1135. 'button.settings.tip': 'Konfiguruj ustawienia',
  1136. 'tab.custom.text': 'własne',
  1137. 'tab.custom.tip': 'Ustawienia sprawdzeń zdefiniowanych przez użytkownika',
  1138. 'tab.settings.text': 'Ustawienia',
  1139. 'tab.scanner.text': 'skaner',
  1140. 'tab.scanner.tip': 'Ustawienia skanera mapy',
  1141. 'tab.about.text': 'o</span>',
  1142. 'tab.about.tip': 'Info o WME Validator',
  1143. 'scanner.sounds.text': 'Włącz dźwięki',
  1144. 'scanner.sounds.tip': 'Pikanie podczas skanowania',
  1145. 'scanner.sounds.NA': 'Twoja przeglądarka nie wspiera AudioContext',
  1146. 'scanner.highlight.text': 'Podświetl błędy na mapie',
  1147. 'scanner.highlight.tip': 'Podświetl zaraportowane błędy na mapie',
  1148. 'scanner.slow.text': 'Włącz sprawdzenia "slow"',
  1149. 'scanner.slow.tip': 'Włącza głęboką analizę mapy\n* Info: ta opcja może spowolnić proces skanowania',
  1150. 'scanner.ext.text': 'Raportuj zewnętrzne podświetlenia',
  1151. 'scanner.ext.tip': 'Raportuj segmenty podświetlone przez WME Toolbox lub WME Color Highlights',
  1152. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Własny szablon</a>',
  1153. 'custom.template.tip':
  1154. '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}',
  1155. 'custom.template.example': 'Przykład ${street}',
  1156. 'custom.regexp.text': 'Własne <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1157. 'custom.regexp.tip':
  1158. '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/',
  1159. 'custom.regexp.example': 'Przykład: !/.+/',
  1160. 'about.tip': 'Otwórz link w nowej karcie',
  1161. 'button.reset.text': 'Resetuj domyślne',
  1162. 'button.reset.tip': 'Przywróć opcje filtrowania i ustawienia na domyślne',
  1163. 'button.list.text': 'Dostępne sprawdzenia...',
  1164. 'button.list.tip': 'Wyświetl listę sprawdzeń dostępnych w WME Validatorze',
  1165. 'button.wizard.tip': 'Stwórz paczkę językową',
  1166. 'button.back.text': 'Powrót',
  1167. 'button.back.tip': 'Zamknij ustawienia i wróć do głównego widoku',
  1168. '1.title': 'WME Toolbox: Rondo może powodować problemy',
  1169. '1.problem': 'ID węzłów ronda nie są w kolejności',
  1170. '1.solution': 'Stwórz rondo na nowo',
  1171. '2.title': 'WME Toolbox: Pojedynczy segment',
  1172. '2.problem': 'Segment ma niepotrzebne węzły',
  1173. '2.solution': 'Uprość geometrię segmentu przez najechanie myszką i naciśnięcie przycisku "d"',
  1174. '3.title': 'WME Toolbox: Blokada na 2 poziom',
  1175. '3.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1176. '4.title': 'WME Toolbox: Blokada na 3 poziom',
  1177. '4.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1178. '5.title': 'WME Toolbox: Blokada na 4 poziom',
  1179. '5.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1180. '6.title': 'WME Toolbox: Blokada na 5 poziom',
  1181. '6.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1182. '7.title': 'WME Toolbox: Blokada na 6 poziom',
  1183. '7.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1184. '8.title': 'WME Toolbox: Numery domów',
  1185. '8.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1186. '9.title': 'WME Toolbox: Segment z ograniczeniami czasowymi',
  1187. '9.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1188. '13.title': 'WME Color Highlights: Blokada edytora',
  1189. '13.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1190. '14.title': 'WME Color Highlights: Płatna / Jednokierunkowa',
  1191. '14.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1192. '15.title': 'WME Color Highlights: Ostatnio edytowane',
  1193. '15.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1194. '16.title': 'WME Color Highlights: Ranga drogi',
  1195. '16.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1196. '17.title': 'WME Color Highlights: Brak miasta',
  1197. '17.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1198. '18.title': 'WME Color Highlights: Ograniczenie czasowe / Podświetlony typ drogi',
  1199. '18.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1200. '19.title': 'WME Color Highlights: Brak nazwy',
  1201. '19.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1202. '20.title': 'WME Color Highlights: Filtruj po mieście',
  1203. '20.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1204. '21.title': 'WME Color Highlights: Filtruj po mieście (alt. miasto)',
  1205. '21.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1206. '22.title': 'WME Color Highlights: Filtruj po edytorzer',
  1207. '22.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1208. '23.solutionLink': 'W:Drogi',
  1209. '23.title': 'Niepotwierdzona droga',
  1210. '23.problem': 'Każdy segment musi mieć przynajmniej Państwo i Stan',
  1211. '23.solution': 'Potwierdź drogę, aktualizując jej szczegóły',
  1212. '24.title': 'Prawdopodobnie błędna nazwa miasta (tylko w raporcie)',
  1213. '24.problem': 'Segment może zawierać błędną nazwę miasta',
  1214. '24.solution': 'Rozważ zaproponowaną nazwę i użyj tego formularza do zmiany nazwy miasta',
  1215. '25.title': 'Nieznana kierunkowość przejezdnej drogi',
  1216. '25.problem': '\'Nieznana\' kierunkowość drogi, nie zapobiegnie wyznaczaniu tędy trasy',
  1217. '25.solution': 'Ustaw kierunkowość drogi',
  1218. '27.enabled': true,
  1219. '27.problemLink': 'W:Drogi#Tory.2C_szyny',
  1220. '27.title': 'Nazwa miasta na Torach',
  1221. '27.problem': 'Nazwa miasta na Torach, szynach',
  1222. '27.solution': 'Zaznacz pole \'brak\' przy nazwie miasta',
  1223. '28.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1224. '28.title': 'Nazwa ulicy na dwukierunkowym zjeździe',
  1225. '28.problem': 'Jeśli zjazd jest nienazwany, wyświetli się nazwa docelowej drogi',
  1226. '28.solution': 'Zmień nazwę ulicy na \'brak\'',
  1227. '29.problemLink': 'W:Drogi#Rondo',
  1228. '29.title': 'Nazwa ulicy na rondzie',
  1229. '29.problem': 'W Waze nie nazywamy segmentów ronda',
  1230. '29.solution': 'Zmień nazwę ulicy na \'brak\', a następnie dodaj punkt orientacyjny \'Węzeł drogowy\', żeby nazwać rondo',
  1231. '34.title': 'Pusta nazwa alternatywna',
  1232. '34.problem': 'Alternatywna nazwa ulicy jest pusta',
  1233. '34.solution': 'Usuń pustą nazwę alternatywną ulicy',
  1234. '35.title': 'Niezakończona droga',
  1235. '35.problem': 'Waze nie poprowadzi z niezakończonego segmentu',
  1236. '35.solution': 'Przesuń trochę segment, żeby pojawił się kończący węzeł',
  1237. '36.title': 'Węzeł A: Niepotrzebny (slow)',
  1238. '36.problem': 'Segmenty spotykające się w węźle A są identyczne',
  1239. '36.solution': 'Wybierz węzeł A i naciśnij przycisk Delete, by połączyć segmenty',
  1240. '37.title': 'Węzeł B: Niepotrzebny (slow)',
  1241. '37.problem': 'Segmenty spotykające się w węźle B są identyczne',
  1242. '37.solution': 'Wybierz węzeł B i naciśnij przycisk Delete, by połączyć segmenty',
  1243. '38.title': 'Upłynął czas ograniczenia segmentu (slow)',
  1244. '38.problem': 'Segment zawiera wygasłe ograniczenie',
  1245. '38.solution': 'Kliknij \'Edytuj ograniczenia\' i usuń wygasłe ograniczenie',
  1246. '39.title': 'Wygasłe ograniczenie skrętu (slow)',
  1247. '39.problem': 'Segment ma skręt z wygasłym ograniczeniem',
  1248. '39.solution': 'Kliknij ikonę zegara obok żółtej strzałki i usuń wygasłe ograniczenie',
  1249. '41.title': 'Węzeł A: Odwrócona łączność przejezdnej drogi',
  1250. '41.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle A',
  1251. '41.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (A→B)\'',
  1252. '42.title': 'Węzeł B: Odwrócona łączność przejezdnej drogi',
  1253. '42.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle B',
  1254. '42.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (B→A)\'',
  1255. '43.title': 'Połączenie ze sobą',
  1256. '43.problem': 'Segment łączy się sam ze sobą',
  1257. '43.solution': 'Podziel segment na TRZY części',
  1258. '46.title': 'SLOW: Brak wjazdu na węźle A',
  1259. '46.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1260. '46.solution': 'Rozważ możliwość wjazdu na węźle A',
  1261. '47.title': 'SLOW: Brak wjazdu na węźle B',
  1262. '47.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1263. '47.solution': 'Rozważ możliwość wjazdu na węźle A',
  1264. '48.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1265. '48.title': 'Dwukierunkowy segment ronda',
  1266. '48.problem': 'Segment ronda jest dwukierunkowy',
  1267. '48.solution': 'Stwórz rondo od nowa',
  1268. '50.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1269. '52.enabled': true,
  1270. '52.solutionLink': 'W:Tabela_skrótów',
  1271. '52.title': 'Za długa nazwa ulicy',
  1272. '52.problem': 'Nazwa przejezdnego segmentu jest dłuższa niż ${n} liter i nie jest Rampą',
  1273. '52.solution': 'Consider an abbreviation for the street name according to this table',
  1274. '52.params': {'n': 35},
  1275. '57.enabled': true,
  1276. '57.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1277. '57.title': 'Nazwa miasta na nazwanym zjeździe',
  1278. '57.problem': 'Nazwa miasta na nazwanym zjeździe może wpłynąć na wyniki wyszukiwania',
  1279. '57.solution': 'Zmień nazwę miasta na \'brak\'',
  1280. '59.enabled': true,
  1281. '59.problemLink': 'W:Drogi#Autostrada_.2F_Droga_ekspresowa',
  1282. '59.title': 'Nazwa miasta na Autostradzie',
  1283. '59.problem': 'Nazwa miasta na Autostradzie, może spowodować że obszar miasta się rozciągnie',
  1284. '59.solution': 'W danych adresowych ustaw \'Brak\' obok nazwy miasta i kliknij \'Zatwierdź\'',
  1285. '73.enabled': true,
  1286. '73.title': 'Za krótka nazwa ulicy',
  1287. '73.problem': 'Nazwa ulicy jest krótsza niż ${n} liter i nie jest autostradą',
  1288. '73.solution': 'Popraw nazwę ulicy',
  1289. '74.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1290. '78.title': 'SLOW: Takie same punkty końcowe segmentów',
  1291. '78.problem': 'Dwa przejezdne segmenty mają takie same punkty końcowe',
  1292. '78.solution': 'Podziel segment. Możesz także usunąć segment, jeśli są identyczne',
  1293. '79.problemLink': 'W:Skrzyżowania#Najlepsze_praktyki_dla_r.C3.B3.C5.BCnych_typ.C3.B3w_skrzy.C5.BCowa.C5.84',
  1294. '87.problemLink': 'W:Drogi#Rondo',
  1295. '87.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1296. '87.title': 'Więcej niż jeden segment wychodzący z węzła A na rondzie',
  1297. '87.problem': 'Węzeł A na rondzie ma podłączony więcej niż jeden segment wychodzący',
  1298. '87.solution': 'Utwórz rondo ponownie',
  1299. '99.title': 'Nawrót na wjeździe na rondo (slow)',
  1300. '99.problem': 'Segment wjazdu na rondo ma włączoną możliwość zawracania',
  1301. '99.solution': 'Wyłącz nawrót',
  1302. '101.params': {'regexp': '/(^|\\b)remont(\\b|$)/i'},
  1303. '101.title': 'Droga zamknięta (dostępne tylko w raporcie)',
  1304. '101.problem': 'Segment jest oznaczony jako zamknięty',
  1305. '101.solution': 'Gdy remont się skończy, przywróć połączenia segmentu i usuń przyrostek',
  1306. '102.title': 'SLOW: Brak wyjazdu na węźle A',
  1307. '102.problem': 'Przejezdny segment nie ma wyjazdu na węźle A',
  1308. '102.solution': 'Rozważ możliwość wyjazdu na węźle A',
  1309. '103.title': 'SLOW: Brak wyjazdu na węźle B',
  1310. '103.problem': 'Przejezdny segment nie ma wyjazdu na węźle B',
  1311. '103.solution': 'Rozważ możliwość wyjazdu na węźle B',
  1312. '104.title': 'Tory użyte dla komentarzy',
  1313. '104.problem': 'Tory są prawdopodobnie użyte do komentarzy na mapie',
  1314. '104.solution': 'Usuń komentarze, ponieważ Tory będą wyświetlane w aplikacji',
  1315. '105.enabled': true,
  1316. '105.title': 'Ścieżka zamiast Torów',
  1317. '105.problem': 'Ścieżka o wysokości -5 jest zapewne użyta zamiast Torów',
  1318. '105.solution': 'Zmień typ drogi na Tory, by wyświetliły się w aplikacji',
  1319. '107.title': 'SLOW: Brak połączenia w węźle A',
  1320. '107.problem': 'Węzeł A segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1321. '107.solution': 'Przeciągnij węzeł A na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1322. '108.title': 'SLOW: Brak połączenia w węźle B',
  1323. '108.problem': 'Węzeł B segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1324. '108.solution': 'Przeciągnij węzeł B na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1325. '109.title': 'Za krótki segment',
  1326. '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',
  1327. '109.solution': 'Zwiększ długość, usuń segment lub połącz go z jednym z przyległych segmentów',
  1328. '112.title': 'Za długa nazwa Rampy',
  1329. '112.problem': 'Nazwa Rampy jest dłuższa niż ${n} liter',
  1330. '112.solution': 'Skróć nazwę Rampy',
  1331. '114.title': 'Węzeł A: Nieprzejezdna połączona z przejezdną (slow)',
  1332. '114.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle A',
  1333. '114.solution': 'Odłącz węzeł A od wszystkich przejezdnych segmentów',
  1334. '115.title': 'Węzeł B: Nieprzejezdna połączona z przejezdną (slow)',
  1335. '115.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle B',
  1336. '115.solution': 'Odłącz węzeł B od wszystkich przejezdnych segmentów',
  1337. '116.title': 'Poza skalą poziomu/wysokości',
  1338. '116.problem': 'Poziom/wysokość segmentu są poza skalą',
  1339. '116.solution': 'Popraw poziom/wysokość',
  1340. '117.title': 'Przestarzały znacznik CONST ZN',
  1341. '117.problem': 'Segmeny jest oznaczony przestarzałym przyrostkiem CONST ZN',
  1342. '117.solution': 'Zmień CONST ZN na (zamknięte)',
  1343. '118.title': 'Węzeł A: Nakładające się segmenty (slow)',
  1344. '118.problem': 'Segment pokrywa się z sąsiadującym, w węźle A',
  1345. '118.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle A',
  1346. '119.title': 'Węzeł B: Nakładające się segmenty (slow)',
  1347. '119.problem': 'Segment pokrywa się z sąsiadującym, w węźle B',
  1348. '119.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle B',
  1349. '120.title': 'Węzeł A: Za ostry skręt (slow)',
  1350. '120.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle A',
  1351. '120.solution': 'Wyłącz ostry skręt na węźle A lub rozszerz segmenty do 30°',
  1352. '121.title': 'Węzeł B: Za ostry skręt (slow)',
  1353. '121.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle B',
  1354. '121.solution': 'Wyłącz ostry skręt na węźle B lub rozszerz segmenty do 30°',
  1355. '128.title': 'Własne sprawdzenie (zielone)',
  1356. '128.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1357. '128.solution': 'Rozwiąż ten problem',
  1358. '129.title': 'Własne sprawdzenie (niebieskie)',
  1359. '129.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1360. '129.solution': 'Rozwiąż ten problem',
  1361. '161.enabled': true,
  1362. '161.params':
  1363. {'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'},
  1364. '161.problemLink': 'W:Drogi#Droga_krajowa',
  1365. '161.title': 'Numer DK w nazwie ulicy',
  1366. '161.problem': 'Nazwa ulicy zawiera numer DK',
  1367. '161.solution': 'Usuń przedrostek z nazwy ulicy',
  1368. '162.enabled': true,
  1369. '162.params':
  1370. {'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'},
  1371. '162.problemLink': 'W:Drogi#Droga_wojew.C3.B3dzka',
  1372. '162.title': 'Numer DW w nazwie ulicy',
  1373. '162.problem': 'Nazwa ulicy zawiera numer DW',
  1374. '162.solution': 'Usuń przedrostek z nazwy ulicy',
  1375. '163.enabled': true,
  1376. '163.params': {
  1377. 'titleEN': '\'Węzel\' in Ramp name',
  1378. 'problemEN': 'The Ramp name contains word \'węzel\'',
  1379. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  1380. 'regexp': '/węze[lł]/i'
  1381. },
  1382. '163.solutionLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1383. '163.title': '\'Węzel\' w nazwie zjazdu',
  1384. '163.problem': 'Zjazd zawiera w nazwie słowo \'węzel\'',
  1385. '163.solution': 'Zmień nazwę zjazdu zgodnie z wytycznymi',
  1386. '167.enabled': true,
  1387. '167.params': {
  1388. 'titleEN': 'Incorrect Railroad name',
  1389. 'problemEN': 'The Railroad name is not \'PKP\', \'SKM\' or \'MPK\'',
  1390. '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\'',
  1391. 'regexp': '!/^(PKP|MPK|SKM|Tramwaje Śląskie)$/'
  1392. },
  1393. '167.solutionLink': 'W:Drogi#Tory.2C_szyny',
  1394. '167.title': 'Nieprawidłowa nazwa Torów',
  1395. '167.problem': 'Segment Torów ma nieprawidłową nazwę',
  1396. '167.solution': 'Zmień nazwę segmentu zgodnie z wytycznymi',
  1397. '169.enabled': true,
  1398. '169.params': {
  1399. 'titleEN': '\'Rondo\' or \'ulica\' in street name',
  1400. 'problemEN': 'The street name contains word \'rondo\' or \'ulica\'',
  1401. 'solutionEN':
  1402. '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\'',
  1403. 'regexp': '/rondo |ulica/i'
  1404. },
  1405. '169.solutionLink': 'W:Drogi#Rondo',
  1406. '169.title': '\'Rondo\' lub \'ulica\' w nazwie ulicy',
  1407. '169.problem': 'Nazwa ulicy zawiera słowo \'rondo\' lub \'ulica\'',
  1408. '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',
  1409. '171.enabled': true,
  1410. '171.params': {
  1411. 'regexp':
  1412. '/(^| )(?!(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\\.)[^ ]+\\./'
  1413. },
  1414. '171.solutionLink': 'W:Tabela_skrótów',
  1415. '171.title': 'Nieprawidłowy skrót w nazwie ulicy',
  1416. '171.problem': 'Nazwa ulicy zawiera nieprawidłowy skrót',
  1417. '171.solution': 'Sprawdź wielkie/małe litery, przerwę przed/po skrócie i zgodność z tą tabelą',
  1418. '172.title': 'Niepotrzebne spacje w nazwie ulicy',
  1419. '172.problem': 'Spacja na początku, końcu lub podwójna w nazwie ulicy',
  1420. '172.solution': 'Usuń niepotrzebne spacje z nazwy ulicy',
  1421. '173.title': 'Nazwa ulicy bez spacji przed lub po skrócie',
  1422. '173.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie ulicy',
  1423. '173.solution': 'Dodaj spację przed/po skrócie',
  1424. '175.title': 'Nazwa ulicy złożona z samych spacji',
  1425. '175.problem': 'Nazwa ulicy zawiera tylko spacje',
  1426. '175.solution': 'Zmień nazwę ulicy na \'Brak\' lub nazwij odpowiednio ulicę',
  1427. '190.title': 'Nazwa miasta małą literą',
  1428. '190.problem': 'Nazwa miasta zaczyna się od małej litery',
  1429. '190.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1430. '192.title': 'Niepotrzebne spacje w nazwie miasta',
  1431. '192.problem': 'Spacja na początku, końcu lub podwójna w nazwie miasta',
  1432. '192.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1433. '193.title': 'Brak spacji przed/po skrócie miasta',
  1434. '193.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie miasta',
  1435. '193.solution': 'Użyj tej formy, by zmienić nazwę miasta',
  1436. '200.problemLink': 'W:Skrzyżowania#Ograniczenia_skr.C4.99t.C3.B3w',
  1437. '200.title': 'Węzeł A: Wstępnie dopuszczony lub zakazany skręt na przejezdnej drodze',
  1438. '200.problem': 'Segment ma niepotwierdzony skręt na węźle A',
  1439. '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',
  1440. '201.title': 'Węzeł A: Niepotwierdzony skręt na głównej drodze',
  1441. '201.problem': 'Segment drogi głównej ma niepotwierdzony skręt na węźle A',
  1442. '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'
  1443. },
  1444. 'NZ': {'.codeISO': 'NZ', '.country': 'New Zealand'},
  1445. 'NL':
  1446. {
  1447. '.codeISO': 'NL',
  1448. '.country': 'Netherlands',
  1449. '.author': 'davidakachaos',
  1450. '.updated': '2018-08-01',
  1451. '.fallbackCode': 'BE',
  1452. '.lng': 'NL',
  1453. 'city.consider.en': 'consider this city name:',
  1454. 'city.consider': 'overweeg deze plaatsnaam:',
  1455. 'city.1.en': 'city name is too short',
  1456. 'city.1': 'plaatsnaam te kort',
  1457. 'city.2.en': 'expand the abbreviation',
  1458. 'city.2': 'De afkorting uitbreiden',
  1459. 'city.3.en': 'complete short name',
  1460. 'city.3': 'maak de korte naam compleet',
  1461. 'city.4.en': 'complete city name',
  1462. 'city.4': 'plaatsnaam aanvullen',
  1463. 'city.5.en': 'correct letter case',
  1464. 'city.5': 'juist hoofdlettergebruik',
  1465. 'city.6.en': 'check word order',
  1466. 'city.6': 'controleer woord volgorde',
  1467. 'city.7.en': 'check abbreviations',
  1468. 'city.7': 'controleer afkortingen',
  1469. 'city.8a.en': 'add county name',
  1470. 'city.8a': 'land naam toevoegen',
  1471. 'city.8r.en': 'remove county name',
  1472. 'city.8r': 'land naam verwijderen',
  1473. 'city.9.en': 'check county name',
  1474. 'city.9': 'controleer land naam',
  1475. 'city.10a.en': 'add a word',
  1476. 'city.10a': 'woord toevoegen',
  1477. 'city.10r.en': 'remove a word',
  1478. 'city.10r': 'woord verwijderen',
  1479. 'city.11.en': 'add county code',
  1480. 'city.11': 'landcode toevoegen',
  1481. 'city.12.en': 'identical names, but different city IDs',
  1482. 'city.12': 'identieke namen, maar verschillende plaats IDs',
  1483. 'city.13a.en': 'add a space',
  1484. 'city.13a': 'spatie invoegen',
  1485. 'city.13r.en': 'remove a space',
  1486. 'city.13r': 'spatie verwijderen',
  1487. 'city.14.en': 'check the number',
  1488. 'city.14': 'controleer het nummer',
  1489. 'props.skipped.title.en': 'The segment is not checked',
  1490. 'props.skipped.title': 'Dit segment is niet gecontroleerd',
  1491. 'props.skipped.problem.en': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  1492. 'props.skipped.problem': 'Dit segment is na 2014-05-01 aangepast EN voor jou gelockt, Validator heeft dit niet gecontroleerd',
  1493. 'err.regexp.en': 'Error parsing option for check #${n}:',
  1494. 'err.regexp': 'Fout bij het verwerken van de opties voor de controle #${n}:',
  1495. 'props.disabled.en': 'WME Validator is disabled',
  1496. 'props.disabled': 'WME Validator is uitgeschakeld',
  1497. 'props.limit.title.en': 'Too many issues reported',
  1498. 'props.limit.title': 'Te veel problemen gevonden',
  1499. 'props.limit.problem.en': 'There are too many issues reported, so some of them might not be shown',
  1500. 'props.limit.problem': 'Er zijn te veel problemen gemeld, daarom wordt een aantal van hen niet getoond',
  1501. 'props.limit.solution.en': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  1502. 'props.limit.solution': 'Deselecteer het segment en stop het scanproces. Klik dan op de rode \'✘\' (Clear report) knop',
  1503. 'props.reports.en': 'reports',
  1504. 'props.reports': 'meldingen',
  1505. 'props.noneditable.en': 'You cannot edit this segment',
  1506. 'props.noneditable': 'Je kunt dit segment niet bewerken',
  1507. 'report.save.en': 'Save this report',
  1508. 'report.save': 'Sla dit rapport op',
  1509. 'report.list.andUp.en': 'and up',
  1510. 'report.list.andUp': 'en meer',
  1511. 'report.list.severity.en': 'Severity:',
  1512. 'report.list.severity': 'Hevigheid:',
  1513. 'report.list.reportOnly.en': 'only in report',
  1514. 'report.list.reportOnly': 'alleen in rapportage',
  1515. 'report.list.forEditors.en': 'For editors level:',
  1516. 'report.list.forEditors': 'Voor bewerkers niveau:',
  1517. 'report.list.forCountries.en': 'For countries:',
  1518. 'report.list.forCountries': 'Voor landen:',
  1519. 'report.list.forStates.en': 'For states:',
  1520. 'report.list.forStates': 'Voor provincies:',
  1521. 'report.list.forCities.en': 'For cities:',
  1522. 'report.list.forCities': 'Voor steden:',
  1523. 'report.list.params.en': 'Params to configure in localization pack:',
  1524. 'report.list.params': 'Parameters om te configureren in lokalisatie:',
  1525. 'report.list.params.set.en': 'Current configuration for ${country}:',
  1526. 'report.list.params.set': 'Huidige configuratie voor ${country}:',
  1527. 'report.list.enabled.en': '${n} checks are enabled for',
  1528. 'report.list.enabled': '${n} controles zijn actief voor',
  1529. 'report.list.disabled.en': '${n} checks are disabled for',
  1530. 'report.list.disabled': '${n} controles zijn uitgeschakeld voor',
  1531. 'report.list.total.en': 'There are ${n} checks available',
  1532. 'report.list.total': 'Er zijn ${n} controles beschikbaar',
  1533. 'report.list.title.en': 'Complete List of Checks for',
  1534. 'report.list.title': 'Complete lijst met controles voor',
  1535. 'report.list.see.en': 'See',
  1536. 'report.list.see': 'Zie',
  1537. 'report.list.checks.en': 'Settings->About->Available checks',
  1538. 'report.list.checks': 'Instellingen->Over->Beschikbare controles',
  1539. 'report.list.fallback.en': 'Localization Fallback Rules:',
  1540. 'report.list.fallback': 'Lokalisatie terugval regels:',
  1541. 'report.and.en': 'and',
  1542. 'report.and': 'en',
  1543. 'report.segments.en': 'Total number of segments checked:',
  1544. 'report.segments': 'Totaal aantal gecontroleerde segmenten:',
  1545. 'report.customs.en': 'Custom checks matched (green/blue):',
  1546. 'report.customs': 'Er is een match aangepaste controles (groen/blauw):',
  1547. 'report.reported.en': 'Reported',
  1548. 'report.reported': 'Gerapporteerd',
  1549. 'report.errors.en': 'errors',
  1550. 'report.errors': 'fouten',
  1551. 'report.warnings.en': 'warnings',
  1552. 'report.warnings': 'waarschuwingen',
  1553. 'report.notes.en': 'notes',
  1554. 'report.notes': 'notities',
  1555. 'report.link.wiki.en': 'wiki',
  1556. 'report.link.wiki': 'wiki',
  1557. 'report.link.forum.en': 'forum',
  1558. 'report.link.forum': 'forum',
  1559. 'report.link.other.en': 'link',
  1560. 'report.link.other': 'link',
  1561. 'report.contents.en': 'Contents:',
  1562. 'report.contents': 'Inhoud:',
  1563. 'report.summary.en': 'Summary',
  1564. 'report.summary': 'Samenvatting',
  1565. 'report.title.en': 'WME Validator Report',
  1566. 'report.title': 'WME Validator Rapport',
  1567. 'report.share.en': 'to Share',
  1568. 'report.share': 'om te delen',
  1569. 'report.generated.by.en': 'generated by',
  1570. 'report.generated.by': 'gegenereerd door',
  1571. 'report.generated.on.en': 'on',
  1572. 'report.generated.on': 'op',
  1573. 'report.source.en': 'Report source:',
  1574. 'report.source': 'Rapportbron:',
  1575. 'report.filter.duplicate.en': 'duplicate segments',
  1576. 'report.filter.duplicate': 'dubbele segmenten',
  1577. 'report.filter.streets.en': 'Streets and Service Roads',
  1578. 'report.filter.streets': 'Straten en dienstwegen',
  1579. 'report.filter.other.en': 'Other drivable and Non-drivable',
  1580. 'report.filter.other': 'Andere berijdbare en niet berijdbare',
  1581. 'report.filter.noneditable.en': 'non-editable segments',
  1582. 'report.filter.noneditable': 'niet-bewerkbare segmenten',
  1583. 'report.filter.notes.en': 'notes',
  1584. 'report.filter.notes': 'notities',
  1585. 'report.filter.title.en': 'Filter:',
  1586. 'report.filter.title': 'Filter:',
  1587. 'report.filter.excluded.en': 'are excluded from this report.',
  1588. 'report.filter.excluded': 'zijn uitgezonderd van dit rapport.',
  1589. 'report.search.updated.by.en': 'updated by',
  1590. 'report.search.updated.by': 'bijgewerkt door',
  1591. 'report.search.updated.since.en': 'updated since',
  1592. 'report.search.updated.since': 'bijgewerkt sinds',
  1593. 'report.search.city.en': 'from',
  1594. 'report.search.city': 'van',
  1595. 'report.search.reported.en': 'reported as',
  1596. 'report.search.reported': 'gemeld',
  1597. 'report.search.title.en': 'Search:',
  1598. 'report.search.title': 'Zoeken:',
  1599. 'report.search.only.en': 'only segments',
  1600. 'report.search.only': 'alleen segmenten',
  1601. 'report.search.included.en': 'are included into the report.',
  1602. 'report.search.included': 'zijn opgenomen in het rapport.',
  1603. 'report.beta.warning.en': 'WME Beta Warning!',
  1604. 'report.beta.warning': 'WME Beta Waarschuwing!',
  1605. 'report.beta.text.en': 'This report is generated in beta WME with beta permalinks.',
  1606. 'report.beta.text': 'Dit rapport is gegenereerd in beta WME met bèta permalinks.',
  1607. 'report.beta.share.en': 'Please do not share those permalinks!',
  1608. 'report.beta.share': 'Gelieve deze permalinks niet te delen!',
  1609. 'report.size.warning.en':
  1610. '<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.',
  1611. 'report.size.warning':
  1612. '<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.',
  1613. 'report.note.limit.en': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  1614. 'report.note.limit': '* Let op: er waren te veel problemen gemeld, zodat een aantal van hen worden niet meegeteld in de samenvatting.',
  1615. 'report.forum.en': 'To motivate further development please leave your comment on the',
  1616. 'report.forum': 'Om verdere ontwikkeling te motiveren laat dan je commentaar achter op de',
  1617. 'report.forum.link.en': 'Waze forum thread.',
  1618. 'report.forum.link': 'Waze forum thread.',
  1619. 'report.thanks.en': 'Thank you for using WME Validator!',
  1620. 'report.thanks': 'Dank u voor het gebruik van de WME Validator!',
  1621. 'msg.limit.segments.en': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  1622. 'msg.limit.segments': 'Er zijn te veel segmenten.\n\nKlik op \'Toon rapport\' om het rapport door te nemen, vervolgens\n',
  1623. 'msg.limit.segments.continue.en': 'click \'▶\' (Play) to continue.',
  1624. 'msg.limit.segments.continue': 'klik \'▶\' (Play) om verder te gaan.',
  1625. 'msg.limit.segments.clear.en': 'click \'✘\' (Clear) to clear the report.',
  1626. 'msg.limit.segments.clear': 'klik \'✘\' (Löschen) om het rapport te verwijderen.',
  1627. 'msg.pan.text.en': 'Pan around to validate the map',
  1628. 'msg.pan.text': 'Schuif de kaart rond om de kaart te valideren',
  1629. 'msg.zoomout.text.en': 'Zoom out to start WME Validator',
  1630. 'msg.zoomout.text': 'Uitzoomen om WME Validator te beginnen',
  1631. 'msg.click.text.en': 'Click \'▶\' (Play) to validate visible map area',
  1632. 'msg.click.text': 'Klik \'▶\' (Play), om het zichtbare gebied op de kaart te valideren',
  1633. 'msg.autopaused.en': 'autopaused',
  1634. 'msg.autopaused': 'automatisch gepauzeerd',
  1635. 'msg.autopaused.text.en': 'Auto paused! Click \'▶\' (Play) to continue.',
  1636. 'msg.autopaused.text': 'Automatisch gepauzeerd! Om door te gaan klik op \'▶\' (Play).',
  1637. 'msg.autopaused.tip.en': 'WME Validator automatically paused on map drag or window size change',
  1638. 'msg.autopaused.tip': 'WME Validator is automatisch onderbroken wegen het verschuiven van de kaart of door een aanpassing van de venstergrootte',
  1639. 'msg.finished.text.en': 'Click <b>\'Show report\'</b> to review map issues',
  1640. 'msg.finished.text': 'Klik <b>\'Toon rapport\'</b> om kaart problemen te beoordelen',
  1641. 'msg.finished.tip.en': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  1642. 'msg.finished.tip': 'Klik op \'✉\' (Delen) om het rapport op een\nforum of privebericht te plaatsen',
  1643. 'msg.noissues.text.en': 'Finished! No issues found!',
  1644. 'msg.noissues.text': 'Klaar! Geen problemen gevonden!',
  1645. 'msg.noissues.tip.en': 'Try to uncheck some filter options or start WME Validator over another map area!',
  1646. 'msg.noissues.tip': 'Probeer een aantal filteropties uit te vinken of start WME Validator over een ander gebied op de kaart!',
  1647. 'msg.scanning.text.en': 'Scanning! Finishing in ~ ${n} min',
  1648. 'msg.scanning.text': 'Scannen! Klaar over ~ ${n} min',
  1649. 'msg.scanning.text.soon.en': 'Scanning! Finishing in a minute!',
  1650. 'msg.scanning.text.soon': 'Scannen! Klaar binnen een minuut!',
  1651. 'msg.scanning.tip.en': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  1652. 'msg.scanning.tip': 'Klik op \'pauze\' knop om te pauzeren of \'■\' (Stop) om te stoppen',
  1653. 'msg.starting.text.en': 'Starting! Layers are off to scan faster!',
  1654. 'msg.starting.text': 'Begonnen! Layers zijn uitgeschakeld om sneller te scannen!',
  1655. 'msg.starting.tip.en': 'Use \'Pause\' button to pause or \'■\' button to stop',
  1656. 'msg.starting.tip': 'Gebruik de \'Pause\' knop om te pauzeren of \'■\' knop om te stoppen',
  1657. 'msg.paused.text.en': 'On pause! Click \'▶\' (Play) button to continue.',
  1658. 'msg.paused.text': 'Gepauzeerd! Klik op \'▶\' (Play) knop om door te gaan.',
  1659. 'msg.paused.tip.en': 'To view the report click \'Show report\' button (if available)',
  1660. 'msg.paused.tip': 'Om het rapport te bekijken klik je op de \'Toon rapport\' knop (indien beschikbaar)',
  1661. 'msg.continuing.text.en': 'Continuing!',
  1662. 'msg.continuing.text': 'Doorgaan!',
  1663. 'msg.continuing.tip.en': 'WME Validator will continue from the location it was paused',
  1664. 'msg.continuing.tip': 'WME Validator zal doorgaan van de locatie waar het werd onderbroken',
  1665. 'msg.settings.text.en': 'Click <b>\'Back\'</b> to return to main view',
  1666. 'msg.settings.text': 'Klik <b>\'Terug\'</b> om terug te keren naar hoofdweergave',
  1667. 'msg.settings.tip.en': 'Click \'Reset defaults\' button to reset all settings in one click!',
  1668. 'msg.settings.tip': 'Klik op \'Herstel standaardinstellingen\' knop om alle instellingen in één klik resetten!',
  1669. 'msg.reset.text.en': 'All filter options and settings have been reset to their defaults',
  1670. 'msg.reset.text': 'Alle filter opties en instellingen zijn terug gezet naar de standaardwaarden',
  1671. 'msg.reset.tip.en': 'Click \'Back\' button to return to main view',
  1672. 'msg.reset.tip': 'Klik <b>\'Terug\'</b> om terug te keren naar de hoofdweergave',
  1673. 'msg.textarea.pack.en':
  1674. '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',
  1675. 'msg.textarea.pack':
  1676. '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',
  1677. 'msg.textarea.en': 'Please copy the text below and then paste it into your forum post or private message',
  1678. 'msg.textarea': 'Kopieer de onderstaande tekst en plak deze in je forum post of privebericht',
  1679. 'noaccess.text.en':
  1680. '<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.',
  1681. 'noaccess.text':
  1682. '<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>.',
  1683. 'noaccess.tip.en': 'Please check the forum thread for more information!',
  1684. 'noaccess.tip': 'Controleer de forum thread voor meer informatie!',
  1685. 'tab.switch.tip.on.en': 'Click to switch highlighting on (Alt+V)',
  1686. 'tab.switch.tip.on': 'Klik om het markeren aan te schakelen (Alt + V)',
  1687. 'tab.switch.tip.off.en': 'Click to switch highlighting off (Alt+V)',
  1688. 'tab.switch.tip.off': 'Klik om het markeren uit te schakelen (Alt+V)',
  1689. 'tab.filter.text.en': 'filter',
  1690. 'tab.filter.text': 'filter',
  1691. 'tab.filter.tip.en': 'Options to filter the report and highlighted segments',
  1692. 'tab.filter.tip': 'Opties om het rapport te filteren en gemarkeerd segmenten',
  1693. 'tab.search.text.en': 'search',
  1694. 'tab.search.text': 'zoeken',
  1695. 'tab.search.tip.en': 'Advanced filter options to include only specific segments',
  1696. 'tab.search.tip': 'Geavanceerde filteropties om alleen specifieke segmenten op te nemen',
  1697. 'tab.help.text.en': 'help',
  1698. 'tab.help.text': 'help',
  1699. 'tab.help.tip.en': 'Need help?',
  1700. 'tab.help.tip': 'Hulp nodig?',
  1701. 'filter.noneditables.text.en': 'Exclude <b>non-editable</b> segments',
  1702. 'filter.noneditables.text': 'Negeer <b>niet-bewerkbare</b> segmenten',
  1703. 'filter.noneditables.tip.en': 'Do not report locked segments or\nsegments outside of your editable areas',
  1704. 'filter.noneditables.tip': 'Rapporteer geen beveiligde segmenten of\nsegmenten buiten het gebied waar je mag bewerken',
  1705. 'filter.duplicates.text.en': 'Exclude <b>duplicate</b> segments',
  1706. 'filter.duplicates.text': '<b>Dubbele</b> segmenten uitsluiten',
  1707. 'filter.duplicates.tip.en': 'Do not show the same segment in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  1708. 'filter.duplicates.tip': 'Toon hetzelfde segment niet in verschillende\ndelen van het rapport\n* Opmerking: deze optie HEEFT GEEN invloed op het markeren',
  1709. 'filter.streets.text.en': 'Exclude <b>Streets and Service Roads</b>',
  1710. 'filter.streets.text': 'Negeer <b>wegen en dienstwegen</b>',
  1711. 'filter.streets.tip.en': 'Do not report Streets and Service Roads',
  1712. 'filter.streets.tip': 'Neem wegen en dienstwegen niet op in het rapport',
  1713. 'filter.other.text.en': 'Exclude <b>Other drivable and Non-drivable</b>',
  1714. 'filter.other.text': 'Negeer <b>Andere berijdbare en niet-berijdbare</b> segmenten',
  1715. 'filter.other.tip.en': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  1716. 'filter.other.tip': 'Niet melden van onverharde, parkeerplaats, privéwegen\n en niet-berijdbare segmenten',
  1717. 'filter.notes.text.en': 'Exclude <b>notes</b>',
  1718. 'filter.notes.text': 'Negeer <b>opmerkingen</b>',
  1719. 'filter.notes.tip.en': 'Report only warnings and errors',
  1720. 'filter.notes.tip': 'Rapporteer alleen waarschuwingen en fouten',
  1721. 'search.youredits.text.en': 'Include <b>only your edits</b>',
  1722. 'search.youredits.text': 'Toon <b>enkel eigen aanpassingen</b>',
  1723. 'search.youredits.tip.en': 'Include only segments edited by you',
  1724. 'search.youredits.tip': 'Omvat slechts segmenten bewerkt door u',
  1725. 'search.updatedby.text.en': '<b>Updated by*:</b>',
  1726. 'search.updatedby.text': '<b>Aangepast door*:</b>',
  1727. 'search.updatedby.tip.en':
  1728. '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',
  1729. 'search.updatedby.tip':
  1730. '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',
  1731. 'search.updatedby.example.en': 'Example: me',
  1732. 'search.updatedby.example': 'Voorbeeld: me',
  1733. 'search.updatedsince.text.en': '<b>Updated since:</b>',
  1734. 'search.updatedsince.text': '<b>Aangepast sinds:</b>',
  1735. 'search.updatedsince.tip.en': 'Include only segments edited since the date specified\nFirefox date format: YYYY-MM-DD',
  1736. 'search.updatedsince.tip': 'Toon enkel de segmenten die zijn gewijzigd sinds de opgegeven datum\nFirefox datum formaat: YYYY-MM-DD',
  1737. 'search.updatedsince.example.en': 'YYYY-MM-DD',
  1738. 'search.updatedsince.example': 'YYYY-MM-DD',
  1739. 'search.city.text.en': '<b>City name:</b>',
  1740. 'search.city.text': '<b>plaatsnaam:</b>',
  1741. '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, *',
  1742. 'search.city.tip': 'Neem alleen segmenten op met opgegeven plaatsnaam\nDit veld ondersteunt:\n - lijsten: Amsterdam, Potsdam\n - wildcards: Den * \n - Negation: !Amsterdam, *',
  1743. 'search.city.example.en': 'Example: !Paris, *',
  1744. 'search.city.example': 'Voorbeeld: !Amsterdam, *',
  1745. 'search.checks.text.en': '<b>Reported as:</b>',
  1746. 'search.checks.text': '<b>Rapporteer als:</b>',
  1747. 'search.checks.tip.en':
  1748. '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*, *',
  1749. 'search.checks.tip':
  1750. '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*, *',
  1751. 'search.checks.example.en': 'Example: reverse*',
  1752. 'search.checks.example': 'Voorbeeld: autoweg*',
  1753. 'help.text.en':
  1754. '<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>',
  1755. 'help.text':
  1756. '<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>',
  1757. 'help.tip.en': 'Open in a new browser tab',
  1758. 'help.tip': 'Open in een nieuw tabblad',
  1759. 'button.scan.tip.en': 'Start scanning current map area\n* Note: this might take few minutes',
  1760. 'button.scan.tip': 'Start het scannen van het huidige gebied op de kaart\n* Opmerking: dit kan een aantal minuten duren',
  1761. 'button.scan.tip.NA.en': 'Zoom out to start scanning current map area',
  1762. 'button.scan.tip.NA': 'Zoom uit om te beginnen met het scannen van het huidige gebied op de kaart',
  1763. 'button.pause.tip.en': 'Pause scanning',
  1764. 'button.pause.tip': 'Scannen pauzeren',
  1765. 'button.continue.tip.en': 'Continue scanning the map area',
  1766. 'button.continue.tip': 'Doorgaan met scannen van het gebied op de kaart',
  1767. 'button.stop.tip.en': 'Stop scanning and return to the start position',
  1768. 'button.stop.tip': 'Stop het scannen en keer terug naar de beginpositie',
  1769. 'button.clear.tip.en': 'Clear report and segment cache',
  1770. 'button.clear.tip': 'Wissen rapport en segment cache',
  1771. '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.',
  1772. 'button.clear.tip.red':
  1773. '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.',
  1774. 'button.report.text.en': 'Show report',
  1775. 'button.report.text': 'Toon rapport',
  1776. 'button.report.tip.en': 'Apply the filter and generate HTML report in a new tab',
  1777. 'button.report.tip': 'Pas het filter toe en genereer het HTML-rapport in een nieuw tabblad',
  1778. 'button.BBreport.tip.en': 'Share the report on Waze forum or in a private message',
  1779. 'button.BBreport.tip': 'Deel het rapport op het Waze forum of in een privé-bericht',
  1780. 'button.settings.tip.en': 'Configure settings',
  1781. 'button.settings.tip': 'Instellingen aanpassen',
  1782. 'tab.custom.text.en': 'custom',
  1783. 'tab.custom.text': 'eigen instelling',
  1784. 'tab.custom.tip.en': 'User-defined custom checks settings',
  1785. 'tab.custom.tip': 'Door gebruiker aangepaste controle instellingen',
  1786. 'tab.settings.text.en': 'Settings',
  1787. 'tab.settings.text': 'Instellingen',
  1788. 'tab.scanner.text.en': 'scanner',
  1789. 'tab.scanner.text': 'scanner',
  1790. 'tab.scanner.tip.en': 'Map scanner settings',
  1791. 'tab.scanner.tip': 'Instellingen Kaartscanner',
  1792. 'tab.about.text.en': 'about</span>',
  1793. 'tab.about.text': 'over</span>',
  1794. 'tab.about.tip.en': 'About WME Validator',
  1795. 'tab.about.tip': 'Over WME Validator',
  1796. 'scanner.sounds.text.en': 'Enable sounds',
  1797. 'scanner.sounds.text': 'Gebruik geluiden',
  1798. 'scanner.sounds.tip.en': 'Bleeps and the bloops while scanning',
  1799. 'scanner.sounds.tip': 'Activeer de geluiden tijden het scannen',
  1800. 'scanner.sounds.NA.en': 'Your browser does not support AudioContext',
  1801. 'scanner.sounds.NA': 'Je browser ondersteunt geen AudioContext',
  1802. 'scanner.highlight.text.en': 'Highlight issues on the map',
  1803. 'scanner.highlight.text': 'Markeer problemen op de kaart',
  1804. 'scanner.highlight.tip.en': 'Highlight reported issues on the map',
  1805. 'scanner.highlight.tip': 'Markeer gevonden problemen op de kaart',
  1806. 'scanner.slow.text.en': 'Enable "slow" checks',
  1807. 'scanner.slow.text': '"Langzame" controles activeren',
  1808. 'scanner.slow.tip.en': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  1809. 'scanner.slow.tip': 'Activeert diepe kaartanalyse\n* Opmerking: deze optie zou het scanproces kunnen vertragen',
  1810. 'scanner.ext.text.en': 'Report external highlights',
  1811. 'scanner.ext.text': 'Meld externe markeringen',
  1812. 'scanner.ext.tip.en': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  1813. 'scanner.ext.tip': 'Rapporteer segmenten gemarkeerd door WME Toolbox of WME Color Highlights',
  1814. 'advanced.twoway.text.en': 'WME: Two-way segments by default',
  1815. 'advanced.twoway.text': 'WME: Nieuwe segmenten tweerichtingsverkeer standaard',
  1816. 'advanced.twoway.tip.en': 'Newly created streets in WME are bidirectional by default',
  1817. 'advanced.twoway.tip': 'Nieuwe segmenten zijn standaard tweerichtingsverkeer',
  1818. 'custom.template.text.en': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Custom template</a>',
  1819. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Aangepast sjabloon</a>',
  1820. 'custom.template.tip.en':
  1821. '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}',
  1822. 'custom.template.tip':
  1823. '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}',
  1824. 'custom.template.example.en': 'Example: ${street}',
  1825. 'custom.template.example': 'Voorbeeld: ${street}',
  1826. 'custom.regexp.text.en': 'Custom <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1827. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Eigen RegExp</a>',
  1828. 'custom.regexp.tip.en':
  1829. '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/',
  1830. 'custom.regexp.tip':
  1831. '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/',
  1832. 'custom.regexp.example.en': 'Example: !/.+/',
  1833. 'custom.regexp.example': 'Voorbeeld: !/.+/',
  1834. 'about.tip.en': 'Open link in a new tab',
  1835. 'about.tip': 'Link in nieuw tabblad openen',
  1836. 'button.reset.text.en': 'Reset defaults',
  1837. 'button.reset.text': 'Herstel standaardinstellingen',
  1838. 'button.reset.tip.en': 'Revert filter options and settings to their defaults',
  1839. 'button.reset.tip': 'Filter opties en instellingen herstellen naar de standaardwaarden',
  1840. 'button.list.text.en': 'Available checks...',
  1841. 'button.list.text': 'Beschikbare controles...',
  1842. 'button.list.tip.en': 'Show a list of checks available in WME Validator',
  1843. 'button.list.tip': 'Toon een lijst met beschikbare controles in WME Validator',
  1844. 'button.wizard.tip.en': 'Create localization package',
  1845. 'button.wizard.tip': 'Maak lokalisatie pakket aan',
  1846. 'button.back.text.en': 'Back',
  1847. 'button.back.text': 'Terug',
  1848. 'button.back.tip.en': 'Close settings and return to main view',
  1849. 'button.back.tip': 'Sluit de instellingen en keer terug naar de hoofdweergave',
  1850. '1.title.en': 'WME Toolbox: Roundabout which may cause issues',
  1851. '1.title': 'WME Toolbox: Rotonde die problemen kan veroorzaken (rotonde verkeer problematisch)',
  1852. '1.problem.en': 'Junction IDs of the roundabout segments are not consecutive',
  1853. '1.problem': 'Knooppunt-ID\'s van de rotonde segmenten zijn niet opeenvolgend',
  1854. '1.solution.en': 'Redo the roundabout',
  1855. '1.solution': 'Rotonde opnieuw doen',
  1856. '2.title.en': 'WME Toolbox: Simple segment',
  1857. '2.title': 'WME Toolbox: Moeilijk segment (Te veel geometrie knooppunten)',
  1858. '2.problem.en': 'The segment has unneeded geometry nodes',
  1859. '2.problem': 'Het segment heeft onnodige geometrie knooppunten',
  1860. '2.solution.en': 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  1861. '2.solution': 'Vereenvoudig segment geometrie door de muisaanwijzing boven het punt te brengen en de "d" toets in te drukken',
  1862. '3.title.en': 'WME Toolbox: Lvl 2 lock',
  1863. '3.title': 'WME Toolbox: Lvl 2 Lock',
  1864. '3.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1865. '3.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1866. '4.title.en': 'WME Toolbox: Lvl 3 lock',
  1867. '4.title': 'WME Toolbox: Lvl 3 Lock',
  1868. '4.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1869. '4.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem.',
  1870. '5.title.en': 'WME Toolbox: Lvl 4 lock',
  1871. '5.title': 'WME Toolbox: Lvl 4 Lock',
  1872. '5.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1873. '5.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1874. '6.title.en': 'WME Toolbox: Lvl 5 lock',
  1875. '6.title': 'WME Toolbox: Lvl 5 Lock',
  1876. '6.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1877. '6.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1878. '7.title.en': 'WME Toolbox: Lvl 6 lock',
  1879. '7.title': 'WME Toolbox: Lvl 6 Lock',
  1880. '7.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1881. '7.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1882. '8.title.en': 'WME Toolbox: House numbers',
  1883. '8.title': 'WME Toolbox: Huisnummers',
  1884. '8.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1885. '8.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1886. '9.title.en': 'WME Toolbox: Segment with time restrictions',
  1887. '9.title': 'WME Toolbox: Segment met tijdsrestricties',
  1888. '9.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1889. '9.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1890. '13.title.en': 'WME Color Highlights: Editor lock',
  1891. '13.title': 'WME Color Highlights: Editor lock',
  1892. '13.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1893. '13.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1894. '14.title.en': 'WME Color Highlights: Toll road / One way road',
  1895. '14.title': 'WME Color Highlights: Toll road / One way road (Tol- / Eenrichtings-straat)',
  1896. '14.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1897. '14.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1898. '15.title.en': 'WME Color Highlights: Recently edited',
  1899. '15.title': 'WME Color Highlights: Recently edited (Kürzlich editiert)',
  1900. '15.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1901. '15.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1902. '16.title.en': 'WME Color Highlights: Road rank',
  1903. '16.title': 'WME Color Highlights: Road type',
  1904. '16.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1905. '16.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1906. '17.title.en': 'WME Color Highlights: No city',
  1907. '17.title': 'WME Color Highlights: No city (Keine Stadt)',
  1908. '17.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1909. '17.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1910. '18.title.en': 'WME Color Highlights: Time restriction / Highlighted road type',
  1911. '18.title': 'WME Color Highlights: Time restriction / Highlighted road type',
  1912. '18.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1913. '18.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1914. '19.title.en': 'WME Color Highlights: No name',
  1915. '19.title': 'WME Color Highlights: No name (Kein Straßenname)',
  1916. '19.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1917. '19.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1918. '20.title.en': 'WME Color Highlights: Filter by city',
  1919. '20.title': 'WME Color Highlights: Filter by city (Stadt-Filter)',
  1920. '20.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1921. '20.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1922. '21.title.en': 'WME Color Highlights: Filter by city (alt. city)',
  1923. '21.title': 'WME Color Highlights: Filter by city (alt. city)',
  1924. '21.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1925. '21.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1926. '22.title.en': 'WME Color Highlights: Filter by editor',
  1927. '22.title': 'WME Color Highlights: Filter by editor (Editor-Filter)',
  1928. '22.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1929. '22.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1930. '23.title.en': 'Unconfirmed road',
  1931. '23.title': 'Onbevestigde straat',
  1932. '23.problem.en': 'Each segment must minimally have the Country and State information',
  1933. '23.problem': 'Elk segment moet minimaal informatie hebben over het land en plaats',
  1934. '23.solution.en': 'Confirm the road by updating its details',
  1935. '23.solution': 'Bevestig de straat door ofwel de plaats danwel de straatnaam in te voeren.',
  1936. '24.title.en': 'Might be incorrect city name (only available in the report)',
  1937. '24.title': 'Eventueel verkeerde plaatsnaam (alleen beschikbaar in het rapport)',
  1938. '24.problem.en': 'The segment might have incorrect city name',
  1939. '24.problem': 'Het segment heeft misschien een verkeerde plaatsnaam',
  1940. '24.solution.en': 'Consider suggested city name and use this form to rename the city',
  1941. '24.solution': 'Overweeg de voorgestelde plaatsnaam en gebruik dit formulier om de naam te wijzigen',
  1942. '25.title.en': 'Unknown direction of drivable road',
  1943. '25.title': 'Onbekende rijrichting van berijdbare weg',
  1944. '25.problem.en': '\'Unknown\' road direction will not prevent routing on the road',
  1945. '25.problem': '\'Onbekende\' rijrichting zal niet voorkomen dat er genavigeerd wordt over de weg',
  1946. '25.solution.en': 'Set the road direction',
  1947. '25.solution': 'Stel de rijrichting in',
  1948. '28.title.en': 'Street name on two-way Ramp',
  1949. '28.title': 'Straatnaam op tweebaans voegstrook',
  1950. '28.problem.en': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  1951. '28.problem': 'Als de op/afrit geen naam heeft, zal de naam van de volgende straat worden overgenomen',
  1952. '28.solution.en': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  1953. '28.solution': 'In de adreseigenschappen vink \'Geen\' aan naast de straatnaam en klik op \'Toepassen\'',
  1954. '29.title.en': 'Street name on roundabout',
  1955. '29.title': 'Straatnaam op rotonde',
  1956. '29.problem.en': 'In Waze, we do not name roundabout segments',
  1957. '29.problem': 'In Waze geven we rotondes geen straatnamen',
  1958. '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',
  1959. '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',
  1960. '33.enabled': false,
  1961. '34.title.en': 'Empty alternate street',
  1962. '34.title': 'Lege alternatieve straatnaam',
  1963. '34.problem.en': 'Alternate street name is empty',
  1964. '34.problem': 'De alternatieve straatnaam is leeg',
  1965. '34.solution.en': 'Remove empty alternate street name',
  1966. '34.solution': 'Verwijder de lege alternatieve straatnaam',
  1967. '35.title.en': 'Unterminated drivable road',
  1968. '35.title': 'Geen eindnode op berijdbare weg',
  1969. '35.problem.en': 'Waze will not route from the unterminated segment',
  1970. '35.problem': 'Waze zal niet routeren vanaf segmenten zonder eindnode',
  1971. '35.solution.en': 'Move the segment a bit so the terminating node will be added automatically',
  1972. '35.solution': 'Verplaats het segment een beetje zodat de eindnode automatisch zal worden toegevoegd',
  1973. '36.enabled': true,
  1974. '36.title.en': 'Node A: Unneeded (slow)',
  1975. '36.title': 'Node A: Onnodig (langzaam)',
  1976. '36.problem.en': 'Adjacent segments at node A are identical',
  1977. '36.problem': 'De segmenten naast node A zijn identiek',
  1978. '36.solution.en': 'Select node A and press Delete key to join the segments',
  1979. '36.solution': 'Selecteer node A en druk op Delete om de segmenten samen te voegen',
  1980. '37.enabled': true,
  1981. '37.title.en': 'Node B: Unneeded (slow)',
  1982. '37.title': 'Node B: Onnodig (langzaam)',
  1983. '37.problem.en': 'Adjacent segments at node B are identical',
  1984. '37.problem': 'De segmenten naast node B zijn identiek',
  1985. '37.solution.en': 'Select node B and press Delete key to join the segments',
  1986. '37.solution': 'Selecteer node B en druk op Delete om de segmenten samen te voegen',
  1987. '38.title.en': 'Expired segment restriction (slow)',
  1988. '38.title': 'Verlopen segment beperking (langzaam)',
  1989. '38.problem.en': 'The segment has an expired restriction',
  1990. '38.problem': 'Het segment heeft een verlopen beperking',
  1991. '38.solution.en': 'Click \'Edit restrictions\' and delete the expired restriction',
  1992. '38.solution': 'Klik op \'Bewerken restricties\' en verwijder de verstreken beperking',
  1993. '39.title.en': 'Expired turn restriction (slow)',
  1994. '39.title': 'Verlopen beperking op afslag (langzaam)',
  1995. '39.problem.en': 'The segment has a turn with an expired restriction',
  1996. '39.problem': 'Het segment heeft een afslag met een verlopen beperking',
  1997. '39.solution.en': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  1998. '39.solution': 'Klik klok pictogram naast de gele pijl en verwijder de verlopen beperking',
  1999. '41.title.en': 'Node A: Reverse connectivity of drivable road',
  2000. '41.title': 'Node A: Omgekeerde connectiviteit van berijdbare weg',
  2001. '41.problem.en': 'There is a turn which goes against the directionality of the segment at node A',
  2002. '41.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt A',
  2003. '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',
  2004. '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)\'',
  2005. '42.title.en': 'Node B: Reverse connectivity of drivable road',
  2006. '42.title': 'Node B: Omgekeerde connectiviteit van berijdbare weg',
  2007. '42.problem.en': 'There is a turn which goes against the directionality of the segment at node B',
  2008. '42.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt B',
  2009. '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',
  2010. '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)\'',
  2011. '43.title.en': 'Self connectivity',
  2012. '43.title': 'Zelf verbinding',
  2013. '43.problem.en': 'The segment is connected back to itself',
  2014. '43.problem': 'Het segment is met zichzelf verbonden',
  2015. '43.solution.en': 'Split the segment into THREE pieces',
  2016. '43.solution': 'Verdeel het segment in DRIE stukken',
  2017. '44.title.en': 'No outward connectivity',
  2018. '44.title': 'Geen verbinding naar buiten',
  2019. '44.problem.en': 'The drivable segment has no single outward turn enabled',
  2020. '44.problem': 'Het berijdbare segment heeft geen enkele verbinding naar buiten',
  2021. '44.solution.en': 'Enable at least one outward turn from the segment',
  2022. '44.solution': 'Verbind het segment minstens eenmaal met het verkeersnet',
  2023. '45.title.en': 'No inward connectivity',
  2024. '45.title': 'Geen verbinding naar binnen',
  2025. '45.problem.en': 'The drivable non-private segment has no single inward turn enabled',
  2026. '45.problem': 'Het berijdbare niet-privé segment heeft geen enkele verbinding naar het segment toe',
  2027. '45.solution.en': 'Select an adjacent segment and enable at least one turn to the segment',
  2028. '45.solution': 'Selecteer het segment en sta minstens één inwaartse verbinding toe',
  2029. '46.title.en': 'Node A: No inward connectivity of drivable road (slow)',
  2030. '46.title': 'Node A: Geen naar binnen connectiviteit van berijdbare weg (langzaam)',
  2031. '46.problem.en': 'The drivable non-private segment has no single inward turn enabled at node A',
  2032. '46.problem': 'De berijdbare niet-particuliere segment heeft geen enkele naar binnen wijzende verbinding ingeschakeld op knooppunt A',
  2033. '46.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  2034. '46.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij knooppunt A in',
  2035. '47.title.en': 'Node B: No inward connectivity of drivable road (slow)',
  2036. '47.title': 'Node B: Het berijdbare segment heeft geen enkele verbinding naar het segment toe (langzaam)',
  2037. '47.problem.en': 'The drivable non-private segment has no single inward turn enabled at node B',
  2038. '47.problem': 'Het berijdbare (niet prive) segment heeft geen enkele verbinding naar het segment toe bij node B',
  2039. '47.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  2040. '47.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij node B',
  2041. '48.title.en': 'Two-way drivable roundabout segment',
  2042. '48.title': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2043. '48.problem.en': 'The drivable roundabout segment is bidirectional',
  2044. '48.problem': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2045. '48.solution.en': 'Redo the roundabout',
  2046. '48.solution': 'Maak de rotonde opnieuw',
  2047. '59.title.en': 'City name on Freeway',
  2048. '59.title': 'Plaatsnaam op snelweg',
  2049. '59.problem.en': 'City name on the Freeway may cause a city smudge',
  2050. '59.problem': 'Plaatsnaam op de snelweg kan het uitsmeren van een stad veroorzaken',
  2051. '59.problemLink': 'W:Netherlands/Freeway',
  2052. '59.solution.en': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  2053. '59.solution': 'In de adreseigenschappen stel de plaatsnaam in op \'Geen\' en klik op \'toepassen\'',
  2054. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  2055. '71.enabled': true,
  2056. '71.problemLink': 'W:Netherlands/Major_Highway',
  2057. '71.title.en': 'Must be a Major Highway',
  2058. '71.title': 'Moet een Major Highway zijn',
  2059. '71.problem.en': 'This segment must be a Major Highway',
  2060. '71.problem': 'Dit segment moet een Major Highway zijn',
  2061. '71.solution.en': 'Set the road type to Major Highway or change the road name',
  2062. '71.solution': 'Stel het wegtype in op Major Highway of verander de straatnaam',
  2063. '72.enabled': true,
  2064. '72.problemLink': 'W:Netherlands/Minor_Highway',
  2065. '72.title.en': 'Must be a Minor Highway',
  2066. '72.title': 'Dit moet een Minor Highway zijn',
  2067. '72.problem.en': 'This segment must be a Minor Highway',
  2068. '72.problem': 'Dit segment moet een Minor Highway zijn',
  2069. '72.solution.en': 'Set the road type to Minor Highway or change the road name',
  2070. '72.solution': 'Stel het wegtype in op Minor Highway of verander de straatnaam',
  2071. '78.title.en': 'Same endpoints drivable segments (slow)',
  2072. '78.title': 'Dezelfde eindpunten voor berijdbare segmenten (langzaam)',
  2073. '78.problem.en': 'Two drivable segments share the same two endpoints',
  2074. '78.problem': 'Twee berijdbare segmenten delen dezelfde twee eindpunten',
  2075. '78.solution.en': 'Split the segment. You might also remove one of the segments if they are identical',
  2076. '78.solution': 'Splits het segment. Je zou ook een segment kunnen verwijderen als ze identiek zijn',
  2077. '87.title.en': 'Node A: Multiple outgoing segments at roundabout',
  2078. '87.title': 'Node A: Meerdere uitgaande segmenten voor rotonde',
  2079. '87.problem.en': 'The drivable roundabout node A has more than one outgoing segment connected',
  2080. '87.problem': 'De berijdbare rotonde knooppunt A heeft meerdere uitgaande segmenten verbonden',
  2081. '87.solution.en': 'Redo the roundabout',
  2082. '87.solution': 'Maak de rotonde opnieuw',
  2083. '99.title.en': 'U-turn at roundabout entrance (slow)',
  2084. '99.title': 'U-bocht op rotonde (langzaam)',
  2085. '99.problem.en': 'The roundabout entrance segment has a U-turn enabled',
  2086. '99.problem': 'De berijdbare rotondenode heeft een U-bocht toegestaan',
  2087. '99.solution.en': 'Disable U-turn',
  2088. '99.solution': 'Zet de U-bocht uit',
  2089. '101.title.en': 'Closed road (only available in the report)',
  2090. '101.title': 'Afgesloten weg (enkel beschikbaar in het rapport)',
  2091. '101.problem.en': 'The segment is marked as closed',
  2092. '101.problem': 'Het segment is gemarkeerd als afgesloten',
  2093. '101.solution.en': 'If the construction is done, restore the segment connectivity and remove the suffix',
  2094. '101.solution': 'Als de wegwerkzaamheden klaar zijn, herstel dan de verbinding van het segment en verwijder de aanvulling',
  2095. '101.params': {'regexp': '/(^|\\b)afgesloten(\\b|$)/i'},
  2096. '102.title.en': 'Node A: No outward connectivity of drivable road (slow)',
  2097. '102.title': 'Node A: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2098. '102.problem.en': 'The drivable segment has no single outward turn enabled at node A',
  2099. '102.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node A',
  2100. '102.solution.en': 'Enable at least one outward turn from the segment at node A',
  2101. '102.solution': 'Zet minstens 1 uitgaande verbinding aan bij node A',
  2102. '103.title.en': 'Node B: No outward connectivity of drivable road (slow)',
  2103. '103.title': 'Node B: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2104. '103.problem.en': 'The drivable segment has no single outward turn enabled at node B',
  2105. '103.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node B',
  2106. '103.solution.en': 'Enable at least one outward turn from the segment at node B',
  2107. '103.solution': 'Zet minstens 1 uitgaande verbinding aan bij node B',
  2108. '104.title.en': 'Railroad used for comments',
  2109. '104.title': 'Spoorweg gebruikt als commentaar',
  2110. '104.problem.en': 'The Railroad segment is probably used as a map comment',
  2111. '104.problem': 'Het spoorweg segment wordt waarschijnelijk gebruikt als kaartopmerking',
  2112. '104.solution.en': 'Remove the comment as Railroads will be added to the client display',
  2113. '104.solution': 'Verwijder het commentaar, spoorwegen worden weergegeven in de client',
  2114. '107.title.en': 'Node A: No connection (slow)',
  2115. '107.title': 'Node A: Geen verbinding (langzaam)',
  2116. '107.problem.en': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2117. '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',
  2118. '107.solution.en': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  2119. '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',
  2120. '108.title.en': 'Node B: No connection (slow)',
  2121. '108.title': 'Node B: Geen verbinding (langzaam)',
  2122. '108.problem.en': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2123. '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',
  2124. '108.solution.en': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  2125. '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',
  2126. '109.title.en': 'Too short segment',
  2127. '109.title': 'Te kort segment',
  2128. '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',
  2129. '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',
  2130. '109.solution.en': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  2131. '109.solution': 'Verleng het segment, of verwijder het segment, of voeg het segment samen met een van de omliggende segmenten',
  2132. '112.title.en': 'Too long Ramp name',
  2133. '112.title': 'Op/afrit naam te lang',
  2134. '112.problem.en': 'The Ramp name is more than ${n} letters long',
  2135. '112.problem': 'Op/afrit naam is langer dan ${n} tekens lang',
  2136. '112.solution.en': 'Shorten the Ramp name',
  2137. '112.solution': 'Verkort de naam',
  2138. '114.enabled': false,
  2139. '114.title.en': 'Node A: Non-drivable connected to drivable (slow)',
  2140. '114.title': 'Node A: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2141. '114.problem.en': 'The non-drivable segment makes a junction with a drivable at node A',
  2142. '114.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node A',
  2143. '114.solution.en': 'Disconnect node A from all of the drivable segments',
  2144. '114.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node A',
  2145. '115.enabled': false,
  2146. '115.title.en': 'Node B: Non-drivable connected to drivable (slow)',
  2147. '115.title': 'Node B: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2148. '115.problem.en': 'The non-drivable segment makes a junction with a drivable at node B',
  2149. '115.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node B',
  2150. '115.solution.en': 'Disconnect node B from all of the drivable segments',
  2151. '115.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node B',
  2152. '116.title.en': 'Out of range elevation',
  2153. '116.title': 'Hoogte buiten bereik',
  2154. '116.problem.en': 'The segment elevation is out of range',
  2155. '116.problem': 'De elevatie van het segment is buiten bereik',
  2156. '116.solution.en': 'Correct the elevation',
  2157. '116.solution': 'Corrigeer de hoogte',
  2158. '117.title.en': 'Obsolete CONST ZN marker',
  2159. '117.title': 'CONST ZN markering verouderd',
  2160. '117.problem.en': 'The segment is marked with obsolete CONST ZN suffix',
  2161. '117.problem': 'Het segment is gemarkeerd met een verouderde CONST ZN toevoeging',
  2162. '117.solution.en': 'Change CONST ZN to (closed)',
  2163. '117.solution': 'Verander CONST ZN naar (afgesloten)',
  2164. '118.title.en': 'Node A: Overlapping segments (slow)',
  2165. '118.title': 'Node A: Overlappende segmenten (langzaam)',
  2166. '118.problem.en': 'The segment is overlapping with the adjacent segment at node A',
  2167. '118.problem': 'Het segment overlapt het aangrenzende segment bij node A',
  2168. '118.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  2169. '118.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node A',
  2170. '119.title.en': 'Node B: Overlapping segments (slow)',
  2171. '119.title': 'Node B: Overlappende segmenten (langzaam)',
  2172. '119.problem.en': 'The segment is overlapping with the adjacent segment at node B',
  2173. '119.problem': 'Het segment overlapt het aangrenzende segment bij node B',
  2174. '119.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  2175. '119.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node B',
  2176. '120.title.en': 'Node A: Too sharp turn (slow)',
  2177. '120.title': 'Node A: Te scherpe bocht (langzaam)',
  2178. '120.problem.en': 'The drivable segment has a very acute turn at node A',
  2179. '120.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij node A',
  2180. '120.solution.en': 'Disable the sharp turn at node A or spread the segments at 30°',
  2181. '120.solution': 'Sta de scherpe bocht bij node A niet toe of maak de hoek groter dan 30°',
  2182. '121.title.en': 'Node B: Too sharp turn (slow)',
  2183. '121.title': 'Node B: Te scherpe bocht (langzaam)',
  2184. '121.problem.en': 'The drivable segment has a very acute turn at node B',
  2185. '121.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij B',
  2186. '121.solution.en': 'Disable the sharp turn at node B or spread the segments at 30°',
  2187. '121.solution': 'Sta de scherpe bocht bij node B niet toe of maak de hoek groter dan 30°',
  2188. '128.title.en': 'User-defined custom check (green)',
  2189. '128.title': 'Door de gebruiker gedefinieerde aangepaste controle (groen)',
  2190. '128.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2191. '128.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2192. '128.solution.en': 'Solve the issue',
  2193. '128.solution': 'Los het probleem op',
  2194. '129.title.en': 'User-defined custom check (blue)',
  2195. '129.title': 'Door de gebruiker gedefinieerde aangepaste controle (blauw)',
  2196. '129.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2197. '129.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2198. '129.solution.en': 'Solve the issue',
  2199. '129.solution': 'Los het probleem op',
  2200. '150.enabled': true,
  2201. '150.problemLink': 'W:Netherlands/Freeway',
  2202. '150.title.en': 'No lock on Freeway',
  2203. '150.title': 'Geen lock op snelweg',
  2204. '150.problem.en': 'The Freeway segment should be locked at least to Lvl ${n}',
  2205. '150.problem': 'De snelweg moet op tenminste Lvl ${n} gelockt zijn',
  2206. '150.solution.en': 'Lock the segment',
  2207. '150.solution': 'Lock het segment',
  2208. '151.enabled': true,
  2209. '151.problemLink': 'W:Netherlands/Major_Highway',
  2210. '151.title.en': 'No lock on Major Highway',
  2211. '151.title': 'Geen lock op Major Highway',
  2212. '151.problem.en': 'The Major Highway segment should be locked at least to Lvl ${n}',
  2213. '151.problem': 'Het Major Highway segment moet gelockt zijn op Lvl ${n}',
  2214. '151.solution.en': 'Lock the segment',
  2215. '151.solution': 'Lock het segment',
  2216. '152.enabled': true,
  2217. '152.problemLink': 'W:Netherlands/Minor_Highway',
  2218. '152.title.en': 'No lock on Minor Highway',
  2219. '152.title': 'Geen lock op Minor Highway',
  2220. '152.problem.en': 'The Minor Highway segment should be locked at least to Lvl ${n}',
  2221. '152.problem': 'Het Minor Highway segment moet gelockt zijn op Lvl ${n}',
  2222. '152.solution.en': 'Lock the segment',
  2223. '152.solution': 'Lock het segment',
  2224. '153.enabled': true,
  2225. '153.problemLink': 'W:Netherlands/Ramp',
  2226. '153.title.en': 'No lock on Ramp',
  2227. '153.title': 'Geen lock op op/afrit',
  2228. '153.problem.en': 'The Ramp segment should be locked at least to Lvl ${n}',
  2229. '153.problem': 'De op/afrit zou minimaal gelockt moeten zijn op Lvl ${n}',
  2230. '153.params': {'n': 4},
  2231. '154.enabled': true,
  2232. '154.problemLink': 'W:Netherlands/Primary_Street',
  2233. '154.title.en': 'No lock on Primary Street',
  2234. '154.title': 'Geen lock op hoofdweg',
  2235. '154.problem.en': 'The Primary Street segment should be locked at least to Lvl ${n}',
  2236. '154.problem': 'De hoofdweg zou minimaal gelockt moeten zijn op Lvl ${n}',
  2237. '154.solution.en': 'Lock the segment',
  2238. '154.solution': 'Lock het segment',
  2239. '160.enabled': false,
  2240. '161.enabled': true,
  2241. '161.params': {
  2242. 'solutionEN': 'Rename the Major Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2243. 'regexp': '!/^N([0-9]|[0-9][0-9]|[123][0-9][0-9])( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2244. },
  2245. '161.problemLink': 'W:Netherlands/Major_Highway',
  2246. '161.title.en': 'Incorrect Major Highway name',
  2247. '161.title': 'Verkeerde Major Highway naam',
  2248. '161.problem.en': 'The Major Highway segment has incorrect street name',
  2249. '161.problem': 'Het Major Highway segment heeft een verkeerde straatnaam',
  2250. '161.solution.en': 'Rename the segment in accordance with the guidelines',
  2251. '161.solution': 'Hernoem het segment volgens de richtlijnen',
  2252. '162.enabled': true,
  2253. '162.params': {
  2254. 'solutionEN': 'Rename the Minor Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2255. 'regexp': '!/^(N[4-9][0-9][0-9]|[SU][0-9]+)( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2256. },
  2257. '162.problemLink': 'W:Netherlands/Minor_Highway',
  2258. '162.title.en': 'Incorrect Minor Highway name',
  2259. '162.title': 'Verkeerde Minor Highway naam',
  2260. '162.problem.en': 'The Minor Highway segment has incorrect street name',
  2261. '162.problem': 'Het Minor Highway segment heeft een verkeerde straatnaam',
  2262. '162.solution.en': 'Rename the segment in accordance with the guidelines',
  2263. '162.solution': 'Hernoem het segment volgens de richtlijnen. LET OP! Er zijn uitzonderingen voor bepaalde belangrijke regionale wegen. In geval van twijfel, eerst overleggen!',
  2264. '172.title.en': 'Unneeded spaces in street name',
  2265. '172.title': 'Onnodige spaties in de straatnaam',
  2266. '172.problem.en': 'Leading/trailing/double space in the street name',
  2267. '172.problem': 'Overbodige spaties voor/achter/in de straatnaam',
  2268. '172.solution.en': 'Remove unneeded spaces from the street name',
  2269. '172.solution': 'Verwijder de overbodige spaties in de straatnaam',
  2270. '173.title.en': 'No space before/after street abbreviation',
  2271. '173.title': 'Geen spatie voor/achter de straat afkorting',
  2272. '173.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  2273. '173.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de straatnaam',
  2274. '173.solution.en': 'Add a space before/after the abbreviation',
  2275. '173.solution': 'Voeg een spatie voor/achter de afkorting toe',
  2276. '175.title.en': 'Empty street name',
  2277. '175.title': 'Lege straatnaam',
  2278. '175.problem.en': 'The street name has only space characters or a dot',
  2279. '175.problem': 'De straatnaam heeft alleen spaties of punt(en)',
  2280. '175.solution.en': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  2281. '175.solution': 'In de adreseigenschappen vink de \'Geen\' optie aan naast de straatnaam, klik op \'Toepassen\' OF vul de juiste straatnaam in',
  2282. '190.title.en': 'Lowercase city name',
  2283. '190.title': 'Plaatsnaam in kleine letters',
  2284. '190.problem.en': 'The city name starts with a lowercase letter',
  2285. '190.problem': 'De plaatsnaam begint met een kleine letter',
  2286. '190.solution.en': 'Use this form to rename the city',
  2287. '190.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2288. '192.title.en': 'Unneeded spaces in city name',
  2289. '192.title': 'Onnodige spaties in de plaatsnaam',
  2290. '192.problem.en': 'Leading/trailing/double space in the city name',
  2291. '192.problem': 'Overbodige spaties voor/achter/in de plaatsnaam',
  2292. '192.solution.en': 'Use this form to rename the city',
  2293. '192.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2294. '193.title.en': 'No space before/after city abbreviation',
  2295. '193.title': 'Geen spatie voor/achter de afkorting in de plaatsnaam',
  2296. '193.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  2297. '193.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de plaatsnaam',
  2298. '193.solution.en': 'Use this form to rename the city',
  2299. '193.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2300. '200.title.en': 'Node A: Unconfirmed turn on minor road',
  2301. '200.title': 'Node A: Onbevestigde verbinding op weg',
  2302. '200.problem.en': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  2303. '200.problem': 'Het berijdbare segment heeft een onbevestigd (zachte) bocht op node A',
  2304. '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',
  2305. '200.solution':
  2306. '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',
  2307. '201.title.en': 'Node A: Unconfirmed turn on primary road',
  2308. '201.title': 'Node A: Onbevestigde verbinding op hoofdweg',
  2309. '201.problem.en': 'The primary segment has an unconfirmed (soft) turn at node A',
  2310. '201.problem': 'Het hoofdweg segment heeft een onbevestigde (zachte) verbinding bij node A',
  2311. '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',
  2312. '201.solution':
  2313. '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',
  2314. '202.title.en': 'BETA: No public connection for public segment (slow)',
  2315. '202.title': 'BETA: Routeerbaar segment lijkt geisoleerd (langzaam)',
  2316. '202.problem.en': 'The public segment is not connected to any other public segment',
  2317. '202.problem': 'Het segment lijkt een publiek toegankelijk segment in het midden van niet publieke segmenten te zijn',
  2318. '202.solution.en': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  2319. '202.solution': 'Controleer of dit segment wel publiek toegankelijk moet zijn, of van type moet wijzigen',
  2320. '214.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van A naar B',
  2321. '214.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2322. '214.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2323. '214.params': {'regexp': '/^5|15|25|.+0$/'},
  2324. '215.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van B naar A',
  2325. '215.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2326. '215.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2327. '215.params': {'regexp': '/^5|15|25|.+0$/'},
  2328. '250.title': 'Geen stad ingesteld bij plaats',
  2329. '250.problem': 'De plaats heeft geen stad ingesteld',
  2330. '250.solution': 'Stel de stad in voor de plaats',
  2331. '250.params': {
  2332. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2333. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2334. },
  2335. '251.title': 'Geen straatnaam ingesteld bij plaats',
  2336. '251.problem': 'De plaats heeft geen straatnaam ingesteld',
  2337. '251.solution': 'Stel de straatnaam in voor de plaats',
  2338. '251.params': {
  2339. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2340. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2341. },
  2342. '252.title': 'Automatisch aangepaste plaats',
  2343. '252.problem': 'De plaats was automatisch aangepast door Waze',
  2344. '252.solution': 'Controleer de plaats details en pas deze aan als het nodig is',
  2345. '252.params': {
  2346. 'regexp.title': '{string} regular expression to match bot names and ids',
  2347. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  2348. },
  2349. '253.title': 'Categorie \'OVERIGE\' kan beter niet gebruikt worden',
  2350. '253.problem': 'De categorie \'OVERIGE\' is niet nuttig. Gebruikers kunnen zoeken op een categorie en OVERIGE bied geen houvast',
  2351. '253.solution': 'Selecteer de juiste categorie voor de plaats',
  2352. '254.title': 'Geen in-/uitgang punt ingesteld voor plaats',
  2353. '254.problem': 'Er is geen in-/uitgang punt ingesteld voor de plaats',
  2354. '254.solution': 'Stel de juiste in-/uitgang punt in voor de plaats',
  2355. '255.title': 'Fout telefoon nummer',
  2356. '255.problem': 'De plaats heeft een fout telefoon nummer',
  2357. '255.solution':
  2358. 'In Nederland gebruiken we +31 AA BBBBBBBB, of +31 AAA BBBBBBB voor vaste lijnen en +31 6 CBBBBBBB voor mobiele nummers. Corrigeer het telefoon nummer volgens die formaten',
  2359. '255.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2360. '255.params': {'regexp.title': '{string} regular expression to match a correct phone number', 'regexp': '/\\+31(?: \\d{2} \\d{8}| \\d{3} \\d{6}|\\s6 \\d{8})/'},
  2361. '256.title': 'Onjuiste URL',
  2362. '256.problem': 'De plaats heeft een onjuiste URL',
  2363. '256.solution': 'Controleer de URL. Binnen Nederland geven we de URL het format www.adress.extension en laten we de http(s):// vervallen',
  2364. '256.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2365. '256.params': {'regexp.title': '{string} regular expression to match a correct URL', 'regexp': '/^([da-z.-]+.[a-z.]{2,6}|[d.]+)([/:?=&#]{1}[da-z.-]+)*[/?]?$/i'},
  2366. '257.enabled': true,
  2367. '257.title': 'Plaats moet een gebied zijn',
  2368. '257.problem': 'Plaats is ingesteld als een punt, maar moet een gebied zijn',
  2369. '257.solution': 'Converteer de plaats naar een gebied',
  2370. '257.solutionLink': 'P:Benelux/Place_categories',
  2371. '257.params': {
  2372. 'regexp.title': '{string} regular expression to match categories that should be a area',
  2373. 'regexp':
  2374. '/^(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)$/'
  2375. },
  2376. '258.enabled': true,
  2377. '258.title': 'Plaats moet een punt zijn',
  2378. '258.problem': 'Plaats is ingesteld als een gebied, maar zou een punt moeten zijn',
  2379. '258.solution': 'Converteer de plaats naar een punt',
  2380. '258.solutionLink': 'P:Netherlands/Place_categories',
  2381. '258.params': {
  2382. 'regexp.title': '{string} regular expression to match categories that should be a point',
  2383. 'regexp':
  2384. '/^(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)$/'
  2385. },
  2386. '259.enabled': true,
  2387. '259.title': 'Geen lock op plaats',
  2388. '259.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2389. '259.solution': 'Lock de plaats',
  2390. '259.solutionLink': 'P:Netherlands/Place_categories',
  2391. '259.params': {
  2392. 'n.title': '{number} minimum lock level',
  2393. 'n': 2,
  2394. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2395. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  2396. },
  2397. '260.enabled': true,
  2398. '260.title': 'Geen lock op plaats',
  2399. '260.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2400. '260.solution': 'Lock de plaats',
  2401. '260.solutionLink': 'P:Netherlands/Place_categories',
  2402. '260.params': {
  2403. 'n.title': '{number} minimum lock level',
  2404. 'n': 3,
  2405. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2406. 'regexp': '/(GAS_STATION|AIRPORT)/'
  2407. },
  2408. '270.title': 'Geen type ingesteld voor parkeerplaats',
  2409. '270.problem': 'Het type is niet ingesteld voor de parkeerplaats',
  2410. '270.solution': 'Stel het type in op Openbaar, Beperkt of Privé',
  2411. '271.title': 'Geen kosten ingesteld voor parkeerplaats',
  2412. '271.problem': 'De kosten voor de parkeerplaats is niet ingesteld',
  2413. '271.solution': 'Stel de kosten in op Gratis, Laag, Gemiddeld of Hoog',
  2414. '272.title': 'Geen betaalmogelijkheden ingesteld voor parkeerplaats',
  2415. '272.problem': 'De betaalmogelijkheden zijn niet ingesteld voor de parkeerplaats',
  2416. '272.solution': 'Stel de juiste betaalmogelijkheden in',
  2417. '273.title': 'Geen niveau ingesteld voor parkeerplaats',
  2418. '273.problem': 'De hoogte is niet ingesteld voor de parkeerplaats',
  2419. '273.solution': 'Stel de juiste hoogte in voor de parkeerplaats',
  2420. '274.title': 'Geen in-/uitgang punt ingesteld voor parkeerplaats',
  2421. '274.problem': 'De parkeerplaats heeft geen in-/uitgang ingesteld',
  2422. '274.solution': 'Stel de juiste in-/uitgang in voor de parkeerplaats',
  2423. '275.title': 'Geen merk in naam van benzinepomp',
  2424. '275.problem': 'Het merk van de benzinepomp komt niet voor in de naam',
  2425. '275.solution': 'Voeg het merk toe in de naam van de benzinepomp',
  2426. '275.solutionLink': 'P:Netherlands/Gas_Station_Place'
  2427. },
  2428. 'MY': {
  2429. '.codeISO': 'MY',
  2430. '.country': 'Malaysia',
  2431. '69.enabled': true,
  2432. '73.enabled': true,
  2433. '150.enabled': true,
  2434. '150.params': {'n': 2},
  2435. '151.enabled': true,
  2436. '151.params': {'n': 2},
  2437. '152.enabled': true,
  2438. '152.params': {'n': 2}
  2439. },
  2440. 'MX': {
  2441. '.codeISO': 'MX',
  2442. '.country': 'Mexico',
  2443. '.updated': '2018-09-19',
  2444. '.author': 'carloslaso',
  2445. '.fallbackCode': 'ES',
  2446. '.lng': ['ES-419'],
  2447. 'city.consider': 'Considera el siguiente nombre de ciudad:',
  2448. 'city.1': 'El nombre de la ciudad es muy corto',
  2449. 'city.2': 'Poner la Abreviación con palabra completa',
  2450. 'city.3': 'Escribir el nombre corto',
  2451. 'city.4': 'Escribir el Nombre de Ciudad',
  2452. 'city.5': 'Corregir Mayúsculas / Minúsculas',
  2453. 'city.6': 'Checar el orden de las palabras',
  2454. 'city.7': 'Checar Abreviación',
  2455. 'city.8r': 'Quitar nombre de País',
  2456. 'city.9': 'Verificar nombre de País',
  2457. 'city.10r': 'Quitar palabra',
  2458. 'city.12': 'Existen nombres iguales con distinto número de Identificador de Ciudad',
  2459. 'city.13a': 'Añadir un espacio',
  2460. 'city.13r': 'Quitar un espacio',
  2461. 'city.14': 'Verificar el número',
  2462. '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ó',
  2463. 'err.regexp': 'Error analizando la opción #${n}:',
  2464. 'props.disabled': 'WME Validator está desactivado',
  2465. 'props.limit.title': 'Demasiados problemas reportados',
  2466. 'props.limit.problem': 'Hay demasiados problemas reportados por lo que algunos de ellos pueden no mostrarse',
  2467. '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)',
  2468. 'props.reports': 'Reportes',
  2469. 'report.save': 'Almacena el reporte',
  2470. 'report.list.andUp': 'y más',
  2471. 'report.list.reportOnly': 'Sólo en el reporte',
  2472. 'report.list.forCountries': 'Para Países:',
  2473. 'report.list.params': 'Parámetros pare configurar en el Paquete de localización:',
  2474. 'report.list.params.set': 'Configuración Actual para ${country}:',
  2475. 'report.list.enabled': 'Hay ${n} parámetros activados para',
  2476. 'report.list.disabled': 'Hay ${n} parámetros desactivados para',
  2477. 'report.list.total': 'Hay ${n} parámetros disponibles',
  2478. 'report.list.title': 'Complete la lista de parámetros para',
  2479. 'report.list.checks': 'Ajustes->Acerca de->Parámetros disponibles',
  2480. 'report.segments': 'Segmentos totales revisados:',
  2481. 'report.reported': 'Reportado(s)',
  2482. 'report.warnings': 'avisos',
  2483. 'report.link.forum': 'foro',
  2484. 'report.link.other': 'enlace',
  2485. 'report.title': 'Reporte del WME Validator',
  2486. 'report.source': 'Fuente del reporte:',
  2487. 'report.filter.streets': 'Calles y vías de Servicio',
  2488. 'report.filter.other': 'Otras vías transitables y no transitables',
  2489. 'report.filter.noneditable': 'segmentos no editables',
  2490. 'report.filter.excluded': 'están excluidas de este reporte',
  2491. 'report.search.updated.since': 'actualizado desde el',
  2492. 'report.search.title': 'Buscar:',
  2493. 'report.search.included': 'están incluidos en el reporte.',
  2494. 'report.beta.warning': 'Advertencia del WME Beta!',
  2495. 'report.beta.text': 'Este reporte está generado en el WME Beta con permalinks beta.',
  2496. 'report.beta.share': 'Por favor, no comparta estos permalinks!',
  2497. 'report.size.warning':
  2498. '<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.',
  2499. 'report.note.limit': '* Nota: Existieron muchas irregularidades en el reporte, por lo que algunas no están tomadas en cuenta en el resumen.',
  2500. 'report.forum': 'Para motivar mayor desarrollo, por favor deje su comentario en el',
  2501. 'report.forum.link': 'Hilo del foro de Waze.',
  2502. 'report.thanks': 'Gracias por usar el WME Validator!',
  2503. 'msg.limit.segments': 'Existen demasiados segmentos.\n\nPulse\'Show report\'para revisar el reporte, luego\n',
  2504. 'msg.limit.segments.continue': 'pulse \'▶\' (Play) para continuar.',
  2505. 'msg.limit.segments.clear': 'pulse \'✘\' (Clear) para borrar el reporte.',
  2506. 'msg.pan.text': 'Mueva el mapa para validarlo',
  2507. 'msg.zoomout.text': 'Aleje el zoom para comenzar el WME Validator',
  2508. 'msg.click.text': 'Pulse \'▶\' (Play) para validar el área visible del mapa',
  2509. 'msg.autopaused': 'paro automático',
  2510. 'msg.autopaused.text': '¡Paro automático! Pulse \'▶\' (Play) para continuar.',
  2511. 'msg.finished.text': 'Pulse <b>\'Show report\'</b> para revisar los problemas en el mapa',
  2512. 'msg.finished.tip': 'Pulse \'✉\' (Share) button para hacer un reporte en el\nforo o en un mensaje privado',
  2513. 'msg.noissues.tip': 'Trata de quitar algunas opciones de filtrado o inicia el WME Validator sobre otra área del mapa',
  2514. 'msg.scanning.text': '¡Analizando! Terminando en ~ ${n} min',
  2515. 'msg.scanning.text.soon': '¡Analizando! Terminando en un minuto!',
  2516. 'msg.scanning.tip': 'Pulse el botón de \'Pause\' para pausar o \'■\' (Stop) para detener el análisis',
  2517. 'msg.starting.text': '¡Comenzando! Las capas se han deshabilitado para analizar más rápido!',
  2518. 'msg.starting.tip': 'Utilice el botón\'Pause\' para pausar o el botón \'■\' para parar',
  2519. 'msg.paused.text': '¡En Pausa! pulse el botón de \'▶\' (Play) para continuar.',
  2520. 'msg.paused.tip': 'Para ver el reporte pulse el botón de \'Show report\' (si está disponible) ',
  2521. 'msg.continuing.tip': 'El WME Validator continuará desde la localización donde fue pausado',
  2522. 'msg.settings.text': 'Pulse <b>\'Back\'</b> para regresar a la vista principal',
  2523. 'msg.settings.tip': '¡Pulse el botón de \'Reset defaults\' para resetear todos los ajustes en un click!',
  2524. 'msg.reset.text': 'Todas las opciones y ajustes han sido devueltos a su estado original',
  2525. 'msg.reset.tip': 'Pulse el botón de \'Back\' para regresar a la vista principal',
  2526. 'msg.textarea.pack':
  2527. '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',
  2528. 'msg.textarea': 'Por favor copia el texto de abajo y pegalo en el foro o en un mensaje privado',
  2529. 'noaccess.text':
  2530. '<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.',
  2531. 'noaccess.tip': '¡Por favor revisa el hilo del foro para mayor información',
  2532. 'tab.switch.tip.on': 'Para encender el resaltado pulsa (Alt+V)',
  2533. 'tab.switch.tip.off': 'Para apagar el resaltado pulsa (Alt+V)',
  2534. 'tab.filter.tip': 'Opciones para filtrar el reporte y los segmentos resaltados',
  2535. 'tab.search.text': 'búsqueda',
  2536. 'tab.search.tip': 'Opciones avanzadas de filtrado para inculír segmentos específicos solamente',
  2537. 'tab.help.tip': '¿Necesita ayuda?',
  2538. 'filter.noneditables.text': 'Excluir los segmentos <b>no editables</b>',
  2539. 'filter.noneditables.tip': 'No reportar los segmentos bloqueados o\nsegmentos fuera de mis áreas de edción',
  2540. 'filter.duplicates.text': 'No incluir segmentos <b>duplicados</b>',
  2541. 'filter.duplicates.tip': 'No mostrar el mismo segmento en distintas\npartes del reporte\n* Nota: Esta opción NO afecta el resaltado',
  2542. 'filter.streets.text': 'No incluir <b>Calles y Vías de Servicio</b>',
  2543. 'filter.other.text': 'No incluir <b>Otras vías conducibles y no conducibles</b>',
  2544. 'filter.other.tip': 'No reportar Vías de Tierra, Vías de estacionamiento, Vías privadas ni \nsegmentos no conducibles',
  2545. 'filter.notes.text': 'No incluir <b>notas</b>',
  2546. 'filter.notes.tip': 'Reportar solamente advertencias y errores',
  2547. 'search.youredits.text': 'Incluir <b>sólo mis ediciones</b>',
  2548. 'search.youredits.tip': 'Incluir sólo los segmentos editados por mí',
  2549. 'search.updatedby.text': '<b>Actualizados por*:</b>',
  2550. 'search.updatedby.tip':
  2551. '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',
  2552. 'search.updatedsince.tip': 'Incluir segmentos editados desde el día epecificado\nFormato de fecha de Firefox: AAAA-MM-DD',
  2553. '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, *',
  2554. 'search.checks.tip':
  2555. '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*, *',
  2556. 'search.checks.example': 'Ejempo: revertir*',
  2557. 'help.text':
  2558. '<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>',
  2559. 'help.tip': 'Abrir en una nueva pestaña en el navegador',
  2560. 'button.scan.tip': 'Comenzar escaneando el área actual del mapa\n* Nota: Esto puede tomar algunos minutos',
  2561. 'button.scan.tip.NA': 'Aleje para comenzar a escanear el área actual del mapa',
  2562. 'button.stop.tip': 'Parar escaneo y regresar a la posición de inicio',
  2563. 'button.clear.tip': 'Borrar reporte y caché de segmento',
  2564. 'button.clear.tip.red':
  2565. '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.',
  2566. 'button.report.text': 'Muestra reporte',
  2567. 'button.report.tip': 'Aplicar el filtro y generar un reporte en HTML en una nueva pestaña',
  2568. 'button.BBreport.tip': 'Compartir el reporte en el Foro de Waze o en un Mensaje Privado',
  2569. 'tab.custom.text': 'Ajustes predefinidos',
  2570. 'tab.custom.tip': 'Ajustes predefinidos por el usuario',
  2571. 'tab.scanner.tip': 'Ajustes de escaneado del mapa',
  2572. 'tab.about.tip': 'Acerca del WME Validator',
  2573. 'scanner.sounds.NA': 'Su navegador no soporta AudioContext',
  2574. 'scanner.highlight.text': 'Resaltar problemas en el mapa',
  2575. 'scanner.highlight.tip': 'Resaltar problemas reportados en el mapa',
  2576. 'scanner.slow.text': 'Habilitar"chequeos" lentos',
  2577. 'scanner.slow.tip': 'Habilita análisis profundo del mapa\n* Nota: esta opción puede hacer lento el proceso de escaneo',
  2578. 'scanner.ext.text': 'Reportar resaltados externos',
  2579. 'scanner.ext.tip': 'Reportar segmentos resaltados por WME Toolbox o WME Color Highlights',
  2580. 'advanced.atbottom.text': 'Hasta abajo',
  2581. 'advanced.atbottom.tip': 'Poner WME Validator en la parte de abajo de la página',
  2582. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Planilla Propia</a>',
  2583. 'custom.template.tip':
  2584. '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}',
  2585. 'about.tip': 'Abrir liga en una pestaña nueva',
  2586. 'button.reset.text': 'Regresar a los ajustes originales',
  2587. 'button.reset.tip': 'Revertir las opciones de filtrado y ajustes a los originales',
  2588. 'button.list.text': 'Revisiones disponibles...',
  2589. 'button.list.tip': 'Mostrar una lista de revisiones disponibles en WME Validator',
  2590. 'button.wizard.tip': 'Crear un paquete de localización',
  2591. 'button.back.text': 'Regresar',
  2592. 'button.back.tip': 'Cerrar ajustes y regresar a la vista principal',
  2593. '1.problem': 'Los números de salida de los segmentos de la rotonda no son consecutivos',
  2594. '2.problem': 'El segmento tiene nodos geométricos innecesarios',
  2595. '2.solution': 'Simplificar la geometría del segmento pasando el puntero encima del segmento y presionando la letra "d"',
  2596. '3.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2597. '4.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2598. '5.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2599. '6.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2600. '7.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2601. '8.title': 'WME Toolbox: Numeración de Casas',
  2602. '8.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2603. '9.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2604. '13.title': 'WME Color Highlights: Bloqueo de un editor',
  2605. '13.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2606. '14.title': 'WME Color Highlights: Vía de peaje / Vía de un sólo sentido',
  2607. '14.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2608. '15.title': 'WME Color Highlights: Recientemente editado',
  2609. '15.problem': 'El segmento está resaltado por elWME Color Highlights. No representa un problema',
  2610. '16.title': 'WME Color Highlights: Rango de v',
  2611. '16.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2612. '17.title': 'WME Color Highlights: Sin Ciudad',
  2613. '17.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2614. '18.title': 'WME Color Highlights: Restricción de tiempo / Tipo de camino resaltado',
  2615. '18.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2616. '19.title': 'WME Color Highlights: Sin nombre',
  2617. '19.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2618. '20.title': 'WME Color Highlights: Filtrar por Ciudad',
  2619. '20.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2620. '21.title': 'WME Color Highlights: Filtrar por nombre alterno de Ciudad (alt. city)',
  2621. '21.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2622. '22.title': 'WME Color Highlights: Filtrar por editor',
  2623. '22.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2624. '23.title': 'Camino sin confirmar',
  2625. '23.problem': 'Cada segmento debe contener como mínimo Información de Estado y País',
  2626. '23.solution': 'Actualice el camino actualizando sus datos',
  2627. '24.enabled': false,
  2628. '24.title': 'Puede contener un nombre de ciudad incorrecto (sólo disponible en el reporte)',
  2629. '24.problem': 'El segmento puede contener el nombre de ciudad incorrecto',
  2630. '24.solution': 'Considere el nombre de ciudad Sugerido y use esta forma para renombrar la ciudad',
  2631. '25.title': 'Sentido desconocido en un camino conducible',
  2632. '25.problem': 'El sentido desconocido del segmento no prevendrá el ruteo por el mismo',
  2633. '25.solution': 'Coloque la dirección del segmento',
  2634. '28.title': 'Nombre de calle en una Rampa de doble sentido',
  2635. '28.problem': 'Si una rampa no tiene nombre, se aplicará el nombre del siguiente camino que lo tenga',
  2636. '28.solution': 'En las propiedades de dirección, active la casilla de \'Ninguno\' seguida del nombre de calle y entonces pulse \'Aplicar\'',
  2637. '29.problem': 'En Waze no se nombran los segmentos de las rotondas',
  2638. '29.solution':
  2639. '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',
  2640. '34.title': 'Vaciar el nombre alterno de calle',
  2641. '34.problem': 'El nombre alterno de calle está vacío',
  2642. '34.solution': 'Quitar los nombres alternos de calle vacíos',
  2643. '35.title': 'Camino conducible no terminado',
  2644. '35.problem': 'Waze no otorgará rutas por segmentos sin terminar',
  2645. '35.solution': 'Mueva un poco el segmento para que el nodo se añada de manera automática',
  2646. '38.title': 'Restricción de segmento vencida (no grave)',
  2647. '38.problem': 'El segmento tiene una restricción que ya venció',
  2648. '38.solution': 'Pulsar \'Editar restricciones\' y borrar las restricciones vencidas',
  2649. '39.title': 'Restricción de giro vencida (no grave)',
  2650. '39.problem': 'El segmento tiene un giro con restricció vencida',
  2651. '39.solution': 'Pulsar la figura del reloj en seguida de la flecha amarilla y borre las restricciones vencidas',
  2652. '41.enabled': false,
  2653. '41.title': 'Conectividad reversible en un segmento conducible',
  2654. '41.problem': 'Existe un giro que va contra la dirección del segmento en el nodo A',
  2655. '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',
  2656. '42.enabled': false,
  2657. '42.title': 'Nodo B: Conectividad reversible en segmento conducible',
  2658. '42.problem': 'Existe un giro que va en contra de la dirección del segmento en el nodo B',
  2659. '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',
  2660. '43.problem': 'El segmento está conectado en sí mismo',
  2661. '43.solution': 'Divida el segmento en tres',
  2662. '46.title': 'Nodo A: No existe conectividad hacia adentro del camino conducible',
  2663. '46.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo A',
  2664. '46.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo A',
  2665. '47.title': 'Nodo B: No existe conectividad hacia adentro del camino conducible (no grave) ',
  2666. '47.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo B',
  2667. '47.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo B',
  2668. '48.title': 'Segmento de glorieta de doble sentido',
  2669. '48.problem': 'El segmento de la glorieta es bidireccional',
  2670. '48.solution': 'Rehacer la glorieta',
  2671. '78.title': 'El segmento que creó comienza y termina en un mismo segmento',
  2672. '78.problem': 'Los dos segmentos comparten los mismos puntos finales',
  2673. '78.solution': 'Parta el segmento. Puede también remover uno de ellos si son idénticos',
  2674. '87.title': 'Múltiples segmentos de salida de la glorieta en el nodo A',
  2675. '87.problem': 'El nodo A en la glorieta tiene más de un segmento de salida conectado',
  2676. '87.solution': 'Re hacer la glorieta',
  2677. '99.title': 'Vuelta en U habilitada en segmento de entrada a la glorieta (no grave)',
  2678. '99.problem': 'El segmento de entrada a la glorieta tiene una vuelta en U habilitada',
  2679. '99.solution': 'Deshabilite la vuelta en U',
  2680. '101.title': 'Camino Cerrado (Sólo disponible en el reporte)',
  2681. '101.problem': 'El segmento está marcado como Cerrado',
  2682. '101.solution': 'Si la construcción ya terminó, reactive la conectividad del segmento y remueva el sufijo',
  2683. '102.title': 'No existe conectividad hacia afuera del segmento en el nodo A (no grave)',
  2684. '102.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo A',
  2685. '102.solution': 'Permita por lo menos un giro hacia el segmento en el nodo A',
  2686. '103.title': 'No existe conectividad hacia afuera en el nodo B (no grave))',
  2687. '103.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo B',
  2688. '103.solution': 'Permita por lo menos un giro desde el segmento en el nodo B',
  2689. '104.enabled': false,
  2690. '104.title': 'Segmento tipo ferrocarril usado para comentarios',
  2691. '104.problem': 'El segmentotipo ferrocarril etá siendo usado probablemente para comentarios del mapa',
  2692. '104.solution': 'Remover los comentarios ya que las vías férreas se verán en la aplicación',
  2693. '107.title': 'No hay conexion del Nodo A (no grave)',
  2694. '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',
  2695. '107.solution': 'Arrastre el nodo A al segmento más cercano de modo que se junten, o muévalo un poco más lejos.',
  2696. '108.title': 'No hay conexión en el nodo B (no grave)',
  2697. '108.problem': 'El nodo B del segmento está dentro del rango de 5m de otro segmento pero no está conectado por una intersección',
  2698. '108.solution': 'Arrastre el nodo B al segmento más cercano de modo que lo toque o muévalo un poco más lejos',
  2699. '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',
  2700. '109.solution': 'Aumente el largo del segmento, remuévalo o llévelo al nodo del segmento adyacente',
  2701. '112.title': 'Nombre de rampa demasiado largo',
  2702. '112.problem': 'El nombre de la rampa tiene más de ${n} letras',
  2703. '112.solution': 'Acorte el nombre de la rampa',
  2704. '116.solution': 'Corrija la elevación',
  2705. '117.title': 'Marcador de Zona de Construcción obsoleto',
  2706. '117.problem': 'El segmento está marcado con un sufijo de Zona de Construcción obsoleto',
  2707. '117.solution': 'Cambie el CONST ZN a (cerrado)',
  2708. '118.title': 'En el Nodo A: Segmentos encimados (no grave)',
  2709. '118.problem': 'El segmento está encimado con el segmento adyacente en el nodo A',
  2710. '118.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo A',
  2711. '119.title': 'Nodo B: Segmentos encimados',
  2712. '119.problem': 'El segmento está encimado con el segmento adyacente en el nodoB',
  2713. '119.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo B',
  2714. '120.title': 'Nodo A: Giro demasiado cerrado (no grave)',
  2715. '120.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo A',
  2716. '120.solution': 'Prohíba la vuelta cerrada en el nodo A o abra los segmentos a 30°',
  2717. '121.title': 'Nodo B: Giro demasiado cerrado (no grave)',
  2718. '121.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo B',
  2719. '121.solution': 'Prohíba la vuelta cerrada en el nodo B o abra los segmentos a 30°',
  2720. '128.title': 'Revisión definida por el usuario (verde)',
  2721. '128.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2722. '128.solution': 'Resuelva el problema',
  2723. '129.title': 'Revisión definida por el usuario (azúl)',
  2724. '129.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2725. '129.solution': 'Resuelva el problema',
  2726. '150.enabled': false,
  2727. '151.enabled': false,
  2728. '152.enabled': false,
  2729. '172.title': 'Espacios innecesarios en el nombre de calle',
  2730. '172.solution': 'Eliminar espacios innecesarios del nombre de la calle',
  2731. '173.title': 'No hay espacio antes/después de la abreviatura en el nombre de calle',
  2732. '173.problem': 'No hay espacio antes de (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de calle',
  2733. '173.solution': 'Añadir un espacio antes/después de la abreviatura',
  2734. '175.title': 'Nombre de calle vacío',
  2735. '175.problem': 'El nombre de la calle tiene solamente espacios o un punto',
  2736. '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\'',
  2737. '190.enabled': false,
  2738. '190.title': 'Nombre de ciudad en minúsculas',
  2739. '190.solution': 'Use esta forma para renombrar la ciudad',
  2740. '192.enabled': false,
  2741. '192.title': 'Espacios innecesarios en el nombre de ciudad',
  2742. '192.solution': 'Use esta forma para renombrar la ciudad',
  2743. '193.title': 'No hay espacios antes/después de la abreviatura de la Ciudad',
  2744. '193.problem': 'No hay espacio antes (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de ciudad',
  2745. '193.solution': 'Use esta forma para renombrar la ciudad',
  2746. '200.enabled': false,
  2747. '200.title': 'En el nodo A: Giro no confirmado en un camino menor',
  2748. '200.problem': 'El segmento del camino menor tiene un giro no confirmado (suave) en el nodo A',
  2749. '200.solution':
  2750. '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',
  2751. '201.enabled': false,
  2752. '201.title': 'En el nodo A: Giro no confirmado en una vía primaria',
  2753. '201.problem': 'El segmento de vía primaria tiene un giro no confirmado (suave) en el nodo A',
  2754. '201.solution':
  2755. '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',
  2756. '202.enabled': false
  2757. },
  2758. 'LU': {'.codeISO': 'LU', '.country': 'Luxembourg', '.fallbackCode': 'BE', '160.enabled': false},
  2759. 'IT': {
  2760. '.codeISO': 'IT',
  2761. '.country': 'Italy',
  2762. '57.enabled': true,
  2763. '59.enabled': true,
  2764. '90.enabled': true,
  2765. '95.enabled': true,
  2766. '150.enabled': true,
  2767. '151.enabled': true,
  2768. '151.params': {'n': 5},
  2769. '152.enabled': true,
  2770. '152.params': {'n': 4},
  2771. '163.enabled': true,
  2772. '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'},
  2773. '170.enabled': true
  2774. },
  2775. 'IL': {
  2776. '.codeISO': 'IL',
  2777. '.country': 'Israel',
  2778. '.author': 'gad_m',
  2779. '.updated': '2014-06-30',
  2780. '.lng': 'HE',
  2781. '.dir': 'rtl',
  2782. 'city.consider': 'בדוק את שם העיר:',
  2783. 'city.1': 'שם העיר קצר מדי',
  2784. 'city.2': 'אל תשתמש בשם מקוצר',
  2785. 'city.3': 'השלם את השם הקצר',
  2786. 'city.4': 'השלם את שם העיר',
  2787. 'city.5': 'תקן אותיות רישיות',
  2788. 'city.6': 'בדוק סדר המילה',
  2789. 'city.7': 'בדוק סימני קיצור',
  2790. 'city.8a': 'הוסף מדינה',
  2791. 'city.8r': 'מחק מדינה',
  2792. 'city.9': 'בדוק מדינה',
  2793. 'city.10a': 'הוסף מילה',
  2794. 'city.10r': 'הורד מילה',
  2795. 'city.11': 'הוסף קוד מדינה',
  2796. 'city.12': 'שמות זהים, אבל קוד זיהוי עיר שונה',
  2797. 'city.13a': 'הוסף רווח',
  2798. 'city.13r': 'הורד רווח',
  2799. 'city.14': 'בדוק את המספר',
  2800. 'props.skipped.title': 'המקטע לא נבדק',
  2801. 'props.skipped.problem': 'הקטע נערך לאחר 2014/5/1 ונעול לעריכה עבורך, אז Validator לא יכול לבדוק אותו',
  2802. 'err.regexp': 'אירעה שגיאה עבור בדיקה #${n}:',
  2803. 'props.disabled': 'התוסף אינו מופעל',
  2804. 'props.limit.title': 'יותר מדי בעיות דווחו',
  2805. 'props.limit.problem': 'ישנם בעיות רבות מדי שדווחו, כך שחלק מהם אולי לא יראו',
  2806. 'props.limit.solution': 'בטל את הבחירה של המקטע והפסק את תהליך סריקה. לאחר מכן לחץ על הכפתור האדום \'✘\' (מחק הדו"ח)',
  2807. 'props.reports': 'בעיות שנמצאו ע"י ',
  2808. 'props.noneditable': 'אינך יכול לערוך מקטע זה',
  2809. 'report.save': 'שמור את הדו"ח',
  2810. 'report.list.andUp': 'ולמעלה',
  2811. 'report.list.severity': 'חומרה',
  2812. 'report.list.reportOnly': 'רק בדיווח',
  2813. 'report.list.forEditors': 'לרמת עורכים',
  2814. 'report.list.forCountries': 'לארצות',
  2815. 'report.list.forStates': 'למדינות',
  2816. 'report.list.forCities': 'לערים',
  2817. 'report.list.params': 'משתנים להגדרת חבילת לוקליזציה',
  2818. 'report.list.params.set': 'תצורה נוכחית עבור ${country}:',
  2819. 'report.list.enabled': '${n} בדיקות מאופשרות עבור',
  2820. 'report.list.disabled': '${n} בדיקות כבויות עבור',
  2821. 'report.list.total': 'יש ${n} בדיקות זמינות',
  2822. 'report.list.title': 'רשימה מלאה של בדיקות עבור',
  2823. 'report.list.see': 'ראה',
  2824. 'report.list.checks': 'הגדרות->אודות->בדיקות זמינות',
  2825. 'report.list.fallback': 'כללי עתודה של תמיכת הלוקליזציה:',
  2826. 'report.and': 'וגם',
  2827. 'report.segments': 'סה"כ מקטעים שנבדקו:',
  2828. 'report.customs': 'בדיקות מותאמות אישית תואמים (#1/#2):',
  2829. 'report.reported': 'דווחו',
  2830. 'report.errors': 'טעויות',
  2831. 'report.warnings': 'אזהרות',
  2832. 'report.notes': 'הערות',
  2833. 'report.contents': 'תוכן:',
  2834. 'report.summary': 'סיכום',
  2835. 'report.title': 'דו"ח WME Validator',
  2836. 'report.share': 'לשתף',
  2837. 'report.generated.by': 'נוצר ע"י',
  2838. 'report.generated.on': 'ב',
  2839. 'report.source': 'מקור הדו"ח:',
  2840. 'report.filter.duplicate': 'מקטעים כפולים',
  2841. 'report.filter.streets': 'רחובות וכבישי שרות',
  2842. 'report.filter.other': 'אחרים - מותרים ואסורים לנהיגה',
  2843. 'report.filter.noneditable': 'מקטעים שלא ניתנים לעריכה',
  2844. 'report.filter.notes': 'הערות',
  2845. 'report.filter.title': 'מסננים:',
  2846. 'report.filter.excluded': 'אינם נכללים בדו"ח זה.',
  2847. 'report.search.updated.by': 'עודכן ע"י',
  2848. 'report.search.updated.since': 'עודכן ב',
  2849. 'report.search.city': 'מ',
  2850. 'report.search.reported': 'דווח כ',
  2851. 'report.search.title': 'חפש:',
  2852. 'report.search.only': 'מקטעים בלבד',
  2853. 'report.search.included': 'נכללים בדו"ח זה.',
  2854. 'report.beta.warning': 'אזהרות עורך בטא:',
  2855. 'report.beta.text': 'דו"ח זה חולל ע"י עורך גירסת בטא וכולל קישורים קבועים לבטא.',
  2856. 'report.beta.share': 'אנא אל תשתף את הפרמלינקים האלה!',
  2857. 'report.size.warning': '<b>אזהרה!</b><br>אורך הדו"ח הוא ${n} תווים<b>הוא לא מתאים להכנס</b> להודעה פרטית אחת בפורום\n<br>אנא הוסף<b>מסננים נוספים</b> על מנת להקטין את גודל הדו"ח',
  2858. 'report.note.limit': '* הערה: היו בעיות רבות מדי שדווחו, כך שחלק מהם אינם נספר בסיכום.',
  2859. 'report.forum': 'לעידוד פיתוח נוסף, אנא השאר משוב ב',
  2860. 'report.thanks': 'תודה שהשתמשת ב WME Validator!',
  2861. 'msg.limit.segments': 'יש יותר מדי מקטעים.\n\nלחץ \'צפה בדו"ח\' בכדי לצפות בדו"ח, אח"כ לחץ \'▶\' כדי להמשיך.',
  2862. 'msg.limit.segments.continue': 'לחץ \'▶\' (בצע) כדי להמשיך',
  2863. 'msg.limit.segments.clear': 'לחץ \'✘\' (מחק) כדי למחוק את הדו"ח.',
  2864. 'msg.pan.text': 'הזז מעט את המפה כדי להתחיל בבדיקה',
  2865. 'msg.zoomout.text': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח ע"י WME Validator',
  2866. 'msg.click.text': 'לניתוח שטח המפה הגלוי לחץ על \'▶\' ',
  2867. 'msg.autopaused': 'עצירה אוטומטית',
  2868. 'msg.autopaused.text': 'עצירה אוטומטית! לחץ על \'▶\' כדי להמשיך',
  2869. 'msg.autopaused.tip': 'כלי זה עוצר אוטומטית כשמזיזים את המפה או כשמשנים את גודל החלון',
  2870. 'msg.finished.text': 'לחץ <b>\'צפה בדו"ח\'</b> כדי לצפות בבעיות במפה',
  2871. 'msg.finished.tip': 'לחץ על \'✉\' (שתף) כדי לדווח בפורום\nאו כהודעה פרטית',
  2872. 'msg.noissues.text': 'הסריקה הסתיימה! לא נמצאו בעיות!',
  2873. 'msg.noissues.tip': 'נסה לכבות חלק מהמסננים או התחל מחדש את הסריקה',
  2874. 'msg.scanning.text': 'סורק! יסיים בעוד כ ${n} דקות לערך',
  2875. 'msg.scanning.text.soon': 'סורק! יסיים בעוד כדקה!',
  2876. 'msg.scanning.tip': 'לחץ על \'השהה\' כדי לעצור או על \'■\' כדי לעצור',
  2877. 'msg.starting.text': 'מכין את הדו"ח! השכבות מוסתרות כדי לסרוק מהר יותר',
  2878. 'msg.starting.tip': 'לחץ על \'השהה\' או על \'■\' כדי לעצור',
  2879. 'msg.paused.text': 'בהשהייה! לחץ \'▶\' כדי להמשיך',
  2880. 'msg.paused.tip': 'לצפיה בדו"ח לחץ על \'צפה בדו"ח\' (אם זמין)',
  2881. 'msg.continuing.text': 'ממשיך!',
  2882. 'msg.continuing.tip': 'WME Validator ימשיך מהמקום בו הפסיק',
  2883. 'msg.settings.text': 'לחץ <b>\'חזרה\'</b> לחזרה למסך הראשי',
  2884. 'msg.settings.tip': 'לחץ \'אפס לברירת מחדל\' כדי לאפס את כל ההגדרות',
  2885. 'msg.reset.text': 'כל אפשרויות הסינון וההגדרות אופסו לברירת המחדל שלהם',
  2886. 'msg.reset.tip': 'לחץ על \'חזרה\' כדי לחזור לתצוגה הראשית',
  2887. 'msg.textarea.pack': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בקובץ <b>.user.js</b> חדש',
  2888. 'msg.textarea': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בשרשור בפורום או כהודעה פרטית',
  2889. 'noaccess.text':
  2890. '<b>מצטער,</b><br>אינך יכול להשתמש ב WME Validator כאן.<br>אנא בדוק <a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">את השרשור בפורום</a><br>למידע נוסף.',
  2891. 'noaccess.tip': 'אנא בדוק את השרשור בפורום למידע נוסף!',
  2892. 'tab.switch.tip.on': 'לחץ להפעלה (Alt+V)',
  2893. 'tab.switch.tip.off': 'לחץ לכיבוי (Alt+V)',
  2894. 'tab.filter.text': 'מסננים',
  2895. 'tab.filter.tip': 'אפשרויות סינון הדו"ח והדגשות בעורך המפה',
  2896. 'tab.search.text': 'חיפוש',
  2897. 'tab.search.tip': 'אפשרויות סינון מתקדמות כדי לכלול מקטעים ספציפיים בלבד',
  2898. 'tab.help.text': 'עזרה',
  2899. 'tab.help.tip': 'צריך עזרה?',
  2900. 'filter.noneditables.text': 'הסתר מקטעים <b>שאינם ניתנים לעריכה</b>',
  2901. 'filter.noneditables.tip': 'אל תדווח על מקטעים נעולים או\nמקטעים מחוץ לאיזור העריכה שלך',
  2902. 'filter.duplicates.text': 'הסתר <b>כפילויות</b> במקטעים',
  2903. 'filter.duplicates.tip': 'אל תראה את אותו המקטע בחלקים\nשונים של הדו"ח\n* שים לב: אפשרות זו אינה משפיעה על ההדגשות',
  2904. 'filter.streets.text': 'הסתר <b>רחוב</b> ו<b>כביש שרות</b>',
  2905. 'filter.streets.tip': 'אל תכלול בדו"ח מקטעים מסוג רחוב וכביש שרות',
  2906. 'filter.other.text': 'הסתר אחרים ש<b>מותרים לנהיגה</b> וכל ה<b>אסורים לנהיגה</b>',
  2907. 'filter.other.tip': 'אל תכלול בדו"ח מקטעים מסוג דרך עפר, מגרש חניה, כביש פרטי\nומקטעים שאסורים לנהיגה',
  2908. 'filter.notes.text': 'הסתר <b>הערות</b>',
  2909. 'filter.notes.tip': 'דווח רק על אזהרות ושגיאות',
  2910. 'search.youredits.text': 'כלול <b>רק עריכות שלך</b>',
  2911. 'search.youredits.tip': 'כלול רק מקטעים שערכת בעצמך',
  2912. 'search.updatedby.text': '<b>עודכן על ידי:</b>',
  2913. 'search.updatedby.tip':
  2914. 'כלול סיגמנטים שנערכו ע"י עורך מסויים\nשדה זה תומך ב:\n- רשימות: me, otherEditorName\n- תווים חופשיים: world*\n- שלילה: !me, *\nשים לב: ניתן להשתמש ב me כהתאמה לעצמך',
  2915. 'search.updatedby.example': 'דוגמה: אני',
  2916. 'search.updatedsince.text': '<b>עודכן ב:</b>',
  2917. 'search.updatedsince.tip': 'כלול מקטעים שנערכו מאז תאריך מסויים\nפורמט תאריך: YYYY-MM-DD',
  2918. 'search.updatedsince.example': 'YYYY-MM-DD',
  2919. 'search.city.text': '<b>שם העיר:</b>',
  2920. 'search.city.tip': 'כלול מקטעים בעלי שם עיר מסויימת\nשדה זה תומך ב:\nרשימות: ירושלים, אשקלון\nתווים כלליים: תל *\nשלילה: !ירושלים, *',
  2921. 'search.city.example': 'דוגמה: !ירושלים, *',
  2922. 'search.checks.text': '<b>דווח כ:</b>',
  2923. 'search.checks.tip':
  2924. 'כלול רק מקטעים שדווחו לגביהם:\nשדה זה תואם:\n- חומרת הבעיה: errors\n- שמות קבועים: New road\n- מספרים מזהים: 40\nשדה זה תומך ב:\n- רשימות: 36,37\n- תווים כלליים: *roundabout*\n- שלילה: !soft turns*, *\n',
  2925. 'search.checks.example': 'דוגמה: *הפוך*',
  2926. 'help.text':
  2927. '<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>',
  2928. 'help.tip': 'פתח בכרטיסיית דפדפן חדשה',
  2929. 'button.scan.tip': 'התחל לסרוק את המפה הנוכחית\nשים לב: פעולה זו יכולה לקחת מספר דקות',
  2930. 'button.scan.tip.NA': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח באיזור המפה הנוכחי',
  2931. 'button.pause.tip': 'עצור את הסריקה',
  2932. 'button.continue.tip': 'המשך לסרוק את המפה',
  2933. 'button.stop.tip': 'עצור את הסריקה וחזור להתחלה',
  2934. 'button.clear.tip': 'מחק הדו"ח ומקטעים מהזיכרון',
  2935. 'button.clear.tip.red': 'יותר מדי דיווחים על בעיות במקטעים:\n1. לחץ \'צפה בדו"ח להפיק את הדו"ח\'.\n2. לחץ על כפתור זה כדי למחוק את הדו"ח ולהתחיל מחדש.',
  2936. 'button.report.text': 'צפה בדו"ח',
  2937. 'button.report.tip': 'השתמש בהגדרות המסננים והפק דו"ח HTML שיפתח בכרטיסיית דפדפן חדשה',
  2938. 'button.BBreport.tip': 'שתף את הדו"ח בפורום של וייז או בהודעה פרטית',
  2939. 'button.settings.tip': 'הגדרות',
  2940. 'tab.custom.text': 'מותאם',
  2941. 'tab.custom.tip': 'הגדרת בדיקות מותאמות אישית לפי הגדרות המשתמש',
  2942. 'tab.settings.text': 'הגדרות',
  2943. 'tab.scanner.text': 'סורק',
  2944. 'tab.scanner.tip': 'הגדרות סריקה',
  2945. 'tab.about.text': 'אודות</span>',
  2946. 'tab.about.tip': 'אודות WME Validator',
  2947. 'scanner.sounds.text': 'אפשר צלילים',
  2948. 'scanner.sounds.tip': 'ציפצופים וביפים בזמן סריקה',
  2949. 'scanner.sounds.NA': 'הדפדפן שלך אינו תומך ב AudioContext',
  2950. 'scanner.highlight.text': 'הדגש בעיות על גבי המפה',
  2951. 'scanner.highlight.tip': 'הדגר בעיות מדווחות על גבי המפה',
  2952. 'scanner.slow.text': 'אפשר בדיקות המוגדרות כ"איטי"',
  2953. 'scanner.slow.tip': 'מאפשר ניתוח מעמיק של המפה\n* שים לב: אפשרות זו עלולה להאט את תהליך הסריקה',
  2954. 'scanner.ext.text': 'דווח על הדגשות ממקורות אחרים',
  2955. 'scanner.ext.tip': 'דווח על מקטעים שהודגשו ע"י WME Toolbox או WME Color Highlights',
  2956. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>תבנית מותאמת אישית</a>',
  2957. 'custom.template.tip':
  2958. 'תבנית להרחבת בדיקות מותאמת אישית המוגדרת על ידי משתמש.\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}',
  2959. 'custom.template.example': 'דוגמה: ${city}',
  2960. 'custom.regexp.text': '<a target="_blank" href="https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions">ביטוי רגולרי</a> מותאם אישית',
  2961. 'custom.regexp.tip': 'ביטוי רגולרי מותאם אישית ע"י המשתמש התואם את התבנית\nהתאמה: /regexp/\nשלילה: !/regexp/\nכתוב מידע של התוכנית לקונסולה (debug)\n',
  2962. 'custom.regexp.example': 'דוגמה: /גבעת שמואל/',
  2963. 'about.tip': 'פתח קישור בכרטיסיית דפדפן חדשה',
  2964. 'button.reset.text': 'אפס לברירת מחדל',
  2965. 'button.reset.tip': 'אפס אפשרויות סינון והגדרות לברירת המחדל',
  2966. 'button.list.text': 'בדיקות זמינות...',
  2967. 'button.list.tip': 'הראה את רשימ הבדיקות הזמינות של WME Validator',
  2968. 'button.wizard.tip': 'צור קבצי לוקליזציה',
  2969. 'button.back.text': 'חזרה',
  2970. 'button.back.tip': 'סגור הגדרות וחזור לחלון ראשי',
  2971. '1.enabled': false,
  2972. '1.title': 'WME Toolbox: כיכר שעלול ליצור בעיות',
  2973. '1.problem': 'מספרים מזהים של צמתים של מקטעים בכיכר אינם רצופים',
  2974. '1.solution': 'בנה מחדש את הכיכר',
  2975. '2.title': 'WME Toolbox: מקטע פשוט',
  2976. '2.problem': 'למקטע יש מפרקים מיותרים',
  2977. '2.solution': 'פשט את מפרקי המקטע ע"י מעבר עם העכבר מעל המקטע ולחיצה על מקש "d"',
  2978. '3.title': 'WME Toolbox: נעילה ברמה 2',
  2979. '3.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2980. '4.title': 'WME Toolbox: נעילה ברמה 3',
  2981. '4.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2982. '5.title': 'WME Toolbox: נעילה ברמה 4',
  2983. '5.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2984. '6.title': 'WME Toolbox: נעילה ברמה 5',
  2985. '6.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2986. '7.title': 'WME Toolbox: נעילה ברמה 6',
  2987. '7.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2988. '8.title': 'WME Toolbox: מספרי בתים',
  2989. '8.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2990. '9.title': 'WME Toolbox: מקטע עם הגבלות לפי שעות',
  2991. '9.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2992. '13.title': 'WME Color Highlights: נעילת עורך',
  2993. '13.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2994. '14.title': 'WME Color Highlights: כביש אגרה / כביש חד סיטרי',
  2995. '14.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2996. '15.title': 'WME Color Highlights: נערך לאחרונה',
  2997. '15.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2998. '16.title': 'WME Color Highlights: דרגה של כביש',
  2999. '16.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3000. '17.title': 'WME Color Highlights: ללא עיר',
  3001. '17.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3002. '18.title': 'WME Color Highlights: הגבלות לפי שעות / סוג כביש מודגש',
  3003. '18.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3004. '19.title': 'WME Color Highlights: ללא שם',
  3005. '19.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3006. '20.title': 'WME Color Highlights: מסנן לפי עיר',
  3007. '20.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3008. '21.title': 'WME Color Highlights: מסנן לפי עיר',
  3009. '21.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3010. '22.title': 'WME Color Highlights: מסנן לפי עורך',
  3011. '22.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3012. '23.title': 'מקטע ללא שם',
  3013. '23.problem': 'כל מקטע חייב לפחות הגדרת מדינה',
  3014. '23.solution': 'אשר את הכביש ע"י עריכת הפרטים שלו',
  3015. '24.title': 'יתכן ששם העיר שגוי (זמין רק בדו"ח)',
  3016. '24.problem': 'יתכן ששם העיר של המקטע שגוי (זמין רק בדו"ח)',
  3017. '24.solution': 'שקול להשתמש בשם העיר שמוצע והשתמש בטופס זה כדי לשנות שם עיר',
  3018. '25.title': 'כיוון לא ידוע של כביש מותר בנהיגה',
  3019. '25.problem': 'כיוון "לא ידוע" של כביש לא מונע ניווט דרכו',
  3020. '25.solution': 'קבע את כיוון הנסיעה של הכביש',
  3021. '27.enabled': true,
  3022. '27.title': 'שם עיר על מסילת רכבת',
  3023. '27.problem': 'שם עיר על מסילת רכבת עלול לטשטש את גבולות העיר',
  3024. '27.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3025. '28.enabled': false,
  3026. '28.title': 'שם רחוב למחבר דו כיווני',
  3027. '28.problem': 'כשהמחבר ללא שם, הוא יקבל את שמו מהכביש אליו הוא מוביל',
  3028. '28.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3029. '29.title': 'לכיכר יש שם רחוב',
  3030. '29.problem': 'בווויז לא נותנים שמות למקטעים השייכים לכיכר',
  3031. '29.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\', לחץ \'החל\'. כדי לתת שם לכיכר הוסף \'מקום\' עם קטגורית \'צומת\' ותן לו את שם הכיכר',
  3032. '34.title': '\'שם חלופי\' ריק',
  3033. '34.problem': 'שדה \'שם חלופי\' של הרחוב ריק',
  3034. '34.solution': 'הסר את ה\'שם חלופי\' של הרחוב',
  3035. '35.title': 'כביש מותר לנהיגה קטוע',
  3036. '35.problem': 'וייז לא ינווט מכביש קטוע',
  3037. '35.solution': 'הזז מעט את המקטע כך שיתווסף אוטומטית צומת המסיים את המקטע',
  3038. '36.title': 'צומת A: מיותר (איטי)',
  3039. '36.problem': 'מקטעים סמוכים בצומת A זהים',
  3040. '36.solution': 'בחר את צומת A ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3041. '37.title': 'צומת B: מיותר (איטי)',
  3042. '37.problem': 'מקטעים סמוכים בצומת B זהים',
  3043. '37.solution': 'בחר את צומת B ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3044. '38.title': 'פג תוקף של מגבלה על מקטע (איטי)',
  3045. '38.problem': 'למקטע יש מגבלות שפג תוקפם',
  3046. '38.solution': 'לחץ על "הוסף הגבלות" ומחק מגבלות שפג תוקפם',
  3047. '39.title': 'פג תוקף של מגבלה על פניה (איטי)',
  3048. '39.problem': 'במקטע יש פניה עם מגבלה שפג תוקפה',
  3049. '39.solution': 'לחץ על סימון השעון שליד החץ הצהוב של הפניה ומחק הגבלות שפג תוקפן',
  3050. '41.enabled': false,
  3051. '41.title': 'צומת A: קישוריות הפוכה של כביש מותר לנהיגה',
  3052. '41.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת A',
  3053. '41.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת A ואחר כך הפוך חזרה את המקטע ל"חד כיווני (A→B)"',
  3054. '42.enabled': false,
  3055. '42.title': 'צומת B: קישוריות הפוכה של כביש מותר לנהיגה',
  3056. '42.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת B',
  3057. '42.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת B ואחר כך הפוך חזרה את המקטע ל"חד כיווני (B→A)"',
  3058. '43.title': 'קישור לעצמי',
  3059. '43.problem': 'המקטע יוצר צומת עם המקטע עצמו',
  3060. '43.solution': 'פצל את המקטע לשלושה מקטעים',
  3061. '44.title': 'אין חיבור ביציאה',
  3062. '44.problem': 'מקטע מותר בנהיגה ללא אף פניה מאופשרת ביציאה ממנו',
  3063. '44.solution': 'אפשר לפחות פניה אחת ביציאה מהמקטע',
  3064. '45.title': 'אין חיבור בכניסה',
  3065. '45.problem': 'אין אף פניה מאופשרת בכניסה למקטע המותר בנהיגה',
  3066. '45.solution': 'בחר מקטע סמוך ואפשר פניה למקטע זה',
  3067. '46.title': 'צומת A: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3068. '46.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת A',
  3069. '46.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת A',
  3070. '47.title': 'צומת B: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3071. '47.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת B',
  3072. '47.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת B',
  3073. '48.title': 'מקטע דו כיווני בכיכר',
  3074. '48.problem': 'מקטע מותר לנהיגה בכיכר הוא דו כיווני',
  3075. '48.solution': 'צור מחדש את הכיכר',
  3076. '50.title': 'אין חיבור לכיכר (איטי)',
  3077. '50.problem': 'למקטע מותר לנהיגה בכיכר אין חיבור למקטע סמוך בכיכר',
  3078. '50.solution': 'אפשר פניה במקטע סמוך או צור מחדש את הכיכר',
  3079. '57.enabled': true,
  3080. '57.title': 'שם עיר במחבר עם שם רחוב',
  3081. '57.problem': 'שם עיר במחבר עם שם רחוב עלול להשפיע על תוצאות החיפוש',
  3082. '57.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3083. '59.enabled': true,
  3084. '59.title': 'שם עיר בכביש מהיר',
  3085. '59.problem': 'שם עיר בכביש מהיר עלול לטשטש את גבולות העיר',
  3086. '59.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3087. '77.enabled': false,
  3088. '77.title': 'פניית פרסה ברחוב ללא מוצא',
  3089. '77.problem': 'מאופשרת פניית פרסה במקטע מותר לנהיגה ללא מוצא',
  3090. '77.solution': 'אל תאפשר פניית פרסה',
  3091. '78.title': 'שני מקטעים המותרים לנהיגה מסתיימים באותן נקודות (איטי)',
  3092. '78.problem': 'שני מקטעים המותרים לנהיגה בעלי אותן נקודות קצה',
  3093. '78.solution': 'פצל את המקטע לשני מקטעים. יתכן ויש צורך למחוק את אחד המקטעים אם הם זהים',
  3094. '87.title': 'מקטעים מרובים יוצאים מצומת A',
  3095. '87.problem': 'לצומת A בכיכר מחובר יותר ממקטע יציאה אחד',
  3096. '87.solution': 'צור מחדש את הכיכר',
  3097. '90.enabled': true,
  3098. '90.title': 'כביש מהיר דו סיטרי',
  3099. '90.problem': 'רוב הכבישים המהירים מפוצלים לשני מקטעים חד סיטריים כך שיתכן שיש טעות במקטע',
  3100. '90.solution': 'בדוק את כיוון הנסיעה של הכביש המהיר',
  3101. '91.title': 'מחבר דו כיווני',
  3102. '91.problem': 'רוב המחברים הם חד סיטריים, כך שיתכן שזו שגיאה שמחבר זה מוגדר כדו-סיטרי',
  3103. '91.solution': 'בדוק כיווני נסיעה במחבר',
  3104. '99.title': 'פניית פרסה מאופשרת בכניסה לכיכר (איטי)',
  3105. '99.problem': 'פניית פרסה מאופשרת במקטע הנכנס לכיכר',
  3106. '99.solution': 'אל תאפשר פניית פרסה',
  3107. '101.title': 'כביש סגור (זמין רק בדו"ח)',
  3108. '101.problem': 'המקטע מסומן כסגור',
  3109. '101.solution': 'אם הבנייה הסתיימה, שחזר את קישוריות המקטע והסר את הסיומת',
  3110. '102.title': 'צומת A: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3111. '102.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת A',
  3112. '102.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת A',
  3113. '103.title': 'צומת B: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3114. '103.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת B',
  3115. '103.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת B',
  3116. '104.title': 'מסילת רכבת משמשת כהערה',
  3117. '104.problem': 'נראה שמקטע מסוג מסילת רכבת משמש כהערה',
  3118. '104.solution': 'הסר את המקטע כיוון שמסילת רכבת תיראה במסך של משתמש הקצה',
  3119. '107.title': 'צומת A: אין חיבור (איטי)',
  3120. '107.problem': 'צומת A של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3121. '107.solution': 'חבר את צומת A למקטע הקרוב ביותר או הרחק אותו מעט',
  3122. '108.title': 'צומת B: אין חיבור (איטי)',
  3123. '108.problem': 'צומת B של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3124. '108.solution': 'חבר את צומת B למקטע הקרוב ביותר או הרחק אותו מעט',
  3125. '109.enabled': false,
  3126. '109.title': 'מקטע קצר מדי',
  3127. '109.problem': 'מקטע מותר לנהיגה ללא קצה הוא פחות מ 2 מטר. וקשה לראות זאת במפה',
  3128. '109.solution': 'הארך את המקטע, מחק אותו או חבר אותו למקטע סמוך',
  3129. '112.title': 'לשם המחבר יש יותר מ ${n} אותיות',
  3130. '112.problem': 'שם המחבר ארוך מדי',
  3131. '112.solution': 'קצר את שם המחבר',
  3132. '114.enabled': false,
  3133. '114.title': 'צומת A: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3134. '114.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת A',
  3135. '114.solution': 'נתק את צומת A ממקטעים מותרים לנהיגה',
  3136. '115.enabled': false,
  3137. '115.title': 'צומת B: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3138. '115.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת B',
  3139. '115.solution': 'נתק את צומת B ממקטעים מותרים לנהיגה',
  3140. '116.title': 'גובה לא בטווח המותר',
  3141. '116.problem': 'גובה המקטע לא בטווח המותר',
  3142. '116.solution': 'תקן את הגובה',
  3143. '117.title': 'סימון של קבוע ישן ZN',
  3144. '117.problem': 'המקטע מסומן בסימון של קבוע שלא בתוקף: ZN',
  3145. '117.solution': 'שנה את הקבוע ZN ל: (סגור)',
  3146. '118.title': 'צומת A: מקטעים חופפים (איטי)',
  3147. '118.problem': 'המקטע חופף למקטע סמוך בצומת A',
  3148. '118.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת A',
  3149. '119.title': 'צומת B: מקטעים חופפים (איטי)',
  3150. '119.problem': 'המקטע חופף למקטע סמוך בצומת B',
  3151. '119.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת B',
  3152. '120.title': 'צומת A: פנייה חדה מדי (איטי)',
  3153. '120.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת A',
  3154. '120.solution': 'אסור את הפנייה החדה בצומת A או שנה את זווית הפניה ל 30°',
  3155. '121.title': 'צומת B: פנייה חדה מדי (איטי)',
  3156. '121.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת B',
  3157. '121.solution': 'אסור את הפנייה החדה בצומת B או שנה את זווית הפניה ל 30°',
  3158. '128.title': 'בדיקה מותאמת אישית ע"י המשתמש (ירוק)',
  3159. '128.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3160. '128.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3161. '129.title': 'בדיקה מותאמת אישית ע"י המשתמש (כחול)',
  3162. '129.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3163. '129.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3164. '171.enabled': false,
  3165. '171.title': 'שם רחוב מקוצר באופן שגוי',
  3166. '171.problem': 'בשם הרחוב יש קיצור שגוי',
  3167. '171.solution': 'בדוק אותיות קטנות / גדולות, רווח לפני / אחרי הקיצור ובהתאם לטבלת הקיצורים',
  3168. '172.title': 'מרווחים מיותרים בשם של רחוב',
  3169. '172.problem': 'מרווח כפול/לפני/אחרי שם של רחוב',
  3170. '172.solution': 'מחק מרווחים מיותרים בשם של הרחוב',
  3171. '173.enabled': false,
  3172. '173.title': 'אין רווח לפני/אחרי שם קיצור של רחוב',
  3173. '173.problem': 'חסר מרווח לפני או אחרי שימוש בקיצור בשם של רחוב',
  3174. '173.solution': 'הוסף רווח לפני/אחרי הקיצור',
  3175. '175.title': 'שם רחוב ריק',
  3176. '175.problem': 'שם הרחוב מכיל רק מרווחים או נקודות',
  3177. '175.solution': 'במאפייני הכתובת, סמן את תיבת \'אין\' ליד שם הרחוב, לחץ \'החל\', או תן שם תקין לרחוב',
  3178. '190.enabled': false,
  3179. '190.title': 'שם העיר באותיות קטנות',
  3180. '190.problem': 'שם העיר מתחיל באות קטנה',
  3181. '190.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3182. '192.title': 'מרווחים מיותרים בשם של עיר',
  3183. '192.problem': 'מרווח כפול/לפני/אחרי שם של עיר',
  3184. '192.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3185. '193.enabled': false,
  3186. '193.title': 'מרווחים לפני/אחרי קיצור של שם עיר',
  3187. '193.problem': 'מרווחים אסורים לפני או אחרי שימוש בקיצור בשם של עיר',
  3188. '193.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3189. '200.enabled': false,
  3190. '200.title': 'צומת A: פניה שלא אושרה ברחוב משני',
  3191. '200.problem': 'במקטע המשני יש פניה שלא אושרה בצומת A',
  3192. '200.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו',
  3193. '201.title': 'צומת A: פניה שלא אושרה ברחוב ראשי',
  3194. '201.problem': 'במקטע הראשי יש פניה שלא אושרה בצומת A',
  3195. '201.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו'
  3196. },
  3197. 'IE': {
  3198. '.codeISO': 'IE',
  3199. '.country': 'Ireland',
  3200. '70.enabled': true,
  3201. '70.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3202. '71.enabled': true,
  3203. '71.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3204. '72.enabled': true,
  3205. '72.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3206. '160.enabled': true,
  3207. '160.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3208. '160.params': {'solutionEN': 'Rename the street to \'Mxx\' or \'Mxx N/S/W/E\' or change the road type', 'regexp': '!/^M[0-9]+( [NSWE])?$/'},
  3209. '161.enabled': true,
  3210. '161.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3211. '161.params': {'solutionEN': 'Rename the street to \'Nxx\' or \'Nxx Local Name\' or change the road type', 'regexp': '!/^N[0-9]+( .*)?$/'},
  3212. '162.enabled': true,
  3213. '162.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3214. '162.params': {'solutionEN': 'Rename the street to \'Rxxx\' or \'Rxxx Local Name\' or change the road type', 'regexp': '!/^R[0-9]+( .*)?$/'}
  3215. },
  3216. 'FR': {
  3217. '.codeISO': 'FR',
  3218. '.country': ['France', 'French Guiana', 'New Caledonia', 'Reunion'],
  3219. '.author': 'arbaot and ClementH44',
  3220. '.updated': '2014-03-27',
  3221. '.lng': 'FR',
  3222. 'err.regexp': 'Erreur d\'interprétation pour la vérification #${n}:',
  3223. 'props.disabled': 'WME Validator est désactivé',
  3224. 'props.limit.title': 'Trop de problèmes signalés',
  3225. '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',
  3226. 'props.limit.solution': 'Désélectionnez le segment et arrêtez le scan. Ensuite, cliquez sur le bouton rouge «✘» (Effacer le rapport)',
  3227. 'props.reports': 'Rapports',
  3228. 'props.noneditable': 'Vous ne pouvez éditer ce segment',
  3229. 'report.list.andUp': 'et jusqu\'à',
  3230. 'report.list.severity': 'Gravité :',
  3231. 'report.list.reportOnly': 'seulement dans le rapport',
  3232. 'report.list.forEditors': 'Pour le niveau d\'édition :',
  3233. 'report.list.forCountries': 'Pour les pays :',
  3234. 'report.list.forStates': 'Pour les états :',
  3235. 'report.list.forCities': 'Pour les villes :',
  3236. 'report.list.params': 'Paramètres à configurer dans le pack de localisation :',
  3237. 'report.list.enabled': '${n} vérifications sont activés pour',
  3238. 'report.list.disabled': '${n} vérifications sont désactivés pour',
  3239. 'report.list.total': 'Il y a ${n} points de contôles activés',
  3240. 'report.list.title': 'Liste complète des vérifications pour',
  3241. 'report.list.see': 'Voir',
  3242. 'report.list.checks': 'Paramètres->À propos->Les vérifications',
  3243. 'report.list.fallback': 'Règles de regroupement géographique :',
  3244. 'report.and': 'et',
  3245. 'report.segments': 'Nombre total de segments vérifiés :',
  3246. 'report.customs': 'Les vérifications personnalisés adaptés (vert/bleu):',
  3247. 'report.reported': 'Signalement',
  3248. 'report.errors': 'd\'erreurs',
  3249. 'report.warnings': 'd\'avertissements',
  3250. 'report.notes': 'de remarques',
  3251. 'report.contents': 'Contenus :',
  3252. 'report.summary': 'Récapitulatif',
  3253. 'report.title': 'Rapport de WME Validator',
  3254. 'report.share': 'à partager',
  3255. 'report.generated.by': 'généré par',
  3256. 'report.generated.on': 'le',
  3257. 'report.source': 'Source du rapport :',
  3258. 'report.filter.duplicate': 'les segments doublons',
  3259. 'report.filter.streets': 'Rue et Routes de service',
  3260. 'report.filter.other': 'Autres',
  3261. 'report.filter.noneditable': 'segments non modifiables',
  3262. 'report.filter.notes': 'notes',
  3263. 'report.filter.title': 'Filtre :',
  3264. 'report.filter.excluded': 'sont exclues de ce rapport.',
  3265. 'report.search.updated.by': 'mis à jour par',
  3266. 'report.search.updated.since': 'mis à jour depuis',
  3267. 'report.search.city': 'à partir de',
  3268. 'report.search.reported': 'signalé comme',
  3269. 'report.search.title': 'Rechercher:',
  3270. 'report.search.only': 'seulement les segments',
  3271. 'report.search.included': 'sont inclus dans le rapport.',
  3272. 'report.beta.warning': 'avertissement WME Beta !',
  3273. 'report.beta.text': 'Ce rapport est généré pour WME beta avec des permaliens en beta.',
  3274. 'report.beta.share': 'Ne pas partager ces permaliens !',
  3275. 'report.size.warning':
  3276. '<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.',
  3277. '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.',
  3278. 'report.forum': 'Pour soutenir le développement, merci de laisser un commentaire sur',
  3279. 'report.thanks': 'Merci d\'utiliser WME Validator !',
  3280. 'msg.limit.segments': 'Il y a trop de segments.\n\nCliquez sur \'Le rapport\' pour examiner le rapport, ensuite\n',
  3281. 'msg.limit.segments.continue': 'cliquez sur \'▶\' pour continuer.',
  3282. 'msg.pan.text': 'Déplacez-vous sur pour valider la carte',
  3283. 'msg.zoomout.text': 'Effectuer un zoom arrière pour démarrer WME Validator',
  3284. 'msg.click.text': 'Cliquez sur \'▶\' pour valider la zone visible de la carte',
  3285. 'msg.autopaused': 'Pause automatique',
  3286. 'msg.autopaused.text': 'Pause automatique ! Cliquez sur \'▶\' pour continuer.',
  3287. 'msg.autopaused.tip': 'WME Validator est automatiquement suspendu si la carte est déplacée ou si la taille de la fenêtre change',
  3288. 'msg.finished.text': 'Cliquez sur <b>\'Le rapport\'</b> pour examiner les problèmes de carte',
  3289. 'msg.finished.tip': 'Cliquez sur \'✉\' (Partager) pour poster un rapport sur un\nforum ou par message privé',
  3290. 'msg.noissues.text': 'Terminé ! Aucun problème trouvé !',
  3291. 'msg.noissues.tip': 'Essayez de désactiver quelques filtres ou démarrez WME Validator sur une autre zone de la carte !',
  3292. 'msg.scanning.text': 'Scan en cours ! Terminé dans ~ ${n} min',
  3293. 'msg.scanning.text.soon': 'Scan en cours ! Terminé dans une minute !',
  3294. 'msg.scanning.tip': 'Cliquez sur \'Pause\' pour suspendre ou \'■\' pour stopper',
  3295. 'msg.starting.text': 'Lancement ! Les calques ne peuvent scanner plus vite !',
  3296. 'msg.starting.tip': 'Utilisez le bouton \'Pause\' pour suspendre ou le bouton \'■\' pour stopper',
  3297. 'msg.paused.text': 'En pause ! Cliquez sur \'▶\' pour continuer.',
  3298. 'msg.paused.tip': 'Pour voirla raport, cliquez sur \'Le rapport\' (si disponible)',
  3299. 'msg.continuing.text': 'En cours !',
  3300. 'msg.continuing.tip': 'WME Validator continuera à l\'endroit où il a été suspendu',
  3301. 'msg.settings.text': 'Cliquez sur <b>\'Retour\'</b> pour retourner sur la vue principale',
  3302. 'msg.settings.tip': 'Cliquez sur \'Par défaut\' pour réinitialiser tous les réglages en un clic !',
  3303. 'msg.reset.text': 'Toutes les options de filtrage et les paramètres ont été remis à leurs valeurs par défaut',
  3304. 'msg.reset.tip': 'Cliquez sur \'Retour\' pour retourner sur la vue principale',
  3305. 'msg.textarea.pack': 'Merci de copier le texte ci-dessous et de le coller dans un nouveau fichier <b>.user.js</b>',
  3306. 'msg.textarea': 'Merci de copier le texte ci-dessous et de le coller dans votre forum pour par message privé',
  3307. 'noaccess.text':
  3308. '<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.',
  3309. 'noaccess.tip': 'Merci de visiter le forum du programme pour plus d\'informations !',
  3310. 'tab.switch.tip.on': 'Cliquez pour activer la surbrillance',
  3311. 'tab.switch.tip.off': 'Cliquez pour désactiver la surbrillance',
  3312. 'tab.filter.text': 'filtre',
  3313. 'tab.filter.tip': 'Options pour filtrer le rapport et les segments à mettre en évidence',
  3314. 'tab.search.text': 'cherche',
  3315. 'tab.search.tip': 'Options avancées de filtrage pour inclure uniquement des segments spécifiques',
  3316. 'tab.help.text': 'aide',
  3317. 'tab.help.tip': 'Besoins d\'aide ?',
  3318. 'filter.noneditables.text': 'Exclure les segments <b>non modifiables</b>',
  3319. 'filter.noneditables.tip': 'Ne pas éxaminer les segments verrouillés ou en dehors de vos zones modifiables',
  3320. 'filter.duplicates.text': 'Exclure les segments <b>doublons</b>',
  3321. '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',
  3322. 'filter.streets.text': 'Exclure les <b>Rues et Routes de service</b>',
  3323. 'filter.streets.tip': 'Ne pas éxaminer les rues et routes/chemins de service',
  3324. 'filter.other.text': 'Exclure les <b>autres rues carrossables</b>',
  3325. 'filter.other.tip': 'Ne pas éxaminer les chemins de terres, les parkings, les routes privées\net les segments non carrossables',
  3326. 'filter.notes.text': 'Exclure les <b>remarques</b>',
  3327. 'filter.notes.tip': 'Rapporte uniquement les avertissements et les erreurs',
  3328. 'search.youredits.text': 'Inclure <b>uniquement vos modifications</b>',
  3329. 'search.youredits.tip': 'Inclure uniquement les segments modifiés par vous',
  3330. 'search.updatedby.text': '<b>Mis à jour par:</b>',
  3331. 'search.updatedby.tip':
  3332. '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',
  3333. 'search.updatedby.example': 'Example: me',
  3334. 'search.updatedsince.text': '<b>Mis à jour depuis:</b>',
  3335. 'search.updatedsince.tip': 'Inclure uniquement les segments modifiés depuis la date spécifiée\nFormat de date Firefox: AAAA-MM-JJ',
  3336. 'search.updatedsince.example': 'AAAA-MM-JJ',
  3337. 'search.city.text': '<b>Nom de Ville:</b>',
  3338. 'search.city.tip':
  3339. '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, *',
  3340. 'search.city.example': 'Example: !Paris, *',
  3341. 'search.checks.text': '<b>Signalé comme:</b>',
  3342. 'search.checks.tip':
  3343. '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*, *',
  3344. 'search.checks.example': 'Example: reverse*',
  3345. 'help.text':
  3346. '<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>',
  3347. 'help.tip': 'S\'ouvre dans un nouvel onglet du navigateur',
  3348. 'button.scan.tip': 'Commencer à scanner la zone actuelle de la carte\n* Remarque: cela peut prendre quelques minutes',
  3349. 'button.scan.tip.NA': 'Dézoomez pour commencer à scanner la zone actuelle de la carte',
  3350. 'button.pause.tip': 'Scan en pause',
  3351. 'button.continue.tip': 'Continuer à scanner la zone de la carte',
  3352. 'button.stop.tip': 'Arrêter le scan et retourner à la position de départ',
  3353. 'button.clear.tip': 'Effacer la mémoire cache des rapports et segments',
  3354. '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.',
  3355. 'button.report.text': 'Le rapport',
  3356. 'button.report.tip': 'Appliquer le filtre et générer un rapport HTML dans un nouvel onglet.',
  3357. 'button.BBreport.tip': 'Partagez le rapport sur le forum Waze ou dans un message privé.',
  3358. 'button.settings.tip': 'Configurer les paramètres',
  3359. 'tab.custom.text': 'perso',
  3360. 'tab.custom.tip': 'Paramètres de vérification personnalisés définis par l\'utilisateur',
  3361. 'tab.settings.text': 'Params',
  3362. 'tab.scanner.text': 'scan',
  3363. 'tab.scanner.tip': 'Paramètres du scan de la carte',
  3364. 'tab.about.text': 'à propos</span>',
  3365. 'tab.about.tip': 'À propos de WME Validator',
  3366. 'scanner.sounds.text': 'Activer les sons',
  3367. 'scanner.sounds.tip': 'Joue un \'bip\' pendant le scan',
  3368. 'scanner.sounds.NA': 'Votre navigateur ne supporte pas AudioContext',
  3369. 'scanner.highlight.text': 'Mettre en surbrillance sur la carte',
  3370. 'scanner.highlight.tip': 'Mettre en surbrillance les problèmes repérés sur la carte',
  3371. 'scanner.slow.text': 'Activer le mode \'lent\'',
  3372. 'scanner.slow.tip': 'Permet un scan plus poussé et précis de la carte\n* Remarque: cette option peut ralentir le processus de scan',
  3373. 'scanner.ext.text': 'Signaler des surbrillances externes',
  3374. 'scanner.ext.tip': 'Signaler des segments mis en évidence par WME Toolbox ou WME Color Highlights',
  3375. 'custom.template.text': 'Modèle perso',
  3376. '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},' +
  3377. '\n${altCity[index or delimeter]} Example: ${altCity[0]},' +
  3378. '\n${altStreet[index or delimeter]} Example: ${altStreet[##]},' +
  3379. '\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}',
  3380. 'custom.template.example': 'Example: ${street}',
  3381. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a> perso',
  3382. 'custom.regexp.tip':
  3383. '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/',
  3384. 'custom.regexp.example': 'Example: !/.+/',
  3385. 'about.tip': 'Ouvre le lien dans un nouvel onglet',
  3386. 'button.reset.text': 'Par défaut',
  3387. 'button.reset.tip': 'Rétablir les options de filtrage et les paramètres par défaut',
  3388. 'button.list.text': 'Les vérifications...',
  3389. 'button.list.tip': 'Montre une liste des vérifications possibles dans WME Validator',
  3390. 'button.wizard.tip': 'Créer un pack géographique',
  3391. 'button.back.text': 'Ret.',
  3392. 'button.back.tip': 'Fermer les paramètres et revenir à l\'ecran principal',
  3393. '1.solutionLink': 'W:Tout_sur_les_ronds-points',
  3394. '1.title': 'WME Toolbox: Rond-point pouvant causer des problèmes',
  3395. '1.problem': 'Les ID des segments du rond-point ne sont pas consécutif',
  3396. '1.solution': 'Refaire le rond-point',
  3397. '2.title': 'WME Toolbox: Simple segment (une voie)',
  3398. '2.problem': 'Ce segments a des nœuds de géométrie inutile',
  3399. '2.solution': 'Simplifier le tracé du segment sélectionné en survolant les nœuds en trop en appuyant sur le \'d\' du clavier',
  3400. '3.title': 'WME Toolbox: Verrouillage de niveau 2',
  3401. '3.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3402. '4.title': 'WME Toolbox: Verrouillage de niveau 3',
  3403. '4.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3404. '5.title': 'WME Toolbox: Verrouillage de niveau 4',
  3405. '5.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3406. '6.title': 'WME Toolbox: Verrouillage de niveau 5',
  3407. '6.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3408. '7.title': 'WME Toolbox: Verrouillage de niveau 6',
  3409. '7.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3410. '8.title': 'WME Toolbox: Numéros de maison',
  3411. '8.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3412. '9.title': 'WME Toolbox: Segment avec une restriction programmée',
  3413. '9.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3414. '13.title': 'WME Color Highlights: Verrouillage de l\'éditeur',
  3415. '13.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3416. '14.title': 'WME Color Highlights: Péage / Route à sens unique',
  3417. '14.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3418. '15.title': 'WME Color Highlights: Récemment modifié',
  3419. '15.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3420. '16.title': 'WME Color Highlights: Rang de la route',
  3421. '16.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3422. '17.title': 'WME Color Highlights: Pas de ville',
  3423. '17.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3424. '18.title': 'WME Color Highlights: Restriction programmée / Type de route mis en évidence',
  3425. '18.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3426. '19.title': 'WME Color Highlights: Pas de nom',
  3427. '19.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3428. '20.title': 'WME Color Highlights: Filtrer par ville',
  3429. '20.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3430. '21.title': 'WME Color Highlights: Filtrer par ville (ville alt.)',
  3431. '21.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3432. '22.title': 'WME Color Highlights: Filtrer par éditeur',
  3433. '22.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3434. '23.problemLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3435. '23.solutionLink': 'W:Nommage_France',
  3436. '23.title': 'Route non confirmée',
  3437. '23.problem': 'Création de segment incomplète ville et nom de rue non renseigné',
  3438. '23.solution': 'Terminer la création en complétant les propriétés',
  3439. '24.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3440. '24.solutionLink': 'F:t=29403',
  3441. '24.title': 'Nom de ville peut-être erroné (uniquement disponible dans le rapport)',
  3442. '24.problem': 'Le nom de la ville est peut-être incorrecte',
  3443. '24.solution': 'Comparer le nom avec celui proposé et éventuellement signaler le problème sur le forum',
  3444. '25.title': 'Direction inconnue de la route carrossable',
  3445. '25.problem': 'Un sens de circulation \'Inconnu\' n\'empêchera Waze de faire emprunter le segment',
  3446. '25.solution': 'Régler le sens de circulation du segment',
  3447. '27.enabled': true,
  3448. '27.title': 'Nom de ville sur une voie ferrée',
  3449. '27.problem': 'Un nom de ville sur les segment voie ferré provoque des incohérence des polygones Ville',
  3450. '27.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum ',
  3451. '28.problemLink': 'W:Guide_des_intersections#Noms_3',
  3452. '28.title': 'Nom de rue sur une rampe',
  3453. '28.problem': 'Une rampe sans nom \'hérite\' du nom du segment suivant',
  3454. '28.solution': 'Régler le nom du segment à \'Sans\'',
  3455. '29.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3456. '29.solutionLink': 'W:Tout_sur_les_ronds-points',
  3457. '29.title': 'Nom de rue sur rond-point',
  3458. '29.problem': 'Dans Waze pas de nom de rue sur les rond-point',
  3459. '29.solution': 'Régler le nom des segment du RP à \'Sans\' et créer un POI Jonction/ échangeur avec le nom du RP',
  3460. '34.title': 'Nom de rue alternatif vide',
  3461. '34.problem': 'Le nom de rue alternatif vide',
  3462. '34.solution': 'Supprimer le nom alternatif',
  3463. '35.title': 'Route carrossable non terminé',
  3464. '35.problem': 'Waze ne propose pas de guidage vers/dans les segment non terminés',
  3465. '35.solution': 'Déplacer légèrement l\'extrémité libre du segment pour afin que le nœuds de terminaison soit ajouté',
  3466. '36.title': 'Noeud A: inutil (mode lent)',
  3467. '36.problem': 'Les segments de part et d\'autres du nœud A ont les mêmes propriétés',
  3468. '36.solution': 'Sélectionner le nœud A et appuyer sur Suppr pour fusionner les 2 segments',
  3469. '37.title': 'Noeud B: inutil (mode lent)',
  3470. '37.problem': 'Les segments de part et d\'autres du nœud B ont les mêmes propriétés',
  3471. '37.solution': 'Sélectionner le nœud B et appuyer sur Suppr pour fusionner les 2 segments',
  3472. '38.problemLink': 'W:Les_fermetures_programmées#Segments',
  3473. '38.title': 'Fermetures programmées périmées (mode lent)',
  3474. '38.problem': 'Il y a des fermetures programmées périmées sur ce segment',
  3475. '38.solution': 'Cliquer \'Modifier les restrictions\' et supprimer les restrictions périmées',
  3476. '39.problemLink': 'W:Les_fermetures_programmées#Restriction_de_tourner',
  3477. '39.title': 'Restrictions de tourner périmés (mode lent)',
  3478. '39.problem': 'Il y a des restrictions de tourner périmées sur ce nœud de jonction',
  3479. '39.solution': 'Cliquer l\'icône horloge accolée à la flèche jaune et supprimer les restrictions périmées',
  3480. '41.title': 'Noeud A: Autorisation en sens interdit',
  3481. '41.problem': 'Au nœud A il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3482. '41.solution': 'Passer le segment à double sens, corriger la flèche au nœud A puis repasser en sens unique',
  3483. '42.title': 'Noeud B: Autorisation en sens interdit',
  3484. '42.problem': 'Au nœud B il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3485. '42.solution': 'Passer le segment à double sens, corriger la flèche au nœud B puis repasser en sens unique',
  3486. '43.title': 'Connecté à lui-même',
  3487. '43.problem': 'Le segment est connecté à lui même',
  3488. '43.solution': 'Couper le segment en deux',
  3489. '44.title': 'Pas ne connexion sortante',
  3490. '44.problem': 'Le segment carrossable n\'a pas de connexion sortante',
  3491. '44.solution': 'Activer au moins une connexion sortante = une flèche verte',
  3492. '45.title': 'Pas de connexion entrante',
  3493. '45.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante',
  3494. '45.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte)',
  3495. '46.title': 'Noeud A: Pas de connexion entrante pour le segment (mode lent)',
  3496. '46.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud A',
  3497. '46.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud A',
  3498. '47.title': 'Noeud B: Pas de connexion entrante pour le segment (mode lent)',
  3499. '47.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud B',
  3500. '47.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud B',
  3501. '48.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3502. '48.title': 'Segment de rond-point à double sens',
  3503. '48.problem': 'Segment de rond-point à double sens de circulation',
  3504. '48.solution': 'Refaire le rond-point',
  3505. '50.solutionLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3506. '50.title': 'Pas de connectivité sur le rond-point (mode lent)',
  3507. '50.problem': 'Le segment du rond-point n\'a pas de connectivité avec le segment adjacent',
  3508. '50.solution': 'Autoriser un virage vers le segment adjacent = Corriger la flèche rouge',
  3509. '57.enabled': true,
  3510. '57.title': 'Nom de ville sur une rampe',
  3511. '57.problem': 'Un Nom de ville sur une rampe peu affecter la recherche dans Waze',
  3512. '57.solution': 'Cocher la case \'Sans\' pour ville',
  3513. '59.enabled': true,
  3514. '59.title': 'Nom de ville sur Freeway',
  3515. '59.problem': 'Un nom de ville sur les segment Freeway provoque des incohérence des polygones Ville',
  3516. '59.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum',
  3517. '74.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3518. '74.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3519. '74.title': 'Noeud A: Plusieurs segments connectés',
  3520. '74.problem': 'La jonction A du rond-point est connectée à plusieurs segments',
  3521. '74.solution': 'Refaire le rond-point',
  3522. '77.title': 'Demi-tour autorisé',
  3523. '77.problem': 'L\'impasse carrossable à un demi-tour autorisé à son extrémité',
  3524. '77.solution': 'Éventuellement Interdire le demi-tour',
  3525. '78.title': 'Mêmes extrémités des segments carrossables (mode lent)',
  3526. '78.problem': 'Deux segments carrossables partagent les deux mêmes extrémités',
  3527. '78.solution': 'Diviser le segment. Vous pouvez également supprimer l\'un des segments si ils sont identiques',
  3528. '79.title': 'Demi-tour trop court (mode lent)',
  3529. '79.problem': 'Le segment fait moins de 15m si nécessaire Waze ne proposera pas de demi-tour',
  3530. '79.solution': 'Agrandisseur le segment à 15m mini (si le demi-tour est autorisé)',
  3531. '87.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3532. '87.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3533. '87.title': 'Noeud A: Plusieurs sorties au rond-point',
  3534. '87.problem': 'La jonction A du rond-point est connectée à plusieurs segments sortant',
  3535. '87.solution': 'Refaire le rond-point',
  3536. '99.title': 'Demi-tour à l\'entrée du rond-point (mode lent)',
  3537. '99.problem': 'Le segment d\'entrée du rond-point à un demi-tour autorisé',
  3538. '99.solution': 'Désactiver le demi-tour',
  3539. '101.title': 'Route fermée (seulement disponible dans le rapport)',
  3540. '101.problem': 'Le segment est marqué comme étant fermé',
  3541. '101.solution': 'Si la construction est terminée, restaurez la connectivité du segment et supprimez le suffixe',
  3542. '101.params': {'regexp': '/(^|\\b)travaux(\\b|$)/i'},
  3543. '102.title': 'Noeud A: Pas de connexion sortante (mode lent)',
  3544. '102.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud A',
  3545. '102.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud A',
  3546. '103.title': 'Noeud B: Pas de connexion sortante (mode lent)',
  3547. '103.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud B',
  3548. '103.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud B',
  3549. '104.title': 'Voie ferré utilisée pour des commentaires',
  3550. '104.problem': 'Le segment de voie ferré est probablement utilisé pour mettre un commentaire',
  3551. '104.solution': 'Supprimez le commentaire car les voies ferrée sont affichées pour le client',
  3552. '107.title': 'Noeud A: Pas de connexion (mode lent)',
  3553. '107.problem': 'Le noeud A du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3554. '107.solution': 'Connectez le noeud A à un segment à proximité ou le déplacer un peu plus loin',
  3555. '108.title': 'Noeud B: pas de connexion (mode lent)',
  3556. '108.problem': 'Le noeud B du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3557. '108.solution': 'Connectez le noeud B à un segment à proximité ou le déplacer un peu plus loin',
  3558. '109.title': 'Segment trop court',
  3559. '109.problem': 'Le segment carrossables non-terminal est de moins de 2m de long, il est difficile de le voir sur la carte',
  3560. '109.solution': 'Augmentez sa taille, supprimez le ou connectez le à un segment adjacent',
  3561. '112.title': 'Plus de ${n} lettres en trop pour le nom de la rampe',
  3562. '112.problem': 'Le nom de la rampe est trop long',
  3563. '112.solution': 'Renommez de façon plus courte le nom de la rampe',
  3564. '114.title': 'Noeud A: non carrossable connecté à un carrossable (mode lent)',
  3565. '114.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud A',
  3566. '114.solution': 'Déconnectez le noeud A de tous les segments carrossables',
  3567. '115.title': 'Noeud B: non carrossable connecté à un carrossable (mode lent)',
  3568. '115.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud B',
  3569. '115.solution': 'Déconnectez le noeud B de tous les segments carrossables',
  3570. '116.title': 'Élévation hors de portée',
  3571. '116.problem': 'L\'élévation est en dehors des limites habituelle',
  3572. '116.solution': 'Corrigez l\'élévation',
  3573. '117.title': 'Obsolete CONST ZN marker',
  3574. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  3575. '117.solution': 'Change CONST ZN to (closed)',
  3576. '118.title': 'Noeud A: Chevauchement des segments (mode lent)',
  3577. '118.problem': 'Le segment se chevauche avec le segment adjacent au noeud A',
  3578. '118.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud A',
  3579. '119.title': 'Noeud B: Chevauchement des segments (mode lent)',
  3580. '119.problem': 'Le segment se chevauche avec le segment adjacent au noeud B',
  3581. '119.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud B',
  3582. '120.title': 'Noeud A: Virage trop fort (mode lent)',
  3583. '120.problem': 'Le segment carrossable a un virage très fort au noeud A',
  3584. '120.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3585. '121.title': 'Noeud B: Virage trop fort (mode lent)',
  3586. '121.problem': 'Le segment carrossable a un virage très fort au noeud B',
  3587. '121.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3588. '128.title': 'Vérification personnalisée définie par l\'utilisateur (vert)',
  3589. '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)',
  3590. '128.solution': 'Résoudre le problème',
  3591. '129.title': 'Vérification personnalisée définie par l\'utilisateur (bleu)',
  3592. '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)',
  3593. '129.solution': 'Résoudre le problème',
  3594. '163.enabled': true,
  3595. '163.title': '\'Vers\' dans le nom de la rue',
  3596. '163.problem': 'Nom de rue contenant \'vers\'',
  3597. '163.solution': 'Renommer le segment selon les règles du wiki ou signaler sur le forum',
  3598. '163.solutionLink': 'W:Nommage_France#Nommage_des_entr.C3.A9es.2C_sorties_et_des_embranchements_d.27autoroutes',
  3599. '163.params': {
  3600. 'titleEN': '\'Vers\' in Ramp name',
  3601. 'problemEN': 'The Ramp name contains word \'vers\'',
  3602. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  3603. 'regexp': '/(^|\\b)vers\\b/i'
  3604. },
  3605. '170.enabled': true,
  3606. '170.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3607. '170.title': 'Majuscule dans le nom de rue',
  3608. '170.problem': 'Le nom de la rue commence par une miniscule',
  3609. '170.solution': 'Passer la première lettre en majuscule',
  3610. '171.enabled': true,
  3611. '171.title': 'Abréviation dans le nom de rue',
  3612. '171.problem': 'Abréviation indésirable dans le nom de rue',
  3613. '171.solution': 'Écrire le mot abréger en toute lettre',
  3614. '171.params': {
  3615. 'regexp':
  3616. '/((^| )([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)\\.)[^ ]+\\.)/'
  3617. },
  3618. '172.title': 'Nom de rue avec des espaces inutiles',
  3619. '172.problem': 'Double espace dans le nom de rue',
  3620. '172.problemLink': 'W:Comment_nommer_les_routes_et_les_villes',
  3621. '172.solution': 'Supprimer les espaces inutiles',
  3622. '173.enabled': false,
  3623. '173.title': 'Nom de rue sans espace avant ou après une abrévation',
  3624. '173.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jan\') une abrévation dans le nom de rue',
  3625. '173.solution': 'Ajouter un espace avant/après l\'abrévation',
  3626. '174.enabled': true,
  3627. '174.title': 'Mauvais orthographe',
  3628. '174.problem': 'Mauvais orthographe qui provoque une mauvaise prononciation',
  3629. '174.solution': 'Corriger l\'orthographe (É = Alt-144 etc)',
  3630. '174.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3631. '174.params': {
  3632. 'regexp':
  3633. '/(^|\\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'
  3634. },
  3635. '175.title': 'Nom de rue avec uniquement des espaces',
  3636. '175.problem': 'Le nom de la rue n\'a que des espaces',
  3637. '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é',
  3638. '190.title': 'Minuscule dans le nom de ville',
  3639. '190.problem': 'Le nom de ville commence avec une lettre en majuscule',
  3640. '190.solution': 'Utilisé ce formulaire pour renommer la ville',
  3641. '192.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3642. '192.solutionLink': 'F:t=29403',
  3643. '192.title': 'Nom de ville avec des espaces inutiles',
  3644. '192.problem': 'Double espace dans le nom de ville',
  3645. '192.solution': 'Utiliser le formulaire suivant pour faire une demande de modification',
  3646. '193.enabled': false,
  3647. '193.title': 'Nom de bille sans espace avant ou après une abrévation',
  3648. '193.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jana\') une abrévation dans le nom de rue',
  3649. '193.solution': 'Utiliser ce formulaire pour renommer la ville',
  3650. '200.problemLink': 'W:Soft_et_hard_turns',
  3651. '200.solutionLink': 'W:Soft_et_hard_turns#Bonnes_pratiques',
  3652. '200.title': 'Noeud A: Autorisation de tourner non confirmée',
  3653. '200.problem': 'Le segment carrossable à une autorisation de tourner non confirmée au noeud A',
  3654. '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'
  3655. },
  3656. 'ES': {
  3657. '.codeISO': 'ES',
  3658. '.country': [
  3659. 'Spain', 'Andorra', 'Bolivia', 'Costa Rica', 'Colombia', 'Cuba', 'Dominican Republic', 'Ecuador', 'Equatorial Guinea', 'Guatemala', 'Honduras', 'Nicaragua', 'Panama', 'Peru', 'Paraguay',
  3660. 'El Salvador', 'Uruguay', 'Venezuela'
  3661. ],
  3662. '.author': 'robindlc and fernandoanguita',
  3663. '.updated': '2014-08-30',
  3664. '.lng': ['ES', 'ES-419', 'GL'],
  3665. 'city.consider': 'considerar este nombre de ciudad:',
  3666. 'city.1': 'nombre de ciudad demasiado corto',
  3667. 'city.2': 'expandir la abreviación',
  3668. 'city.3': 'completar nombre corto',
  3669. 'city.4': 'completar nombre de ciudad',
  3670. 'city.5': 'corregir mayúsculas',
  3671. 'city.6': 'comprobar orden de palabras',
  3672. 'city.7': 'comprobar abreviaciones',
  3673. 'city.8a': 'añadir nombre de país',
  3674. 'city.8r': 'eliminar nombre de país',
  3675. 'city.9': 'comprobar nombre de país',
  3676. 'city.10a': 'añadir palabra',
  3677. 'city.10r': 'eliminar palabra',
  3678. 'city.11': 'añadir código de país',
  3679. 'city.12': 'nombres idénticos, pero ciudades con diferentes IDs',
  3680. 'city.13a': 'añadir espacio',
  3681. 'city.13r': 'eliminar espacio',
  3682. 'city.14': 'revisar el número',
  3683. 'props.skipped.title': 'El segmento no está revisado',
  3684. '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ó',
  3685. 'err.regexp': 'Error al analizar la opción de revisión #${n}:',
  3686. 'props.disabled': 'WME Validator deshabilitado',
  3687. 'props.limit.title': 'Demasiados problemas notificados',
  3688. 'props.limit.problem': 'Hay demasiados problemas notificados, puede que no se muestren todos',
  3689. 'props.limit.solution': 'Deselecciona el segmento y detiene el proceso de escaneo. Luego pincha el botón con la \'✘\' roja (Limpiar Reporte)',
  3690. 'props.reports': 'informes',
  3691. 'props.noneditable': 'No puedes editar este segmento',
  3692. 'report.save': 'Guardar este informe',
  3693. 'report.list.andUp': 'y subiendo',
  3694. 'report.list.severity': 'Severidad:',
  3695. 'report.list.reportOnly': 'sólo en el informe',
  3696. 'report.list.forEditors': 'Para editores nivel:',
  3697. 'report.list.forCountries': 'Para paises:',
  3698. 'report.list.forStates': 'Para estados:',
  3699. 'report.list.forCities': 'Para ciudades:',
  3700. 'report.list.params': 'Parámetros para configurar en el paquete de localización:',
  3701. 'report.list.params.set': 'Parámetros ajustados en el paquete de localización:',
  3702. 'report.list.enabled': '${n} revisiones están habilitadas para',
  3703. 'report.list.disabled': '${n} revisiones están deshabilitadas para',
  3704. 'report.list.total': 'Hay ${n} revisiones disponibles',
  3705. 'report.list.title': 'Lista Completa de Revisiones para',
  3706. 'report.list.see': 'Ver',
  3707. 'report.list.checks': 'Configuración>Acerca>Revisiones disponibles',
  3708. 'report.list.fallback': 'Reglas de Localización de respaldo:',
  3709. 'report.and': 'y',
  3710. 'report.segments': 'Número total de segmentos revisados:',
  3711. 'report.customs': 'Revisiones personalizadas combinadas (verde/azul):',
  3712. 'report.reported': 'Reportados',
  3713. 'report.errors': 'errores',
  3714. 'report.warnings': 'advertencias',
  3715. 'report.notes': 'notas',
  3716. 'report.contents': 'Contenidos:',
  3717. 'report.summary': 'Resumen',
  3718. 'report.title': 'Informe de WME Validator',
  3719. 'report.share': 'para Compartir',
  3720. 'report.generated.by': 'generado por',
  3721. 'report.generated.on': 'activo',
  3722. 'report.source': 'Fuente del informe:',
  3723. 'report.filter.duplicate': 'segmentos duplicados',
  3724. 'report.filter.streets': 'Calles y Calles de Servicio',
  3725. 'report.filter.other': 'Otros conducibles y no conducibles',
  3726. 'report.filter.noneditable': 'segmentos no-editables',
  3727. 'report.filter.notes': 'notas',
  3728. 'report.filter.title': 'Filtro:',
  3729. 'report.filter.excluded': 'están excluidos de este informe.',
  3730. 'report.search.updated.by': 'actualizado por',
  3731. 'report.search.updated.since': 'actualizado desde',
  3732. 'report.search.city': 'desde',
  3733. 'report.search.reported': 'reportado como',
  3734. 'report.search.title': 'Búsqueda:',
  3735. 'report.search.only': 'sólo segmentos',
  3736. 'report.search.included': 'están incluídos en el informe.',
  3737. 'report.beta.warning': '¡Advertencia WME Beta!',
  3738. 'report.beta.text': 'Este informe se genera en WME Beta con permalinks beta.',
  3739. 'report.beta.share': 'Por favor no comparta estos permalinks!',
  3740. 'report.size.warning':
  3741. '<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.',
  3742. 'report.note.limit': '* Nota: había demasiados problemas reportados, por lo que algunos de ellos no se incluyen en el resumen.',
  3743. 'report.forum': 'Para motivar futuros desarrollos, por favor deje su mensaje en el',
  3744. 'report.thanks': 'Gracias por usar WME Validator!',
  3745. 'msg.limit.segments': 'Hay demasiados segmentos.\n\nPincha \'Mostrar informe\' para revisar el informe, luego\n',
  3746. 'msg.limit.segments.continue': 'pincha \'▶\' para continuar.',
  3747. 'msg.limit.segments.clear': 'pulsa \'✘\' para borrar el informe.',
  3748. 'msg.pan.text': 'Desplaza el mapa para validarlo',
  3749. 'msg.zoomout.text': 'Aleja el zoom\tpara iniciar WME Validator',
  3750. 'msg.click.text': 'Pincha \'▶\' para validar el área visible del mapa',
  3751. 'msg.autopaused': 'autopausado',
  3752. 'msg.autopaused.text': '¡Autopausado! Pincha \'▶\' para continuar.',
  3753. 'msg.autopaused.tip': 'WME Validator automáticamente pausó al arrastrar el mapa o cambiar el tamaño de la ventana',
  3754. 'msg.finished.text': 'Pincha <b>\'Mostrar informe\'</b> para ver los problemas del mapa',
  3755. 'msg.finished.tip': 'Pincha el botón \'✉\' (Compartir) para publicar el informe en un \nforo o en un mensaje privado',
  3756. 'msg.noissues.text': '¡Terminado! ¡No se encontraron problemas!',
  3757. 'msg.noissues.tip': '¡Trata de deseleccionar algunas opciones de filtro o inicia WME Validator sobre otra zona del mapa!',
  3758. 'msg.scanning.text': '¡Escaneando! Finalizando en ~ ${n} minutos',
  3759. 'msg.scanning.text.soon': '¡Escaneando! ¡Finalizando en un minuto!',
  3760. 'msg.scanning.tip': 'Pincha el botón \'Pausa\' para pausar o \'■\' para detener',
  3761. 'msg.starting.text': '¡Comenzando! ¡Las capas están desactivadas para escanear más rápido!',
  3762. 'msg.starting.tip': 'Usa el botón \'Pausa\' para pausar o el botón \'■\' para detener',
  3763. 'msg.paused.text': '¡En pausa! Pincha el botón \'▶\' para continuar.',
  3764. 'msg.paused.tip': 'Para ver el informe pincha el botón \'Mostrar informe\' (si está disponible)',
  3765. 'msg.continuing.text': '¡Continuando!',
  3766. 'msg.continuing.tip': 'WME Validator continuará desde la ubicación en que fue pausado',
  3767. 'msg.settings.text': 'Pincha <b>\'Atrás\'</b> para retornar a la vista principal',
  3768. 'msg.settings.tip': 'Pincha el botón \'Restaurar valores predeterminados\' para resetear todos los parámetros en un clic!',
  3769. 'msg.reset.text': 'Todas las opciones de filtro y configuración han sido reseteadas a sus valores por defecto',
  3770. 'msg.reset.tip': 'Pincha el botón \'Atrás\' para retornar a la vista principal',
  3771. 'msg.textarea.pack': 'Por favor copia el texto abajo y luego pégalo en el nuevo archivo <b>.user.js</b>',
  3772. 'msg.textarea': 'Por favor copia el texto abajo y luego pégalo en tu publicación del foro o mensaje privado',
  3773. 'noaccess.text':
  3774. '<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.',
  3775. 'noaccess.tip': 'Por favor revisa el hilo del foro para más información!',
  3776. 'tab.switch.tip.on': 'Pincha para activar el resaltado',
  3777. 'tab.switch.tip.off': 'Pincha para desactivar el resaltado',
  3778. 'tab.filter.text': 'filtro',
  3779. 'tab.filter.tip': 'Opciones para filtrar el informe y los segmentos resaltados',
  3780. 'tab.search.text': 'buscar',
  3781. 'tab.search.tip': 'Opciones de filtro avanzadas para incluir sólo segmentos específicos',
  3782. 'tab.help.text': 'ayuda',
  3783. 'tab.help.tip': '¿Necesitas ayuda?',
  3784. 'filter.noneditables.text': 'Excluir segmentos <b>no-editables</b>',
  3785. 'filter.noneditables.tip': 'No reportar segmentos bloqueados o \nsegmentos fuera de su área de edición',
  3786. 'filter.duplicates.text': 'Excluir segmentos <b>duplicados</b>',
  3787. 'filter.duplicates.tip': 'No mostrar el mismo segmento en diferentes \npartes del reporte\n* Nota: esta opción NO AFECTA el resaltado',
  3788. 'filter.streets.text': 'Excluir <b>Calles y Vías de Servicio</b>',
  3789. 'filter.streets.tip': 'No reportar Calles y Vías de Servicio',
  3790. 'filter.other.text': 'Excluir <b>otros conducibles y no-conducibles</b>',
  3791. 'filter.other.tip': 'No reportar Caminos de Tierra, Vías de Estacionamiento y Caminos Privados\ny no-conducibles',
  3792. 'filter.notes.text': 'Excluir <b>notas</b>',
  3793. 'filter.notes.tip': 'Reportar sólo advertencias y errores',
  3794. 'search.youredits.text': 'Incluir <b>sólo tus ediciones</b>',
  3795. 'search.youredits.tip': 'Incluir sólo los segmentos editados por ti',
  3796. 'search.updatedby.text': '<b>Actualizado por:</b>',
  3797. 'search.updatedby.tip':
  3798. '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',
  3799. 'search.updatedby.example': 'Ejemplo: me',
  3800. 'search.updatedsince.text': '<b>Actualizado desde:</b>',
  3801. 'search.updatedsince.tip': 'Incluir sólo segmentos editados desde la fecha especificada formato de fecha\nFirefox: AAAA-MM-DD',
  3802. 'search.updatedsince.example': 'AAAA-MM-DD',
  3803. 'search.city.text': '<b>Nombre de ciudad:</b>',
  3804. '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, *',
  3805. 'search.city.example': 'Ejemplo: !Paris, *',
  3806. 'search.checks.text': '<b>Reportado como:</b>',
  3807. 'search.checks.tip':
  3808. '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*, *',
  3809. 'search.checks.example': 'Ejemplo: inverso*',
  3810. 'help.text':
  3811. ' <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>',
  3812. 'help.tip': 'Abrir en una nueva pestaña del explorador',
  3813. 'button.scan.tip': 'Comenzar escaneo del área del mapa actual \n* Nota: esto puede tomar unos minutos',
  3814. 'button.scan.tip.NA': 'Aleja el zoom para comenzar a escanear el área del mapa actual',
  3815. 'button.pause.tip': 'Pausar escaneo',
  3816. 'button.continue.tip': 'Continuar escaneando el área del mapa',
  3817. 'button.stop.tip': 'Detener el escaneo y volver a la posición de inicio',
  3818. 'button.clear.tip': 'Borrar informe y caché de segmentos',
  3819. '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.',
  3820. 'button.report.text': 'Mostrar informe',
  3821. 'button.report.tip': 'Aplicar el filtro y generar informe HTML en una nueva pestaña',
  3822. 'button.BBreport.tip': 'Compartir el informe en el foro Waze o en un mensaje privado',
  3823. 'button.settings.tip': 'Configurar ajustes',
  3824. 'tab.custom.text': 'personalizado',
  3825. 'tab.custom.tip': 'Ajustes de revisión personalizados definidos por el usuario',
  3826. 'tab.settings.text': 'Ajustes',
  3827. 'tab.scanner.text': 'escanear',
  3828. 'tab.scanner.tip': 'Ajustes de escaneo de mapa',
  3829. 'tab.about.text': 'acerca de</span>',
  3830. 'tab.about.tip': 'Acerca de WME Validator',
  3831. 'scanner.sounds.text': 'Habilitar sonidos',
  3832. 'scanner.sounds.tip': 'Pitidos y sonidos mientras escanea',
  3833. 'scanner.sounds.NA': 'Su navegador no admite AudioContext',
  3834. 'scanner.highlight.text': 'Resalta problemas en el mapa',
  3835. 'scanner.highlight.tip': 'Resalta problemas reportados en el mapa',
  3836. 'scanner.slow.text': 'Activa \'slow\' verificaciones',
  3837. 'scanner.slow.tip': 'Activa análisis profundo del mapa\n* Nota: esta opción puede ralentizar el proceso de escaneo',
  3838. 'scanner.ext.text': 'Informa de resaltados externos',
  3839. 'scanner.ext.tip': 'Informa de segmentos resaltados por WME Toolbox o WME Color Highlights',
  3840. 'custom.template.text': 'Plantilla personalizada',
  3841. 'custom.template.tip':
  3842. '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}',
  3843. 'custom.template.example': 'Ejemplo: ${street}',
  3844. 'custom.regexp.text': 'Personalizado <a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a>',
  3845. 'custom.regexp.tip':
  3846. '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/',
  3847. 'custom.regexp.example': 'Ejemplo: !/.+/',
  3848. 'about.tip': 'Pincha \'actualizar\' para abrir el hilo del foro en una pestaña nueva',
  3849. 'button.reset.text': 'Restablecer predeterminados',
  3850. 'button.reset.tip': 'Revertir opciones de filtro y ajustes a sus valores predeterminados',
  3851. 'button.list.text': 'Comprobaciones disponibles...',
  3852. 'button.list.tip': 'Muestra una lista de las comprobaciones disponibles en WME Validator',
  3853. 'button.wizard.tip': 'Crear paquete de localización',
  3854. 'button.back.text': 'Atrás',
  3855. 'button.back.tip': 'Cerrar configuración y volver a la vista principal',
  3856. '1.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3857. '1.title': 'WME Toolbox: Rotonda que puede causar problemas',
  3858. '1.problem': 'Los números de identificación de los puntos de unión de los segmentos de la rotonda no son consecutivos',
  3859. '1.solution': 'Rehacer la rotonda',
  3860. '2.title': 'WME Toolbox: Segmento Simple',
  3861. '2.problem': 'El segmento tiene nodos de geometría innecesarios',
  3862. '2.solution': 'Simplifica la geometría del segmento pasando el puntero del ratón por encima y pulsando la tecla \'d\'',
  3863. '3.title': 'WME Toolbox: Bloqueo nivel 2',
  3864. '3.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3865. '4.title': 'WME Toolbox: Bloqueo nivel 3',
  3866. '4.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3867. '5.title': 'WME Toolbox: Bloqueo nivel 4',
  3868. '5.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3869. '6.title': 'WME Toolbox: Bloqueo nivel 5',
  3870. '6.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3871. '7.title': 'WME Toolbox: Bloqueo nivel 6',
  3872. '7.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3873. '8.title': 'WME Toolbox: Numeros de casas',
  3874. '8.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3875. '9.title': 'WME Toolbox: Segmento con restricciones de tiempo',
  3876. '9.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3877. '13.title': 'WME Colour Highlights: Bloqueo de editor',
  3878. '13.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3879. '14.title': 'WME Colour Highlights: Peaje / Vía de sentido único',
  3880. '14.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3881. '15.title': 'WME Colour Highlights: Editado recientemente',
  3882. '15.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3883. '16.title': 'WME Colour Highlights: Rango de vías',
  3884. '16.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3885. '17.title': 'WME Colour Highlights: Sin ciudad',
  3886. '17.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3887. '18.title': 'WME Colour Highlights: Restricción horaria / Tipo de vía resaltado',
  3888. '18.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3889. '19.title': 'WME Colour Highlights: Sin nombre',
  3890. '19.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3891. '20.title': 'WME Colour Highlights: Filtro por ciudad',
  3892. '20.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3893. '21.title': 'WME Colour Highlights: Filtro por ciudad (alt. ciudad)',
  3894. '21.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3895. '22.title': 'WME Colour Highlights: Filtro por editor',
  3896. '22.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3897. '23.title': 'Segmento no confirmado',
  3898. '23.problem': 'Cada segmento debe tener al menos el nombre del país o estado',
  3899. '23.solution': 'Confirma la vía actualizando sus detalles',
  3900. '24.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3901. '24.title': 'Puede haber nombre incorrecto de ciudad (sólo disponible en el informe)',
  3902. '24.problem': 'El segmento puede tener un nombre de ciudad incorrecto',
  3903. '24.solution': 'Considera el nombre de ciudad sugerido y use este formulario para renombrar la ciudad',
  3904. '25.title': 'Dirección del segmento marcada como desconocida',
  3905. '25.problem': 'La dirección del segmento \'Desconocida\' no impedirá enrutar por la vía',
  3906. '25.solution': 'Fijar la dirección de la vía',
  3907. '27.enabled': true,
  3908. '27.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3909. '27.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3910. '27.title': 'Nombre de ciudad en vía férrea',
  3911. '27.problem': 'Poner nombres de ciudad en la vía férrea puede generar ciudades manchadas',
  3912. '27.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3913. '28.problemLink': 'W:Puntos_de_Unión._Guía_de_estilo#Bifurcaciones_de_rampas',
  3914. '28.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3915. '28.title': 'Nombre de calle en una rampa bidireccional',
  3916. '28.problem': 'Si la rampa no tiene nombre, el nombre del segmento siguiente se propagará hacia atrás',
  3917. '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\'',
  3918. '29.problemLink': 'W:Crear_y_editar_rotondas#Creaci.C3.B3n_de_una_rotonda_a_partir_de_una_intersecci.C3.B3n',
  3919. '29.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3920. '29.title': 'Nombre de calle en rotonda',
  3921. '29.problem': 'En Waze, no nombramos los segmentos de las rotondas',
  3922. '29.solution':
  3923. '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',
  3924. '34.title': 'Nombre de calle alternativo vacío',
  3925. '34.problem': 'El nombre de calle alternativo está vacío',
  3926. '34.solution': 'Borrar el nombre alternativo de calle vacío',
  3927. '35.title': 'Segmento de vía sin terminar',
  3928. '35.problem': 'Waze no enrutará desde un segmento sin terminar',
  3929. '35.solution': 'Mover un poco el segmento para que el extremo sin terminar sea añadido automáticamente al punto de unión',
  3930. '36.title': 'Punto de unión A innecesario (slow)',
  3931. '36.problem': 'Los segmentos adyacentes al punto de unión A son idénticos',
  3932. '36.solution': 'Selecciona el punto de unión A y pulsa la tecla borrar para unir los dos segmentos',
  3933. '37.title': 'Punto de unión B innecesario (slow)',
  3934. '37.problem': 'Los segmentos adyacentes al punto de unión B son idénticos',
  3935. '37.solution': 'Selecciona el punto de unión B y pulsa la tecla borrar para unir los dos segmentos',
  3936. '38.problemLink': 'W:Restricciones_horarias#En_segmentos',
  3937. '38.title': 'Restricción de segmento caducada (slow)',
  3938. '38.problem': 'El segmento tiene una restricción caducada',
  3939. '38.solution': 'Hacer clic en \'Editar restricciones\' y borrar la restricción caducada',
  3940. '39.problemLink': 'W:Restricciones_horarias#En_giros',
  3941. '39.title': 'Restricción de giro caducada (slow)',
  3942. '39.problem': 'El segmento tiene un giro con una restricción caducada',
  3943. '39.solution': 'Hacer clic en el icono de reloj cerca de la flecha amarilla y borrar la restricción caducada',
  3944. '41.title': 'Conectividad inversa en punto de unión A del segmento',
  3945. '41.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión A del segmento',
  3946. '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',
  3947. '42.title': 'Conectividad inversa en punto de unión B del segmento',
  3948. '42.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión B del segmento',
  3949. '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',
  3950. '43.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  3951. '43.title': 'Auto conectividad',
  3952. '43.problem': 'El segmento está conectado a si mismo',
  3953. '43.solution': 'Divide el segmento en TRES partes',
  3954. '44.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3955. '44.title': 'Sin conexión de salida',
  3956. '44.problem': 'El segmento no tiene ningún giro de salida permitido',
  3957. '44.solution': 'Activa al menos un giro de salida desde el segmento',
  3958. '45.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3959. '45.title': 'Sin conexión de entrada',
  3960. '45.problem': 'El segmento no privado no tiene ningún giro de entrada permitido',
  3961. '45.solution': 'Selecciona un segmento adyacente y activa por lo menos un giro hacia el segmento',
  3962. '46.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3963. '46.title': 'Sin entrada en A (slow)',
  3964. '46.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión A',
  3965. '46.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión A',
  3966. '47.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3967. '47.title': 'Sin entrada en B (slow)',
  3968. '47.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión B',
  3969. '47.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión B',
  3970. '48.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3971. '48.title': 'Segmento de rotonda bidireccional',
  3972. '48.problem': 'El segmento de rotonda es bidireccional',
  3973. '48.solution': 'Rehacer la rotonda',
  3974. '50.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3975. '50.title': 'No hay conectividad en la rotonda (slow)',
  3976. '50.problem': 'El segmento de la rotonda no tiene conectividad con el segmento de rotonda siguiente',
  3977. '50.solution': 'Permitir un giro al segmento adyacente o rehacer la rotonda',
  3978. '57.enabled': true,
  3979. '57.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3980. '57.title': 'Nombre de ciudad en rampa con nombre',
  3981. '57.problem': 'Poner el nombre de ciudad en las rampas puede afectar a los resultados de búsqueda',
  3982. '57.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3983. '59.enabled': true,
  3984. '59.problemLink': 'W:Corrigiendo_ciudades_\'manchadas\'',
  3985. '59.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3986. '59.title': 'Nombre de Ciudad en Autopista',
  3987. '59.problem': 'Poner nombres de ciudad en la Autopista puede generar ciudades manchadas',
  3988. '59.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3989. '73.enabled': true,
  3990. '73.title': 'Menos de 3 caracteres de longitud en el nombre de la calle',
  3991. '73.problem': 'El nombre de la calle tiene una longitud de menos de 3 caracteres',
  3992. '73.solution': 'Corrige el nombre de la calle',
  3993. '74.problemLink': 'W:Crear_y_editar_rotondas',
  3994. '74.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3995. '74.title': 'Varios segmentos en el punto de unión A de la rotonda',
  3996. '74.problem': 'La rotonda tiene en el punto de unión A más de un segmento conectado',
  3997. '74.solution': 'Rehacer la rotonda',
  3998. '77.title': 'Calle sin salida con giro en U',
  3999. '77.problem': 'La calle sin salida tiene un giro en U habilitado',
  4000. '77.solution': 'Deshabilitar el giro en U',
  4001. '78.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  4002. '78.title': 'Segmentos con los mismos puntos de inicio y final (slow)',
  4003. '78.problem': 'Dos segmentos comparten los puntos de inicio y final',
  4004. '78.solution': 'Divide el segmento. También puedes borrar uno de los segmentos si son idénticos',
  4005. '79.title': 'Conector para giros en U demasiado corto (slow)',
  4006. '79.problem': 'La longitud del segmento es menor de 15 metros por lo que el giro en U no es posible',
  4007. '79.solution': 'Aumente la longitud del segmento',
  4008. '87.problemLink': 'W:Crear_y_editar_rotondas',
  4009. '87.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  4010. '87.title': 'Más de un segmento de salida en el punto de unión A de la rotonda',
  4011. '87.problem': 'La rotonda tiene en el punto de unión A más de un segmento de salida conectado',
  4012. '87.solution': 'Rehacer la rotonda',
  4013. '90.enabled': true,
  4014. '90.title': 'Segmento de Autopista bidireccional',
  4015. '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',
  4016. '90.solution': 'Revisar dirección de Autopista',
  4017. '99.title': 'Giro en U en la entrada de rotonda (slow)',
  4018. '99.problem': 'El segmento de entrada a la rotonda tiene un giro en U habilitado',
  4019. '99.solution': 'Deshabilitar el giro en U',
  4020. '101.enabled': false,
  4021. '101.title': 'Zona en construcción (sólo disponible en el informe)',
  4022. '101.problem': 'El segmento está marcado como zona de construcción',
  4023. '101.solution': 'Si la construcción está terminada, volver a conectar el segmento y borrar el sufijo',
  4024. '102.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4025. '102.title': 'Sin salida en A (slow)',
  4026. '102.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión A',
  4027. '102.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión A',
  4028. '103.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4029. '103.title': 'Sin salida en B (slow)',
  4030. '103.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión B',
  4031. '103.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión B',
  4032. '104.title': 'Vía férrea usada para comentarios',
  4033. '104.problem': 'El segmento de vía férrea es probablemente usado como comentario de mapa',
  4034. '104.solution': 'Borrar el comentario ya que las vías férreas serán añadidas al mapa del cliente',
  4035. '107.title': 'Sin conexión en punto de unión A (slow)',
  4036. '107.problem': 'El punto de unión A del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4037. '107.solution': 'Conectar el punto de unión A a un segmento cercano o separarlos un poco más',
  4038. '108.title': 'Sin conexión en punto de unión B (slow)',
  4039. '108.problem': 'El punto de unión B del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4040. '108.solution': 'Conectar el punto de unión B a un segmento cercano o separarlos un poco más',
  4041. '109.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Eliminar_un_punto_de_uni.C3.B3n',
  4042. '109.title': 'Segmento muy corto',
  4043. '109.problem': 'El segmento tiene menos de 2 metros de longitud, así que es difícil de ver en el mapa',
  4044. '109.solution': 'Aumentar la longitud, borrar el segmento, o unirlo a un segmento adyacente',
  4045. '112.title': 'Más de 55 caracteres en el nombre de la Rampa',
  4046. '112.problem': 'El nombre de la Rampa tiene más de 55 caracteres',
  4047. '112.solution': 'Acorta el nombre de la Rampa',
  4048. '114.enabled': false,
  4049. '114.title': 'No transitable conectada a transitable en el punto de unión A (slow)',
  4050. '114.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo A',
  4051. '114.solution': 'Desconecta el extremo A de todos los segmentos transitables',
  4052. '115.enabled': false,
  4053. '115.title': 'No transitable conectada a transitable en el punto de unión B (slow)',
  4054. '115.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo B',
  4055. '115.solution': 'Desconecta el extremo B de todos los segmentos transitables',
  4056. '116.title': 'Elevación fuera de rango',
  4057. '116.problem': 'La elevación del segmento está fuera de rango',
  4058. '116.solution': 'Corrige la elevación',
  4059. '117.enabled': false,
  4060. '117.title': 'Marcado obsoleto: CONST ZN',
  4061. '117.problem': 'El segmento está marcado con el sufijo obsoleto CONST ZN',
  4062. '117.solution': 'Cambiar CONST ZN a (closed)',
  4063. '118.title': 'Segmentos superpuestos en A (slow)',
  4064. '118.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión A',
  4065. '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',
  4066. '119.title': 'Segmentos superpuestos en B (slow)',
  4067. '119.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión B',
  4068. '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',
  4069. '120.title': 'Giro demasiado cerrado en A (slow)',
  4070. '120.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión A',
  4071. '120.solution': 'Desactiva el giro cerrado en el punto de unión A o considera separar los segmentos hasta un ángulo de 30°',
  4072. '121.title': 'Giro demasiado cerrado en B (slow)',
  4073. '121.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión B',
  4074. '121.solution': 'Desactiva el giro cerrado en el punto de unión B o considera separar los segmentos hasta un ángulo de 30°',
  4075. '128.title': 'Comprobación personalizada por el usuario 1',
  4076. '128.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4077. '128.solution': 'Resolver el problema',
  4078. '129.title': 'Comprobación personalizada por el usuario 2',
  4079. '129.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4080. '129.solution': 'Resolver el problema',
  4081. '130.enabled': true,
  4082. '130.severity': 'N',
  4083. '130.title': 'Nivel de bloqueo de Autopista incorrecto',
  4084. '130.problem': 'El segmento de Autopista no está bloqueado a nivel 4',
  4085. '130.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4086. '130.solution': 'Bloquear el segmento de Autopista a nivel 4',
  4087. '130.params':
  4088. {'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]/'},
  4089. '131.enabled': true,
  4090. '131.severity': 'N',
  4091. '131.title': 'No lock on Major Highway',
  4092. '131.problem': 'The Major Highway segment should be locked to Lvl 3',
  4093. '131.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4094. '131.solution': 'Lock the segment',
  4095. '131.params': {
  4096. 'titleEN': 'No lock on Major Highway',
  4097. 'problemEN': 'The Major Highway segment should be locked to Lvl 3',
  4098. 'solutionEN': 'Lock the segment',
  4099. 'template': '${type}:${lock}:${street}',
  4100. 'regexp': '/^6:[^3]:N-/'
  4101. },
  4102. '133.enabled': true,
  4103. '133.severity': 'N',
  4104. '133.title': 'No lock on Ramp',
  4105. '133.problem': 'The Ramp segment should be locked to Lvl 3',
  4106. '133.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4107. '133.solution': 'Lock the segment',
  4108. '133.params':
  4109. {'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':
  4146. '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',
  4147. '201.problemLink': 'W:Giros_implícitos_y_explícitos',
  4148. '201.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4149. '201.title': 'Unión A: Giro suave (implícito) en segmento principal',
  4150. '201.problem': 'El segmento principal tiene un giro no confirmado',
  4151. '201.solution':
  4152. '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'
  4153. },
  4154. 'DE': {
  4155. '.codeISO': 'DE',
  4156. '.country': 'Germany',
  4157. '59.enabled': true,
  4158. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4159. '90.enabled': true,
  4160. '110.enabled': true,
  4161. '150.enabled': true,
  4162. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen',
  4163. '214.params': {'regexp': '/^7|.+0$/'},
  4164. '215.params': {'regexp': '/^7|.+0$/'}
  4165. },
  4166. 'CZ': {
  4167. '.codeISO': 'CZ',
  4168. '.country': 'Czech Republic',
  4169. '27.enabled': true,
  4170. '52.enabled': true,
  4171. '73.enabled': true,
  4172. '90.enabled': true,
  4173. '105.enabled': true,
  4174. '150.enabled': true,
  4175. '150.problemLink': 'F:t=64980&p=572847#p572847',
  4176. '150.params': {'n': 4},
  4177. '151.enabled': true,
  4178. '151.problemLink': 'F:t=64980&p=572847#p572847',
  4179. '151.params': {'n': 4},
  4180. '152.enabled': true,
  4181. '152.problemLink': 'F:t=64980&p=572847#p572847',
  4182. '152.params': {'n': 4},
  4183. '153.enabled': true,
  4184. '153.problemLink': 'F:t=64980&p=572847#p572847',
  4185. '153.params': {'n': 4},
  4186. '154.enabled': true,
  4187. '154.problemLink': 'F:t=64980&p=572847#p572847',
  4188. '154.params': {'n': 3},
  4189. '170.enabled': true,
  4190. '170.params': {
  4191. 'regexp':
  4192. '/^(?!(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]/'
  4193. }
  4194. },
  4195. 'CL': {'.codeISO': 'CL', '.country': 'Chile', '.fallbackCode': 'ES', '59.enabled': true, '150.enabled': true, '170.enabled': true, '200.enabled': false},
  4196. 'CH': {
  4197. '.codeISO': 'CH',
  4198. '.country': 'Switzerland',
  4199. '59.enabled': true,
  4200. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4201. '90.enabled': true,
  4202. '110.enabled': true,
  4203. '150.enabled': true,
  4204. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4205. },
  4206. 'BN': {
  4207. '.codeISO': 'BN',
  4208. '.country': 'Brunei',
  4209. '69.enabled': true,
  4210. '73.enabled': true,
  4211. '150.enabled': true,
  4212. '150.params': {'n': 2},
  4213. '151.enabled': true,
  4214. '151.params': {'n': 2},
  4215. '152.enabled': true,
  4216. '152.params': {'n': 2}
  4217. },
  4218. 'BG': {'.codeISO': 'BG', '.country': 'Bulgaria', '27.enabled': true},
  4219. 'BE': {
  4220. '.codeISO': 'BE',
  4221. '.country': 'Belgium',
  4222. '109.params': {'n': 6},
  4223. '150.enabled': true,
  4224. '150.problemLink': 'W:Belgium/Freeway',
  4225. '151.enabled': true,
  4226. '151.problemLink': 'W:Belgium/Major_Highway',
  4227. '152.enabled': true,
  4228. '152.problemLink': 'W:Belgium/Minor_Highway',
  4229. '154.enabled': true,
  4230. '154.problemLink': 'W:Belgium/Primary_Street',
  4231. '160.enabled': true,
  4232. '160.problemLink': 'W:Belgium/Freeway',
  4233. '160.params':
  4234. {'solutionEN': 'Rename the Freeway segment to a \'Anum\' or \'Anum - Enum\' or \'Anum ri Dir1 / Dir2\'', 'regexp': '!/^(A|B|E)[0-9]+( - (A|E)[0-9]+)*( ri [^\\/]+( \\/ [^\\/]+)*)?$/'},
  4235. '163.enabled': true,
  4236. '163.problemLink': 'W:Belgium/Roads#Highways',
  4237. '163.solutionLink': 'W:Belgium/Ramp',
  4238. '163.params': {
  4239. 'titleEN': 'Ramp name starts with a number',
  4240. 'problemEN': 'The Ramp name starts with a number',
  4241. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  4242. 'regexp': '/^([0-9]+)/'
  4243. },
  4244. '171.enabled': true,
  4245. '171.problemLink': 'W:Belgium/Ramp#Text_To_Speech_.28TTS.29_-_ri_-_di',
  4246. '171.params': {'problemEN': 'The street name contains incorrect \'ri.\' abbreviation', 'solutionEN': 'Change the \'ri.\' abbreviation to \'ri\' (no dot)', 'regexp': '/(^|\\b)ri\\./i'}
  4247. },
  4248. 'AU': {
  4249. '.codeISO': 'AU',
  4250. '.country': 'Australia',
  4251. '27.enabled': true,
  4252. '59.enabled': true,
  4253. '59.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4254. '112.enabled': false,
  4255. '150.enabled': true,
  4256. '150.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4257. '151.enabled': true,
  4258. '151.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Major_Highway',
  4259. '151.params': {'n': 3},
  4260. '152.enabled': true,
  4261. '152.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Minor_Highway'
  4262. },
  4263. 'AT': {
  4264. '.codeISO': 'AT',
  4265. '.country': 'Austria',
  4266. '59.enabled': true,
  4267. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4268. '90.enabled': true,
  4269. '110.enabled': true,
  4270. '150.enabled': true,
  4271. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4272. },
  4273. 'AR': {
  4274. '.codeISO': 'AR',
  4275. '.country': 'Argentina',
  4276. '.fallbackCode': 'ES',
  4277. '150.enabled': true,
  4278. '169.enabled': true,
  4279. '169.solutionLink': 'W:Como_categorizar_y_nombrar_calles_(Argentina)#Calles',
  4280. '169.params': {'regexp': '/(^|\\b)[Cc]alle(?! [0-9]+( ([A-Z]|bis))?$)/'}
  4281. }
  4282. };
  4283. var CC_UNDEFINED = 48;
  4284. var CC_NULL = 34;
  4285. var CC_BOOL = 46;
  4286. var CC_NUMBER = 44;
  4287. var CC_STRING = 58;
  4288. var CC_GLOBAL = 5;
  4289. var CC_FUNCTION = 37;
  4290. var CC_ARRAY = 32;
  4291. var CC_OBJECT = 42;
  4292. var CC_REGEXP = 23;
  4293. var CC_DATE = 33;
  4294. function classOf(val) {
  4295. return {}.toString.call(val).slice(8, -1)
  4296. }
  4297. function classCode(obj) {
  4298. return {}.toString.call(obj).charCodeAt(8) ^ {}.toString.call(obj).charCodeAt(11)
  4299. }
  4300. function classCodeIs(obj, cc) {
  4301. return cc === classCode(obj)
  4302. }
  4303. function classCodeDefined(obj) {
  4304. return CC_UNDEFINED !== classCode(obj)
  4305. }
  4306. function isEmpty(obj) {
  4307. for (var k in obj)
  4308. if (obj.hasOwnProperty(k)) return false;
  4309. return true
  4310. }
  4311. function deepCopy(obj) {
  4312. switch (classCode(obj)) {
  4313. case CC_ARRAY:
  4314. var cpy = [];
  4315. for (var i = 0, len = obj.length; i < len; i++) cpy[i] = deepCopy(obj[i]);
  4316. return cpy;
  4317. case CC_OBJECT:
  4318. var cpy = {};
  4319. for (var attr in obj)
  4320. if (obj.hasOwnProperty(attr)) cpy[attr] = deepCopy(obj[attr]);
  4321. return cpy
  4322. }
  4323. return obj
  4324. }
  4325. function deepCompare(obj1, obj2) {
  4326. if (obj1 === obj2) return true;
  4327. if (classCode(obj1) !== classCode(obj2)) return false;
  4328. switch (classCode(obj1)) {
  4329. case CC_ARRAY:
  4330. if (obj1.length != obj2.length) return false;
  4331. for (var i = 0; i < obj1.length; i++)
  4332. if (!deepCompare(obj1[i], obj2[i])) return false;
  4333. return true;
  4334. case CC_OBJECT:
  4335. for (var k in obj1) {
  4336. if (!obj1.hasOwnProperty(k)) continue;
  4337. if (!obj2.hasOwnProperty(k)) return false;
  4338. if (!deepCompare(obj1[k], obj2[k])) return false
  4339. }
  4340. return true
  4341. }
  4342. return false
  4343. }
  4344. function getDirection(seg) {
  4345. return (seg.attributes.fwdDirection ? 1 : 0) + (seg.attributes.revDirection ? 2 : 0)
  4346. }
  4347. function getLocalizedValue(val, country) {
  4348. var ipu = OpenLayers.INCHES_PER_UNIT;
  4349. var mph = false;
  4350. if (country == 'United Kingdom' || country == 'Jersey' || country == 'Guernsey' || country == 'United States') mph = true;
  4351. return mph ? Math.round(val * ipu['km'] / ipu['mi']) : val
  4352. };
  4353. var DEF_DEBUG = false;
  4354. var _THUI = {};
  4355. _THUI.NONE = 1;
  4356. _THUI.DIV = 2;
  4357. _THUI.NUMBER = 3;
  4358. _THUI.RADIO = 4;
  4359. _THUI.CHECKBOX = 5;
  4360. _THUI.BUTTON = 6;
  4361. _THUI.TEXT = 7;
  4362. _THUI.PASSWORD = 8;
  4363. _THUI.DATE = 9;
  4364. var _WV = {};
  4365. var WME_BETA = false;
  4366. _WV.$loggedIn = 0;
  4367. _WV.$functions = [];
  4368. var _UI = {};
  4369. var _RT = {};
  4370. var _REP = {};
  4371. var GL_SHOWLAYERS = false;
  4372. var GL_LAYERNAME = 'WME Validator';
  4373. var GL_LAYERUNAME = 'WMEValidator';
  4374. var GL_LAYERACCEL = 'toggleWMEValidator';
  4375. var GL_LAYERSHORTCUT = 'A+v';
  4376. var GL_TBCOLOR = 'WMETB_color';
  4377. var GL_TBPREFIX = 'WMETB';
  4378. var GL_WMECHCOLOR = 'WMECH_color';
  4379. var GL_NOTECOLOR = '#30E';
  4380. var GL_NOTEBGCOLOR = '#EEF';
  4381. var GL_WARNINGCOLOR = '#DA0';
  4382. var GL_WARNINGBGCOLOR = '#FFE';
  4383. var GL_ERRORCOLOR = '#E00';
  4384. var GL_ERRORBGCOLOR = '#FEE';
  4385. var GL_CUSTOM1COLOR = '#0A0';
  4386. var GL_CUSTOM1BGCOLOR = '#EFE';
  4387. var GL_CUSTOM2COLOR = '#09E';
  4388. var GL_CUSTOM2BGCOLOR = '#EFF';
  4389. var GL_VISITEDCOLOR = '#0E0';
  4390. var GL_VISITEDBGCOLOR = '#EFE';
  4391. var GL_NOID = 'No ID';
  4392. var GL_GRAYCOLOR = '#AAA';
  4393. var GL_TODOMARKER = 'TODO: ';
  4394. var RT_RUNWAY = 19;
  4395. var RR_RUNWAY = 1;
  4396. var RT_RAILROAD = 18;
  4397. var RR_RAILROAD = 2;
  4398. var RT_STAIRWAY = 16;
  4399. var RR_STAIRWAY = 3;
  4400. var RT_BOARDWALK = 10;
  4401. var RR_BOARDWALK = 4;
  4402. var RT_TRAIL = 5;
  4403. var RR_TRAIL = 5;
  4404. var RT_PRIVATE = 17;
  4405. var RR_PRIVATE = 6;
  4406. var RT_PARKING = 20;
  4407. var RR_PARKING = 7;
  4408. var RT_DIRT = 8;
  4409. var RR_DIRT = 8;
  4410. var RT_SERVICE = 21;
  4411. var RR_SERVICE = 9;
  4412. var RT_STREET = 1;
  4413. var RR_STREET = 10;
  4414. var RT_PRIMARY = 2;
  4415. var RR_PRIMARY = 11;
  4416. var RT_RAMP = 4;
  4417. var RR_RAMP = 12;
  4418. var RT_MINOR = 7;
  4419. var RR_MINOR = 13;
  4420. var RT_MAJOR = 6;
  4421. var RR_MAJOR = 14;
  4422. var RT_FREEWAY = 3;
  4423. var RR_FREEWAY = 15;
  4424. var DIR_UNKNOWN = 0;
  4425. var DIR_AB = 1;
  4426. var DIR_BA = 2;
  4427. var DIR_TWO = 3;
  4428. var ST_STOP = 1116352408;
  4429. var ST_RUN = 1899447441;
  4430. var ST_PAUSE = 3049323471;
  4431. var ST_CONTINUE = 3921009573;
  4432. var DIR_L2R = 961987163;
  4433. var DIR_R2L = -961987163;
  4434. var RF_HTML = 1508970993;
  4435. var RF_BB = 2453635748;
  4436. var RF_LIST = 2870763221;
  4437. var RF_UPDATEMAXSEVERITY = 1;
  4438. var RF_CREATEPACK = 2;
  4439. var RT_STOP = 1;
  4440. var RT_NEXTCHECK = 2;
  4441. var RS_NOTE = 1;
  4442. var RS_WARNING = 2;
  4443. var RS_ERROR = 3;
  4444. var RS_CUSTOM2 = 4;
  4445. var RS_CUSTOM1 = 5;
  4446. var RS_MAX = 6;
  4447. var LIMIT_PERCHECK = 300;
  4448. var LIMIT_TOLERANCE = 6;
  4449. var LIMIT_DEBUG = 20;
  4450. var CK_TBFIRST = 1;
  4451. var CK_TBLAST = 9;
  4452. var CK_WMECHFIRST = 13;
  4453. var CK_WMECHLAST = 22;
  4454. var CK_TYPEFIRST = 70;
  4455. var CK_TYPELAST = 72;
  4456. var CK_MATCHFIRST = 128;
  4457. var CK_MATCHLAST = 139;
  4458. var CK_CUSTOMFIRST = 130;
  4459. var CK_CUSTOMLAST = 139;
  4460. var CK_LOCKFIRST = 150;
  4461. var CK_LOCKLAST = 158;
  4462. var CK_STREETTNFIRST = 160;
  4463. var CK_STREETTNLAST = 167;
  4464. var CK_STREETNAMEFIRST = 170;
  4465. var CK_STREETNAMELAST = 175;
  4466. var CK_CITYNAMEFIRST = 190;
  4467. var CK_CITYNAMELAST = 193;
  4468. var CK_MIRRORFIRST = 200;
  4469. var CK_MIRRORLAST = 201;
  4470. var CL_UI = 2821834349 - 1;
  4471. var ID_PREFIX = 2554220882;
  4472. var CL_TABS = 2821834349;
  4473. var CL_PANEL = 2952996808;
  4474. var CL_BUTTONS = 3210313671;
  4475. var CL_MSG = 3336571891;
  4476. var CL_MSGY = 3584528711;
  4477. var CL_TRANSLATETIP = 3584528711 + 1;
  4478. var AS_LICENSE = 'license';
  4479. var AS_VERSION = 'version';
  4480. var AS_NONEDITABLES = 'non_editables';
  4481. var AS_DUPLICATES = 'duplicates';
  4482. var AS_PLACES = 'enable_places';
  4483. var AS_STREETS = 'streets';
  4484. var AS_OTHERS = 'others';
  4485. var AS_NOTES = 'notes';
  4486. var AS_YOUREDITS = 'your_edits';
  4487. var AS_UPDATEDSINCE = 'updated_since';
  4488. var AS_CITYNAME = 'city_name';
  4489. var AS_CHECKS = 'checks';
  4490. var AS_UPDATEDBY = 'updated_by';
  4491. var AS_SOUNDS = 'sounds';
  4492. var AS_HLISSUES = 'hl_issues';
  4493. var AS_SLOWCHECKS = 'slow_checks';
  4494. var AS_CUSTOM1TEMPLATE = 'custom1_template';
  4495. var AS_CUSTOM1REGEXP = 'custom1_regexp';
  4496. var AS_CUSTOM2TEMPLATE = 'custom2_template';
  4497. var AS_CUSTOM2REGEXP = 'custom2_regexp';
  4498. var AS_REPORTEXT = 'report_ext';
  4499. var ID_PROPERTY = 3835390401;
  4500. var ID_PROPERTY_DISABLED = 3835390401 + 1;
  4501. var CL_COLLAPSE = 4022224774;
  4502. var CL_NOTE = 264347078;
  4503. var CL_WARNING = 604807628;
  4504. var CL_ERROR = 770255983;
  4505. var CL_CUSTOM1 = 770255983 + 1;
  4506. var CL_CUSTOM2 = 770255983 + 2;
  4507. var CL_RIGHTTIP = 1249150122;
  4508. var CL_RIGHTTIPPOPUP = 1249150122 + 1;
  4509. var CL_RIGHTTIPDESCR = 1249150122 + 2;
  4510. var AS_NAME = 'WME_Validator';
  4511. var SZ_PANEL_HEIGHT = 190;
  4512. var SCAN_ZOOM = 5;
  4513. var SCAN_STEP = 100;
  4514. var HL_WIDTH = 30;
  4515. var HL_OPACITY = .4;
  4516. var I_SEVERITY = 0;
  4517. var I_OBJECTCOPY = 1;
  4518. var I_ISTBCOLOR = 2;
  4519. var I_ISWMECHCOLOR = 3;
  4520. var I_ISPARTIAL = 4;
  4521. var I_CITYID = 5;
  4522. var I_VENUECOPY = 6;
  4523. var CO_MIN = 0;
  4524. var CO_REGEXP = 0;
  4525. var CO_STRING = 1;
  4526. var CO_NUMBER = 2;
  4527. var CO_BOOL = 3;
  4528. var CO_MAX = 3;
  4529. var WD_SHORT = 5;
  4530. var WD_LONG = 1E4;
  4531. var Wa = null;
  4532. var nW = null;
  4533. var WM = null;
  4534. var WLM = null;
  4535. var WSM = null;
  4536. var WMo = null;
  4537. var WC = null;
  4538. var UW = null;
  4539. var R = null;
  4540. function esc(msg) {
  4541. return msg.split('"').join('\\"').split('\n').join('\\n')
  4542. }
  4543. function escRE(e) {
  4544. return e.split('\\')
  4545. .join('\\\\')
  4546. .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. }
  4577. function getMsg(mType, msg, newLine) {
  4578. return 'WME Validator v' + WV_VERSION + (mType ? ' ' + mType : '') + (msg ? ':' + (newLine ? '\n' : ' ') + msg : '')
  4579. }
  4580. function log(msg) {
  4581. window.console.log(getMsg('', msg))
  4582. }
  4583. function error(msg) {
  4584. var s = getMsg('error', msg, true);
  4585. log(s);
  4586. if (!isErrorFlag()) {
  4587. setErrorFlag();
  4588. alert(s)
  4589. }
  4590. async(F_PAUSE);
  4591. return -1
  4592. }
  4593. function warning(msg) {
  4594. var s = getMsg('warning', msg, true);
  4595. log(s);
  4596. alert(s);
  4597. return -1
  4598. }
  4599. function info(msg) {
  4600. var s = getMsg('', msg, true);
  4601. alert(s);
  4602. return -1
  4603. }
  4604. function sync(func, param) {
  4605. return func(param)
  4606. }
  4607. function async(func, param, inter) {
  4608. var i = 0;
  4609. if (inter) i = inter;
  4610. window.setTimeout(func, i, param)
  4611. }
  4612. function clearWD() {
  4613. window.clearTimeout(_RT.$WDmoveID);
  4614. window.clearTimeout(_RT.$WDloadID);
  4615. _RT.$WDmoveID = -1;
  4616. _RT.$WDloadID = -1
  4617. }
  4618. function updateTimer(nstate) {
  4619. var csec = Date.now() / 1E3;
  4620. if (RTStateIs(ST_RUN)) _RT.$timer.$secInRun += csec - _RT.$timer.$lastUpdate;
  4621. if (RTStateIs(ST_STOP)) _RT.$timer.$secInRun = 0;
  4622. _RT.$timer.$lastUpdate = csec
  4623. }
  4624. function setRTState(nstate) {
  4625. if (RTStateIs(ST_STOP) && ST_PAUSE === nstate) nstate = ST_STOP;
  4626. updateTimer(nstate);
  4627. _RT.$state = nstate;
  4628. async(F_UPDATEUI)
  4629. }
  4630. function clearReport() {
  4631. _RT.$seen = {};
  4632. _RT.$revalidate = {};
  4633. _REP = {
  4634. $debugCounter: LIMIT_DEBUG,
  4635. $isLimitPerCheck: false,
  4636. $isEditableFound: false,
  4637. $counterTotal: 0,
  4638. $maxSeverity: 0,
  4639. $incompleteIDs: {},
  4640. $users: {},
  4641. $reportCounters: {},
  4642. $cityCounters: {},
  4643. $countries: {},
  4644. $cities: {},
  4645. $streets: {},
  4646. $cityIDs: {},
  4647. $unsortedCityIDs: [],
  4648. $sortedCityIDs: []
  4649. };
  4650. _RT.$reportEditableNotFound = false
  4651. }
  4652. function beep(dur, oscType) {
  4653. try {
  4654. if (_UI.pSettings.pScanner.oSounds.CHECKED) _AUDIO.beep(dur, oscType)
  4655. } catch (e) {
  4656. }
  4657. }
  4658. function setErrorFlag() {
  4659. _RT.$error = true
  4660. }
  4661. function isErrorFlag() {
  4662. return _RT.$error
  4663. }
  4664. function clearErrorFlag() {
  4665. _RT.$error = false
  4666. }
  4667. function RTStateIs(st) {
  4668. return getRTState() === st
  4669. }
  4670. function getRTState() {
  4671. return _RT.$state
  4672. }
  4673. function HLAllObjects() {
  4674. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))
  4675. if (_UI.pSettings.pScanner.oHLReported.CHECKED)
  4676. sync(F_VALIDATE, false);
  4677. else
  4678. sync(F_VALIDATE, true);
  4679. async(F_UPDATEUI)
  4680. }
  4681. function ForceHLAllObjects() {
  4682. _RT.$isMapChanged = true;
  4683. HLAllObjects()
  4684. }
  4685. function resetDefaults() {
  4686. _UI.pMain.pFilter.oEnablePlaces.CHECKED = false;
  4687. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = true;
  4688. _UI.pMain.pFilter.oExcludeDuplicates.CHECKED = true;
  4689. _UI.pMain.pFilter.oExcludeStreets.CHECKED = false;
  4690. _UI.pMain.pFilter.oExcludeOther.CHECKED = false;
  4691. _UI.pMain.pFilter.oExcludeNotes.CHECKED = false;
  4692. _UI.pMain.pSearch.oIncludeYourEdits.CHECKED = false;
  4693. _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE = '';
  4694. _RT.$includeUpdatedByCache = {};
  4695. _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE = '';
  4696. _RT.$includeUpdatedSinceTime = 0;
  4697. _UI.pMain.pSearch.oIncludeCityName.VALUE = '';
  4698. _RT.$includeCityNameCache = {};
  4699. _UI.pMain.pSearch.oIncludeChecks.VALUE = '';
  4700. _RT.$includeChecksCache = {};
  4701. _UI.pSettings.pScanner.oSlowChecks.CHECKED = true;
  4702. _UI.pSettings.pScanner.oReportExt.CHECKED = true;
  4703. _UI.pSettings.pScanner.oHLReported.CHECKED = true;
  4704. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  4705. _UI.pSettings.pCustom.oTemplate1.VALUE = '';
  4706. _UI.pSettings.pCustom.oRegExp1.VALUE = '';
  4707. _UI.pSettings.pCustom.oTemplate2.VALUE = '';
  4708. _UI.pSettings.pCustom.oRegExp2.VALUE = ''
  4709. }
  4710. function cmpCheckIDs(a, b) {
  4711. var checkA = _RT.$checks[a], checkB = _RT.$checks[b];
  4712. if (checkA.SEVERITY !== checkB.SEVERITY) return checkB.SEVERITY - checkA.SEVERITY;
  4713. var cmp = checkA.TITLE.localeCompare(checkB.TITLE);
  4714. if (!cmp) return a - b;
  4715. return cmp
  4716. }
  4717. function checkNoCity(str) {
  4718. return str ? str : 'No City'
  4719. }
  4720. function checkNoStreet(str) {
  4721. return str ? str : 'No Street'
  4722. }
  4723. function getFilteredSeverity(oldSeverity, checkID, checkToHL) {
  4724. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4725. var check = _RT.$checks[checkID];
  4726. if (checkToHL && check.REPORTONLY) return 0;
  4727. var textSeverity = getTextSeverity(check.SEVERITY).toUpperCase();
  4728. var cache = _RT.$includeChecksCache;
  4729. var hash = checkID;
  4730. if (hash in cache) {
  4731. if (cache[hash]) return check.SEVERITY
  4732. } else {
  4733. var forChecks = _UI.pMain.pSearch.oIncludeChecks.VALUE;
  4734. var ccode = _RT.$cachedTopCCode;
  4735. var options = trO(check.OPTIONS, ccode);
  4736. var curTitle = exSOS(check.TITLE, options, 'titleEN');
  4737. try {
  4738. cache[hash] = false;
  4739. if (_WV.checkAccessFor(forChecks, function(e) {
  4740. if (/^#?\d+$/.test(e)) {
  4741. if ('#' === e.charAt(0)) e = e.slice(1);
  4742. return +checkID === +e
  4743. }
  4744. if (e.toUpperCase() === textSeverity) return true;
  4745. e = escRE(e);
  4746. var r = new RegExp('^' + e + '$', 'i');
  4747. return r.test(curTitle)
  4748. })) {
  4749. cache[hash] = true;
  4750. return check.SEVERITY
  4751. }
  4752. } catch (e) {
  4753. }
  4754. }
  4755. return 0
  4756. }
  4757. function getFilteredSeverityObj(oldSeverity, checkIDs, checkToHL) {
  4758. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4759. var ret = 0;
  4760. for (var cid in checkIDs) {
  4761. if (!checkIDs.hasOwnProperty(cid)) continue;
  4762. var check = _RT.$checks[cid];
  4763. if (getFilteredSeverity(check.SEVERITY, cid, checkToHL))
  4764. if (ret < check.SEVERITY) {
  4765. ret = check.SEVERITY;
  4766. if (_RT.$curMaxSeverity === ret) return ret
  4767. }
  4768. }
  4769. return ret
  4770. }
  4771. function checkFilter(severity, objectCopy, seenObjects) {
  4772. if (seenObjects) {
  4773. if (objectCopy.$objectID in seenObjects && _UI.pMain.pFilter.oExcludeDuplicates.CHECKED) return false;
  4774. seenObjects[objectCopy.$objectID] = null
  4775. }
  4776. if ((RR_STREET === objectCopy.$typeRank || RR_SERVICE === objectCopy.$typeRank) && _UI.pMain.pFilter.oExcludeStreets.CHECKED) return false;
  4777. if (RR_SERVICE > objectCopy.$typeRank && _UI.pMain.pFilter.oExcludeOther.CHECKED) return false;
  4778. if (!objectCopy.$isEditable && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) return false;
  4779. if (RS_NOTE === severity && _UI.pMain.pFilter.oExcludeNotes.CHECKED) return false;
  4780. if (objectCopy.$userID !== _RT.$topUser.$userID && !_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) return false;
  4781. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) {
  4782. var cache = _RT.$includeUpdatedByCache;
  4783. var hash = objectCopy.$userID;
  4784. if (hash in cache) {
  4785. if (!cache[hash]) return false
  4786. } else {
  4787. var forUser = _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE;
  4788. var curUser = _REP.$users[objectCopy.$userID];
  4789. try {
  4790. cache[hash] = false;
  4791. if (curUser !== _RT.$topUser.$userName && !_RT.$topUser.$isCM) return false;
  4792. if (_RT.$topUser.$isCM && -1 === _RT.$topUser.$countryIDs.indexOf(objectCopy.$countryID)) return false;
  4793. if (!_WV.checkAccessFor(forUser, function(e) {
  4794. e = escRE(e);
  4795. e = e.replace(/(^|\b)(me|i)($|\b)/gi, _RT.$topUser.$userName);
  4796. var r = new RegExp('^' + e + '$', 'i');
  4797. return r.test(curUser)
  4798. }))
  4799. return false;
  4800. cache[hash] = true
  4801. } catch (e) {
  4802. }
  4803. }
  4804. }
  4805. if (objectCopy.$updated && _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) try {
  4806. if (!_RT.$includeUpdatedSinceTime) _RT.$includeUpdatedSinceTime = (new Date(_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE)).getTime();
  4807. if (objectCopy.$updated < _RT.$includeUpdatedSinceTime) return false
  4808. } catch (e) {
  4809. }
  4810. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) {
  4811. if (!objectCopy.$cityID) return false;
  4812. var cache = _RT.$includeCityNameCache;
  4813. var hash = objectCopy.$cityID;
  4814. if (hash in cache) {
  4815. if (!cache[hash]) return false
  4816. } else {
  4817. var forCity = _UI.pMain.pSearch.oIncludeCityName.VALUE;
  4818. var curCity = _REP.$cities[objectCopy.$cityID];
  4819. try {
  4820. cache[hash] = false;
  4821. if (!_WV.checkAccessFor(forCity, function(e) {
  4822. e = escRE(e);
  4823. var r = new RegExp('^' + e + '$', 'i');
  4824. return r.test(curCity)
  4825. }))
  4826. return false;
  4827. cache[hash] = true
  4828. } catch (e) {
  4829. }
  4830. }
  4831. }
  4832. return true
  4833. }
  4834. function trO(obj, ccode) {
  4835. if (obj) return _I18n.getValueOC(obj, ccode)
  4836. }
  4837. function getCheckOptions(checkID, ccode) {
  4838. return _I18n.getValueOC(_RT.$checks[checkID].OPTIONS, ccode)
  4839. }
  4840. function trLeft(dir) {
  4841. if ('ltr' === dir)
  4842. return 'left';
  4843. else
  4844. return 'right'
  4845. }
  4846. function trRight(dir) {
  4847. if ('ltr' === dir)
  4848. return 'right';
  4849. else
  4850. return 'left'
  4851. }
  4852. function trS(label) {
  4853. return _I18n.getString(label)
  4854. }
  4855. function trSO(label, options) {
  4856. return _I18n.expandSO(_I18n.getString(label), options)
  4857. }
  4858. function exSOS(str, options, subst) {
  4859. if (options && _I18n.$defLng === _RT.$lng && options[subst])
  4860. return _I18n.expandSO(options[subst], options);
  4861. else
  4862. return _I18n.expandSO(str, options)
  4863. }
  4864. function getTextSeverity(sev) {
  4865. switch (sev) {
  4866. case RS_WARNING:
  4867. return 'warning';
  4868. case RS_ERROR:
  4869. return 'error';
  4870. case RS_CUSTOM1:
  4871. return 'custom1';
  4872. case RS_CUSTOM2:
  4873. return 'custom2'
  4874. }
  4875. return 'note'
  4876. }
  4877. function onUpdateUI(e) {
  4878. async(F_UPDATEUI, e)
  4879. }
  4880. function onShowChecks(e) {
  4881. sync(F_SHOWREPORT, RF_LIST)
  4882. }
  4883. function onCreatePack(e) {
  4884. sync(F_SHOWREPORT, RF_CREATEPACK)
  4885. }
  4886. function onShowReport(e) {
  4887. sync(F_SHOWREPORT, RF_HTML)
  4888. }
  4889. function onShareReport(e) {
  4890. sync(F_SHOWREPORT, RF_BB)
  4891. }
  4892. function onWarning(e) {
  4893. async(F_ONWARNING, e)
  4894. }
  4895. function onLogin() {
  4896. async(F_ONLOGIN)
  4897. }
  4898. function onMergeEnd() {
  4899. _RT.$isMapChanged = true;
  4900. window.clearTimeout(_RT.$WDmoveID);
  4901. window.clearTimeout(_RT.$WDloadID);
  4902. async(F_ONMERGEEND)
  4903. }
  4904. function onMoveEnd() {
  4905. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE))
  4906. async(F_ONMOVEEND);
  4907. else
  4908. ForceHLAllObjects()
  4909. }
  4910. function onLoadStart() {
  4911. async(F_ONLOADSTART)
  4912. }
  4913. function onChangeLayer(e) {
  4914. sync(F_ONCHANGELAYER, e)
  4915. }
  4916. function onSegmentsChanged(e) {
  4917. _RT.$isMapChanged = true;
  4918. sync(F_ONSEGMENTSCHANGED, e)
  4919. }
  4920. function onSegmentsRemoved(e) {
  4921. _RT.$isMapChanged = true;
  4922. if (1 === e.length)
  4923. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONSEGMENTSCHANGED, e)
  4924. }
  4925. function onSegmentsAdded(e) {
  4926. _RT.$isMapChanged = true
  4927. }
  4928. function onNodesChanged(e) {
  4929. _RT.$isMapChanged = true;
  4930. sync(F_ONNODESCHANGED, e)
  4931. }
  4932. function onNodesRemoved(e) {
  4933. _RT.$isMapChanged = true;
  4934. if (1 === e.length)
  4935. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONNODESCHANGED, e)
  4936. }
  4937. function onChangeIsImperial() {
  4938. clearReport();
  4939. _RT.$HLedObjects = {};
  4940. _RT.$HLlayer.destroyFeatures();
  4941. _RT.$isMapChanged = true;
  4942. async(F_LOGIN)
  4943. }
  4944. function onVenuesAdded(e) {
  4945. _RT.$isMapChanged = true
  4946. }
  4947. function onVenuesChanged(e) {
  4948. _RT.$isMapChanged = true;
  4949. sync(F_ONVENUESCHANGED, e)
  4950. }
  4951. function onVenuesRemoved(e) {
  4952. _RT.$isMapChanged = true;
  4953. if (1 === e.length)
  4954. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONVENUESCHANGED, e)
  4955. };
  4956. function F_SHOWREPORT(reportFormat) {
  4957. var _now = new Date;
  4958. var _nowISO = _now.toISOString().slice(0, 10);
  4959. var _repU = _REP.$users;
  4960. var _repC = _REP.$cities;
  4961. var _repCC = _REP.$cityCounters;
  4962. var _repRC = _REP.$reportCounters;
  4963. var _repS = _REP.$streets;
  4964. var isBeta = -1 !== window.location.href.indexOf('beta');
  4965. var noFilters = true;
  4966. var FR = '';
  4967. var FRheader = '';
  4968. var FRfooter = '';
  4969. var newWin = null;
  4970. var Bh1, Eh1;
  4971. var Bh2, Eh2;
  4972. var Bsmall, Esmall;
  4973. var Bbig, Ebig;
  4974. var Ba, Ca, Ea;
  4975. var BaV;
  4976. var Bcolor, Ccolor, Ecolor;
  4977. var Bb, Eb;
  4978. var Bp, Ep;
  4979. var Br;
  4980. var Bol, Eol;
  4981. var Bul, Eul;
  4982. var Bli, Eli;
  4983. var Bcode, Ecode;
  4984. var Mdash, Nbsp;
  4985. var curFormat;
  4986. function setFormat(fmt) {
  4987. curFormat = fmt;
  4988. switch (fmt) {
  4989. case RF_HTML:
  4990. Bh1 = '\n<h1>', Eh1 = '</h1>\n<hr>\n';
  4991. Bh2 = '\n\n<h2>', Eh2 = '</h2>\n';
  4992. Bsmall = '<small>', Esmall = '</small>';
  4993. Bbig = '<big>', Ebig = '</big>';
  4994. Ba = '<a target="_blank" href="', Ca = '">', Ea = '</a>';
  4995. BaV = '<a target="Validator" href="';
  4996. Bcolor = '<span style="color:', Ccolor = '">', Ecolor = '</span>';
  4997. Bb = '<b>', Eb = '</b>';
  4998. Bp = '<p>', Ep = '</p>';
  4999. Br = '<br>\n';
  5000. Bul = '\n<ul>\n', Eul = '\n</ul>\n';
  5001. Bcode = '\n<div style="text-align:left" dir="ltr" class="code" onclick="selectAll(this)">', Ecode = '</div>\n';
  5002. Bol = '\n<ol>\n', Eol = '\n</ol>\n';
  5003. Bli = '\n<li>', Eli = '</li>\n';
  5004. Mdash = ' &mdash; ';
  5005. Nbsp = '&nbsp;';
  5006. break;
  5007. case RF_BB:
  5008. Bh1 = '\n[size=200]', Eh1 = '[/size]\n';
  5009. Bh2 = '\n[size=150]', Eh2 = '[/size]\n';
  5010. Bsmall = '[size=85]', Esmall = '[/size]';
  5011. Bbig = '[size=120]', Ebig = '[/size]';
  5012. Ba = '[url=', Ca = ']', Ea = '[/url]';
  5013. BaV = Ba;
  5014. Bcolor = '[color=', Ccolor = ']', Ecolor = '[/color]';
  5015. Bb = '[b]', Eb = '[/b]';
  5016. Bp = '\n', Ep = '\n';
  5017. Br = '\n';
  5018. Bul = '\n[list]', Eul = '[/list]\n';
  5019. Bcode = '\n[code]', Ecode = '\n[/code]';
  5020. Bol = '\n[list=1]', Eol = '[/list]\n';
  5021. Bli = '\n[*]', Eli = '[/*]\n';
  5022. Mdash = ' - ';
  5023. Nbsp = ' ';
  5024. break
  5025. }
  5026. return ''
  5027. }
  5028. function getReportSource() {
  5029. var m = 0;
  5030. var n = '';
  5031. for (var cid in _repCC)
  5032. if (_repCC.hasOwnProperty(cid) && m < _repCC[cid] && _repC[cid]) {
  5033. m = _repCC[cid];
  5034. n = _repC[cid]
  5035. }
  5036. return n
  5037. }
  5038. function getTopPermalink() {
  5039. var center, zoom;
  5040. if (_RT.$startCenter) {
  5041. center = _RT.$startCenter;
  5042. zoom = _RT.$startZoom
  5043. } else {
  5044. center = WM.getCenter();
  5045. zoom = WM.getZoom()
  5046. }
  5047. var c = center.clone().transform(WM.projection, WM.displayProjection);
  5048. return window.location.origin + window.location.pathname + '?zoom=' + zoom + '&lat=' + Math.round(c.lat * 1E5) / 1E5 + '&lon=' + Math.round(c.lon * 1E5) / 1E5 + '&env=' + nW.app.getAppRegionCode()
  5049. }
  5050. function getHTMLHeader(strTitle) {
  5051. var dir = _I18n.getDir();
  5052. var dirLeft = trLeft(dir);
  5053. var dirRight = trRight(dir);
  5054. return '<html dir="' + dir + '"><head><style>' +
  5055. '\na{background-color:white}' +
  5056. '\na:visited{background-color:' + GL_VISITEDBGCOLOR + ' !important;color:' + GL_VISITEDCOLOR + ' !important}' +
  5057. '\n.note a{background-color:' + GL_NOTEBGCOLOR + ';color:' + GL_NOTECOLOR + '}' +
  5058. '\n.warning a{background-color:' + GL_WARNINGBGCOLOR + ';color:' + GL_WARNINGCOLOR + '}' +
  5059. '\n.error a{background-color:' + GL_ERRORBGCOLOR + ';color:' + GL_ERRORCOLOR + '}' +
  5060. '\n.custom1 a{background-color:' + GL_CUSTOM1BGCOLOR + ';color:' + GL_CUSTOM1COLOR + '}' +
  5061. '\n.custom2 a{background-color:' + GL_CUSTOM2BGCOLOR + ';color:' + GL_CUSTOM2COLOR + '}' +
  5062. '\ndiv.note{background-color:' + GL_NOTEBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5063. '\ndiv.warning{background-color:' + GL_WARNINGBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5064. '\ndiv.error{background-color:' + GL_ERRORBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5065. '\nh2+ul>li{margin-bottom:1em}' +
  5066. '\nul{margin-top:0}' +
  5067. '\nh1,h2{margin-bottom:4px;font-family:Georgia,Times,"Times New Roman",serif}' +
  5068. '\nbody{margin:2em;font-family:"Lucida Grande","Lucida Sans Unicode","DejaVu Sans",Lucida,Arial,Helvetica,sans-serif}' +
  5069. '\ndiv#contents{display:inline-block;margin:1em 0;padding:1em;background-color:#f9f9f9;border:1px solid #aaa}' +
  5070. '\ndiv#contents li{margin-bottom:0.1em}' +
  5071. '\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;}' +
  5072. '\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}' +
  5073. '\n</style>' +
  5074. '\n<script>' +
  5075. '\nfunction selectAll(e){' +
  5076. 'if(window.getSelection){' +
  5077. 'var s = window.getSelection();' +
  5078. 'var r = document.createRange();' +
  5079. 'r.selectNodeContents(e);' +
  5080. 's.removeAllRanges();' +
  5081. 's.addRange(r);' +
  5082. '}}' +
  5083. '\n\x3c/script>' +
  5084. '\n<title>' + strTitle + ' ' + _nowISO + '</title>' +
  5085. '\n<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>' +
  5086. '\n</head><body>'
  5087. }
  5088. function getNaturalList(arr) {
  5089. if (1 === arr.length) return arr[0];
  5090. var ret = '';
  5091. arr.forEach(function(e, i) {
  5092. if (arr.length - 1 === i)
  5093. ret += ' ' + trS('report.and') + ' ';
  5094. else if (0 !== i)
  5095. ret += ', ';
  5096. ret += e
  5097. });
  5098. return ret
  5099. }
  5100. function getHeader(strTitle) {
  5101. var ret = Bh1 + strTitle + Eh1;
  5102. if (RF_LIST !== reportFormat && RF_CREATEPACK !== reportFormat) {
  5103. ret += Bsmall + trS('report.generated.by') + ' ' + _RT.$curUserName + ' ' + trS('report.generated.on') + ' ' + _nowISO + Esmall + Br + Br + Bb + trS('report.source') + ' ' + Eb + Ba +
  5104. getTopPermalink() + Ca + checkNoCity(getReportSource()) + Ea + Br;
  5105. var filters = [];
  5106. if (_UI.pMain.pFilter.oExcludeDuplicates.CHECKED) filters.push(trS('report.filter.duplicate'));
  5107. if (!_UI.pMain.pFilter.oEnablePlaces.CHECKED) filters.push(trS('report.filter.places'));
  5108. if (_UI.pMain.pFilter.oExcludeStreets.CHECKED) filters.push(trS('report.filter.streets'));
  5109. if (_UI.pMain.pFilter.oExcludeOther.CHECKED) filters.push(trS('report.filter.other'));
  5110. if (_UI.pMain.pFilter.oExcludeNonEditables.CHECKED) filters.push(trS('report.filter.noneditable'));
  5111. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED) filters.push(trS('report.filter.notes'));
  5112. if (filters.length) {
  5113. noFilters = false;
  5114. ret += Bb + trS('report.filter.title') + ' ' + Eb + getNaturalList(filters) + ' ' + trS('report.filter.excluded') + Br
  5115. }
  5116. filters = [];
  5117. if (!_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) filters.push(trS('report.search.updated.by') + ' ' + _RT.$curUserName);
  5118. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) filters.push(trS('report.search.updated.by') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE);
  5119. if (_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) filters.push(trS('report.search.updated.since') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE);
  5120. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) filters.push(trS('report.search.city') + ' ' + _UI.pMain.pSearch.oIncludeCityName.VALUE);
  5121. if (_UI.pMain.pSearch.oIncludeChecks.VALUE) filters.push(trS('report.search.reported') + ' ' + _UI.pMain.pSearch.oIncludeChecks.VALUE);
  5122. if (filters.length) {
  5123. noFilters = false;
  5124. ret += Bb + trS('report.search.title') + Eb + ' ' + trS('report.search.only') + ' ' + getNaturalList(filters) + ' ' + trS('report.search.included') + Br
  5125. }
  5126. if (isBeta) ret += Br + Bb + trS('report.beta.warning') + Eb + Br + trS('report.beta.text') + Br + Bb + trS('report.beta.share') + Eb + Br
  5127. }
  5128. return ret
  5129. }
  5130. function getSubHeader(strTitle) {
  5131. return Bh2 + strTitle + Eh2
  5132. }
  5133. function getTextACL(acl) {
  5134. if (acl)
  5135. return acl.split(',').join(', ');
  5136. else
  5137. return '*'
  5138. }
  5139. function getCheckProperties(checkID, ccode, showSeverity, showCountry) {
  5140. var check = _RT.$checks[checkID];
  5141. var ret = '';
  5142. if (showSeverity && check.SEVERITY && RS_MAX > check.SEVERITY)
  5143. ret += Bb + trS('report.list.severity') + ' ' + Eb + getTextSeverity(check.SEVERITY) + (check.REPORTONLY ? ' (' + trS('report.list.reportOnly') + ')' : '') + Br;
  5144. if (1 < check.FORLEVEL) ret += Bb + trS('report.list.forEditors') + ' ' + Eb + check.FORLEVEL + ' ' + trS('report.list.andUp') + Br;
  5145. if (showCountry) ret += Bb + trS('report.list.forCountries') + ' ' + Eb + getTextACL(check.FORCOUNTRY) + Br;
  5146. if (check.FORCITY) ret += Bb + trS('report.list.forCities') + ' ' + Eb + getTextACL(check.FORCITY) + Br;
  5147. var options;
  5148. if (check.OPTIONS && (options = getCheckOptions(checkID, ccode))) {
  5149. var defParams = ccode === _I18n.$defLng;
  5150. var arrParams = [];
  5151. for (var optionName in options) {
  5152. if (!/^[a-z]+$/i.test(optionName)) continue;
  5153. var optionTitle = options[optionName + '.title'];
  5154. if (defParams && !optionTitle) continue;
  5155. arrParams.push({$name: optionName, $title: optionTitle, $value: options[optionName]})
  5156. }
  5157. if (arrParams.length) {
  5158. ret += Bb;
  5159. var country = _I18n.getCapitalizedCountry(ccode) || ccode;
  5160. if (defParams)
  5161. ret += trS('report.list.params');
  5162. else
  5163. ret += trSO('report.list.params.set', {'country': country});
  5164. ret += Eb + Bcode + '"' + checkID + '.params": {\n';
  5165. for (var i = 0; i < arrParams.length; i++) {
  5166. var param = arrParams[i];
  5167. if (defParams) ret += ' // ' + param.$title + '\n';
  5168. ret += ' "' + param.$name + '": ' + JSON.stringify(param.$value) + ',' +
  5169. '\n'
  5170. }
  5171. ret += '},' + Ecode
  5172. }
  5173. }
  5174. return ret
  5175. }
  5176. function addTextLabels(pack, label, defSet, oldPack) {
  5177. var defData = (defSet[label] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM);
  5178. var origData = oldPack[label] || '';
  5179. if (origData) {
  5180. var oldData = origData.replace(new RegExp('^' + GL_TODOMARKER), '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM);
  5181. var oldDataEN = (oldPack[label + '.en'] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM);
  5182. if (oldDataEN)
  5183. if (oldDataEN === defData) {
  5184. pack[label + '.en'] = defData;
  5185. pack[label] = origData
  5186. } else {
  5187. pack[label + '.en'] = defData;
  5188. pack[label] = GL_TODOMARKER + oldData
  5189. }
  5190. else {
  5191. pack[label + '.en'] = defData;
  5192. pack[label] = origData
  5193. }
  5194. } else {
  5195. pack[label + '.en'] = defData;
  5196. pack[label] = GL_TODOMARKER + defData
  5197. }
  5198. }
  5199. function getPackHeader(country, lng) {
  5200. return '// ==UserScript==' + Br + '// @name WME Validator Localization for ' + country + Br + '// @version ' + WV_VERSION + Br +
  5201. '// @description This script localizes WME Validator for ' + country + '. You also need main package (WME Validator) installed.' + Br +
  5202. '// @match https://beta.waze.com/*editor*' + Br + '// @match https://www.waze.com/*editor*' + Br + '// @exclude https://www.waze.com/*user/*editor/*' +
  5203. Br + '// @grant none' + Br + '// @run-at document-start' + Br + '// ==/UserScript==' + Br + '//' + Br + '/*' + Br +
  5204. (lng ? ' Please translate all the lines marked with "' + GL_TODOMARKER + '"' + Br + ' Please DO NOT change ".en" properties. To override english text use "titleEN",' + Br +
  5205. ' "problemEN" and "solutionEN" properties (see an example below).' + Br + Br :
  5206. '') +
  5207. ' See Settings->About->Available checks for complete list of checks and their params.' + Br + Br + ' Examples:' + Br + Br +
  5208. ' Enable #170 "Lowercase street name" but allow lowercase "exit" and "to":' + Br + ' "170.enabled": true,' + Br + ' "170.params": {' + Br +
  5209. ' "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 +
  5210. ' "130.enabled": true,' + Br + ' "130.params": {' + Br + ' "titleEN": "Street name with a dot",' + Br +
  5211. ' "problemEN": "There is a dot in the street name (excluding Ramps)",' + Br + ' "solutionEN": "Expand the abbreviation or remove the dot",' + Br +
  5212. ' "template": "${type}:${street}",' + Br + ' "regexp": "D/^[^4][0-9]?:.*\\\\./",' + Br + ' },' + Br +
  5213. ' *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 +
  5214. '*/' + Br
  5215. }
  5216. function getPack(country, ccode, lng) {
  5217. var ucountry = country.toUpperCase();
  5218. var _country = country.split(' ').join('_');
  5219. var oldPack = _I18n.$translations[ccode] || {};
  5220. var ret = '' + Br + 'window.WME_Validator_' + _country + ' = ';
  5221. var newCountries = [];
  5222. for (var k in _I18n.$country2code)
  5223. if (ccode === _I18n.$country2code[k] && ucountry !== k) newCountries.push(_I18n.capitalize(k));
  5224. newCountries.unshift(country);
  5225. var newAuthor = oldPack['.author'] || _RT.$topUser.$userName;
  5226. if (-1 === newAuthor.indexOf(_RT.$topUser.$userName)) newAuthor += ' and ' + _RT.$topUser.$userName;
  5227. var newLink = oldPack['.link'] || GL_TODOMARKER;
  5228. var pack = {'.country': 1 === newCountries.length ? newCountries[0] : newCountries, '.codeISO': ccode, '.author': newAuthor, '.updated': _nowISO, '.link': newLink};
  5229. if (ccode in _I18n.$code2code) pack['.fallbackCode'] = _I18n.$code2code[ccode];
  5230. if (lng) {
  5231. if (ccode in _I18n.$code2dir) pack['.dir'] = _I18n.$code2dir[ccode];
  5232. var newLngs = [];
  5233. for (var k in _I18n.$lng2code)
  5234. if (ccode === _I18n.$lng2code[k] && k !== lng) newLngs.push(k);
  5235. newLngs.unshift(lng);
  5236. pack['.lng'] = 1 === newLngs.length ? newLngs[0] : newLngs
  5237. }
  5238. if (lng)
  5239. for (var label in _I18n.$defSet) {
  5240. if (/^\./.test(label) || /^[0-9]/.test(label)) continue;
  5241. addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5242. }
  5243. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  5244. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5245. for (var i = 1; i < MAX_CHECKS; i++) {
  5246. if (CK_MIRRORFIRST + 100 <= i && CK_MIRRORLAST + 100 >= i) continue;
  5247. var label = i + '.enabled';
  5248. var checkEnabled = false;
  5249. if (_I18n.$defSet[label] || oldPack[label]) checkEnabled = true;
  5250. if (!checkEnabled)
  5251. for (var depC = 0; depC < arrDepCodes.length; depC++) {
  5252. var depCode = arrDepCodes[depC];
  5253. if (_I18n.$translations[depCode] && _I18n.$translations[depCode][label]) checkEnabled = true
  5254. }
  5255. if (checkEnabled && !(i + '.title' in _I18n.$defSet)) {
  5256. pack[i + '.note'] = GL_TODOMARKER + 'The check #' + i + ' is no longer exist. See the forum thread for more details.';
  5257. continue
  5258. }
  5259. for (var j = 0; j < allLabels.length; j++) {
  5260. var labelSfx = allLabels[j];
  5261. label = i + '.' + labelSfx;
  5262. var defData = _I18n.$defSet[label];
  5263. var oldData = oldPack[label];
  5264. if (classCodeDefined(defData) || classCodeDefined(oldData))
  5265. if (-1 !== _RT.$textLabels.indexOf(labelSfx)) {
  5266. if (lng && checkEnabled) addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5267. } else {
  5268. if ('params' === labelSfx) {
  5269. if (!classCodeDefined(oldData)) continue;
  5270. defData = deepCopy(defData || {});
  5271. oldData = deepCopy(oldData);
  5272. for (var k = CO_MIN; k <= CO_MAX; k++) {
  5273. delete defData[k];
  5274. delete oldData[k]
  5275. }
  5276. for (var k in defData) {
  5277. if (!defData.hasOwnProperty(k)) continue;
  5278. if (/\.title$/.test(k)) delete defData[k]
  5279. }
  5280. }
  5281. if (!deepCompare(defData, oldData)) pack[label] = oldData
  5282. }
  5283. }
  5284. }
  5285. ret += JSON.stringify(pack, null, ' ') + ';\n';
  5286. return ret
  5287. }
  5288. function getListOfChecks(countryID, country) {
  5289. var ucountry = country.toUpperCase();
  5290. var ccode = '';
  5291. if (countryID) ccode = _I18n.getCountryCode(ucountry);
  5292. var ret = trS('report.list.see') + ' ' + Bb + trS('report.list.checks') + Eb + Br + Br;
  5293. var fallbacks = '';
  5294. if (ccode)
  5295. for (var i in _I18n.$country2code) {
  5296. if (!_I18n.$country2code.hasOwnProperty(i)) continue;
  5297. if (i === ucountry) continue;
  5298. var acode = _I18n.$country2code[i];
  5299. if (ccode && acode !== ccode) continue;
  5300. fallbacks += _I18n.capitalize(i) + ' → ' + country + Br
  5301. }
  5302. for (var i in _I18n.$code2code) {
  5303. if (!_I18n.$code2code.hasOwnProperty(i)) continue;
  5304. var countryFrom = _I18n.getCapitalizedCountry(i);
  5305. var countryTo = _I18n.getCapitalizedCountry(_I18n.$code2code[i]);
  5306. if (ccode && i !== ccode && _I18n.$code2code[i] !== ccode) continue;
  5307. if (country && countryFrom !== country && countryTo !== country) continue;
  5308. fallbacks += countryFrom + ' (' + i + ') → ' + countryTo + ' (' + _I18n.$code2code[i] + ')' + Br
  5309. }
  5310. if (fallbacks) ret += Bb + trS('report.list.fallback') + Eb + Br + fallbacks;
  5311. var sortedIDs = getSortedCheckIDs();
  5312. if (ccode) {
  5313. var enabledIDs = [];
  5314. var disabledIDs = [];
  5315. sortedIDs.forEach(function(cid) {
  5316. var c = _RT.$checks[cid];
  5317. if (!c) return;
  5318. if (RS_MAX === c.SEVERITY) return;
  5319. var en = true;
  5320. var forCountry = c.FORCOUNTRY;
  5321. if (forCountry)
  5322. if (!_WV.checkAccessFor(forCountry, function(e) {
  5323. if (e in _I18n.$code2country) return _I18n.$code2country[e] === ucountry;
  5324. error('Please report: fc=' + e);
  5325. return false
  5326. }))
  5327. en = false;
  5328. if (en)
  5329. enabledIDs.push(cid);
  5330. else
  5331. disabledIDs.push(cid)
  5332. });
  5333. ret += Bh2 + trSO('report.list.enabled', {'n': enabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5334. enabledIDs.forEach(function(cid) {
  5335. ret += Bli + getCheckDescription(cid, countryID, Bb, Eb + Br) + Bsmall;
  5336. ret += getCheckProperties(cid, ccode, false, false);
  5337. ret += Esmall + Eli
  5338. });
  5339. ret += Eul;
  5340. ret += Bh2 + trSO('report.list.disabled', {'n': disabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5341. disabledIDs.forEach(function(cid) {
  5342. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5343. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5344. ret += Esmall + Eli
  5345. });
  5346. ret += Eul
  5347. } else {
  5348. ret += Bh2 + trSO('report.list.total', {'n': sortedIDs.length}) + ':' + Eh2 + Bul;
  5349. sortedIDs.forEach(function(cid) {
  5350. var c = _RT.$checks[cid];
  5351. if (!c) return;
  5352. if (RS_MAX === c.SEVERITY) return;
  5353. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5354. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5355. ret += Esmall + Eli
  5356. });
  5357. ret += Eul
  5358. }
  5359. return ret
  5360. }
  5361. function getHTMLFooter() {
  5362. return '\n<hr>' +
  5363. '\n<center dir="ltr"><small>WME Validator v' + WV_VERSION + '<br>&copy; 2013-2018 Andriy Berestovskyy</small></center>' +
  5364. '\n</body></html>'
  5365. }
  5366. function getTAHeader(h) {
  5367. var ret = '\n<p>' + (RF_CREATEPACK === reportFormat ? trS('msg.textarea.pack') : trS('msg.textarea')) + ':</p>' +
  5368. '\n<p><textarea style="resize:vertical;width:100%;height:' + h + '">';
  5369. setFormat(RF_BB);
  5370. return ret
  5371. }
  5372. function getTAFooter() {
  5373. setFormat(RF_HTML);
  5374. return '\n</textarea></p>'
  5375. }
  5376. function getSizeWarning(size) {
  5377. return 5E4 < size ? '\n<p style="color:#e00">' + trSO('report.size.warning', {'n': size}) + '</p>' : ''
  5378. }
  5379. function openWindow(data) {
  5380. var nw = UW.open('', '_blank');
  5381. nw.document.write(data)
  5382. }
  5383. function openWindowFR(title) {
  5384. var encFR = 'data:text/html;charset=UTF-8,';
  5385. if (newWin)
  5386. if (reportFormat === RF_HTML) {
  5387. title = title.split(' ').join('_');
  5388. newWin.document.write(FRheader);
  5389. var saveRep = FRheader;
  5390. saveRep += FR;
  5391. saveRep += FRfooter;
  5392. saveRep = encodeURIComponent(saveRep);
  5393. var saveLink = '<br><a download="';
  5394. saveLink += title;
  5395. saveLink += '_';
  5396. saveLink += _nowISO;
  5397. saveLink += '.html" href="data:text/html;charset=UTF-8,';
  5398. saveLink += saveRep;
  5399. saveRep = '';
  5400. saveLink += '"><button>';
  5401. saveLink += trS('report.save');
  5402. saveLink += '</button></a><br>';
  5403. newWin.document.write(saveLink);
  5404. newWin.document.write(FR);
  5405. newWin.document.write(saveLink);
  5406. newWin.document.write(FRfooter)
  5407. } else
  5408. newWin.document.write(FR);
  5409. else {
  5410. encFR += encodeURIComponent(FRheader);
  5411. FRheader = '';
  5412. encFR += encodeURIComponent(FR);
  5413. FR = '';
  5414. encFR += encodeURIComponent(FRfooter);
  5415. FRfooter = '';
  5416. UW.open(encFR, '_blank')
  5417. }
  5418. }
  5419. var seenObjects = {};
  5420. var lastCheckID = -1;
  5421. var lastCityID = -1;
  5422. var lastStreetID = -1;
  5423. var counterNotes = 0;
  5424. var counterWarnings = 0;
  5425. var counterErrors = 0;
  5426. var counterCustoms1 = 0;
  5427. var counterCustoms2 = 0;
  5428. function resetFilter() {
  5429. seenObjects = {};
  5430. lastCheckID = -1;
  5431. lastCityID = -1;
  5432. lastStreetID = -1;
  5433. counterNotes = 0;
  5434. counterWarnings = 0;
  5435. counterErrors = 0;
  5436. counterCustoms1 = 0;
  5437. counterCustoms2 = 0
  5438. }
  5439. function getTOC() {
  5440. resetFilter();
  5441. FR += '\n<br><div id="contents">';
  5442. FR += '\n<big><b>';
  5443. FR += trS('report.contents');
  5444. FR += '</b></big>';
  5445. FR += '\n<ol>';
  5446. traverseReport(function(obj) {
  5447. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false))
  5448. if (obj.$checkID !== lastCheckID) {
  5449. lastCheckID = obj.$checkID;
  5450. var check = obj.$check;
  5451. var strCountry = _REP.$countries[obj.$objectCopy.$countryID];
  5452. var ccode = '';
  5453. if (strCountry)
  5454. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5455. else
  5456. ccode = _RT.$cachedTopCCode;
  5457. var options = trO(check.OPTIONS, ccode);
  5458. FR += '\n<li class="';
  5459. FR += getTextSeverity(obj.$check.SEVERITY);
  5460. FR += '"><a href="#a';
  5461. FR += lastCheckID;
  5462. FR += '">';
  5463. FR += exSOS(check.TITLE, options, 'titleEN');
  5464. FR += '</a></li>'
  5465. }
  5466. });
  5467. FR += '\n<li><a href="#a">';
  5468. FR += trS('report.summary');
  5469. FR += '</a></li>';
  5470. FR += '\n</ol>\n</div>'
  5471. }
  5472. function getSortedCheckIDs() {
  5473. return _RT.$sortedCheckIDs ? _RT.$sortedCheckIDs : _RT.$sortedCheckIDs = Object.keys(_RT.$checks).sort(cmpCheckIDs)
  5474. }
  5475. function traverseReport(handler) {
  5476. var mapCenter = WM.getCenter();
  5477. function getSortedCities() {
  5478. var ret = _REP.$sortedCityIDs;
  5479. if (!ret || ret.length != _REP.$unsortedCityIDs.length)
  5480. return _REP.$sortedCityIDs = [].concat(_REP.$unsortedCityIDs).sort(function(a, b) {
  5481. return _repC[a].localeCompare(_repC[b])
  5482. });
  5483. return ret
  5484. }
  5485. function getSortedStreets(repC) {
  5486. var ret = repC.$sortedStreetIDs;
  5487. if (!ret || ret.length != repC.$unsortedStreetIDs.length)
  5488. return repC.$sortedStreetIDs = [].concat(repC.$unsortedStreetIDs).sort(function(a, b) {
  5489. return _repS[a].localeCompare(_repS[b])
  5490. });
  5491. return ret
  5492. }
  5493. function getHypot(c1, c2) {
  5494. return Math.sqrt(c1 * c1 + c2 * c2)
  5495. }
  5496. function getSortedObjects(repS) {
  5497. var ret = repS.$sortedObjectIDs;
  5498. var repSeg = repS.$objectIDs;
  5499. if (!ret || ret.length != repS.$unsortedObjectIDs.length)
  5500. return repS.$sortedSegmentIDs = [].concat(repS.$unsortedObjectIDs).sort(function(a, b) {
  5501. var segA = repSeg[a], segB = repSeg[b];
  5502. if (segA.$typeRank !== segB.$typeRank) return segB.$typeRank - segA.$typeRank;
  5503. var distAB = getHypot(segA.$center.lat - segB.$center.lat, segA.$center.lon - segB.$center.lon);
  5504. if (.002 > distAB) return 0;
  5505. var distA = getHypot(mapCenter.lat - segA.$center.lat, mapCenter.lon - segA.$center.lon);
  5506. var distB = getHypot(mapCenter.lat - segB.$center.lat, mapCenter.lon - segB.$center.lon);
  5507. return distA - distB
  5508. });
  5509. return ret
  5510. }
  5511. var checkIDs = getSortedCheckIDs();
  5512. nextCheck: for (var i = 1; i < checkIDs.length; i++) {
  5513. var checkID = checkIDs[i];
  5514. var check = _RT.$checks[checkID];
  5515. if (!check) continue;
  5516. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED && RS_NOTE === check.SEVERITY) continue;
  5517. var sortedCities = getSortedCities();
  5518. for (var sorcid = 0; sorcid < sortedCities.length; sorcid++) {
  5519. var cid = sortedCities[sorcid];
  5520. var repC = _REP.$cityIDs[cid];
  5521. var sortedStreets = getSortedStreets(repC);
  5522. for (var sorsid = 0; sorsid < sortedStreets.length; sorsid++) {
  5523. var sid = sortedStreets[sorsid];
  5524. var repS = repC.$streetIDs[sid];
  5525. if (repS.$unsortedObjectIDs) {
  5526. var sortedObjects = getSortedObjects(repS);
  5527. for (var sorscid = 0; sorscid < sortedObjects.length; sorscid++) {
  5528. var scid = sortedObjects[sorscid];
  5529. var sc = repS.$objectIDs[scid];
  5530. if (checkID in sc.$reportIDs) {
  5531. var obj = {$checkID: checkID, $check: check, $param: sc.$reportIDs[checkID], $cityParam: repC.$params[checkID], $streetParam: repS.$params[checkID], $objectCopy: sc};
  5532. switch (handler(obj)) {
  5533. case RT_STOP:
  5534. return;
  5535. case RT_NEXTCHECK:
  5536. continue nextCheck
  5537. }
  5538. }
  5539. }
  5540. }
  5541. }
  5542. }
  5543. }
  5544. }
  5545. function closeReportStreet() {
  5546. if (0 <= lastStreetID || 0 <= lastCityID) {
  5547. lastStreetID = -1;
  5548. FR += Eli
  5549. }
  5550. }
  5551. function closeReportCity() {
  5552. if (0 <= lastCityID) {
  5553. lastCityID = -1;
  5554. closeReportStreet();
  5555. FR += Eul
  5556. }
  5557. }
  5558. function closeReportCheck() {
  5559. if (0 <= lastCheckID) {
  5560. if (LIMIT_PERCHECK < _repRC[lastCheckID])
  5561. if (1 === _repRC[lastCheckID] - LIMIT_PERCHECK)
  5562. FR += '[and more...]';
  5563. else {
  5564. FR += '[and ';
  5565. FR += _repRC[lastCheckID] - LIMIT_PERCHECK;
  5566. FR += ' objects more...]'
  5567. }
  5568. lastCheckID = -1;
  5569. closeReportCity()
  5570. }
  5571. if (RF_HTML === curFormat) FR += '</div>'
  5572. }
  5573. function getCheckDescription(checkID, countryID, headB, headE) {
  5574. var check = _RT.$checks[checkID];
  5575. var ret = headB;
  5576. var strCountry = _REP.$countries[countryID];
  5577. var ccode = '';
  5578. if (strCountry)
  5579. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5580. else
  5581. ccode = _RT.$cachedTopCCode;
  5582. var options = trO(check.OPTIONS, ccode);
  5583. if (check.COLOR) ret += Bcolor + check.COLOR + Ccolor + '██ ' + Ecolor;
  5584. ret += '' + (countryID ? exSOS(check.TITLE, options, 'titleEN') : check.TITLE) + ' (#' + checkID + ')' + headE;
  5585. var sevColor = GL_NOTECOLOR;
  5586. switch (check.SEVERITY) {
  5587. case RS_WARNING:
  5588. sevColor = GL_WARNINGCOLOR;
  5589. break;
  5590. case RS_ERROR:
  5591. sevColor = GL_ERRORCOLOR;
  5592. break;
  5593. case RS_CUSTOM1:
  5594. sevColor = GL_CUSTOM1COLOR;
  5595. break;
  5596. case RS_CUSTOM2:
  5597. sevColor = GL_CUSTOM2COLOR;
  5598. break
  5599. }
  5600. if (check.PROBLEM) {
  5601. ret += Bcolor + sevColor + Ccolor + (countryID ? exSOS(check.PROBLEM, options, 'problemEN') : check.PROBLEM);
  5602. var pl = trO(check.PROBLEMLINK, ccode);
  5603. if (pl)
  5604. ret += ': ' + Ba + pl + Ca + trO(check.PROBLEMLINKTEXT, ccode) + Ea;
  5605. else
  5606. ret += '.';
  5607. ret += Ecolor + Br
  5608. }
  5609. if (check.SOLUTION) {
  5610. ret += countryID ? exSOS(check.SOLUTION, options, 'solutionEN') : check.SOLUTION;
  5611. var sl = trO(check.SOLUTIONLINK, ccode);
  5612. if (sl)
  5613. ret += ': ' + Ba + sl + Ca + trO(check.SOLUTIONLINKTEXT, ccode) + Ea;
  5614. else
  5615. ret += '.';
  5616. ret += Br
  5617. }
  5618. return ret
  5619. }
  5620. function getReportCheck(obj) {
  5621. closeReportCheck();
  5622. if (RF_HTML === curFormat) {
  5623. FR += '<div class="';
  5624. FR += getTextSeverity(obj.$check.SEVERITY);
  5625. FR += '"><a name="a';
  5626. FR += obj.$checkID;
  5627. FR += '"></a>'
  5628. }
  5629. FR += getCheckDescription(obj.$checkID, obj.$objectCopy.$countryID, Bh2, Eh2);
  5630. FR += Br
  5631. }
  5632. function getReportCity(obj) {
  5633. closeReportCity();
  5634. FR += Bbig;
  5635. FR += Bb;
  5636. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5637. FR += Eb;
  5638. FR += Ebig;
  5639. if (obj.$cityParam) {
  5640. FR += Mdash;
  5641. FR += obj.$cityParam
  5642. }
  5643. FR += Bul
  5644. }
  5645. function getReportStreet(obj) {
  5646. closeReportStreet();
  5647. FR += Bli;
  5648. FR += checkNoStreet(_repS[obj.$objectCopy.$streetID]);
  5649. FR += ', ';
  5650. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5651. if (obj.$streetParam) {
  5652. FR += Mdash;
  5653. FR += obj.$streetParam
  5654. }
  5655. FR += Br
  5656. }
  5657. function getPermalink(obj) {
  5658. var z = SCAN_ZOOM;
  5659. if (obj.$objectCopy)
  5660. if (50 > obj.$objectCopy.$length)
  5661. z = 7;
  5662. else if (500 > obj.$objectCopy.$length) {
  5663. if (6 > z) z += 1
  5664. } else
  5665. z = 4;
  5666. else
  5667. z = 4;
  5668. FR += window.location.origin;
  5669. FR += window.location.pathname;
  5670. FR += '?zoom=';
  5671. FR += z;
  5672. FR += '&lat=';
  5673. FR += obj.$objectCopy.$center.lat;
  5674. FR += '&lon=';
  5675. FR += obj.$objectCopy.$center.lon;
  5676. FR += '&env=';
  5677. FR += nW.app.getAppRegionCode();
  5678. FR += '&' + obj.$objectCopy.$model.name + '=';
  5679. FR += obj.$objectCopy.$objectID
  5680. }
  5681. function getReportItem(obj) {
  5682. if (!checkFilter(0, obj.$objectCopy, seenObjects) || !getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) return;
  5683. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5684. if (obj.$checkID !== lastCheckID) {
  5685. getReportCheck(obj);
  5686. if (noFilters) {
  5687. var c = _repRC[obj.$checkID];
  5688. switch (obj.$check.SEVERITY) {
  5689. case RS_NOTE:
  5690. counterNotes += c;
  5691. break;
  5692. case RS_WARNING:
  5693. counterWarnings += c;
  5694. break;
  5695. case RS_ERROR:
  5696. counterErrors += c;
  5697. break;
  5698. case RS_CUSTOM1:
  5699. counterCustoms1 += c;
  5700. break;
  5701. case RS_CUSTOM2:
  5702. counterCustoms2 += c;
  5703. break
  5704. }
  5705. }
  5706. }
  5707. if (obj.$objectCopy.$cityID !== lastCityID) getReportCity(obj);
  5708. if (obj.$objectCopy.$streetID !== lastStreetID) getReportStreet(obj);
  5709. lastCityID = obj.$objectCopy.$cityID;
  5710. lastStreetID = obj.$objectCopy.$streetID;
  5711. lastCheckID = obj.$checkID;
  5712. if (!noFilters) switch (obj.$check.SEVERITY) {
  5713. case RS_NOTE:
  5714. counterNotes++;
  5715. break;
  5716. case RS_WARNING:
  5717. counterWarnings++;
  5718. break;
  5719. case RS_ERROR:
  5720. counterErrors++;
  5721. break;
  5722. case RS_CUSTOM1:
  5723. counterCustoms1++;
  5724. break;
  5725. case RS_CUSTOM2:
  5726. counterCustoms2++;
  5727. break
  5728. }
  5729. FR += BaV;
  5730. getPermalink(obj);
  5731. FR += Ca;
  5732. if (isBeta) FR += 'B:';
  5733. if (obj.$objectCopy.$model === WMo.segments)
  5734. FR += obj.$objectCopy.$objectID;
  5735. else if (obj.$objectCopy.$name !== '')
  5736. FR += obj.$objectCopy.$name;
  5737. else
  5738. FR += obj.$objectCopy.$objectID;
  5739. FR += Ea;
  5740. FR += ' '
  5741. }
  5742. function getSummary() {
  5743. if (RF_HTML === curFormat) FR += '<a name="a"></a>';
  5744. FR += Bh2;
  5745. FR += trS('report.summary');
  5746. FR += Eh2;
  5747. FR += Bb;
  5748. FR += trS('report.segments');
  5749. FR += Eb;
  5750. FR += ' ';
  5751. FR += _REP.$counterTotal;
  5752. FR += Br;
  5753. if (counterCustoms1 || counterCustoms2) {
  5754. FR += Bb;
  5755. FR += trS('report.customs');
  5756. FR += Eb;
  5757. FR += ' ';
  5758. FR += counterCustoms1;
  5759. FR += '/';
  5760. FR += counterCustoms2;
  5761. if (_REP.$isLimitPerCheck) FR += '*';
  5762. FR += Br
  5763. }
  5764. FR += Bb;
  5765. FR += trS('report.reported');
  5766. FR += Eb;
  5767. FR += ' ';
  5768. var summary = [];
  5769. if (counterErrors)
  5770. summary.push(Bb + trS('report.errors') + Mdash + Eb + ' ' + counterErrors + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterErrors * 1E3 / _REP.$counterTotal) + '‰)');
  5771. if (counterWarnings)
  5772. summary.push(Bb + trS('report.warnings') + Mdash + Eb + ' ' + counterWarnings + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterWarnings * 1E3 / _REP.$counterTotal) + '‰)');
  5773. if (counterNotes) summary.push(Bb + trS('report.notes') + Mdash + Eb + ' ' + counterNotes + (_REP.$isLimitPerCheck ? '*' : ''));
  5774. FR += getNaturalList(summary);
  5775. FR += Br;
  5776. if (_REP.$isLimitPerCheck) {
  5777. FR += trS('report.note.limit');
  5778. FR += Br
  5779. }
  5780. FR += Br;
  5781. FR += trS('report.forum');
  5782. FR += ' ';
  5783. FR += Ba;
  5784. FR += PFX_FORUM;
  5785. FR += FORUM_HOME;
  5786. FR += Ca;
  5787. FR += trS('report.forum.link');
  5788. FR += Ea;
  5789. FR += Br;
  5790. FR += Br;
  5791. FR += trS('report.thanks');
  5792. FR += Br
  5793. }
  5794. function getReport(fmt) {
  5795. var oldFormat = curFormat;
  5796. setFormat(fmt);
  5797. resetFilter();
  5798. _REP.$maxSeverity = 0;
  5799. traverseReport(function(e) {
  5800. getReportItem(e)
  5801. });
  5802. closeReportCheck();
  5803. getSummary();
  5804. setFormat(oldFormat)
  5805. }
  5806. function updateMaxSeverity() {
  5807. resetFilter();
  5808. _REP.$maxSeverity = 0;
  5809. traverseReport(function(obj) {
  5810. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) {
  5811. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5812. if (_RT.$curMaxSeverity === _REP.$maxSeverity) return RT_STOP
  5813. }
  5814. })
  5815. }
  5816. setFormat(RF_HTML);
  5817. var t = trS('report.title');
  5818. switch (reportFormat) {
  5819. case RF_UPDATEMAXSEVERITY:
  5820. updateMaxSeverity();
  5821. break;
  5822. case RF_CREATEPACK:
  5823. var wType = 'Localization Package Wizard';
  5824. if (!window.confirm(getMsg(
  5825. wType,
  5826. '\nBefore starting the Wizard:' +
  5827. '\n\n1. Position WME over your country' +
  5828. '\n so the Wizard will know your country name' +
  5829. '\n\n2. Switch WME to your language' +
  5830. '\n so the Wizard will add translations into the package' +
  5831. '\n\n3. Enable any previous version of localization pack' +
  5832. '\n so the Wizard will preserve already translated text',
  5833. true)))
  5834. break;
  5835. var country = _RT.$topCity && _RT.$topCity.$country ? _RT.$topCity.$country : window.prompt(getMsg(wType, '\nWME country name (example: United Kingdom):', true));
  5836. if (!country) break;
  5837. var ucountry = country.toUpperCase();
  5838. var ccode = _I18n.getCountryCode(ucountry) ? _I18n.getCountryCode(ucountry) : window.prompt(getMsg(wType, '\nISO 3166-1 Alpha-2 country code (example: UK):', true));
  5839. if (!ccode) break;
  5840. ccode = ccode.toUpperCase();
  5841. var lng = window.prompt(
  5842. getMsg(
  5843. wType,
  5844. '\nPlease confirm the WME language code:' +
  5845. '\n\nfor "EN" no translations will be included into the package' +
  5846. '\nfor any other code the translations will be included',
  5847. true),
  5848. _RT.$lng);
  5849. if (!lng) break;
  5850. lng = lng.toUpperCase();
  5851. if (_I18n.$defLng === lng)
  5852. t = 'Minimal Localization for ' + country;
  5853. else
  5854. t = 'Localization and Translation for ' + country;
  5855. if (_I18n.$defLng === lng) lng = '';
  5856. var lPack = getHTMLHeader(t) + getHeader(t) + getTAHeader('400px') + getPackHeader(country, lng) + getPack(country, ccode, lng);
  5857. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5858. for (var i = 0; i < arrDepCodes.length; i++) {
  5859. var depCode = arrDepCodes[i];
  5860. var depCountry = _I18n.getCapitalizedCountry(depCode);
  5861. if (depCountry && depCode) {
  5862. lPack += '\n// Dependant package:';
  5863. lPack += getPack(depCountry, depCode, '')
  5864. }
  5865. }
  5866. openWindow(lPack + getTAFooter() + getHTMLFooter());
  5867. break;
  5868. case RF_LIST:
  5869. var countryID = 0;
  5870. var country = '';
  5871. t = trS('report.list.title') + ' ';
  5872. if (_RT.$topCity && _RT.$topCity.$country) {
  5873. countryID = _RT.$topCity.$countryID;
  5874. country = _RT.$topCity.$country;
  5875. t += country + ' (v' + WV_VERSION + ')'
  5876. } else
  5877. t += 'v' + WV_VERSION;
  5878. openWindow(getHTMLHeader(t) + getHeader(t) + getListOfChecks(countryID, country) + getTAHeader('200px') + getHeader(t) + getListOfChecks(countryID, country) + getTAFooter() + getHTMLFooter());
  5879. break;
  5880. case RF_HTML:
  5881. newWin = UW.open('', '_blank');
  5882. FR += getHTMLHeader(t);
  5883. FR += getHeader(t);
  5884. FRheader = FR;
  5885. FR = '';
  5886. getTOC();
  5887. getReport(RF_HTML);
  5888. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5889. if (newWin) newWin.close();
  5890. async(F_UPDATEUI);
  5891. break
  5892. }
  5893. FRfooter += getHTMLFooter();
  5894. openWindowFR(t);
  5895. break;
  5896. case RF_BB:
  5897. newWin = UW.open('', '_blank');
  5898. var tf = t + ' ' + trS('report.share');
  5899. FR += getHTMLHeader(tf);
  5900. FR += getHeader(tf);
  5901. FR += getTAHeader('200px');
  5902. var beforeShareLen = FR.length;
  5903. FR += getHeader(t);
  5904. getReport(RF_BB);
  5905. var shareLen = FR.length - beforeShareLen;
  5906. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5907. if (newWin) newWin.close();
  5908. async(F_UPDATEUI);
  5909. break
  5910. }
  5911. FR += getTAFooter();
  5912. FR += getSizeWarning(shareLen);
  5913. FR += getHTMLFooter();
  5914. openWindowFR();
  5915. break
  5916. }
  5917. resetFilter()
  5918. };
  5919. function F_VALIDATE(disabledHL) {
  5920. if (!_RT.$isMapChanged) return;
  5921. _RT.$isMapChanged = false;
  5922. var bUpdateMaxSeverity = false;
  5923. if (RTStateIs(ST_RUN)) beep(10);
  5924. var options;
  5925. var skippedObject = false;
  5926. if (disabledHL) {
  5927. updateObjectProperties([], true);
  5928. return
  5929. }
  5930. if (LIMIT_TOTAL < _REP.$counterTotal && !isErrorFlag()) {
  5931. setErrorFlag();
  5932. if (RTStateIs(ST_RUN)) {
  5933. window.alert(getMsg(trS('msg.autopaused'), '\n' + trS('msg.limit.segments') + trS('msg.limit.segments.continue'), true));
  5934. sync(F_PAUSE)
  5935. } else
  5936. warning(trS('msg.limit.segments') + trS('msg.limit.segments.clear'));
  5937. return
  5938. }
  5939. _RT.$topCenter = WM.getCenter();
  5940. if (_UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED) {
  5941. var el = document.getElementById(_RT.oReportWMECH.FORID);
  5942. if (el) {
  5943. var ev = new CustomEvent('click');
  5944. el.dispatchEvent(ev)
  5945. }
  5946. }
  5947. var _repC = _REP.$cities;
  5948. var _repCC = _REP.$cityCounters;
  5949. var _repRC = _REP.$reportCounters;
  5950. var _repS = _REP.$streets;
  5951. var _repU = _REP.$users;
  5952. function isLimitOk(id) {
  5953. if (DEF_DEBUG)
  5954. return true;
  5955. else
  5956. return !(LIMIT_PERCHECK < _repRC[id])
  5957. }
  5958. function formatDate(d) {
  5959. var n = new Date(d);
  5960. return n.toISOString().substr(0, 10)
  5961. }
  5962. function getUserName(objID) {
  5963. var u = WMo.users.getObjectById(objID);
  5964. return u ? u.userName : objID.toString()
  5965. }
  5966. function getUserLevel(objID) {
  5967. var u = WMo.users.getObjectById(objID);
  5968. return u ? u.normalizedLevel : 0
  5969. }
  5970. function SimpleNODE(objID, segID) {
  5971. this.$rawNode = null;
  5972. this.$nodeID = objID;
  5973. this._center = null;
  5974. this.$center = null;
  5975. this.$isUturn = false;
  5976. this.$isEditable = true;
  5977. this.$isPartial = true;
  5978. this._rawRestrictions = [];
  5979. this._rawRestrictionIDs = [];
  5980. this._restrictions = null;
  5981. this.$restrictions = null;
  5982. this._rawOtherSegments = [];
  5983. this._otherSegments = null;
  5984. this.$otherSegments = null;
  5985. this._rawOutConnections = [];
  5986. this._outConnections = null;
  5987. this.$outConnections = null;
  5988. this._rawInConnections = [];
  5989. this._inConnections = null;
  5990. this.$inConnections = null;
  5991. this.$restrictionsLen = 0;
  5992. this.$otherSegmentsLen = 0;
  5993. this.$outConnectionsLen = 0;
  5994. this.$inConnectionsLen = 0;
  5995. var n = WMo.nodes.getObjectById(objID);
  5996. this.$rawNode = n;
  5997. if (n) {
  5998. this.$isPartial = n.attributes.partial;
  5999. this.$isEditable = true;
  6000. var co = n.attributes.restrictions;
  6001. for (var k in co) {
  6002. if (!co[k]) continue;
  6003. var _con = k.split(',');
  6004. var con0 = +_con[0];
  6005. if (+segID === con0) {
  6006. var con1 = +_con[1];
  6007. var cok = co[k];
  6008. for (var j = 0, l = cok.length; j < l; j++) {
  6009. this._rawRestrictions.push(cok[j]);
  6010. this._rawRestrictionIDs.push(con1)
  6011. }
  6012. }
  6013. }
  6014. this.$restrictionsLen = this._rawRestrictions.length;
  6015. for (var i = 0; i < n.attributes.segIDs.length; i++) {
  6016. var si = n.attributes.segIDs[i];
  6017. if (+segID === +si || !WMo.segments.getObjectById(si)) continue;
  6018. this._rawOtherSegments.push(si)
  6019. }
  6020. this.$otherSegmentsLen = this._rawOtherSegments.length;
  6021. co = n.attributes.connections;
  6022. for (var k in co) {
  6023. if (!co[k]) continue;
  6024. var _con = k.split(',');
  6025. var con0 = +_con[0];
  6026. var con1 = +_con[1];
  6027. if (+segID === con0 && +segID === con1) {
  6028. this.$isUturn = true;
  6029. continue
  6030. }
  6031. if (+segID === con0) this._rawOutConnections.push(con1);
  6032. if (+segID === con1) this._rawInConnections.push(con0)
  6033. }
  6034. }
  6035. this.$outConnectionsLen = this._rawOutConnections.length;
  6036. this.$inConnectionsLen = this._rawInConnections.length;
  6037. Object.defineProperties(this, {
  6038. $rawNode: {enumerable: false},
  6039. $nodeID: {writable: false},
  6040. _center: {enumerable: false},
  6041. $center: {get: this.getCenter},
  6042. $isUturn: {writable: false},
  6043. $isEditable: {writable: false},
  6044. $isPartial: {writable: false},
  6045. _rawRestrictions: {enumerable: false},
  6046. _rawRestrictionIDs: {enumerable: false},
  6047. _restrictions: {enumerable: false},
  6048. $restrictions: {get: this.getRestrictions},
  6049. _rawOtherSegments: {enumerable: false},
  6050. _otherSegments: {enumerable: false},
  6051. $otherSegments: {get: this.getOtherSegments},
  6052. _rawOutConnections: {enumerable: false},
  6053. _outConnections: {enumerable: false},
  6054. $outConnections: {get: this.getOutConnections},
  6055. _rawInConnections: {enumerable: false},
  6056. _inConnections: {enumerable: false},
  6057. $inConnections: {get: this.getInConnections},
  6058. $restrictionsLen: {writable: false},
  6059. $otherSegmentsLen: {writable: false},
  6060. $outConnectionsLen: {writable: false},
  6061. $inConnectionsLen: {writable: false}
  6062. })
  6063. }
  6064. SimpleNODE.prototype.getCenter = function() {
  6065. if (this._center) return this._center;
  6066. if (!this.$rawNode) return null;
  6067. var bounds = this.$rawNode.geometry.bounds;
  6068. this._center = (new OpenLayers.LonLat(bounds.left, bounds.bottom)).transform(WM.projection, WM.displayProjection);
  6069. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6070. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6071. return this._center
  6072. };
  6073. SimpleNODE.prototype.getRestrictions = function() {
  6074. var t;
  6075. return this._restrictions ? this._restrictions : (t = this, this._restrictions = this._rawRestrictions.map(function(e, i) {
  6076. return new SimpleRESTRICTION(e, t._rawRestrictionIDs[i])
  6077. }))
  6078. };
  6079. SimpleNODE.prototype.getOutConnections = function() {
  6080. return this._outConnections ? this._outConnections : this._outConnections = this._rawOutConnections.map(function(e) {
  6081. return new SimpleOBJECT(e, WMo.segments)
  6082. })
  6083. };
  6084. SimpleNODE.prototype.getInConnections = function() {
  6085. return this._inConnections ? this._inConnections : this._inConnections = this._rawInConnections.map(function(e) {
  6086. return new SimpleOBJECT(e, WMo.segments)
  6087. })
  6088. };
  6089. SimpleNODE.prototype.getOtherSegments = function() {
  6090. return this._otherSegments ? this._otherSegments : this._otherSegments = this._rawOtherSegments.map(function(e) {
  6091. return new SimpleOBJECT(e, WMo.segments)
  6092. })
  6093. };
  6094. function SimpleROADCLOSURE(obj) {
  6095. this.$id = obj.id;
  6096. this.$segID = obj.segID;
  6097. this.$active = obj.active;
  6098. this.$updatedOn = '';
  6099. this.$updatedBy = '';
  6100. this.$updatedByID = 0;
  6101. this.$updatedByLevel = 0;
  6102. this.$createdOn = '';
  6103. this.$createdBy = '';
  6104. this.$createdByID = 0;
  6105. this.$createdByLevel = 0;
  6106. this.$startDate = Date.parse(obj.startDate);
  6107. this.$endDate = Date.parse(obj.endDate);
  6108. this.$location = obj.location;
  6109. this.$reason = obj.reason;
  6110. if (obj.updatedOn) this.$updatedOn = formatDate('' + obj.updatedOn);
  6111. if (0 < obj.updatedBy) {
  6112. this.$updatedByID = obj.updatedBy;
  6113. this.$updatedBy = getUserName(obj.updatedBy);
  6114. this.$updatedByLevel = getUserLevel(obj.updatedBy)
  6115. }
  6116. if (obj.createdOn) this.$createdOn = formatDate('' + obj.createdOn);
  6117. if (obj.createdBy) {
  6118. this.$createdByID = obj.createdBy;
  6119. this.$createdBy = getUserName(obj.createdBy);
  6120. this.$createdByLevel = getUserLevel(obj.createdBy)
  6121. }
  6122. var past = new Date;
  6123. past.setDate(past.getDate() - 2);
  6124. this.$isInThePast = this.$endDate < past
  6125. }
  6126. function SimpleRESTRICTION(obj, segID) {
  6127. var timeFrame = obj.getTimeFrame();
  6128. this._to = null;
  6129. this.$to = null;
  6130. this.$toID = segID;
  6131. this.$allDay = timeFrame.isAllDay() || false;
  6132. this.$days = timeFrame.getWeekdays();
  6133. this.$description = obj.getDescription() || '';
  6134. this.$isEnabled = true;
  6135. this.$fromDate = timeFrame.getStartDate() || '';
  6136. this.$fromTime = timeFrame.getFromTime() || '';
  6137. this.$toDate = timeFrame.getEndDate() || '';
  6138. this.$toTime = timeFrame.getToTime() || '';
  6139. var past = new Date;
  6140. past.setDate(past.getDate() - 2);
  6141. this.$isInThePast = new Date(this.$toDate + ' ' + this.$toTime) < past;
  6142. Object.defineProperties(this, {
  6143. _to: {enumerable: false},
  6144. $to: {get: this.getTo},
  6145. $toID: {writable: false},
  6146. $allDay: {writable: false},
  6147. $days: {writable: false},
  6148. $description: {writable: false},
  6149. $isInThePast: {writable: false},
  6150. $isEnabled: {writable: false},
  6151. $fromDate: {writable: false},
  6152. $fromTime: {writable: false},
  6153. $toDate: {writable: false},
  6154. $toTime: {writable: false}
  6155. })
  6156. }
  6157. SimpleRESTRICTION.prototype.getTo = function() {
  6158. return this._to ? this._to : this._to = new SimpleOBJECT('' + this.$toID, WMo.segments)
  6159. };
  6160. function SimpleOBJECT(objID, model) {
  6161. this.$model = model;
  6162. var raw = this.$model.getObjectById(objID);
  6163. this.$rawObject = raw;
  6164. this._nodeA = null;
  6165. this.$nodeA = null;
  6166. this.$nodeAID = 0;
  6167. this._nodeB = null;
  6168. this.$nodeB = null;
  6169. this.$nodeBID = 0;
  6170. this._center = null;
  6171. this.$center = null;
  6172. this._restrictions = null;
  6173. this.$restrictions = null;
  6174. this.$name = '';
  6175. this.$brand = '';
  6176. this.$objectID = objID;
  6177. this.$address = null;
  6178. this.$isPoint = false;
  6179. this.$isTurnALocked = false;
  6180. this.$isTurnBLocked = false;
  6181. this.$isRoundabout = false;
  6182. this.$hasHNs = false;
  6183. this.$isEditable = false;
  6184. this.$forceNonEditable = false;
  6185. this.$mainCategory = '';
  6186. this.$categories = [];
  6187. this.$openingHours = [];
  6188. this.$phone = '';
  6189. this.$url = '';
  6190. this.$services = [];
  6191. this.$externalProviders = [];
  6192. this.$type = 0;
  6193. this.$typeRank = 0;
  6194. this.$direction = 0;
  6195. this.$isToll = false;
  6196. this.$elevation = 0;
  6197. this.$lock = 0;
  6198. this.$rank = 0;
  6199. this.$length = 0;
  6200. this.$updatedOn = '';
  6201. this.$updatedBy = '';
  6202. this.$updatedByID = 0;
  6203. this.$updatedByLevel = 0;
  6204. this.$createdOn = '';
  6205. this.$createdBy = '';
  6206. this.$createdByID = 0;
  6207. this.$createdByLevel = 0;
  6208. this.$alts = [];
  6209. this.restrictionsLen = 0;
  6210. this.$fwdMaxSpeed = 0;
  6211. this.$fwdMaxSpeedUnverified = true;
  6212. this.$revMaxSpeed = 0;
  6213. this.$revMaxSpeedUnverified = false;
  6214. this.$flags = null;
  6215. this.$hasClosures = false;
  6216. if (classCodeIs(raw, CC_UNDEFINED) || classCodeIs(raw, CC_NULL)) return;
  6217. var attrs = raw.attributes;
  6218. if (this.$model === WMo.segments) {
  6219. this.$nodeAID = attrs.fromNodeID;
  6220. this.$nodeBID = attrs.toNodeID;
  6221. this.$isRoutable = this.isRoutable();
  6222. this.$isTurnALocked = attrs.revTurnsLocked;
  6223. this.$isTurnBLocked = attrs.fwdTurnsLocked;
  6224. this.$isRoundabout = classCodeDefined(attrs.junctionID) && null !== attrs.junctionID;
  6225. this.$hasHNs = attrs.hasHNs;
  6226. this.$hasRestrictions = raw.hasRestrictions();
  6227. this.$restrictions = attrs.restrictions;
  6228. this.$type = attrs.roadType;
  6229. this.$typeRank = this.getTypeRank(attrs.roadType);
  6230. this.$direction = getDirection(raw);
  6231. this.$elevation = attrs.level;
  6232. if ('length' in attrs)
  6233. this.$length = attrs.length;
  6234. else
  6235. this.$length = Math.round(raw.geometry.getGeodesicLength(WM.projection));
  6236. this.$alts = attrs.streetIDs.map(function(objID) {
  6237. return new _WV.SimpleADDRESS(objID)
  6238. });
  6239. this.$restrictionsLen = attrs.restrictions.length;
  6240. this.$address = new _WV.SimpleADDRESS(attrs.primaryStreetID);
  6241. this.$fwdMaxSpeed = getLocalizedValue(+attrs.fwdMaxSpeed, this.$address.$country);
  6242. this.$fwdMaxSpeedUnverified = attrs.fwdMaxSpeedUnverified;
  6243. this.$revMaxSpeed = getLocalizedValue(+attrs.revMaxSpeed, this.$address.$country);
  6244. this.$revMaxSpeedUnverified = attrs.revMaxSpeedUnverified;
  6245. this.$hasClosures = attrs.hasClosures;
  6246. if (raw.getFlagAttributes) this.$flags = raw.getFlagAttributes()
  6247. } else {
  6248. this.$name = attrs.name;
  6249. this.$brand = attrs.brand;
  6250. if (this.$brand === null) this.$brand = '';
  6251. this.$isApproved = attrs.approved;
  6252. this.$mainCategory = raw.getMainCategory();
  6253. this.$categories = attrs.categories;
  6254. this.$categoryAttributes = attrs.categoryAttributes;
  6255. this.$openingHours = attrs.openingHours;
  6256. this.$services = attrs.services;
  6257. this.$externalProviders = attrs.externalProviderIDs;
  6258. this.$entryExitPoints = attrs.entryExitPoints;
  6259. this.$alts = attrs.aliases;
  6260. this.$address = new _WV.SimpleADDRESS(attrs.streetID);
  6261. this.$geometry = attrs.geometry;
  6262. this.$phone = attrs.phone;
  6263. this.$url = attrs.url;
  6264. this.$isPoint = raw.isPoint()
  6265. }
  6266. this.$isEditable = raw.arePropertiesEditable();
  6267. this.$lock = attrs.lockRank + 1;
  6268. this.$rank = attrs.rank + 1;
  6269. if (attrs.updatedOn) this.$updatedOn = formatDate(attrs.updatedOn);
  6270. if (0 < attrs.updatedBy) {
  6271. this.$updatedByID = attrs.updatedBy;
  6272. this.$updatedBy = getUserName(attrs.updatedBy);
  6273. this.$updatedByLevel = getUserLevel(attrs.updatedBy)
  6274. }
  6275. if (attrs.createdOn) this.$createdOn = formatDate(attrs.createdOn);
  6276. if (attrs.createdBy) {
  6277. this.$createdByID = attrs.createdBy;
  6278. this.$createdBy = getUserName(attrs.createdBy);
  6279. this.$createdByLevel = getUserLevel(attrs.createdBy)
  6280. }
  6281. Object.defineProperties(this, {
  6282. $rawSegment: {enumerable: false},
  6283. _nodeA: {enumerable: false},
  6284. $nodeA: {get: this.getNodeA},
  6285. $nodeAID: {writable: false},
  6286. _nodeB: {enumerable: false},
  6287. $nodeB: {get: this.getNodeB},
  6288. $nodeBID: {writable: false},
  6289. _center: {enumerable: false},
  6290. $center: {get: this.getCenter},
  6291. _restrictions: {enumerable: false},
  6292. $restrictions: {get: this.getRestrictions},
  6293. $segmentID: {writable: false},
  6294. $isRoutable: {writable: false},
  6295. $isPoint: {writable: false},
  6296. $isTurnALocked: {writable: false},
  6297. $isTurnBLocked: {writable: false},
  6298. $isRoundabout: {writable: false},
  6299. $hasHNs: {writable: false},
  6300. $typeRank: {writable: false},
  6301. $isEditable: {writable: false},
  6302. $rank: {writable: false},
  6303. $length: {writable: false},
  6304. $mainCategory: {writable: false},
  6305. $updatedOn: {writable: false},
  6306. $updatedBy: {writable: false},
  6307. $updatedByID: {writable: false},
  6308. $updatedByLevel: {writable: false},
  6309. $createdOn: {writable: false},
  6310. $createdBy: {writable: false},
  6311. $createdByID: {writable: false},
  6312. $createdByLevel: {writable: false},
  6313. $restrictionsLen: {writable: false}
  6314. })
  6315. }
  6316. SimpleOBJECT.prototype.isRoutable = function() {
  6317. var routeableRoadTypes = [RT_STREET, RT_PRIMARY, RT_MINOR, RT_MAJOR, RT_FREEWAY];
  6318. return routeableRoadTypes.includes(this.$type)
  6319. };
  6320. SimpleOBJECT.prototype.getTypeRank = function(typeID) {
  6321. 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]
  6322. };
  6323. SimpleOBJECT.prototype.getNodeA = function() {
  6324. return this._nodeA ? this._nodeA : this._nodeA = new SimpleNODE(this.$nodeAID, this.$objectID)
  6325. };
  6326. SimpleOBJECT.prototype.getNodeB = function() {
  6327. return this._nodeB ? this._nodeB : this._nodeB = new SimpleNODE(this.$nodeBID, this.$objectID)
  6328. };
  6329. SimpleOBJECT.prototype.getCenter = function() {
  6330. if (this._center) return this._center;
  6331. this._center = this.$rawObject.geometry.bounds.getCenterLonLat().clone().transform(WM.projection, WM.displayProjection);
  6332. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6333. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6334. return this._center
  6335. };
  6336. SimpleOBJECT.prototype.getRestrictions = function() {
  6337. var t;
  6338. return this._restrictions ? this._restrictions : this._restrictions = this.$model == WMo.venues ? [] : (t = this, this.$rawObject.attributes.restrictions.map(function(e) {
  6339. return new SimpleRESTRICTION(e, t.$objectID)
  6340. }))
  6341. };
  6342. SimpleOBJECT.prototype.report = function(params) {
  6343. if (classCodeIs(params, CC_NUMBER)) params = {$checkID: params};
  6344. var id = params.$checkID;
  6345. if (!id || !isLimitOk(id)) return;
  6346. function getObjectCopy(ss) {
  6347. return {
  6348. $objectID: ss.$objectID, $model: ss.$model, $name: ss.$name, $countryID: +ss.$address.$countryID, $cityID: +ss.$address.$cityID, $streetID: +ss.$address.$streetID, $reportIDs: {},
  6349. $updated: ss.$updatedOn ? ss.$rawObject.attributes.updatedOn : ss.$createdOn ? ss.$rawObject.attributes.createdOn : 0,
  6350. $userID: ss.$updatedByID ? +ss.$updatedByID : ss.$createdByID ? +ss.$createdByID : 0,
  6351. $isEditable: ss.$isEditable && (ss.$nodeA.$isEditable || ss.$nodeA.$isPartial) && (ss.$nodeB.$isEditable || ss.$nodeB.$isPartial), $typeRank: +ss.$typeRank, $center: ss.$center,
  6352. $length: +ss.$length
  6353. }
  6354. }
  6355. var rep = _REP.$cityIDs[this.$address.$cityID];
  6356. var check = _RT.$checks[id];
  6357. if (_repRC[id])
  6358. _repRC[id]++;
  6359. else
  6360. _repRC[id] = 1;
  6361. if (LIMIT_PERCHECK < _repRC[id]) {
  6362. _REP.$isLimitPerCheck = true;
  6363. return
  6364. }
  6365. if (params.$cityParam) rep.$params[id] = params.$cityParam;
  6366. var sid = this.$address.$streetID;
  6367. if (!(sid in rep.$streetIDs)) {
  6368. rep.$unsortedStreetIDs.push(sid);
  6369. _repS[sid] = this.$address.$street;
  6370. rep.$streetIDs[sid] = {};
  6371. rep.$streetIDs[sid].$params = {};
  6372. rep.$streetIDs[sid].$objectIDs = {};
  6373. rep.$streetIDs[sid].$unsortedObjectIDs = [];
  6374. rep.$streetIDs[sid].$sortedObjectIDs = []
  6375. }
  6376. rep = rep.$streetIDs[sid];
  6377. if (params.$streetParam) rep.$params[id] = params.$streetParam;
  6378. if (!(this.$objectID in rep.$objectIDs)) {
  6379. rep.$unsortedObjectIDs.push(this.$objectID);
  6380. rep.$objectIDs[this.$objectID] = getObjectCopy(this)
  6381. }
  6382. var objectCopy = rep.$objectIDs[this.$objectID];
  6383. var uid = objectCopy.$userID;
  6384. if (!(uid in _repU)) {
  6385. var n = '';
  6386. if (uid === this.$createdByID)
  6387. n = this.$createdBy;
  6388. else if (uid === this.$updatedByID)
  6389. n = this.$updatedBy;
  6390. _repU[uid] = n
  6391. }
  6392. var seenObj = _RT.$seen[this.$objectID];
  6393. if (this.$forceNonEditable) {
  6394. this.$forceNonEditable = false;
  6395. objectCopy.$isEditable = false;
  6396. if (_REP.$maxSeverity <= seenObj[I_SEVERITY] || _REP.$maxSeverity <= check.SEVERITY) bUpdateMaxSeverity = true
  6397. }
  6398. objectCopy.$reportIDs[id] = params.$param;
  6399. if (_REP.$maxSeverity < check.SEVERITY)
  6400. if (checkFilter(check.SEVERITY, objectCopy, null) && getFilteredSeverity(check.SEVERITY, id, true)) _REP.$maxSeverity = check.SEVERITY;
  6401. if (!check.REPORTONLY && seenObj[I_SEVERITY] < check.SEVERITY) seenObj[I_SEVERITY] = check.SEVERITY;
  6402. seenObj[I_OBJECTCOPY] = objectCopy
  6403. };
  6404. SimpleOBJECT.prototype.incCityCounter = function() {
  6405. var rep = _REP.$cityIDs;
  6406. var cid = this.$address.$cityID;
  6407. if (!(cid in rep)) {
  6408. _REP.$countries[this.$address.$countryID] = this.$address.$country;
  6409. _REP.$unsortedCityIDs.push(cid);
  6410. _repC[cid] = this.$address.$city;
  6411. _repCC[cid] = 0;
  6412. rep[cid] = {};
  6413. rep[cid].$params = {};
  6414. rep[cid].$streetIDs = {};
  6415. rep[cid].$unsortedStreetIDs = [];
  6416. rep[cid].$sortedStreetIDs = []
  6417. }
  6418. _repCC[cid]++;
  6419. _REP.$counterTotal++
  6420. };
  6421. function deleteCityCheck(cityID, checkID) {
  6422. var repS = _REP.$cityIDs[cityID].$streetIDs;
  6423. for (var sid in repS) {
  6424. if (!repS.hasOwnProperty(sid)) continue;
  6425. var repSG = repS[sid].$objectIDs;
  6426. for (var sgid in repSG) {
  6427. if (!repSG.hasOwnProperty(sgid)) continue;
  6428. var reportIDs = repSG[sgid].$reportIDs;
  6429. if (!(checkID in reportIDs)) continue;
  6430. var seen = _RT.$seen[sgid];
  6431. var maxSev = 0;
  6432. var filSev = 0;
  6433. delete reportIDs[checkID];
  6434. for (var repID in reportIDs) {
  6435. if (!reportIDs.hasOwnProperty(repID)) continue;
  6436. var check = _RT.$checks[repID];
  6437. if (!check) continue;
  6438. if (filSev < check.SEVERITY && getFilteredSeverity(check.SEVERITY, repID, true)) filSev = check.SEVERITY;
  6439. if (maxSev < check.SEVERITY) {
  6440. maxSev = check.SEVERITY;
  6441. if (_RT.$curMaxSeverity === maxSev) break
  6442. }
  6443. }
  6444. seen[I_SEVERITY] = maxSev;
  6445. reHLObjectID(+sgid, filSev)
  6446. }
  6447. }
  6448. }
  6449. function getCityCmpObj(cityID, city, otherCity) {
  6450. var obj = {
  6451. $cityID: cityID,
  6452. $counterReported: 0,
  6453. $limit: 0,
  6454. $city: city,
  6455. $otherCity: otherCity,
  6456. $CITY: city.toUpperCase(),
  6457. $noCountyCity: '',
  6458. $noAbbreviationCity: '',
  6459. $sortedCity: '',
  6460. $noSpaceCity: '',
  6461. $reason: ''
  6462. };
  6463. obj.$noCountyCity = obj.$CITY.replace(/ *\([^\)]+\) */g, '').replace(/ *,.*/g, '');
  6464. obj.$noAbbreviationCity = obj.$noCountyCity.replace(/ *[^\. ]+ *\. */g, '');
  6465. obj.$noDigitsCity = obj.$noCountyCity.replace(/ *\d+ */g, ' ');
  6466. obj.$sortedCity = obj.$noAbbreviationCity.split(' ').sort().join(' ');
  6467. obj.$noSpaceCity = obj.$noAbbreviationCity.split(' ').join('');
  6468. return obj
  6469. }
  6470. function setCmpObjLimits(obj1, obj2) {
  6471. var curCase = '';
  6472. if (obj1.$city === obj2.$city) {
  6473. curCase = trS('city.12') + ' ' + obj1.$cityID + ' & ' + obj2.$cityID;
  6474. obj1.$reason = obj2.$reason = curCase;
  6475. obj1.$limit = obj2.$limit = 100;
  6476. return
  6477. }
  6478. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity && obj1.$noSpaceCity === obj2.$noAbbreviationCity) {
  6479. obj1.$reason = trS('city.13r');
  6480. obj2.$reason = trS('city.13a');
  6481. obj1.$limit = 10;
  6482. obj2.$limit = 1E3;
  6483. return
  6484. }
  6485. if ((new RegExp('(^| )' + obj1.$sortedCity)).test(obj2.$sortedCity)) {
  6486. if (obj1.$noCountyCity.length !== obj1.$noAbbreviationCity.length) {
  6487. curCase = trS('city.2');
  6488. obj1.$reason = obj2.$reason = curCase;
  6489. obj1.$limit = 1E3;
  6490. obj2.$limit = 10;
  6491. return
  6492. }
  6493. if (3 > obj1.$city.length) {
  6494. curCase = trS('city.3');
  6495. obj1.$reason = obj2.$reason = curCase;
  6496. obj1.$limit = 1E3;
  6497. obj2.$limit = 0;
  6498. return
  6499. }
  6500. if (obj1.$CITY === obj2.$CITY) {
  6501. curCase = trS('city.5');
  6502. obj1.$reason = obj2.$reason = curCase;
  6503. if (obj1.$city.charAt(0) !== obj1.$CITY.charAt(0)) {
  6504. obj1.$limit = 1E3;
  6505. obj2.$limit = 10
  6506. } else {
  6507. obj1.$limit = 10;
  6508. obj2.$limit = 1E3
  6509. }
  6510. return
  6511. }
  6512. if (obj1.$sortedCity === obj2.$sortedCity) {
  6513. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity) {
  6514. curCase = trS('city.6');
  6515. obj1.$reason = obj2.$reason = curCase;
  6516. obj1.$limit = obj2.$limit = 1E3;
  6517. return
  6518. }
  6519. if (obj1.$city.length === obj1.$noCountyCity.length) {
  6520. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6521. curCase = trS('city.7');
  6522. obj1.$reason = obj2.$reason = curCase;
  6523. obj1.$limit = obj2.$limit = 1E3
  6524. } else {
  6525. obj1.$reason = trS('city.8a');
  6526. obj2.$reason = trS('city.8r');
  6527. obj1.$limit = 1E3;
  6528. obj2.$limit = 10
  6529. }
  6530. return
  6531. }
  6532. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6533. obj1.$reason = trS('city.8r');
  6534. obj2.$reason = trS('city.8a');
  6535. obj1.$limit = 10;
  6536. obj2.$limit = 1E3
  6537. } else {
  6538. curCase = trS('city.9');
  6539. obj1.$reason = obj2.$reason = curCase;
  6540. obj1.$limit = obj2.$limit = 1E3
  6541. }
  6542. return
  6543. }
  6544. if ((new RegExp(obj1.$sortedCity + '( |$)')).test(obj2.$sortedCity)) {
  6545. if (4 < obj2.$sortedCity.length - obj1.$sortedCity.length) {
  6546. obj1.$reason = trS('city.10a');
  6547. obj2.$reason = trS('city.10r');
  6548. obj1.$limit = obj2.$limit = 10;
  6549. return
  6550. }
  6551. if (obj1.$noDigitsCity === obj2.$noDigitsCity) {
  6552. curCase = trS('city.14');
  6553. obj1.$reason = obj2.$reason = curCase;
  6554. obj1.$limit = obj2.$limit = 1;
  6555. return
  6556. }
  6557. curCase = trS('city.11');
  6558. obj1.$reason = obj2.$reason = curCase;
  6559. obj1.$limit = 1E3;
  6560. obj2.$limit = 10;
  6561. return
  6562. }
  6563. curCase = trS('city.4');
  6564. obj1.$reason = obj2.$reason = curCase;
  6565. obj1.$limit = 1E3;
  6566. obj2.$limit = 10;
  6567. return
  6568. }
  6569. }
  6570. function addHLedObjects() {
  6571. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6572. var features = [];
  6573. for (var i in _RT.$HLedObjects) {
  6574. if (!_RT.$HLedObjects.hasOwnProperty(i)) continue;
  6575. var obj = _RT.$HLedObjects[i];
  6576. if (obj.$severity) features.push(new OpenLayers.Feature.Vector(obj.$geometry.clone(), {0: obj.$severity}))
  6577. }
  6578. _RT.$HLlayer.destroyFeatures();
  6579. _RT.$HLlayer.addFeatures(features)
  6580. }
  6581. function HLObject(rawObject) {
  6582. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6583. var objectID = rawObject.getID();
  6584. var seenObj = _RT.$seen[objectID];
  6585. var severity = seenObj[I_SEVERITY];
  6586. var objectCopy = seenObj[I_OBJECTCOPY];
  6587. if (!severity || !objectCopy || !checkFilter(severity, objectCopy, null)) return;
  6588. var filteredSeverity = getFilteredSeverityObj(severity, objectCopy.$reportIDs, true);
  6589. if (!filteredSeverity) return;
  6590. var obj = {$severity: filteredSeverity, $geometry: rawObject.geometry};
  6591. _RT.$HLedObjects[objectID] = obj
  6592. }
  6593. function reHLObjectID(objectID, newSeverity) {
  6594. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6595. if (_REP.$maxSeverity !== newSeverity) bUpdateMaxSeverity = true;
  6596. if (oExcludeNotes && RS_NOTE === newSeverity) newSeverity = 0;
  6597. if (objectID in _RT.$HLedObjects) {
  6598. var hlObj = _RT.$HLedObjects[objectID];
  6599. hlObj.$severity = newSeverity
  6600. }
  6601. }
  6602. function deleteSeenObject(objectID) {
  6603. reHLObjectID(objectID, 0);
  6604. var seen = null;
  6605. if (objectID in _RT.$seen) seen = _RT.$seen[objectID];
  6606. if (!seen) return;
  6607. if (_REP.$maxSeverity <= seen[I_SEVERITY]) bUpdateMaxSeverity = true;
  6608. var objectCopy = seen[I_OBJECTCOPY];
  6609. var cityID = seen[I_CITYID];
  6610. delete _RT.$seen[objectID];
  6611. if (0 < _REP.$counterTotal) _REP.$counterTotal--;
  6612. if (0 < _repCC[cityID]) _repCC[cityID]--;
  6613. if (!objectCopy) return;
  6614. var repC = _REP.$cityIDs;
  6615. for (var cid in repC) {
  6616. if (!repC.hasOwnProperty(cid)) continue;
  6617. var repS = repC[cid].$streetIDs;
  6618. for (var sid in repS) {
  6619. if (!repS.hasOwnProperty(sid)) continue;
  6620. var repSG = repS[sid].$objectIDs;
  6621. for (var sgid in repSG) {
  6622. if (!repSG.hasOwnProperty(sgid) || sgid !== objectID) continue;
  6623. var reportIDs = repSG[sgid].$reportIDs;
  6624. for (var repID in reportIDs) {
  6625. if (!reportIDs.hasOwnProperty(repID)) continue;
  6626. if (0 < _repRC[repID]) _repRC[repID]--
  6627. }
  6628. delete repSG[sgid];
  6629. var repUSG = repS[sid].$unsortedObjectIDs;
  6630. repUSG.splice(repUSG.indexOf(sgid), 1);
  6631. repS[sid].$sortedObjectIDs = [];
  6632. return
  6633. }
  6634. }
  6635. }
  6636. }
  6637. function updateObjectProperties(selectedObjects, disabledHL) {
  6638. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6639. var prop = document.getElementById('i' + ID_PROPERTY);
  6640. var propDis = document.getElementById('i' + ID_PROPERTY_DISABLED);
  6641. var defID = ID_PROPERTY;
  6642. var defHTML = '';
  6643. if (disabledHL) {
  6644. defID = ID_PROPERTY_DISABLED;
  6645. defHTML = '<div class="direction-message">' +
  6646. '<i class="fa fa-info-circle" aria-hidden="true"></i> ' + trS('props.disabled') + '</div> ';
  6647. if (prop) prop.parentNode.removeChild(prop);
  6648. prop = propDis
  6649. } else if (propDis)
  6650. propDis.parentNode.removeChild(propDis);
  6651. if (prop)
  6652. prop.innerHTML = defHTML;
  6653. else {
  6654. var objectProperties = document.getElementsByClassName('selection-icon')[0];
  6655. if (!objectProperties) objectProperties = document.getElementsByClassName('landmark')[0];
  6656. if (objectProperties) {
  6657. var d = document.createElement('div');
  6658. d.innerHTML = defHTML;
  6659. d.id = 'i' + defID;
  6660. d.style.cssText = 'text-transform: none; padding: 5px;';
  6661. prop = objectProperties.appendChild(d)
  6662. }
  6663. }
  6664. if (disabledHL) return;
  6665. if (!selectedObjects.length) return;
  6666. var selectedIssues = [];
  6667. for (var i = 0; i < selectedObjects.length; i++) {
  6668. var objectID = selectedObjects[i];
  6669. if (objectID in _RT.$seen) {
  6670. var objectCopy = _RT.$seen[objectID][I_OBJECTCOPY];
  6671. if (!objectCopy) continue;
  6672. for (var cid in objectCopy.$reportIDs)
  6673. if (objectCopy.$reportIDs.hasOwnProperty(cid)) {
  6674. var check = _RT.$checks[cid];
  6675. if (check.REPORTONLY) continue;
  6676. selectedIssues.push([check, objectCopy, cid])
  6677. }
  6678. }
  6679. }
  6680. var newProp = '<b style="display:block"><a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">WME Validator</a> ' + trS('props.reports') + ':</b>';
  6681. if (_REP.$isLimitPerCheck)
  6682. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6683. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6684. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.limit.title') + '</a></span>' +
  6685. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6686. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6687. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.limit.problem') + '.</div>' +
  6688. '<i class="fa fa-check-square-o fa-lg fa-pull-left" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6689. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6690. '<p>' + trS('props.limit.solution') + '.</p>' +
  6691. '</div></div><br></div>';
  6692. if (skippedObject)
  6693. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6694. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6695. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.skipped.title') + '</a></span>' +
  6696. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6697. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6698. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.skipped.problem') + '.</div>' +
  6699. '</div><br></div>';
  6700. if (!selectedIssues.length) {
  6701. if (prop && (_REP.$isLimitPerCheck || skippedObject)) prop.innerHTML = newProp;
  6702. return
  6703. }
  6704. selectedIssues.sort(function(a, b) {
  6705. return cmpCheckIDs(a[2], b[2])
  6706. });
  6707. var selectedCounters = {};
  6708. selectedIssues = selectedIssues.filter(function(e, i, arr) {
  6709. var checkID = e[2];
  6710. if (i && arr[i - 1][2] === checkID) {
  6711. selectedCounters[checkID]++;
  6712. return false
  6713. }
  6714. selectedCounters[checkID] = 1;
  6715. return true
  6716. });
  6717. selectedIssues.forEach(function(e) {
  6718. var check = e[0];
  6719. var objectCopy = e[1];
  6720. var checkID = e[2];
  6721. var checkCounter = selectedCounters[checkID];
  6722. var sevClass = 0;
  6723. var sevIcon = '';
  6724. var sevBG = '';
  6725. var strCountry = _REP.$countries[objectCopy.$countryID];
  6726. var ccode = '';
  6727. if (strCountry)
  6728. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  6729. else
  6730. ccode = _RT.$cachedTopCCode;
  6731. options = trO(check.OPTIONS, ccode);
  6732. switch (check.SEVERITY) {
  6733. case RS_NOTE:
  6734. sevClass = CL_NOTE;
  6735. sevIcon = 'info-circle';
  6736. sevBG = GL_NOTEBGCOLOR;
  6737. break;
  6738. case RS_WARNING:
  6739. sevClass = CL_WARNING;
  6740. sevIcon = 'exclamation-triangle';
  6741. sevBG = GL_WARNINGBGCOLOR;
  6742. break;
  6743. case RS_ERROR:
  6744. sevClass = CL_ERROR;
  6745. sevIcon = 'times-circle';
  6746. sevBG = GL_ERRORBGCOLOR;
  6747. break;
  6748. case RS_CUSTOM1:
  6749. sevClass = CL_CUSTOM1;
  6750. sevIcon = 'user';
  6751. sevBG = GL_CUSTOM1BGCOLOR;
  6752. break;
  6753. case RS_CUSTOM2:
  6754. sevClass = CL_CUSTOM2;
  6755. sevIcon = 'user';
  6756. sevBG = GL_CUSTOM2BGCOLOR;
  6757. break
  6758. }
  6759. var shortTitle = exSOS(check.TITLE, options, 'titleEN').replace('WME Color Highlights', 'WMECH').replace('WME Toolbox', 'WMETB');
  6760. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + sevClass + '">' +
  6761. '<span><i class="fa fa-' + sevIcon + '" aria-hidden="true"></i>' +
  6762. ' <a class="c' + sevClass + '" href="#">' + shortTitle + (1 < checkCounter ? ' (' + checkCounter + ')' : '') + '</a></span>' +
  6763. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6764. '<i class="fa fa-' + sevIcon + ' fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6765. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6766. '#' + checkID + ' ' + exSOS(check.PROBLEM, options, 'problemEN');
  6767. var pl = trO(check.PROBLEMLINK, ccode);
  6768. if (pl)
  6769. newProp += ': <a target="_blank" href="' + pl + '">' + trO(check.PROBLEMLINKTEXT, ccode) + '</a>';
  6770. else
  6771. newProp += '.';
  6772. newProp += '</div>';
  6773. if (objectCopy.$isEditable) {
  6774. newProp += '<i class="fa fa-check-square-o fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6775. '<div class="c' + CL_RIGHTTIPDESCR + '">';
  6776. if (check.SOLUTION) {
  6777. newProp += '<p>' + exSOS(check.SOLUTION, options, 'solutionEN');
  6778. var sl = trO(check.SOLUTIONLINK, ccode);
  6779. if (sl)
  6780. newProp += ': <a target="_blank" href="' + sl + '">' + trO(check.SOLUTIONLINKTEXT, ccode) + '</a>';
  6781. else
  6782. newProp += '.';
  6783. newProp += '</p>'
  6784. }
  6785. } else
  6786. newProp += '<i class="fa fa-ban fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6787. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6788. '<p>' + trS('props.noneditable') + '.</p>';
  6789. var cityID = objectCopy.$cityID;
  6790. var cityParam = _REP.$cityIDs[cityID].$params[checkID];
  6791. if (cityParam) newProp += '<p>' + cityParam + '</p>';
  6792. var streetID = objectCopy.$streetID;
  6793. var streetParam = _REP.$cityIDs[cityID].$streetIDs[streetID].$params[checkID];
  6794. if (streetParam) newProp += '<p>' + streetParam + '</p>';
  6795. newProp += '</div></div><br></div>'
  6796. });
  6797. if (prop) prop.innerHTML = newProp
  6798. }
  6799. function matchRegExp(checkID, objectID, expandedString, options) {
  6800. var optRegExp = options[CO_REGEXP];
  6801. if (!optRegExp) return false;
  6802. var optString = options[CO_STRING];
  6803. var optBool = options[CO_BOOL];
  6804. if (options[CO_NUMBER] && 0 < _REP.$debugCounter) {
  6805. var checkTitle = '';
  6806. if (_RT.$checks[checkID] && _RT.$checks[checkID].TITLE) checkTitle = _RT.$checks[checkID].TITLE;
  6807. var reported = optRegExp.test(expandedString) ? optBool ? false : true : optBool ? true : false;
  6808. _REP.$debugCounter--;
  6809. log(getMsg(
  6810. 'debug log for segment ' + objectID + ', check #' + checkID,
  6811. '\n1. ' + (optString ? 'Expand template: ' + optString + ' -> ' : 'String: ') + expandedString + '\n2. Match RegExp: ' + (optBool ? 'not ' : '') + optRegExp + ' -> ' +
  6812. JSON.stringify(expandedString.match(optRegExp)) + '\n=> ' + (reported ? 'REPORT the segment as #' + checkID + ' \'' + checkTitle + '\'' : 'skip the segment') +
  6813. (0 < _REP.$debugCounter ? '' : '\nEnd of debug log. Click \'✘\' (Clear report) button to start debug over.')))
  6814. }
  6815. if (optRegExp.test(expandedString)) {
  6816. if (!optBool) return true
  6817. } else if (optBool)
  6818. return true;
  6819. return false
  6820. }
  6821. function checkPublicConnection(seg, ignoreSegment) {
  6822. var foundPublicConnection = false;
  6823. if (!seg.$nodeA.$isPartial && seg.$nodeA.$otherSegmentsLen > 0)
  6824. for (var i = 0; i < seg.$nodeA.$otherSegmentsLen; i++) {
  6825. var otherSegment = seg.$nodeA.$otherSegments[i];
  6826. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6827. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6828. foundPublicConnection = true;
  6829. break
  6830. }
  6831. }
  6832. if (!seg.$nodeB.$isPartial && seg.$nodeB.$otherSegmentsLen > 0)
  6833. for (var i = 0; i < seg.$nodeB.$otherSegmentsLen; i++) {
  6834. var otherSegment = seg.$nodeB.$otherSegments[i];
  6835. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6836. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6837. foundPublicConnection = true;
  6838. break
  6839. }
  6840. }
  6841. return foundPublicConnection
  6842. }
  6843. var reportWMECH = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED;
  6844. var reportToolbox = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportToolbox.CHECKED;
  6845. var currentZoom = WM.getZoom();
  6846. var slowChecks = _UI.pSettings.pScanner.oSlowChecks.CHECKED && 3 < currentZoom;
  6847. var oExcludeNotes = _UI.pMain.pFilter.oExcludeNotes.CHECKED;
  6848. var selectedObjects = [];
  6849. _RT.$HLedObjects = {};
  6850. for (var segmentKey in WMo.segments.objects) {
  6851. var rawSegment = WMo.segments.objects[segmentKey];
  6852. var segmentID = rawSegment.getID();
  6853. if (_RT.$topUser.$userLevel <= rawSegment.attributes.lockRank && rawSegment.attributes.updatedOn && 13989024E5 < rawSegment.attributes.updatedOn) {
  6854. if (rawSegment.selected) {
  6855. skippedObject = true;
  6856. if (!DEF_DEBUG) selectedObjects.push(segmentID)
  6857. }
  6858. if (!DEF_DEBUG) continue
  6859. }
  6860. if (rawSegment.layer && rawSegment.id in rawSegment.layer.unrenderedFeatures) continue;
  6861. if ('Delete' === rawSegment.state) continue;
  6862. var seen = null;
  6863. if (segmentID in _RT.$seen) seen = _RT.$seen[segmentID];
  6864. if (rawSegment.selected) {
  6865. selectedObjects.push(segmentID);
  6866. _RT.$revalidate[segmentID] = true;
  6867. if (seen && !seen[I_ISWMECHCOLOR]) {
  6868. deleteSeenObject(segmentID);
  6869. seen = null
  6870. }
  6871. } else if (segmentID in _RT.$revalidate) {
  6872. deleteSeenObject(segmentID);
  6873. seen = null;
  6874. delete _RT.$revalidate[segmentID];
  6875. delete rawSegment[GL_WMECHCOLOR]
  6876. }
  6877. var segmentGeometry = document.getElementById(rawSegment.geometry.id);
  6878. if (segmentGeometry) {
  6879. var strokeColor = segmentGeometry.getAttribute('stroke').toUpperCase();
  6880. if (4 === strokeColor.length) strokeColor = '#' + strokeColor.charAt(1) + strokeColor.charAt(1) + strokeColor.charAt(2) + strokeColor.charAt(2) + strokeColor.charAt(3) + strokeColor.charAt(3);
  6881. if (strokeColor in _RT.$WMECHcolors) rawSegment[GL_WMECHCOLOR] = strokeColor
  6882. }
  6883. if (seen) {
  6884. var isTBColor = GL_TBCOLOR in rawSegment;
  6885. var isWMECHColor = GL_WMECHCOLOR in rawSegment;
  6886. if (!seen[I_ISPARTIAL] && isTBColor === seen[I_ISTBCOLOR] && isWMECHColor === seen[I_ISWMECHCOLOR]) {
  6887. HLObject(rawSegment);
  6888. continue
  6889. }
  6890. }
  6891. var segment = new SimpleOBJECT(segmentID, WMo.segments);
  6892. Object.seal(segment);
  6893. var address = segment.$address;
  6894. var country = address.$country;
  6895. var countryLen = country.length;
  6896. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  6897. var city = address.$city;
  6898. var cityLen = city.length;
  6899. var cityID = address.$cityID;
  6900. var street = address.$street;
  6901. var state = address.$state;
  6902. var streetLen = street.length;
  6903. var alts = segment.$alts;
  6904. var roadType = segment.$type;
  6905. var typeRank = segment.$typeRank;
  6906. var isToll = segment.$isToll;
  6907. var direction = segment.$direction;
  6908. var elevation = segment.$elevation;
  6909. var lock = Math.max(segment.$lock, segment.$rank);
  6910. var segmentLen = segment.$length;
  6911. var isRoundabout = segment.$isRoundabout;
  6912. var hasHNs = segment.$hasHNs;
  6913. var isDrivable = RR_TRAIL < typeRank;
  6914. var nodeA = segment.$nodeA;
  6915. var nodeB = segment.$nodeB;
  6916. var nodeAID = segment.$nodeAID;
  6917. var nodeBID = segment.$nodeBID;
  6918. var isPartial = nodeA.$isPartial || nodeB.$isPartial;
  6919. var forwardSpeed = segment.$fwdMaxSpeed;
  6920. var reverseSpeed = segment.$revMaxSpeed;
  6921. var forwardSpeedUnverified = segment.$fwdMaxSpeedUnverified;
  6922. var reverseSpeedUnverified = segment.$revMaxSpeedUnverified;
  6923. var hasRestrictions = segment.$hasRestrictions;
  6924. var hasClosures = segment.$hasClosures;
  6925. var flags = segment.$flags;
  6926. var now = Date.now();
  6927. if (seen) {
  6928. if (seen[I_ISPARTIAL] && isPartial) {
  6929. HLObject(rawSegment);
  6930. continue
  6931. }
  6932. deleteSeenObject(segmentID);
  6933. seen = null
  6934. }
  6935. _RT.$seen[segmentID] = seen = [0, null, GL_TBCOLOR in rawSegment, GL_WMECHCOLOR in rawSegment, isPartial || 4 > currentZoom, cityID];
  6936. segment.incCityCounter();
  6937. if (segment.$isEditable) _REP.$isEditableFound = true;
  6938. if (GL_NOID === street) {
  6939. deleteSeenObject(segmentID);
  6940. continue
  6941. }
  6942. _RT.$isGlobalAccess = true;
  6943. if (!address.isOkFor(0)) {
  6944. _RT.$isGlobalAccess = false;
  6945. continue
  6946. }
  6947. if (slowChecks && RT_RAILROAD !== roadType) {
  6948. if (nodeA.$otherSegmentsLen && isLimitOk(118)) {
  6949. var rawNode = nodeA.$rawNode;
  6950. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6951. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  6952. var otherSegment = nodeA.$otherSegments[i];
  6953. if (!otherSegment.$rawSegment) continue;
  6954. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  6955. var angle = Math.abs(baseAngle - curAngle);
  6956. if (angle > 180) angle = 360 - angle;
  6957. if (2 > angle && address.isOkFor(118)) {
  6958. segment.report(118);
  6959. break
  6960. }
  6961. }
  6962. }
  6963. if (nodeB.$otherSegmentsLen && isLimitOk(119)) {
  6964. var rawNode = nodeB.$rawNode;
  6965. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6966. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  6967. var otherSegment = nodeB.$otherSegments[i];
  6968. if (!otherSegment.$rawSegment) continue;
  6969. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  6970. var angle = Math.abs(baseAngle - curAngle);
  6971. if (angle > 180) angle = 360 - angle;
  6972. if (2 > angle && address.isOkFor(119)) {
  6973. segment.report(119);
  6974. break
  6975. }
  6976. }
  6977. }
  6978. }
  6979. if (!countryLen && isLimitOk(23)) {
  6980. seen[I_ISPARTIAL] = false;
  6981. if (address.isOkFor(23)) {
  6982. segment.report(23);
  6983. HLObject(rawSegment)
  6984. }
  6985. continue
  6986. }
  6987. if (streetLen && address.isOkFor(101)) {
  6988. options = getCheckOptions(101, countryCode);
  6989. if (options[CO_REGEXP].test(street)) {
  6990. segment.report(101);
  6991. HLObject(rawSegment);
  6992. continue
  6993. }
  6994. }
  6995. if (!state && address.isOkFor(106)) segment.report(106);
  6996. if (reportToolbox && address.isOkFor(CK_TBFIRST)) {
  6997. var col = rawSegment[GL_TBCOLOR];
  6998. if (col) {
  6999. col = col.toUpperCase();
  7000. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7001. var check = _RT.$checks[i];
  7002. if (check.COLOR === col) {
  7003. segment.report(i);
  7004. break
  7005. }
  7006. }
  7007. }
  7008. }
  7009. if (reportWMECH && address.isOkFor(CK_WMECHFIRST)) {
  7010. var col = rawSegment[GL_WMECHCOLOR];
  7011. if (col)
  7012. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7013. var check = _RT.$checks[i];
  7014. if (check && check.COLOR === col) {
  7015. segment.report(i);
  7016. break
  7017. }
  7018. }
  7019. }
  7020. if (alts.length && address.isOkFor(34))
  7021. for (var i = 0; i < alts.length; i++)
  7022. if (!alts[i].$street) {
  7023. segment.report(34);
  7024. break
  7025. }
  7026. if (slowChecks && segment.$restrictionsLen && isLimitOk(38) && address.isOkFor(38)) {
  7027. var restrictions = segment.$restrictions;
  7028. for (var i = 0; i < restrictions.length; i++)
  7029. if (restrictions[i].$isInThePast) {
  7030. segment.report(38);
  7031. break
  7032. }
  7033. }
  7034. if (slowChecks && (nodeA.$restrictionsLen || nodeB.$restrictionsLen) && isLimitOk(39) && address.isOkFor(39)) {
  7035. var restrictions = nodeA.$restrictions.concat(nodeB.$restrictions);
  7036. for (var i = 0; i < restrictions.length; i++) {
  7037. var restriction = restrictions[i];
  7038. if (restriction.$isInThePast) {
  7039. var param = '';
  7040. if (restriction.$to.$address && restriction.$to.$address.$street) param = 'turn to ' + restriction.$to.$address.$street;
  7041. segment.report({$checkID: 39, $streetParam: param});
  7042. break
  7043. }
  7044. }
  7045. }
  7046. if (nodeAID && nodeAID === nodeBID && address.isOkFor(43)) segment.report(43);
  7047. if (RT_RAILROAD === roadType && 100 > segmentLen && !isPartial && !nodeA.$otherSegmentsLen && !nodeB.$otherSegmentsLen && address.isOkFor(104)) segment.report(104);
  7048. if (RT_TRAIL === roadType && -5 === elevation && address.isOkFor(105)) segment.report(105);
  7049. if ((9 < elevation || -5 > elevation) && address.isOkFor(116)) segment.report(116);
  7050. var expandOptions = {
  7051. 'country': country,
  7052. 'state': state,
  7053. 'city': city,
  7054. 'street': street,
  7055. 'altStreet': alts.map(function(e) {
  7056. return e.$street
  7057. }),
  7058. 'altCity': alts.map(function(e) {
  7059. return e.$city
  7060. }),
  7061. 'type': roadType,
  7062. 'typeRank': typeRank,
  7063. 'toll': +isToll,
  7064. 'direction': direction,
  7065. 'elevation': elevation,
  7066. 'lock': lock,
  7067. 'length': segmentLen,
  7068. 'ID': segmentID,
  7069. 'roundabout': +isRoundabout,
  7070. 'hasHNs': +hasHNs,
  7071. 'drivable': +isDrivable,
  7072. 'Uturn': +(nodeA.$isUturn || nodeB.$isUturn),
  7073. 'deadEnd': +!(isPartial || nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen),
  7074. 'partialA': +nodeA.$isPartial,
  7075. 'deadEndA': +!(nodeA.$isPartial || nodeA.$otherSegmentsLen),
  7076. 'segmentsA': nodeA.$otherSegmentsLen,
  7077. 'inA': nodeA.$inConnectionsLen,
  7078. 'outA': nodeA.$outConnectionsLen,
  7079. 'UturnA': +nodeA.$isUturn,
  7080. 'partialB': +nodeB.$isPartial,
  7081. 'deadEndB': +!(nodeB.$isPartial || nodeB.$otherSegmentsLen),
  7082. 'segmentsB': nodeB.$otherSegmentsLen,
  7083. 'inB': nodeB.$inConnectionsLen,
  7084. 'outB': nodeB.$outConnectionsLen,
  7085. 'UturnB': +nodeB.$isUturn,
  7086. 'softTurns': +!(segment.$isTurnALocked && segment.$isTurnBLocked),
  7087. 'speedLimit': forwardSpeed || reverseSpeed,
  7088. 'speedLimitAB': forwardSpeed,
  7089. 'speedLimitBA': reverseSpeed,
  7090. 'checkSpeedLimit': isDrivable && (reverseSpeedUnverified || forwardSpeedUnverified)
  7091. };
  7092. for (var i = CK_MATCHFIRST; i <= CK_MATCHLAST; i++) {
  7093. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7094. options = getCheckOptions(i, countryCode);
  7095. var optString = options[CO_STRING];
  7096. var optRegExp = options[CO_REGEXP];
  7097. if (!optString || !optRegExp) continue;
  7098. var expandedString = _I18n.expandSO(optString, expandOptions);
  7099. if (matchRegExp(i, segmentID, expandedString, options)) segment.report(i)
  7100. }
  7101. if (!cityLen && RT_FREEWAY === roadType && isLimitOk(69) && address.isOkFor(69)) segment.report(69);
  7102. if (slowChecks) {
  7103. if (1 === nodeA.$otherSegmentsLen && DIR_UNKNOWN !== direction && !nodeA.$isPartial && !nodeA.$isUturn && !nodeA.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(36) &&
  7104. address.isOkFor(36)) {
  7105. var otherSegment = nodeA.$otherSegments[0];
  7106. var otherNode, nextNode;
  7107. if (otherSegment.$nodeAID === nodeAID) {
  7108. otherNode = otherSegment.$nodeA;
  7109. nextNode = otherSegment.$nodeB
  7110. } else {
  7111. otherNode = otherSegment.$nodeB;
  7112. nextNode = otherSegment.$nodeA
  7113. }
  7114. if ((!nodeB.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawSegment && (1E4 > otherSegment.$length + segmentLen || 1E3 > segmentLen) &&
  7115. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7116. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7117. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7118. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7119. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7120. otherSegment.$nodeAID !== nodeBID && otherSegment.$nodeBID !== nodeBID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7121. var loopFound = false;
  7122. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7123. var thirdSegment = nextNode.$otherSegments[i];
  7124. if (thirdSegment.$nodeAID === nodeBID || thirdSegment.$nodeBID === nodeBID) {
  7125. loopFound = true;
  7126. break
  7127. }
  7128. }
  7129. if (!loopFound) segment.report(36)
  7130. }
  7131. }
  7132. if (DIR_UNKNOWN !== direction && !nodeB.$isPartial && 1 === nodeB.$otherSegmentsLen && !nodeB.$isUturn && !nodeB.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(37) &&
  7133. address.isOkFor(37)) {
  7134. var otherSegment = nodeB.$otherSegments[0];
  7135. var otherNode, nextNode;
  7136. if (otherSegment.$nodeAID === nodeBID) {
  7137. otherNode = otherSegment.$nodeA;
  7138. nextNode = otherSegment.$nodeB
  7139. } else {
  7140. otherNode = otherSegment.$nodeB;
  7141. nextNode = otherSegment.$nodeA
  7142. }
  7143. if ((!nodeA.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawSegment && 1E4 > otherSegment.$length + segmentLen &&
  7144. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7145. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7146. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7147. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7148. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7149. otherSegment.$nodeAID !== nodeAID && otherSegment.$nodeBID !== nodeAID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7150. var loopFound = false;
  7151. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7152. var thirdSegment = nextNode.$otherSegments[i];
  7153. if (thirdSegment.$nodeAID === nodeAID || thirdSegment.$nodeBID === nodeAID) {
  7154. loopFound = true;
  7155. break
  7156. }
  7157. }
  7158. if (!loopFound) segment.report(37)
  7159. }
  7160. }
  7161. }
  7162. if (cityLen) {
  7163. for (var i = CK_CITYNAMEFIRST; i <= CK_CITYNAMELAST; i++) {
  7164. if (!address.isOkFor(i) || !isLimitOk(i)) continue;
  7165. if (matchRegExp(i, segmentID, city, getCheckOptions(i, countryCode))) segment.report(i)
  7166. }
  7167. if (isLimitOk(24) && address.isOkFor(24)) {
  7168. var param = trS('city.1');
  7169. var r = 3 > cityLen ? true : false;
  7170. var cityCounter = _repCC[cityID];
  7171. if (1 === cityCounter || cityID in _REP.$incompleteIDs && !_REP.$incompleteIDs[cityID].$counterReported)
  7172. for (var i = 0, len = _REP.$unsortedCityIDs.length; i < len; i++) {
  7173. var cid = _REP.$unsortedCityIDs[i];
  7174. if (cid === cityID) continue;
  7175. var c = _repC[cid];
  7176. var cLen = c.length;
  7177. if (1 > cLen) continue;
  7178. var cityObj = getCityCmpObj(cityID, city, c);
  7179. var cObj = getCityCmpObj(cid, c, city);
  7180. setCmpObjLimits(cityObj, cObj);
  7181. setCmpObjLimits(cObj, cityObj);
  7182. if (cityObj.$limit) _REP.$incompleteIDs[cityID] = cityObj;
  7183. if (cObj.$limit && !_REP.$incompleteIDs[cid]) _REP.$incompleteIDs[cid] = cObj;
  7184. if (cityObj.$limit || cObj.$limit) break
  7185. }
  7186. if (cityID in _REP.$incompleteIDs) {
  7187. var incompleteCity = _REP.$incompleteIDs[cityID];
  7188. incompleteCity.$counterReported++;
  7189. if (incompleteCity.$limit < cityCounter) {
  7190. r = false;
  7191. deleteCityCheck(cityID, 24);
  7192. delete _REP.$incompleteIDs[cityID]
  7193. } else {
  7194. r = true;
  7195. param = trS('city.consider') + ' ' + incompleteCity.$otherCity + ' [' + incompleteCity.$reason + ']'
  7196. }
  7197. }
  7198. if (r) segment.report({$checkID: 24, $cityParam: param})
  7199. }
  7200. if (RT_RAILROAD === roadType && isLimitOk(24) && address.isOkFor(27)) segment.report(27);
  7201. if (RT_FREEWAY === roadType && isLimitOk(59) && address.isOkFor(59)) segment.report(59)
  7202. }
  7203. if (isDrivable) {
  7204. if (slowChecks) {
  7205. if (nodeA.$outConnectionsLen && (DIR_TWO === direction || DIR_BA === direction) && isLimitOk(120)) {
  7206. var rawNode = nodeA.$rawNode;
  7207. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7208. for (var i = 0; i < nodeA.$outConnectionsLen; i++) {
  7209. var otherSegment = nodeA.$outConnections[i];
  7210. if (!otherSegment.$rawSegment) continue;
  7211. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  7212. var angle = Math.abs(baseAngle - curAngle);
  7213. if (angle > 180) angle = 360 - angle;
  7214. if (30 > angle && 2 <= angle && address.isOkFor(120))
  7215. if (10 > angle) {
  7216. segment.report(120);
  7217. break
  7218. } else if (!nodeA.$isPartial && 3 > nodeA.$otherSegmentsLen && RR_STREET < typeRank) {
  7219. segment.report(120);
  7220. break
  7221. }
  7222. }
  7223. }
  7224. if (nodeB.$outConnectionsLen && (DIR_TWO === direction || DIR_AB === direction) && isLimitOk(121)) {
  7225. var rawNode = nodeB.$rawNode;
  7226. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7227. for (var i = 0; i < nodeB.$outConnectionsLen; i++) {
  7228. var otherSegment = nodeB.$outConnections[i];
  7229. if (!otherSegment.$rawSegment) continue;
  7230. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  7231. var angle = Math.abs(baseAngle - curAngle);
  7232. if (angle > 180) angle = 360 - angle;
  7233. if (30 > angle && 2 <= angle && address.isOkFor(121))
  7234. if (10 > angle) {
  7235. segment.report(121);
  7236. break
  7237. } else if (!nodeB.$isPartial && 3 > nodeB.$otherSegmentsLen && RR_STREET < typeRank) {
  7238. segment.report(121);
  7239. break
  7240. }
  7241. }
  7242. }
  7243. }
  7244. if (RT_PRIVATE !== roadType && isLimitOk(45) && address.isOkFor(45))
  7245. if (!nodeA.$isPartial && !nodeA.$inConnectionsLen)
  7246. if (DIR_AB === direction)
  7247. segment.report(45);
  7248. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7249. segment.report(45);
  7250. else {
  7251. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(46))
  7252. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7253. var otherSegment = nodeA.$otherSegments[i];
  7254. if (!otherSegment.$rawSegment) continue;
  7255. if (RR_TRAIL < otherSegment.$typeRank &&
  7256. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7257. DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7258. segment.report(46);
  7259. break
  7260. }
  7261. }
  7262. }
  7263. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7264. if (DIR_BA === direction)
  7265. segment.report(45);
  7266. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(47))
  7267. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7268. var otherSegment = nodeB.$otherSegments[i];
  7269. if (!otherSegment.$rawSegment) continue;
  7270. if (RR_TRAIL < otherSegment.$typeRank &&
  7271. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7272. DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7273. segment.report(47);
  7274. break
  7275. }
  7276. }
  7277. if (5 < segmentLen && isLimitOk(44) && address.isOkFor(44))
  7278. if (!nodeA.$isPartial && !nodeA.$outConnectionsLen)
  7279. if (DIR_BA === direction)
  7280. segment.report(44);
  7281. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7282. segment.report(44);
  7283. else {
  7284. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(102))
  7285. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7286. var otherSegment = nodeA.$otherSegments[i];
  7287. if (!otherSegment.$rawSegment) continue;
  7288. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7289. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7290. DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7291. segment.report(102);
  7292. break
  7293. }
  7294. }
  7295. }
  7296. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7297. if (DIR_AB === direction)
  7298. segment.report(44);
  7299. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(103))
  7300. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7301. var otherSegment = nodeB.$otherSegments[i];
  7302. if (!otherSegment.$rawSegment) continue;
  7303. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7304. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7305. DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7306. segment.report(103);
  7307. break
  7308. }
  7309. }
  7310. if (slowChecks && segment.$isRoutable && !nodeA.$isPartial && !nodeB.$isPartial && nodeA.$otherSegmentsLen > 0 && nodeB.$otherSegmentsLen > 0 && isLimitOk(202) && address.isOkFor(202)) {
  7311. var foundPublicConnection = checkPublicConnection(segment, null);
  7312. if (!foundPublicConnection)
  7313. if (nodeA.$otherSegmentsLen == 1 && nodeB.$otherSegmentsLen == 1) {
  7314. var nodeASegment = nodeA.$otherSegments[0];
  7315. var nodeBSegment = nodeB.$otherSegments[0];
  7316. if (checkPublicConnection(nodeASegment, segment) && checkPublicConnection(nodeBSegment, segment)) foundPublicConnection = true
  7317. }
  7318. if (!foundPublicConnection) segment.report(202)
  7319. }
  7320. if (RR_STREET < typeRank && RT_RAMP !== roadType && !segment.$isRoundabout && segmentLen > 5) {
  7321. if (DIR_AB === direction || DIR_TWO === direction) {
  7322. if (forwardSpeedUnverified && isLimitOk(210) && address.isOkFor(210)) segment.report(210);
  7323. if (!forwardSpeed && isLimitOk(212) && address.isOkFor(212)) segment.report(212);
  7324. if (forwardSpeed) {
  7325. options = getCheckOptions(214, countryCode);
  7326. if (!options[CO_REGEXP].test(forwardSpeed) && isLimitOk(214) && address.isOkFor(214)) segment.report(214)
  7327. }
  7328. }
  7329. if (DIR_BA === direction || DIR_TWO == direction) {
  7330. if (reverseSpeedUnverified && isLimitOk(211) && address.isOkFor(211)) segment.report(211);
  7331. if (!reverseSpeed && isLimitOk(213) && address.isOkFor(213)) segment.report(213);
  7332. if (reverseSpeed) {
  7333. options = getCheckOptions(215, countryCode);
  7334. if (!options[CO_REGEXP].test(reverseSpeed) && isLimitOk(215) && address.isOkFor(215)) segment.report(215)
  7335. }
  7336. }
  7337. }
  7338. if (DIR_UNKNOWN === direction && isLimitOk(25) && address.isOkFor(25)) segment.report(25);
  7339. if (!(nodeAID && nodeBID) && isLimitOk(35) && address.isOkFor(35)) segment.report(35);
  7340. if (RR_PRIMARY > typeRank) {
  7341. if (nodeAID && nodeBID && address.isOkFor(200)) {
  7342. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(200)) segment.report(200);
  7343. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(300)) segment.report(300)
  7344. }
  7345. } else if (nodeAID && nodeBID && address.isOkFor(201)) {
  7346. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(201)) segment.report(201);
  7347. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(301)) segment.report(301)
  7348. }
  7349. if ((DIR_AB === direction && nodeA.$outConnectionsLen || DIR_BA === direction && nodeA.$inConnectionsLen) && isLimitOk(41) && address.isOkFor(41)) segment.report(41);
  7350. if ((DIR_BA === direction && nodeB.$outConnectionsLen || DIR_AB === direction && nodeB.$inConnectionsLen) && isLimitOk(42) && address.isOkFor(42)) segment.report(42);
  7351. if (!nodeA.$isPartial) {
  7352. if (slowChecks && 5 < segmentLen && !nodeA.$otherSegmentsLen && nodeA.$rawNode.geometry.bounds && isLimitOk(107) && address.isOkFor(107)) {
  7353. var IDs = nodeA.$rawNode.attributes.segIDs;
  7354. var pt = new OpenLayers.Geometry.Point(nodeA.$rawNode.geometry.bounds.left, nodeA.$rawNode.geometry.bounds.bottom);
  7355. for (var segKey in WMo.segments.objects) {
  7356. var seg = WMo.segments.objects[segKey];
  7357. if (segmentID === seg.getID()) continue;
  7358. if (!seg.geometry) continue;
  7359. if (elevation !== seg.attributes.level) continue;
  7360. if ('Delete' === seg.state) continue;
  7361. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7362. if (LIMIT_TOLERANCE > seg.geometry.distanceTo(pt, null)) {
  7363. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7364. segment.report(107);
  7365. break
  7366. }
  7367. }
  7368. }
  7369. if (nodeA.$isUturn)
  7370. if (slowChecks && 1 === nodeA.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeA.$outConnections[0].$isRoundabout) segment.report(99);
  7371. if (slowChecks && nodeA.$otherSegmentsLen && !isRoundabout && isLimitOk(78) && address.isOkFor(78))
  7372. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7373. var otherSegment = nodeA.$otherSegments[i];
  7374. if (!otherSegment.$rawSegment) continue;
  7375. if (RR_TRAIL < otherSegment.$typeRank && nodeAID && nodeBID &&
  7376. (otherSegment.$nodeAID === nodeAID && otherSegment.$nodeBID === nodeBID || otherSegment.$nodeAID === nodeBID && otherSegment.$nodeBID === nodeAID))
  7377. if (otherSegment.$typeRank > typeRank || otherSegment.$length < segmentLen && otherSegment.$typeRank === typeRank ||
  7378. otherSegment.$segmentID < segmentID && otherSegment.$length === segmentLen && otherSegment.$typeRank === typeRank) {
  7379. segment.report(78);
  7380. break
  7381. }
  7382. }
  7383. if (!nodeB.$isPartial) {
  7384. options = getCheckOptions(109, countryCode);
  7385. if (options[CO_NUMBER] > segmentLen && nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen && !isRoundabout && address.isOkFor(109)) segment.report(109);
  7386. if (slowChecks && 15 > segmentLen && !streetLen && 2 === nodeA.$otherSegmentsLen && 2 === nodeB.$otherSegmentsLen && isLimitOk(79) && address.isOkFor(79) &&
  7387. nodeA.$otherSegments[0].$rawSegment && nodeA.$otherSegments[1].$rawSegment && nodeB.$otherSegments[0].$rawSegment && nodeB.$otherSegments[1].$rawSegment &&
  7388. nodeA.$otherSegments[0].$address.$street && nodeA.$otherSegments[0].$type === nodeA.$otherSegments[1].$type && nodeB.$otherSegments[0].$type === nodeB.$otherSegments[1].$type &&
  7389. nodeA.$otherSegments[0].$address.$street === nodeA.$otherSegments[1].$address.$street && nodeB.$otherSegments[0].$address.$street === nodeB.$otherSegments[1].$address.$street &&
  7390. nodeA.$otherSegments[0].$address.$street === nodeB.$otherSegments[0].$address.$street) {
  7391. if ((DIR_TWO === direction || DIR_BA === direction) && 1 === nodeA.$outConnectionsLen && 2 > nodeA.$inConnectionsLen && 1 === nodeB.$inConnectionsLen && 2 > nodeB.$outConnectionsLen)
  7392. segment.report(79);
  7393. if ((DIR_TWO === direction || DIR_AB === direction) && 1 === nodeB.$outConnectionsLen && 2 > nodeB.$inConnectionsLen && 1 === nodeA.$inConnectionsLen && 2 > nodeA.$outConnectionsLen)
  7394. segment.report(79)
  7395. }
  7396. }
  7397. }
  7398. if (!nodeB.$isPartial) {
  7399. if (slowChecks && 5 < segmentLen && !nodeB.$otherSegmentsLen && nodeB.$rawNode.geometry.bounds && isLimitOk(108) && address.isOkFor(108)) {
  7400. var IDs = nodeB.$rawNode.attributes.segIDs;
  7401. var pt = new OpenLayers.Geometry.Point(nodeB.$rawNode.geometry.bounds.left, nodeB.$rawNode.geometry.bounds.bottom);
  7402. for (var segKey in WMo.segments.objects) {
  7403. var seg = WMo.segments.objects[segKey];
  7404. if (segmentID === seg.getID()) continue;
  7405. if (!seg.geometry) continue;
  7406. if (elevation !== seg.attributes.level) continue;
  7407. if ('Delete' === seg.state) continue;
  7408. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7409. if (LIMIT_TOLERANCE > seg.geometry.distanceTo(pt, null)) {
  7410. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7411. segment.report(108);
  7412. break
  7413. }
  7414. }
  7415. }
  7416. if (nodeB.$isUturn) {
  7417. if (!nodeB.$otherSegmentsLen && isLimitOk(77) && address.isOkFor(77)) segment.report(77);
  7418. if (slowChecks && 1 === nodeB.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeB.$outConnections[0].$isRoundabout) segment.report(99)
  7419. }
  7420. }
  7421. if (RT_FREEWAY === roadType) {
  7422. if (0 !== elevation && isLimitOk(110) && address.isOkFor(110)) segment.report(110);
  7423. options = getCheckOptions(150, countryCode);
  7424. if (options[CO_NUMBER] > lock && isLimitOk(150) && address.isOkFor(150)) segment.report(150);
  7425. if (DIR_TWO === direction && address.isOkFor(90)) segment.report(90)
  7426. }
  7427. if (RT_MAJOR === roadType) {
  7428. options = getCheckOptions(151, countryCode);
  7429. if (options[CO_NUMBER] > lock && isLimitOk(151) && address.isOkFor(151)) segment.report(151)
  7430. }
  7431. if (RT_MINOR === roadType) {
  7432. options = getCheckOptions(152, countryCode);
  7433. if (options[CO_NUMBER] > lock && isLimitOk(152) && address.isOkFor(152)) segment.report(152)
  7434. }
  7435. if (RT_RAMP === roadType) {
  7436. if (DIR_TWO === direction && isLimitOk(91) && address.isOkFor(91)) segment.report(91);
  7437. options = getCheckOptions(153, countryCode);
  7438. if (options[CO_NUMBER] > lock && isLimitOk(153) && address.isOkFor(153)) segment.report(153)
  7439. }
  7440. if (RT_PRIMARY === roadType) {
  7441. options = getCheckOptions(154, countryCode);
  7442. if (options[CO_NUMBER] > lock && isLimitOk(154) && address.isOkFor(154)) segment.report(154)
  7443. }
  7444. if (RT_STREET === roadType) {
  7445. options = getCheckOptions(155, countryCode);
  7446. if (options[CO_NUMBER] > lock && isLimitOk(155) && address.isOkFor(155)) segment.report(155)
  7447. }
  7448. if (RT_PARKING === roadType) {
  7449. options = getCheckOptions(156, countryCode);
  7450. if (options[CO_NUMBER] > lock && isLimitOk(156) && address.isOkFor(156)) segment.report(156)
  7451. }
  7452. if (RT_RAILROAD === roadType) {
  7453. options = getCheckOptions(157, countryCode);
  7454. if (options[CO_NUMBER] > lock && isLimitOk(157) && address.isOkFor(157)) segment.report(157)
  7455. }
  7456. if (RT_PRIVATE === roadType) {
  7457. options = getCheckOptions(158, countryCode);
  7458. if (options[CO_NUMBER] > lock && isLimitOk(158) && address.isOkFor(158)) segment.report(158)
  7459. }
  7460. } else if (slowChecks && !hasHNs && RT_RAILROAD !== roadType) {
  7461. if (nodeA.$otherSegmentsLen && (nodeB.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(114) && address.isOkFor(114))
  7462. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7463. var otherSegment = nodeA.$otherSegments[i];
  7464. if (!otherSegment.$rawSegment) continue;
  7465. if (RR_TRAIL < otherSegment.$typeRank) {
  7466. segment.report(114);
  7467. break
  7468. }
  7469. }
  7470. if (nodeB.$otherSegmentsLen && (nodeA.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(115) && address.isOkFor(115))
  7471. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7472. var otherSegment = nodeB.$otherSegments[i];
  7473. if (!otherSegment.$rawSegment) continue;
  7474. if (RR_TRAIL < otherSegment.$typeRank) {
  7475. segment.report(115);
  7476. break
  7477. }
  7478. }
  7479. }
  7480. if (streetLen) {
  7481. 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};
  7482. var checkIDID = {160: 70, 161: 71, 162: 72};
  7483. for (var i in checkIDType) {
  7484. i = +i;
  7485. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7486. var rType = checkIDType[i];
  7487. options = getCheckOptions(i, countryCode);
  7488. if (rType === roadType || !rType) {
  7489. if (matchRegExp(i, segmentID, street, options)) segment.report(i)
  7490. } else {
  7491. var mi = checkIDID[i];
  7492. if (mi && address.isOkFor(mi) && !matchRegExp(i, segmentID, street, options)) segment.report(mi)
  7493. }
  7494. }
  7495. for (var i = CK_STREETNAMEFIRST; i <= CK_STREETNAMELAST; i++) {
  7496. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7497. if (matchRegExp(i, segmentID, street, getCheckOptions(i, countryCode))) segment.report(i)
  7498. }
  7499. if (cityLen && RT_RAMP === roadType && isLimitOk(57) && address.isOkFor(57)) segment.report(57);
  7500. if (-1 !== street.indexOf('CONST ZN') && isLimitOk(117) && address.isOkFor(117)) segment.report(117);
  7501. if (RT_RAMP !== roadType && -1 !== street.indexOf('.') && isLimitOk(95) && address.isOkFor(95)) segment.report(95);
  7502. if (RT_RAMP === roadType)
  7503. if (DIR_TWO === direction)
  7504. if (isLimitOk(28) && address.isOkFor(28)) segment.report(28);
  7505. if (RR_RAMP > typeRank) {
  7506. options = getCheckOptions(73, countryCode);
  7507. if (options[CO_NUMBER] > streetLen && isLimitOk(73) && address.isOkFor(73)) segment.report(73)
  7508. }
  7509. if (isDrivable)
  7510. if (RT_RAMP === roadType) {
  7511. options = getCheckOptions(112, countryCode);
  7512. if (options[CO_NUMBER] < streetLen && isLimitOk(112) && address.isOkFor(112)) segment.report(112)
  7513. } else {
  7514. options = getCheckOptions(52, countryCode);
  7515. if (options[CO_NUMBER] < streetLen && isLimitOk(52) && address.isOkFor(52)) segment.report(52)
  7516. }
  7517. }
  7518. if (isRoundabout && isDrivable) {
  7519. if (streetLen && isLimitOk(29) && address.isOkFor(29)) segment.report(29);
  7520. if (DIR_TWO === direction && address.isOkFor(48)) segment.report(48);
  7521. if (!nodeA.$isPartial && 2 < nodeA.$otherSegmentsLen)
  7522. if (2 < nodeA.$outConnectionsLen) {
  7523. if (address.isOkFor(87)) segment.report(87)
  7524. } else if (address.isOkFor(74))
  7525. segment.report(74);
  7526. if (slowChecks && !isPartial && (DIR_AB === direction || DIR_BA === direction)) {
  7527. var okA = false;
  7528. var okB = false;
  7529. var anode, bnode;
  7530. if (DIR_AB === direction)
  7531. anode = nodeA, bnode = nodeB;
  7532. else
  7533. anode = nodeB, bnode = nodeA;
  7534. for (var i = 0; i < bnode.$outConnectionsLen; i++) {
  7535. var otherSegment = bnode.$outConnections[i];
  7536. if (otherSegment.$isRoundabout) {
  7537. okB = true;
  7538. break
  7539. }
  7540. }
  7541. if (okB)
  7542. for (var i = 0; i < anode.$inConnectionsLen; i++) {
  7543. var otherSegment = anode.$inConnections[i];
  7544. if (otherSegment.$isRoundabout) {
  7545. okA = true;
  7546. break
  7547. }
  7548. }
  7549. if ((!okB || !okA) && address.isOkFor(50)) segment.report(50)
  7550. }
  7551. }
  7552. HLObject(rawSegment)
  7553. }
  7554. if (_UI.pMain.pFilter.oEnablePlaces.CHECKED)
  7555. for (var venueKey in WMo.venues.objects) {
  7556. var rawVenue = WMo.venues.objects[venueKey];
  7557. var venueID = rawVenue.getID();
  7558. if (rawVenue.layer && rawVenue.id in rawVenue.layer.unrenderedFeatures) continue;
  7559. if ('Delete' === rawVenue.state) continue;
  7560. if (rawVenue.outOfScope) continue;
  7561. var seen = null;
  7562. if (venueID in _RT.$seen) seen = _RT.$seen[venueID];
  7563. if (rawVenue.selected) {
  7564. selectedObjects.push(venueID);
  7565. _RT.$revalidate[venueID] = true;
  7566. if (seen) {
  7567. deleteSeenObject(venueID);
  7568. seen = null
  7569. }
  7570. } else if (segmentID in _RT.$revalidate) {
  7571. deleteSeenObject(venueID);
  7572. seen = null;
  7573. delete _RT.$revalidate[segmentID]
  7574. }
  7575. if (seen) {
  7576. HLObject(rawVenue);
  7577. continue
  7578. }
  7579. var venue = new SimpleOBJECT(venueID, WMo.venues);
  7580. Object.seal(venue);
  7581. var address = venue.$address;
  7582. var country = address.$country;
  7583. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  7584. var city = address.$city;
  7585. var cityLen = city.length;
  7586. var cityID = address.$cityID;
  7587. var street = address.$street;
  7588. var streetLen = street.length;
  7589. var lock = venue.$lock;
  7590. _RT.$seen[venueID] = seen = [0, null, false, false, 4 > currentZoom, cityID];
  7591. venue.incCityCounter();
  7592. if (venue.$isEditable) _REP.$isEditableFound = true;
  7593. if (!cityLen && isLimitOk(250)) {
  7594. options = getCheckOptions(250, countryCode);
  7595. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(250)) venue.report(250)
  7596. }
  7597. if (!streetLen && isLimitOk(251)) {
  7598. options = getCheckOptions(251, countryCode);
  7599. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(251)) venue.report(251)
  7600. }
  7601. if (isLimitOk(252)) {
  7602. options = getCheckOptions(252, countryCode);
  7603. if (options[CO_REGEXP].test(venue.$updatedByID.toString()) || options[CO_REGEXP].test(venue.$updatedBy.toString()) && address.isOkFor(252)) venue.report(252)
  7604. }
  7605. if (venue.$categories.indexOf('OTHER') > -1 && isLimitOk(253) && address.isOkFor(253)) venue.report(253);
  7606. if (venue.$entryExitPoints && venue.$entryExitPoints.length && isLimitOk(254)) {
  7607. var stopPoint = venue.$entryExitPoints[0].getPoint();
  7608. var areaCenter = venue.$geometry.getCentroid();
  7609. if (stopPoint.equals(areaCenter) && address.isOkFor(254)) venue.report(254)
  7610. }
  7611. if (venue.$phone && isLimitOk(255)) {
  7612. options = getCheckOptions(255, countryCode);
  7613. if (!options[CO_REGEXP].test(venue.$phone) && address.isOkFor(255)) venue.report(255)
  7614. }
  7615. if (venue.$url && isLimitOk(256)) {
  7616. options = getCheckOptions(256, countryCode);
  7617. if (!options[CO_REGEXP].test(venue.$url) && address.isOkFor(256)) venue.report(256)
  7618. }
  7619. if (venue.$isPoint && isLimitOk(257)) {
  7620. options = getCheckOptions(257, countryCode);
  7621. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(257)) venue.report(257)
  7622. } else if (isLimitOk(258)) {
  7623. options = getCheckOptions(258, countryCode);
  7624. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(258)) venue.report(258)
  7625. }
  7626. if (isLimitOk(259)) {
  7627. options = getCheckOptions(259, countryCode);
  7628. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(259)) venue.report(259)
  7629. }
  7630. if (isLimitOk(260)) {
  7631. options = getCheckOptions(260, countryCode);
  7632. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(260)) venue.report(260)
  7633. }
  7634. if (venue.$rawObject.isParkingLot()) {
  7635. var catAttr = venue.$categoryAttributes;
  7636. var parkAttr = catAttr ? catAttr.PARKING_LOT : undefined;
  7637. if ((!parkAttr || !parkAttr.parkingType) && address.isOkFor(270)) venue.report(270);
  7638. if ((!parkAttr || !parkAttr.costType || parkAttr.costType === 'UNKNOWN') && address.isOkFor(271)) venue.report(271);
  7639. if (parkAttr && parkAttr.costType && parkAttr.costType !== 'FREE' && parkAttr.costType !== 'UNKNOWN' && (!parkAttr.paymentType || !parkAttr.paymentType.length) && address.isOkFor(272))
  7640. venue.report(272);
  7641. if ((!parkAttr || !parkAttr.lotType || parkAttr.lotType.length === 0) && address.isOkFor(273)) venue.report(273);
  7642. if ((!venue.$entryExitPoints || !venue.$entryExitPoints.length) && address.isOkFor(274)) venue.report(274)
  7643. }
  7644. if (venue.$rawObject.isGasStation())
  7645. if (isLimitOk(275) && venue.$name.toLowerCase().indexOf(venue.$brand.toLowerCase().split(' ')[0]) === -1 && address.isOkFor(275)) venue.report(275)
  7646. }
  7647. if (bUpdateMaxSeverity && (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))) async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  7648. updateObjectProperties(selectedObjects, false);
  7649. addHLedObjects()
  7650. };
  7651. function F_LOGIN() {
  7652. log('login ' + WLM.user.userName);
  7653. _WV.parseAccessList = function(s) {
  7654. var a = s.split(/\s*,\s*/);
  7655. var res = [];
  7656. a.forEach(function(r, i) {
  7657. var n = false;
  7658. if ('!' === r.charAt(0)) n = true, r = r.slice(1);
  7659. res[i] = { $id: r, $not: n }
  7660. });
  7661. return res
  7662. };
  7663. _WV.checkAccessFor = function(forStr, cmpFunc) {
  7664. if (!forStr) return true;
  7665. var l = _WV.parseAccessList(forStr);
  7666. if (!l.length) return true;
  7667. for (var i = 0; i < l.length; i++) {
  7668. var r = l[i];
  7669. if ('*' === r.$id || cmpFunc(r.$id))
  7670. if (r.$not)
  7671. return false;
  7672. else
  7673. return true
  7674. }
  7675. return false
  7676. };
  7677. function mirrorChecks(defTranslation) {
  7678. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  7679. for (var i = CK_MIRRORFIRST; i <= CK_MIRRORLAST; i++)
  7680. allLabels.forEach(function(l) {
  7681. var label = i + '.' + l;
  7682. if (!(label in defTranslation)) return;
  7683. var value = defTranslation[label];
  7684. var mLabel = i + 100 + '.' + l;
  7685. switch (l) {
  7686. case 'title':
  7687. case 'problem':
  7688. case 'solution':
  7689. defTranslation[mLabel] = value.replace(/ A($|\b)/g, ' B');
  7690. break;
  7691. case 'params':
  7692. defTranslation[mLabel] = deepCopy(value);
  7693. break;
  7694. default:
  7695. defTranslation[mLabel] = value;
  7696. break
  7697. }
  7698. })
  7699. }
  7700. _RT = {
  7701. $textLabels: ['title', 'problem', 'solution'],
  7702. $otherLabels: ['enabled', 'color', 'severity', 'reportOnly', 'params', 'problemLink', 'solutionLink'],
  7703. $curMaxSeverity: RS_ERROR,
  7704. $RegExp1: '',
  7705. $RegExp2: '',
  7706. oReportWMECH: {FORID: '_cbHighlightLocked', CHECKED: false, NA: true},
  7707. oReportToolbox: {FORID: 'WMETB_NavBar', CHECKED: false, NA: true},
  7708. $isMapChanged: false,
  7709. $lng: I18n.locale.toUpperCase(),
  7710. $includeUpdatedByCache: {},
  7711. $includeUpdatedSinceTime: 0,
  7712. $includeCityNameCache: {},
  7713. $includeChecksCache: {},
  7714. $switchValidator: false,
  7715. $HLlayer: null,
  7716. $HLedObjects: {},
  7717. $isGlobalAccess: false,
  7718. $timer: {$secInRun: 0, $lastUpdate: 0},
  7719. $curMessage: {TEXT: '', TITLE: '', CLASS: CL_MSG},
  7720. $topCity: null,
  7721. $cachedTopCCode: '',
  7722. $topUser: {
  7723. $userID: WLM.user.id,
  7724. $userName: WLM.user.userName,
  7725. $userLevel: WLM.user.normalizedLevel,
  7726. $isCM: WLM.user.editableCountryIDs ? 0 !== WLM.user.editableCountryIDs.length : false,
  7727. $countryIDs: WLM.user.editableCountryIDs ? WLM.user.editableCountryIDs : []
  7728. },
  7729. $topCenter: null,
  7730. $WDmoveID: -1,
  7731. $WDloadID: -1,
  7732. $layersVisibility: '',
  7733. $state: ST_STOP,
  7734. $direction: DIR_L2R,
  7735. $firstStep: true,
  7736. $startExtent: null,
  7737. $startCenter: null,
  7738. $startZoom: null,
  7739. $nextCenter: null,
  7740. $moveEndCenter: null,
  7741. $seen: {},
  7742. $revalidate: {},
  7743. $curUserName: WLM.user.userName,
  7744. $error: false,
  7745. $reportEditableNotFound: false,
  7746. $checks: {},
  7747. $sortedCheckIDs: null,
  7748. $WMECHcolors: {},
  7749. $untranslatedLngs: ['IT']
  7750. };
  7751. _RT.$checks = {
  7752. 0: {
  7753. SEVERITY: RS_MAX,
  7754. REPORTONLY: false,
  7755. TITLE: 'Global access list to test before any of the checks below',
  7756. FORCOUNTRY: GA_FORCOUNTRY,
  7757. FORCITY: GA_FORCITY,
  7758. FORUSER: GA_FORUSER,
  7759. FORLEVEL: GA_FORLEVEL,
  7760. OPTIONS: {},
  7761. COLOR: '',
  7762. PROBLEM: '',
  7763. PROBLEMLINK: '',
  7764. PROBLEMLINKTEXT: '',
  7765. SOLUTION: '',
  7766. SOLUTIONLINK: '',
  7767. SOLUTIONLINKTEXT: ''
  7768. }
  7769. };
  7770. _I18n.init({$lng: _RT.$lng});
  7771. var defTranslation = _translations[_I18n.$defLng];
  7772. var defTBProblem = 'The segment is highlighted by WME Toolbox. It is not a problem';
  7773. var defTBProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Toolbox';
  7774. var TBchecks = [
  7775. [
  7776. '#3030FF', 'W', , 'Roundabout which may cause issues', 'Junction IDs of the roundabout segments are not consecutive', '', 'Redo the roundabout',
  7777. 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts'
  7778. ],
  7779. [
  7780. '#FF30FF', , , 'Simple segment', 'The segment has unneeded geometry nodes', , 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  7781. 'W:Creating_and_Editing_street_segments#Adjusting_road_geometry_.28nodes.29'
  7782. ],
  7783. ['#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'],
  7784. ['#00A8FF', , true, 'House numbers'], ['#F7B020', , true, 'Segment with time restrictions']
  7785. ];
  7786. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7787. var cc = TBchecks[i - CK_TBFIRST];
  7788. var cp = cc[4] || defTBProblem;
  7789. var cpl = cc[5];
  7790. if (!classCodeDefined(cpl)) cpl = defTBProblemLink;
  7791. defTranslation[i + '.enabled'] = true;
  7792. defTranslation[i + '.color'] = cc[0];
  7793. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7794. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7795. defTranslation[i + '.title'] = 'WME Toolbox: ' + cc[3];
  7796. defTranslation[i + '.problem'] = cp;
  7797. if (cpl) defTranslation[i + '.problemLink'] = cpl;
  7798. if (cc[6]) defTranslation[i + '.solution'] = cc[6];
  7799. if (cc[7]) defTranslation[i + '.solutionLink'] = cc[7]
  7800. }
  7801. var defWMECHProblem = 'The segment is highlighted by WME Color Highlights. It is not a problem';
  7802. var defWMECHProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Color_Highlights_.28WMECH.29';
  7803. var WMECHchecks = [
  7804. ['#000000', , true, 'Editor lock'], ['#0000FF', , true, 'Toll road / One way road'], ['#00FF00', , true, 'Recently edited'], ['#880000', , true, 'Road rank'], ['#888888', , true, 'No city'],
  7805. ['#990099', , true, 'Time restriction / Highlighted road type'], ['#FFBB00', , true, 'No name'], ['#FFFF00', , true, 'Filter by city'], ['#FFFF01', , true, 'Filter by city (alt. city)'],
  7806. ['#00FF00', , true, 'Filter by editor']
  7807. ];
  7808. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7809. var cc = WMECHchecks[i - CK_WMECHFIRST];
  7810. var cp = defWMECHProblem;
  7811. var cpl = defWMECHProblemLink;
  7812. defTranslation[i + '.enabled'] = true;
  7813. defTranslation[i + '.color'] = cc[0];
  7814. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7815. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7816. defTranslation[i + '.title'] = 'WME Color Highlights: ' + cc[3];
  7817. defTranslation[i + '.problem'] = cp;
  7818. if (cpl) defTranslation[i + '.problemLink'] = cpl
  7819. }
  7820. var streetNames = ['Freeway', 'Major Highway', 'Minor Highway', 'Ramp', 'Primary Street', 'Street', 'Parking Lot Road', 'Railroad', 'Private Road'];
  7821. for (var i = CK_TYPEFIRST; i <= CK_TYPELAST; i++) {
  7822. var streetName = streetNames[i - CK_TYPEFIRST];
  7823. defTranslation[i + '.severity'] = 'W';
  7824. defTranslation[i + '.title'] = 'Must be a ' + streetName;
  7825. defTranslation[i + '.problem'] = 'This segment must be a ' + streetName;
  7826. defTranslation[i + '.solution'] = 'Set the road type to ' + streetName + ' or change the road name'
  7827. }
  7828. for (var i = CK_CUSTOMFIRST; i <= CK_CUSTOMLAST; i++) {
  7829. defTranslation[i + '.title'] = 'Custom check';
  7830. defTranslation[i + '.severity'] = 'W';
  7831. defTranslation[i + '.problem'] = 'The segment matched custom conditions';
  7832. defTranslation[i + '.solution'] = 'Solve the issue';
  7833. defTranslation[i + '.params'] = {
  7834. 'template.title': '{string} expandable template',
  7835. 'template': '${street}',
  7836. 'regexp.title': '{string} regular expression to match the template',
  7837. 'regexp': '!/.+/',
  7838. 'titleEN.title': '{string} check title in English',
  7839. 'titleEN': '',
  7840. 'problemEN.title': '{string} problem description in English',
  7841. 'problemEN': '',
  7842. 'solutionEN.title': '{string} solution instructions in English',
  7843. 'solutionEN': ''
  7844. }
  7845. }
  7846. var lockLevels = {150: 5, 151: 4, 152: 3, 153: 4, 154: 2, 155: 0, 156: 0, 157: 2, 158: 2};
  7847. for (var i = CK_LOCKFIRST; i <= CK_LOCKLAST; i++) {
  7848. var lockName = streetNames[i - CK_LOCKFIRST];
  7849. var lockLevel = lockLevels[i];
  7850. defTranslation[i + '.title'] = 'No lock on ' + lockName;
  7851. defTranslation[i + '.problem'] = 'The ' + lockName + ' segment should be locked at least to Lvl ${n}';
  7852. defTranslation[i + '.solution'] = 'Lock the segment';
  7853. defTranslation[i + '.params'] = { 'n.title': '{number} minimum lock level', 'n': lockLevel }
  7854. }
  7855. var streetRegExps = {160: '!/^[AS][0-9]{1,2}/', 161: '!/^[0-9]{1,2}/', 162: '!/^[0-9]{1,3}/', 163: '!/^[AS]?[0-9]* ?> /'};
  7856. var streetDefRegExp = '!/.?/';
  7857. for (var i = CK_STREETTNFIRST; i <= CK_STREETTNLAST; i++) {
  7858. var streetName = streetNames[i - CK_STREETTNFIRST];
  7859. var streetRegExp = streetRegExps[CK_STREETTNFIRST] || streetDefRegExp;
  7860. if (i < 165 || i > 167) defTranslation[i + '.severity'] = 'W';
  7861. defTranslation[i + '.title'] = 'Incorrect ' + streetName + ' name';
  7862. defTranslation[i + '.problem'] = 'The ' + streetName + ' segment has incorrect street name';
  7863. defTranslation[i + '.solution'] = 'Rename the segment in accordance with the guidelines';
  7864. defTranslation[i + '.params'] = { 'regexp.title': '{string} regular expression to match incorrect ' + streetName + ' name', 'regexp': streetRegExp }
  7865. }
  7866. mirrorChecks(defTranslation);
  7867. var listOfIntPacks = '';
  7868. for (var translationsKey in _translations) {
  7869. var translation = _translations[translationsKey];
  7870. mirrorChecks(translation);
  7871. _I18n.addTranslation(translation);
  7872. var country = translation['.country'];
  7873. if (!country) continue;
  7874. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7875. country = country.split(' ').join('&nbsp;');
  7876. if (listOfIntPacks) listOfIntPacks += ', ';
  7877. if ('.lng' in translation)
  7878. listOfIntPacks += '<b>' + country + '*';
  7879. else
  7880. listOfIntPacks += country;
  7881. if ('.author' in translation) listOfIntPacks += ' by&nbsp;' + translation['.author'];
  7882. if ('.lng' in translation) listOfIntPacks += '</b>';
  7883. if ('.updated' in translation) listOfIntPacks += ' (' + translation['.updated'] + ')'
  7884. }
  7885. listOfIntPacks += '.';
  7886. listOfIntPacks += '<br>* localization pack with translations';
  7887. var listOfPacks = '';
  7888. for (var gObject in window) {
  7889. if (!window.hasOwnProperty(gObject)) continue;
  7890. if (-1 !== gObject.indexOf('WME_Validator')) {
  7891. var translation = window[gObject];
  7892. log('found localization pack: ' + gObject.replace('WME_Validator_', ''));
  7893. mirrorChecks(translation);
  7894. _I18n.addTranslation(translation);
  7895. if ('.country' in translation) {
  7896. var country = translation['.country'];
  7897. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7898. listOfPacks += '<b>' + country;
  7899. if ('.author' in translation) listOfPacks += ' by&nbsp;' + translation['.author'];
  7900. listOfPacks += '</b>';
  7901. if (!('.lng' in translation)) listOfPacks += '<br>(does not include translations)';
  7902. if ('.updated' in translation) {
  7903. listOfPacks += '<br>Updated: ' + translation['.updated'];
  7904. if ('.link' in translation && translation['.link']) listOfPacks += ' <a target="_blank" href="' + translation['.link'] + '">check&nbsp;for&nbsp;updates</a>'
  7905. }
  7906. listOfPacks += '<br>'
  7907. }
  7908. }
  7909. }
  7910. listOfPacks = listOfPacks ? listOfPacks : 'No external localization packs found';
  7911. listOfPacks += '<br><b>See</b> <a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">' +
  7912. 'how to create a localization pack</a>';
  7913. for (var i = 1; i < MAX_CHECKS; i++) {
  7914. var check = {ENABLED: {}, PROBLEMLINK: {}, PROBLEMLINKTEXT: {}, SOLUTIONLINK: {}, SOLUTIONLINKTEXT: {}};
  7915. var label = i + '.title';
  7916. if (!_I18n.isLabelExist(label)) continue;
  7917. check.TITLE = trS(label);
  7918. label = i + '.color';
  7919. if (_I18n.isLabelExist(label)) {
  7920. var col = trS(label).toUpperCase();
  7921. check.COLOR = col;
  7922. if (CK_WMECHFIRST <= i && CK_WMECHLAST >= i) _RT.$WMECHcolors[col] = true
  7923. }
  7924. label = i + '.problem';
  7925. if (_I18n.isLabelExist(label)) check.PROBLEM = trS(label);
  7926. label = i + '.solution';
  7927. if (_I18n.isLabelExist(label)) check.SOLUTION = trS(label);
  7928. label = i + '.reportOnly';
  7929. if (_I18n.isLabelExist(label)) check.REPORTONLY = trS(label);
  7930. label = i + '.severity';
  7931. var s = 'N';
  7932. if (_I18n.isLabelExist(label)) s = trS(label);
  7933. if (s) switch (s.charAt(0)) {
  7934. case 'w':
  7935. case 'W':
  7936. check.SEVERITY = RS_WARNING;
  7937. break;
  7938. case 'e':
  7939. case 'E':
  7940. check.SEVERITY = RS_ERROR;
  7941. break;
  7942. case '1':
  7943. check.SEVERITY = RS_CUSTOM1;
  7944. break;
  7945. case '2':
  7946. check.SEVERITY = RS_CUSTOM2;
  7947. break;
  7948. default:
  7949. check.SEVERITY = RS_NOTE;
  7950. break
  7951. }
  7952. else
  7953. check.SEVERITY = RS_NOTE;
  7954. label = i + '.enabled';
  7955. var labelP = i + '.params';
  7956. var labelPL = i + '.problemLink';
  7957. var labelSL = i + '.solutionLink';
  7958. var defEnabled = false;
  7959. var arrCodes = [];
  7960. for (var ccode in _I18n.$translations) {
  7961. var translation = _I18n.$translations[ccode];
  7962. if (label in translation) {
  7963. var e = translation[label];
  7964. check.ENABLED[ccode] = e;
  7965. if (_I18n.$defLng === ccode) {
  7966. if (e) defEnabled = true
  7967. } else if (e)
  7968. arrCodes.push(ccode);
  7969. else
  7970. arrCodes.push('!' + ccode)
  7971. }
  7972. if (labelPL in translation) {
  7973. var l = translation[labelPL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM);
  7974. check.PROBLEMLINK[ccode] = encodeURI(l);
  7975. if (-1 !== l.indexOf(PFX_WIKI) || -1 !== l.indexOf(PFX_PEDIA))
  7976. check.PROBLEMLINKTEXT[ccode] = trS('report.link.wiki');
  7977. else if (-1 !== l.indexOf(PFX_FORUM))
  7978. check.PROBLEMLINKTEXT[ccode] = trS('report.link.forum');
  7979. else
  7980. check.PROBLEMLINKTEXT[ccode] = trS('report.link.other')
  7981. }
  7982. if (labelSL in translation) {
  7983. var l = translation[labelSL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM);
  7984. check.SOLUTIONLINK[ccode] = encodeURI(l);
  7985. if (-1 !== l.indexOf(PFX_WIKI || -1 !== l.indexOf(PFX_PEDIA)))
  7986. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.wiki');
  7987. else if (-1 !== l.indexOf(PFX_FORUM))
  7988. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.forum');
  7989. else
  7990. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.other')
  7991. }
  7992. if (labelP in translation) {
  7993. var params = translation[labelP];
  7994. if (!check.OPTIONS) check.OPTIONS = {};
  7995. if (!(ccode in check.OPTIONS)) check.OPTIONS[ccode] = params;
  7996. if (params['template']) check.OPTIONS[ccode][CO_STRING] = params['template'];
  7997. if (params['regexp']) _WV.buildRegExp(i, check.OPTIONS[ccode], params['regexp']);
  7998. if (params['n']) check.OPTIONS[ccode][CO_NUMBER] = +params['n']
  7999. }
  8000. }
  8001. if (defEnabled) {
  8002. if (arrCodes.length) check.FORCOUNTRY = arrCodes.join(',') + ',*'
  8003. } else if (arrCodes.length)
  8004. check.FORCOUNTRY = arrCodes.join(',');
  8005. else
  8006. check.FORCOUNTRY = '!*';
  8007. _RT.$checks[i] = check
  8008. }
  8009. var dir = _I18n.getDir();
  8010. var dirLeft = trLeft(dir);
  8011. var dirRight = trRight(dir);
  8012. var cssRules, cssRules2, cssRulesA = '>a{text-decoration:underline;cursor:pointer;pointer-events:auto}';
  8013. _THUI.addElemetClassStyle('div', CL_TABS, '{border-bottom:2px solid #ddd;height:29px}');
  8014. _THUI.addElemetClassStyle('div', CL_TABS, '>input{display:none}');
  8015. _THUI.addElemetClassStyle(
  8016. 'div', CL_TABS,
  8017. '>label{white-space:nowrap;overflow:hidden;max-width:100px;text-overflow:ellipsis;cursor:pointer;display:inline-block;margin:0px;margin-' + dirRight +
  8018. ':3px;padding:4px 12px;border-radius:4px 4px 0 0;background-color:#dadbdc}');
  8019. _THUI.addElemetClassStyle(
  8020. 'div', CL_TABS,
  8021. '>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}');
  8022. _THUI.addElemetClassStyle('div', CL_TABS, '>input:disabled+label{font-weight:bold !important;padding-' + dirLeft + ':0px;color:#333;cursor:default;background-color:transparent}');
  8023. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label:hover{background-color:#fff}');
  8024. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label:hover{background-color:#fff}');
  8025. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label>span>span.c' + CL_COLLAPSE + '{display:none}');
  8026. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label>span>span.c' + CL_COLLAPSE + '{display:inline}');
  8027. _THUI.addElemetClassStyle(
  8028. 'div', CL_PANEL,
  8029. '{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:' +
  8030. SZ_PANEL_HEIGHT + 'px}');
  8031. _THUI.addElemetClassStyle('div', CL_PANEL, '>span' + cssRulesA);
  8032. _THUI.addElemetClassStyle('div', CL_PANEL, '>label>span' + cssRulesA);
  8033. _THUI.addElemetClassStyle('div', CL_PANEL, '>span>p' + cssRulesA);
  8034. cssRules = '>span{border-radius:5px;background-color:';
  8035. _THUI.addElemetClassStyle('label', 'c1', cssRules + GL_CUSTOM1COLOR + ';color:' + GL_CUSTOM1BGCOLOR + '}');
  8036. _THUI.addElemetClassStyle('label', 'c2', cssRules + GL_CUSTOM2COLOR + ';color:' + GL_CUSTOM2BGCOLOR + '}');
  8037. cssRules = '>span>a{color:white}';
  8038. _THUI.addElemetClassStyle('label', 'c1', cssRules);
  8039. _THUI.addElemetClassStyle('label', 'c2', cssRules);
  8040. _THUI.addElemetClassStyle('div', CL_BUTTONS, '{overflow:hidden;margin-bottom:1em}');
  8041. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button{font-weight:normal;padding:4px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8042. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button>i{pointer-events:none}');
  8043. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button:disabled{background-color:#eee;border-bottom:0px;cursor:default;pointer-events:auto}');
  8044. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox{display:block;height:24px;font-weight:normal;margin:0}');
  8045. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox>span{display:inline-block;height:20px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8046. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.date{display:block;height:32px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8047. _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}');
  8048. _THUI.addElemetClassStyle(
  8049. 'div', CL_PANEL,
  8050. '>label.date>input[type=date]{box-sizing:border-box;height:28px;padding:2px 10px;padding-' + dirRight + ':2px;float:' + dirRight + ';margin-' + dirRight + ':-155px;width:150px}');
  8051. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.text{display:block;height:30px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8052. _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}');
  8053. _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}');
  8054. cssRules = '{position:relative;height:2em;width:100%;margin-bottom:';
  8055. cssRules2 = '>span{position:absolute;' + dirLeft + ':0;bottom:0;display:inline-block;padding:4px 12px;margin:0px;border-radius:8px;border-bottom-' + dirLeft +
  8056. '-radius:0;box-shadow:3px 3px 3px #aaa;border:1px solid ';
  8057. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules + '12px}');
  8058. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules2 + '#aea;background-color:#cfc;' + dirLeft + ':auto;' + dirRight + ':0;border-radius:8px;border-bottom-' + dirRight + '-radius:0}');
  8059. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, '>span' + cssRulesA);
  8060. _THUI.addElemetClassStyle('div', CL_MSG, cssRules + '1em}');
  8061. _THUI.addElemetClassStyle('div', CL_MSG, cssRules2 + '#ded;background-color:#efe}');
  8062. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules + '1em}');
  8063. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules2 + '#ee9;background-color:#ffa}');
  8064. _THUI.addElemetIdStyle('div', ID_PROPERTY, '{padding-bottom:5px}');
  8065. _THUI.addElemetIdStyle('div', ID_PROPERTY, '>b' + cssRulesA);
  8066. cssRules = '{color:' + GL_NOTECOLOR + '}';
  8067. _THUI.addElemetClassStyle('div', CL_NOTE, cssRules);
  8068. _THUI.addElemetClassStyle('a', CL_NOTE, cssRules);
  8069. cssRules = '{color:' + GL_WARNINGCOLOR + '}';
  8070. _THUI.addElemetClassStyle('div', CL_WARNING, cssRules);
  8071. _THUI.addElemetClassStyle('a', CL_WARNING, cssRules);
  8072. cssRules = '{color:' + GL_ERRORCOLOR + '}';
  8073. _THUI.addElemetClassStyle('div', CL_ERROR, cssRules);
  8074. _THUI.addElemetClassStyle('a', CL_ERROR, cssRules);
  8075. cssRules = '{color:' + GL_CUSTOM1COLOR + '}';
  8076. _THUI.addElemetClassStyle('div', CL_CUSTOM1, cssRules);
  8077. _THUI.addElemetClassStyle('a', CL_CUSTOM1, cssRules);
  8078. cssRules = '{color:' + GL_CUSTOM2COLOR + '}';
  8079. _THUI.addElemetClassStyle('div', CL_CUSTOM2, cssRules);
  8080. _THUI.addElemetClassStyle('a', CL_CUSTOM2, cssRules);
  8081. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '{white-space:nowrap;position:relative;cursor:help}');
  8082. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span{display:inline-block;overflow:hidden;text-overflow:ellipsis;width:279px}');
  8083. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span' + cssRulesA);
  8084. cssRules = ';z-index:1000000;position:absolute;visibility:hidden;opacity:0;transition:0.1s ease;' + dirLeft + ':30px;top:-1.7em;cursor:default}';
  8085. _THUI.addElemetClassStyle(
  8086. 'div', CL_RIGHTTIP, ':before{content:"";position:absolute;border:1em solid transparent;border-' + dirRight + '-color:#ddd;margin-' + dirLeft + ':-2em;margin-top:1.5em' + cssRules);
  8087. _THUI.addElemetClassStyle(
  8088. '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);
  8089. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '{margin-' + dirLeft + ':2em}');
  8090. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, cssRulesA);
  8091. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p{color:black;margin-top:0.5em;margin-bottom:0.5em !important}');
  8092. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p' + cssRulesA);
  8093. cssRules = '{visibility:visible;opacity:1}';
  8094. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover:before' + cssRules);
  8095. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover>div' + cssRules);
  8096. _UI = {
  8097. _DISABLED: undefined,
  8098. _NODISPLAY: undefined,
  8099. MAXLENGTH: undefined,
  8100. REVERSE: undefined,
  8101. WARNING: undefined,
  8102. TYPE: undefined,
  8103. FORUSER: undefined,
  8104. FORCITY: undefined,
  8105. FORCOUNTRY: undefined,
  8106. FORLEVEL: undefined,
  8107. ACCESSKEY: undefined,
  8108. STYLEI: '',
  8109. DISCLOSE: 0,
  8110. _NAME: '',
  8111. READONLY: 0,
  8112. _STYLE: '',
  8113. ONWARNING: null,
  8114. ONCHANGE: null,
  8115. _ONCHANGE: undefined,
  8116. ONCLICKO: undefined,
  8117. MIN: undefined,
  8118. MAX: undefined,
  8119. STEP: undefined,
  8120. CLASS: CL_UI,
  8121. _TYPE: _THUI.DIV,
  8122. _ONWARNING: onWarning,
  8123. pTips: {},
  8124. pTranslateBanner: {
  8125. CLASS: CL_TRANSLATETIP,
  8126. TEXT: 'Please help to ' +
  8127. '<a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">' +
  8128. 'translate Validator!</a>',
  8129. TITLE: trS('about.tip')
  8130. },
  8131. pNoAccess: {CLASS: CL_PANEL, NODISPLAY: 1, STYLE: 'text-align:center', TEXT: trS('noaccess.text'), TITLE: trS('noaccess.tip')},
  8132. pMain: {
  8133. pTabs: {
  8134. CLASS: CL_TABS,
  8135. _DISCLOSE: 1,
  8136. _TYPE: _THUI.RADIO,
  8137. _ONCLICK: onUpdateUI,
  8138. tMain: {TEXT: '', TITLE: '', DISABLED: 1, STYLEO: 'cursor:pointer;max-width:97px', ONCLICKO: onUpdateUI},
  8139. tFilter: {
  8140. TEXT: '<i class="fa fa-filter" aria-hidden="true"></i>' +
  8141. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.filter.text') + '</span>',
  8142. TITLE: trS('tab.filter.tip'),
  8143. CHECKED: 1
  8144. },
  8145. tSearch: {
  8146. TEXT: '<i class="fa fa-search" aria-hidden="true"></i>' +
  8147. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.search.text') + '</span>',
  8148. TITLE: trS('tab.search.tip')
  8149. },
  8150. tHelp: {
  8151. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8152. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.help.text') + '</span>',
  8153. TITLE: trS('tab.help.tip'),
  8154. STYLEO: 'float:' + dirRight
  8155. }
  8156. },
  8157. pFilter: {
  8158. CLASS: CL_PANEL,
  8159. _CLASS: 'checkbox',
  8160. _TYPE: _THUI.CHECKBOX,
  8161. _REVERSE: 1,
  8162. _ONCHANGE: onUpdateUI,
  8163. oEnablePlaces: {TEXT: trS('filter.places.text'), TITLE: trS('filter.places.tip'), AUTOSAVE: AS_PLACES},
  8164. oExcludeNonEditables: {TEXT: trS('filter.noneditables.text'), TITLE: trS('filter.noneditables.tip'), AUTOSAVE: AS_NONEDITABLES},
  8165. oExcludeDuplicates: {TEXT: trS('filter.duplicates.text'), TITLE: trS('filter.duplicates.tip'), AUTOSAVE: AS_DUPLICATES},
  8166. oExcludeStreets: {TEXT: trS('filter.streets.text'), TITLE: trS('filter.streets.tip'), AUTOSAVE: AS_STREETS},
  8167. oExcludeOther: {TEXT: trS('filter.other.text'), TITLE: trS('filter.other.tip'), AUTOSAVE: AS_OTHERS},
  8168. oExcludeNotes: {TEXT: trS('filter.notes.text'), TITLE: trS('filter.notes.tip'), AUTOSAVE: AS_NOTES}
  8169. },
  8170. pSearch: {
  8171. CLASS: CL_PANEL,
  8172. NODISPLAY: 1,
  8173. _REVERSE: 1,
  8174. _ONCHANGE: onUpdateUI,
  8175. oIncludeYourEdits: {NODISPLAY: 1, TYPE: _THUI.CHECKBOX, TEXT: trS('search.youredits.text'), TITLE: trS('search.youredits.tip'), CLASS: 'checkbox', AUTOSAVE: AS_YOUREDITS},
  8176. oIncludeUpdatedBy: {
  8177. TYPE: _THUI.TEXT,
  8178. TEXT: trS('search.updatedby.text'),
  8179. TITLE: trS('search.updatedby.tip'),
  8180. PLACEHOLDER: trS('search.updatedby.example'),
  8181. CLASS: 'form-label text',
  8182. CLASSI: 'form-control',
  8183. AUTOSAVE: AS_UPDATEDBY
  8184. },
  8185. oIncludeUpdatedSince: {
  8186. TYPE: _THUI.DATE,
  8187. TEXT: trS('search.updatedsince.text'),
  8188. TITLE: trS('search.updatedsince.tip'),
  8189. PLACEHOLDER: trS('search.updatedsince.example'),
  8190. CLASS: 'form-label date',
  8191. CLASSI: 'form-control',
  8192. AUTOSAVE: AS_UPDATEDSINCE
  8193. },
  8194. oIncludeCityName: {
  8195. TYPE: _THUI.TEXT,
  8196. TEXT: trS('search.city.text'),
  8197. TITLE: trS('search.city.tip'),
  8198. PLACEHOLDER: trS('search.city.example'),
  8199. CLASS: 'form-label text',
  8200. CLASSI: 'form-control',
  8201. AUTOSAVE: AS_CITYNAME
  8202. },
  8203. oIncludeChecks: {
  8204. TYPE: _THUI.TEXT,
  8205. TEXT: trS('search.checks.text'),
  8206. TITLE: trS('search.checks.tip'),
  8207. PLACEHOLDER: trS('search.checks.example'),
  8208. CLASS: 'form-label text',
  8209. CLASSI: 'form-control',
  8210. AUTOSAVE: AS_CHECKS
  8211. }
  8212. },
  8213. pHelp: {CLASS: CL_PANEL, NODISPLAY: 1, TEXT: trS('help.text'), TITLE: trS('help.tip')},
  8214. pButtons: {
  8215. CLASS: CL_BUTTONS,
  8216. _CLASS: 'btn btn-default',
  8217. _TYPE: _THUI.BUTTON,
  8218. _ONCLICK: onUpdateUI,
  8219. bScan: {TEXT: '', TITLE: '', STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8220. bPause: {NODISPLAY: 1, TEXT: '', TITLE: trS('button.pause.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8221. bContinue: {TEXT: '', TITLE: trS('button.continue.tip'), NODISPLAY: 1, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8222. bStop: {TEXT: '', TITLE: trS('button.stop.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome;margin-' + dirRight + ':10px'},
  8223. bClear: {TEXT: '✘', TITLE: '', NODISPLAY: 1, DISABLED: 1, STYLE: 'float:' + dirLeft + ';width:38px;margin-' + dirRight + ':10px'},
  8224. bReport: {TEXT: trS('button.report.text'), TITLE: trS('button.report.tip'), STYLE: 'float:' + dirLeft + ';max-width:110px', ONCLICK: onShowReport},
  8225. bReportBB: {TEXT: '', TITLE: trS('button.BBreport.tip'), ONCLICK: onShareReport, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8226. bSettings: {TEXT: '', TITLE: trS('button.settings.tip'), STYLE: 'float:' + dirRight + ';width:38px;font-family:FontAwesome'}
  8227. }
  8228. },
  8229. pSettings: {
  8230. NODISPLAY: 1,
  8231. pTabs: {
  8232. CLASS: CL_TABS,
  8233. _DISCLOSE: 1,
  8234. _TYPE: _THUI.RADIO,
  8235. _ONCLICK: onUpdateUI,
  8236. tMain: {TEXT: trS('tab.settings.text') + ':', TITLE: 'WME Validator Version ' + WV_VERSION, STYLEO: 'max-width:85px', DISABLED: 1},
  8237. tCustom: {
  8238. TEXT: '<i class="fa fa-user" aria-hidden="true"></i>' +
  8239. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.custom.text') + '</span>',
  8240. STYLEO: 'max-width:110px',
  8241. TITLE: trS('tab.custom.tip'),
  8242. CHECKED: 1
  8243. },
  8244. tScanner: {
  8245. TEXT: '<i class="fa fa-wrench" aria-hidden="true"></i>' +
  8246. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.scanner.text') + '</span>',
  8247. TITLE: trS('tab.scanner.tip'),
  8248. STYLEO: 'max-width:110px'
  8249. },
  8250. tAbout: {
  8251. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8252. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.about.text') + '</span>',
  8253. TITLE: trS('tab.about.tip'),
  8254. STYLEO: 'float:' + dirRight + ';max-width:110px'
  8255. }
  8256. },
  8257. pCustom: {
  8258. CLASS: CL_PANEL,
  8259. _CLASS: 'form-label text',
  8260. _REVERSE: 1,
  8261. _ONCHANGE: onUpdateUI,
  8262. oTemplate1: {
  8263. TYPE: _THUI.TEXT,
  8264. TEXT: '&nbsp;' + trS('custom.template.text'),
  8265. TITLE: trS('custom.template.tip'),
  8266. PLACEHOLDER: trS('custom.template.example'),
  8267. CLASS: 'form-label text c1',
  8268. CLASSI: 'form-control',
  8269. AUTOSAVE: AS_CUSTOM1TEMPLATE
  8270. },
  8271. oRegExp1: {
  8272. TYPE: _THUI.TEXT,
  8273. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8274. TITLE: trS('custom.regexp.tip'),
  8275. PLACEHOLDER: trS('custom.regexp.example'),
  8276. CLASSI: 'form-control',
  8277. AUTOSAVE: AS_CUSTOM1REGEXP
  8278. },
  8279. oTemplate2: {
  8280. TYPE: _THUI.TEXT,
  8281. TEXT: '&nbsp;' + trS('custom.template.text'),
  8282. TITLE: trS('custom.template.tip'),
  8283. PLACEHOLDER: trS('custom.template.example'),
  8284. CLASS: 'form-label text c2',
  8285. CLASSI: 'form-control',
  8286. AUTOSAVE: AS_CUSTOM2TEMPLATE
  8287. },
  8288. oRegExp2: {
  8289. TYPE: _THUI.TEXT,
  8290. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8291. TITLE: trS('custom.regexp.tip'),
  8292. PLACEHOLDER: trS('custom.regexp.example'),
  8293. CLASSI: 'form-control',
  8294. AUTOSAVE: AS_CUSTOM2REGEXP
  8295. }
  8296. },
  8297. pScanner: {
  8298. NODISPLAY: 1,
  8299. CLASS: CL_PANEL,
  8300. _CLASS: 'checkbox',
  8301. _TYPE: _THUI.CHECKBOX,
  8302. _REVERSE: 1,
  8303. _ONCHANGE: onUpdateUI,
  8304. oSlowChecks: {TEXT: trS('scanner.slow.text'), TITLE: trS('scanner.slow.tip'), AUTOSAVE: AS_SLOWCHECKS},
  8305. oReportExt: {TEXT: trS('scanner.ext.text'), TITLE: trS('scanner.ext.tip'), AUTOSAVE: AS_REPORTEXT},
  8306. oHLReported: {TEXT: trS('scanner.highlight.text'), TITLE: trS('scanner.highlight.tip'), AUTOSAVE: AS_HLISSUES},
  8307. oSounds: {TEXT: trS('scanner.sounds.text'), TITLE: trS('scanner.sounds.tip'), NATITLE: trS('scanner.sounds.NA'), AUTOSAVE: AS_SOUNDS}
  8308. },
  8309. pAbout: {
  8310. CLASS: CL_PANEL,
  8311. NODISPLAY: 1,
  8312. TEXT: '<p><b>WME Validator</b>' +
  8313. '<br>Version ' + WV_VERSION + ' <a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">check for updates</a>' +
  8314. '<br>&copy; 2013-2018 Andriy Berestovskyy</p>' +
  8315. '<p><b>Built-in localization packs for:</b><br>' + listOfIntPacks + '<p><b>External localization packs for:</b><br>' + listOfPacks + '</p>' +
  8316. '<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>',
  8317. TITLE: trS('about.tip'),
  8318. STYLE: 'direction:ltr;text-align:center;white-space:normal'
  8319. },
  8320. pButtons: {
  8321. CLASS: CL_BUTTONS,
  8322. _CLASS: 'btn btn-default',
  8323. _TYPE: _THUI.BUTTON,
  8324. _ONCLICK: onUpdateUI,
  8325. 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'},
  8326. bList: {
  8327. NODISPLAY: 1,
  8328. TEXT: '<i class="fa fa-list" aria-hidden="true"></i> ' + trS('button.list.text'),
  8329. TITLE: trS('button.list.tip'),
  8330. STYLE: 'float:' + dirLeft + ';max-width:165px',
  8331. ONCLICK: onShowChecks
  8332. },
  8333. bWizard: {
  8334. NODISPLAY: 1,
  8335. TEXT: '<i class="fa fa-magic" aria-hidden="true"></i>',
  8336. TITLE: trS('button.wizard.tip'),
  8337. STYLE: 'float:' + dirLeft + ';margin-' + dirLeft + ':6px;width:38px',
  8338. ONCLICK: onCreatePack
  8339. },
  8340. 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'}
  8341. }
  8342. }
  8343. };
  8344. clearReport();
  8345. if (_RT.$topUser.$isCM) {
  8346. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 1;
  8347. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 0
  8348. } else {
  8349. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 0;
  8350. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 1
  8351. }
  8352. if (-1 !== _RT.$untranslatedLngs.indexOf(_RT.$lng.split('-')[0]))
  8353. _UI.pTranslateBanner.NODISPLAY = 0;
  8354. else
  8355. _UI.pTranslateBanner.NODISPLAY = 1;
  8356. if (!classCodeDefined(UW.AudioContext) && !classCodeDefined(UW.webkitAudioContext)) {
  8357. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  8358. _UI.pSettings.pScanner.oSounds.NA = true
  8359. }
  8360. resetDefaults();
  8361. var storageObj = null;
  8362. var s = null;
  8363. try {
  8364. s = window.localStorage.getItem(AS_NAME);
  8365. storageObj = s ? JSON.parse(s) : null;
  8366. if (!(AS_PASSWORD in storageObj)) storageObj = null
  8367. } catch (e) {
  8368. }
  8369. if (!storageObj || WV_LICENSE_VERSION !== storageObj[AS_LICENSE])
  8370. if (!confirm(WV_LICENSE)) {
  8371. _UI = {};
  8372. WLM.events.un({'afterloginchanged': onLogin, 'login': onLogin});
  8373. return
  8374. }
  8375. var showWhatsNew = false;
  8376. if (s && !storageObj) {
  8377. warning('\nDue to the major changes in Validator, all filter options\nand settings have been RESET to their DEFAULTS.');
  8378. showWhatsNew = true
  8379. }
  8380. if (storageObj && WV_VERSION !== storageObj[AS_VERSION]) showWhatsNew = true;
  8381. if (showWhatsNew) info(WV_WHATSNEW);
  8382. _THUI.loadValues(_UI, storageObj);
  8383. var styleMap = new OpenLayers.StyleMap({strokeWidth: HL_WIDTH});
  8384. var lookup = {};
  8385. lookup[RS_NOTE] = {strokeColor: GL_NOTECOLOR, graphicZIndex: 10};
  8386. lookup[RS_WARNING] = {strokeColor: GL_WARNINGCOLOR, graphicZIndex: 20};
  8387. lookup[RS_ERROR] = {strokeColor: GL_ERRORCOLOR, graphicZIndex: 30};
  8388. lookup[RS_CUSTOM2] = {strokeColor: GL_CUSTOM2COLOR, graphicZIndex: 40};
  8389. lookup[RS_CUSTOM1] = {strokeColor: GL_CUSTOM1COLOR, graphicZIndex: 50};
  8390. styleMap.addUniqueValueRules('default', 0, lookup);
  8391. _RT.$HLlayer = new OpenLayers.Layer.Vector(GL_LAYERNAME, {
  8392. uniqueName: GL_LAYERUNAME,
  8393. shortcutKey: GL_LAYERSHORTCUT,
  8394. accelerator: GL_LAYERACCEL,
  8395. units: 'm',
  8396. styleMap: styleMap,
  8397. projection: new OpenLayers.Projection('EPSG:4326'),
  8398. visibility: _UI.pSettings.pScanner.oHLReported.CHECKED
  8399. });
  8400. I18n.translations[I18n.currentLocale()].layers.name[GL_LAYERUNAME] = GL_LAYERNAME;
  8401. _RT.$HLlayer.setOpacity(HL_OPACITY);
  8402. WM.addLayer(_RT.$HLlayer);
  8403. _RT.$HLlayer.setVisibility(_UI.pSettings.pScanner.oHLReported.CHECKED);
  8404. WM.raiseLayer(_RT.$HLlayer, 99);
  8405. $('#sidepanel-' + ID_PREFIX + '').remove();
  8406. $('#tab-' + ID_PREFIX + '').remove();
  8407. $('#user-tabs ul')
  8408. .append(
  8409. '<li id="tab-' + ID_PREFIX + '">' +
  8410. '<a data-toggle="tab" href="#sidepanel-' + ID_PREFIX + '">' +
  8411. '<span class="fa fa-check-square-o"></span>' +
  8412. ' Validator' +
  8413. '</a></li>');
  8414. $('#user-tabs+div.tab-content').append('<div class="tab-pane" id="sidepanel-' + ID_PREFIX + '"></div>');
  8415. _THUI.appendUI(document.getElementById('sidepanel-' + ID_PREFIX), _UI, 'i' + ID_PREFIX);
  8416. async(F_UPDATEUI);
  8417. async(ForceHLAllObjects, null, 700);
  8418. WMo.events.on({'mergeend': onMergeEnd});
  8419. WM.events.on({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  8420. WSM.events.on({'selectionchanged': ForceHLAllObjects});
  8421. WC.events.on({'loadstart': onLoadStart});
  8422. WMo.segments.on({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  8423. WMo.venues.on({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  8424. WMo.nodes.on({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved});
  8425. W.prefs.on({'change:isImperial': onChangeIsImperial})
  8426. };
  8427. function F_ONSEGMENTSCHANGED(e) {
  8428. var changedNodes = [];
  8429. for (var i = 0; i < e.length; i++) {
  8430. var nodeIDs = [e[i].attributes.fromNodeID, e[i].attributes.toNodeID];
  8431. for (var j = 0; j < nodeIDs.length; j++) {
  8432. var nodeID = nodeIDs[j];
  8433. if (!nodeID) continue;
  8434. var node = WMo.nodes.getObjectById(nodeID);
  8435. if (node) changedNodes.push(node)
  8436. }
  8437. }
  8438. if (changedNodes.length) sync(F_ONNODESCHANGED, changedNodes)
  8439. }
  8440. function F_ONNODESCHANGED(e) {
  8441. var reHL = false;
  8442. for (var i = 0; i < e.length; i++) {
  8443. var ids = e[i].attributes.segIDs;
  8444. for (var j = 0; j < ids.length; j++) _RT.$revalidate[ids[j]] = true, reHL = true
  8445. }
  8446. if (reHL) HLAllObjects()
  8447. }
  8448. function F_ONVENUESCHANGED(e) {
  8449. var reHL = false;
  8450. for (var i = e.length - 1; i >= 0; i--) {
  8451. var id = e[i].attributes.id;
  8452. _RT.$revalidate[id] = true;
  8453. reHL = true
  8454. }
  8455. if (reHL) HLAllObjects()
  8456. }
  8457. function F_ONCHANGELAYER(e) {
  8458. if (!e.hasOwnProperty('layer')) return;
  8459. if (-1 !== e.layer.id.indexOf(GL_TBPREFIX)) {
  8460. if (!e.layer.visibility)
  8461. for (var segmentID in WMo.segments.objects) {
  8462. if (!WMo.segments.objects.hasOwnProperty(segmentID)) continue;
  8463. delete WMo.segments.objects[segmentID][GL_TBCOLOR]
  8464. }
  8465. ForceHLAllObjects()
  8466. } else if (GL_LAYERUNAME === e.layer.uniqueName && e.layer.visibility !== _UI.pSettings.pScanner.oHLReported.CHECKED) {
  8467. _RT.$switchValidator = true;
  8468. async(F_UPDATEUI)
  8469. }
  8470. }
  8471. function F_ONMOVEEND() {
  8472. var c = WM.getCenter();
  8473. if (-1 === _RT.$WDmoveID && -1 === _RT.$WDloadID && c.equals(_RT.$nextCenter))
  8474. _RT.$WDmoveID = window.setTimeout(onMergeEnd, WD_SHORT);
  8475. else if (RTStateIs(ST_RUN) && !_RT.$firstStep && !c.equals(_RT.$nextCenter) && !c.equals(_RT.$startCenter)) {
  8476. _RT.$curMessage = {TEXT: trS('msg.autopaused.text'), TITLE: trS('msg.autopaused.tip')};
  8477. async(F_PAUSE)
  8478. }
  8479. _RT.$moveEndCenter = c
  8480. }
  8481. function F_ONLOADSTART() {
  8482. var c = WM.getCenter();
  8483. window.clearTimeout(_RT.$WDmoveID);
  8484. if (-1 === _RT.$WDloadID && c.equals(_RT.$nextCenter)) _RT.$WDloadID = window.setTimeout(onMergeEnd, WD_LONG);
  8485. _RT.$WDmoveID = -1
  8486. }
  8487. function F_LAYERSOFF() {
  8488. _RT.$HLlayer.destroyFeatures();
  8489. if (_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8490. WM.layers.forEach(function(el) {
  8491. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName) {
  8492. if (el.getVisibility())
  8493. _RT.$layersVisibility += 'T';
  8494. else
  8495. _RT.$layersVisibility += 'F';
  8496. el.setVisibility(false)
  8497. }
  8498. })
  8499. }
  8500. function F_LAYERSON() {
  8501. if (!_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8502. var j = 0;
  8503. WM.layers.forEach(function(el) {
  8504. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName)
  8505. if (_RT.$layersVisibility.length > j) {
  8506. el.setVisibility('T' === _RT.$layersVisibility.charAt(j));
  8507. j++
  8508. }
  8509. });
  8510. _RT.$layersVisibility = ''
  8511. }
  8512. function F_PAUSE() {
  8513. if (!RTStateIs(ST_RUN)) return;
  8514. beep(50, 'square');
  8515. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8516. setRTState(ST_PAUSE);
  8517. async(F_LAYERSON)
  8518. }
  8519. function F_STOP() {
  8520. if (!RTStateIs(ST_STOP)) {
  8521. beep(100, 'square');
  8522. if (_RT.$startCenter) {
  8523. WM.panTo(_RT.$startCenter);
  8524. WM.zoomTo(_RT.$startZoom)
  8525. }
  8526. if (!_REP.$maxSeverity) _RT.$curMessage = { TEXT: trS('msg.noissues.text'), TITLE: trS('msg.noissues.tip') }
  8527. }
  8528. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8529. setRTState(ST_STOP);
  8530. async(F_LAYERSON)
  8531. }
  8532. function F_ONMERGEEND() {
  8533. var c = WM.getCenter();
  8534. if (RTStateIs(ST_RUN) && _RT.$nextCenter && !c.equals(_RT.$nextCenter)) return;
  8535. var e = WM.getExtent();
  8536. var ew = e.getWidth();
  8537. var eh = e.getHeight();
  8538. var ew2 = ew / 2;
  8539. var eh2 = eh / 2;
  8540. var s = _RT.$startExtent;
  8541. if (!s) s = new UW.OpenLayers.Bounds;
  8542. var cx = c.lon;
  8543. var cy = c.lat;
  8544. var dir = Math.round(_RT.$direction / Math.abs(_RT.$direction));
  8545. var sw = s.getWidth();
  8546. var sh = s.getHeight();
  8547. var kxMax = Math.ceil(sw / (ew * SCAN_STEP / 100));
  8548. var stepX = sw / kxMax;
  8549. var kyMax = Math.ceil(sh / (eh * SCAN_STEP / 100));
  8550. var stepY = sh / kyMax;
  8551. if (RTStateIs(ST_CONTINUE)) {
  8552. if (_RT.$nextCenter) {
  8553. setRTState(ST_RUN);
  8554. WM.zoomTo(SCAN_ZOOM);
  8555. WM.panTo(_RT.$nextCenter);
  8556. clearWD();
  8557. return
  8558. }
  8559. async(F_ONRUN);
  8560. return
  8561. }
  8562. if (!RTStateIs(ST_RUN)) {
  8563. HLAllObjects();
  8564. return
  8565. }
  8566. async(F_UPDATEUI);
  8567. if (_RT.$firstStep) {
  8568. _RT.$firstStep = false;
  8569. var newX = s.left + ew2;
  8570. var newY = s.top - eh2;
  8571. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8572. WM.zoomTo(SCAN_ZOOM);
  8573. WM.panTo(_RT.$nextCenter);
  8574. clearWD();
  8575. return
  8576. }
  8577. sync(F_VALIDATE, false);
  8578. var deltaX = Number.MAX_VALUE;
  8579. var deltaY = Number.MAX_VALUE;
  8580. var kx = 0;
  8581. var ky = 0;
  8582. for (var i = 0;; i++) {
  8583. var x = s.left + ew2 + i * stepX;
  8584. var y = s.top - eh2 - i * stepY;
  8585. if (x > s.right && y < s.bottom) break;
  8586. var cd = Math.abs(x - cx);
  8587. if (cd < deltaX) deltaX = cd, kx = i;
  8588. cd = Math.abs(y - cy);
  8589. if (cd < deltaY) deltaY = cd, ky = i
  8590. }
  8591. updateTimer(ST_RUN);
  8592. var curStep = ky * kxMax + (0 < dir ? kx : kxMax - kx);
  8593. if (4 < curStep)
  8594. if (0 === curStep % 5) {
  8595. var maxStep = kyMax * kxMax;
  8596. var minETA = (maxStep / curStep - 1) * _RT.$timer.$secInRun / 60;
  8597. var strMsg = 1 > minETA ? trS('msg.scanning.text.soon') : trSO('msg.scanning.text', {'n': Math.round(minETA)});
  8598. _RT.$curMessage = { TEXT: strMsg, TITLE: trS('msg.scanning.tip') }
  8599. }
  8600. kx = kx + dir;
  8601. var newX = s.left + ew2 + kx * stepX;
  8602. 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)) {
  8603. newX = s.left + ew2 + (kx - dir) * stepX;
  8604. _RT.$direction = -_RT.$direction;
  8605. ky++
  8606. }
  8607. var newY = s.top - eh2 - ky * stepY;
  8608. if (newY < s.bottom || Math.abs(newY - s.bottom) < Math.abs(newY - eh2 - s.bottom)) {
  8609. if (!_REP.$isEditableFound && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) _RT.$reportEditableNotFound = true;
  8610. async(F_STOP);
  8611. return
  8612. }
  8613. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8614. WM.zoomTo(SCAN_ZOOM);
  8615. WM.panTo(_RT.$nextCenter);
  8616. clearWD()
  8617. }
  8618. function F_ONRUN() {
  8619. clearErrorFlag();
  8620. if (RTStateIs(ST_RUN)) return;
  8621. async(F_LAYERSOFF);
  8622. _RT.$curMessage = {TEXT: trS('msg.starting.text'), TITLE: trS('msg.starting.tip')};
  8623. setRTState(ST_RUN);
  8624. clearWD();
  8625. _RT.$direction = DIR_L2R;
  8626. _RT.$firstStep = true;
  8627. var e = WM.getExtent();
  8628. _RT.$startExtent = e;
  8629. _RT.$startCenter = WM.getCenter();
  8630. _RT.$startZoom = WM.getZoom();
  8631. _RT.$nextCenter = null;
  8632. _RT.$moveEndCenter = null;
  8633. _RT.$nextCenter = new UW.OpenLayers.LonLat(e.left, e.top);
  8634. WM.panTo(_RT.$nextCenter);
  8635. WM.zoomTo(SCAN_ZOOM)
  8636. }
  8637. function F_ONLOGIN() {
  8638. if (WLM.user) {
  8639. if (!_WV.$loggedIn) {
  8640. _WV.$loggedIn = true;
  8641. async(F_LOGIN)
  8642. }
  8643. } else if (_WV.$loggedIn) {
  8644. _WV.$loggedIn = false;
  8645. async(F_LOGOUT)
  8646. } else {
  8647. log('waiting for login...');
  8648. async(F_ONLOGIN, null, 1E3)
  8649. }
  8650. }
  8651. function F_INIT() {
  8652. UW = window;
  8653. Wa = UW.W;
  8654. nW = UW.W;
  8655. WLM = nW.loginManager;
  8656. WSM = nW.selectionManager;
  8657. WM = nW.map;
  8658. WMo = nW.model;
  8659. WC = nW.controller;
  8660. if (!Wa || !WLM || !WLM.user || !WSM || !WM || !WMo || !WC || !$('#user-tabs')) {
  8661. log('waiting for WME...');
  8662. async(F_INIT, null, 1E3);
  8663. return
  8664. }
  8665. WM = nW.map.olMap;
  8666. if (classCodeDefined(UW.require)) {
  8667. R = UW.require;
  8668. WME_BETA = /beta/.test(location.href)
  8669. }
  8670. var _gaq = UW['_gaq'];
  8671. if (_gaq) {
  8672. _gaq.push(['WME_Validator._setAccount', 'UA-46853768-3']);
  8673. _gaq.push(['WME_Validator._setDomainName', 'waze.com']);
  8674. _gaq.push(['WME_Validator._trackPageview'])
  8675. }
  8676. _WV.$loggedIn = false;
  8677. WLM.events.on({'loginStatus': onLogin, 'login': onLogin});
  8678. W.app.modeController.model.bind('change:mode', F_INIT);
  8679. async(F_ONLOGIN);
  8680. _WV.buildRegExp = function(checkID, options, strRegExp) {
  8681. try {
  8682. while (strRegExp && ' ' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8683. if (strRegExp) {
  8684. if ('D' === strRegExp.charAt(0)) {
  8685. strRegExp = strRegExp.substr(1);
  8686. options[CO_NUMBER] = 1
  8687. } else
  8688. options[CO_NUMBER] = 0;
  8689. if ('!' === strRegExp.charAt(0)) {
  8690. strRegExp = strRegExp.substr(1);
  8691. options[CO_BOOL] = true
  8692. } else
  8693. options[CO_BOOL] = false;
  8694. if ('/' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8695. var strRegExpOptions = '';
  8696. var arrMatch = strRegExp.match(/\/([igmy]*)$/);
  8697. if (arrMatch) {
  8698. strRegExpOptions = arrMatch[1];
  8699. strRegExp = strRegExp.slice(0, -arrMatch[0].length)
  8700. }
  8701. options[CO_REGEXP] = new RegExp(strRegExp, strRegExpOptions)
  8702. } else {
  8703. options[CO_BOOL] = false;
  8704. options[CO_NUMBER] = 0;
  8705. options[CO_REGEXP] = null
  8706. }
  8707. } catch (e) {
  8708. error(trSO('err.regexp', {'n': checkID}) + '\n\n' + e);
  8709. options[CO_BOOL] = false;
  8710. options[CO_NUMBER] = 0;
  8711. options[CO_REGEXP] = null
  8712. }
  8713. };
  8714. _WV.SimpleCITY = function(objID) {
  8715. this.$hash = 0;
  8716. this.$cityID = 0;
  8717. this.$city = '';
  8718. this.$state = '';
  8719. this.$countryID = 0;
  8720. this.$country = '';
  8721. if (objID) {
  8722. this.$cityID = objID;
  8723. var oc = WMo.cities.getObjectById(objID);
  8724. if (oc) {
  8725. this.$city = oc.attributes.isEmpty ? '' : oc.attributes.name;
  8726. var o = WMo.states.getObjectById(oc.attributes.stateID);
  8727. if (o) this.$state = o.name;
  8728. this.$countryID = oc.attributes.countryID;
  8729. o = WMo.countries.getObjectById(oc.attributes.countryID);
  8730. if (o) this.$country = o.name
  8731. }
  8732. this.$hash = this.$cityID + this.$countryID;
  8733. Object.defineProperties(this, {$hash: {writable: false}, $cityID: {writable: false}, $state: {writable: false}, $countryID: {writable: false}, $country: {writable: false}})
  8734. }
  8735. };
  8736. _WV.SimpleCITY.prototype.isOkFor = function(checkID) {
  8737. if (!_RT.$isGlobalAccess) return false;
  8738. var rep = _RT.$checks[checkID];
  8739. if (!rep.$cache) rep.$cache = {};
  8740. var cache = rep.$cache;
  8741. var forCity = rep.FORCITY;
  8742. var hash = forCity ? this.$hash : this.$countryID;
  8743. if (hash in cache) return cache[hash];
  8744. cache[hash] = false;
  8745. var forLevel = rep.FORLEVEL;
  8746. if (forLevel && forLevel > _RT.$topUser.$userLevel) return false;
  8747. if (forCity) {
  8748. var curCity = this.$city.toUpperCase();
  8749. if (!_WV.checkAccessFor(forCity, function(e) {
  8750. return e.toUpperCase() === curCity
  8751. }))
  8752. return false
  8753. }
  8754. var forUser = rep.FORUSER;
  8755. if (forUser) {
  8756. var curUser = _RT.$topUser.$userName.toUpperCase();
  8757. if (!_WV.checkAccessFor(forUser, function(e) {
  8758. return e.toUpperCase() === curUser
  8759. }))
  8760. return false
  8761. }
  8762. var forCountry = rep.FORCOUNTRY;
  8763. if (forCountry) {
  8764. var curCountry = this.$country.toUpperCase();
  8765. if (!_WV.checkAccessFor(forCountry, function(e) {
  8766. if (e in _I18n.$code2country) return _I18n.$code2country[e] === curCountry;
  8767. error('Please report: fc=' + e);
  8768. return false
  8769. }))
  8770. return false
  8771. }
  8772. cache[hash] = true;
  8773. return true
  8774. };
  8775. _WV.SimpleADDRESS = function(objID) {
  8776. this.$streetID = 0;
  8777. this.$street = '';
  8778. if (objID) {
  8779. this.$streetID = objID;
  8780. var o = WMo.streets.getObjectById(objID);
  8781. if (o) {
  8782. this.$street = o.isEmpty ? '' : o.name;
  8783. _WV.SimpleCITY.call(this, o.cityID)
  8784. } else {
  8785. this.$street = GL_NOID;
  8786. _WV.SimpleCITY.call(this, 0)
  8787. }
  8788. }
  8789. Object.defineProperties(this, {$streetID: {writable: false}})
  8790. };
  8791. _WV.SimpleADDRESS.prototype = new _WV.SimpleCITY;
  8792. _WV.SimpleADDRESS.prototype.constructor = _WV.SimpleADDRESS
  8793. }
  8794. function F_ONWARNING(e) {
  8795. _THUI.viewToDoc(_UI);
  8796. var target = _THUI.getByDOM(_UI, e.target);
  8797. if (target && target.CHECKED && target.WARNING) warning(target.WARNING);
  8798. async(F_UPDATEUI)
  8799. }
  8800. function F_UPDATEUI(e) {
  8801. function destroyHLs() {
  8802. _RT.$HLedObjects = {};
  8803. _RT.$HLlayer.destroyFeatures()
  8804. }
  8805. function updateReportButtons() {
  8806. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) {
  8807. btns.bReport.CLASS = 'btn btn-default';
  8808. btns.bReport.DISABLED = true;
  8809. btns.bReportBB.DISABLED = true;
  8810. return
  8811. }
  8812. if (!_REP.$maxSeverity) {
  8813. btns.bReport.CLASS = 'btn btn-default';
  8814. btns.bReport.DISABLED = true;
  8815. btns.bReportBB.DISABLED = true
  8816. } else {
  8817. switch (_REP.$maxSeverity) {
  8818. case RS_NOTE:
  8819. btns.bReport.CLASS = 'btn btn-info';
  8820. break;
  8821. case RS_WARNING:
  8822. btns.bReport.CLASS = 'btn btn-warning';
  8823. break;
  8824. case RS_ERROR:
  8825. btns.bReport.CLASS = 'btn btn-danger';
  8826. break;
  8827. case RS_CUSTOM1:
  8828. btns.bReport.CLASS = 'btn btn-success';
  8829. break;
  8830. case RS_CUSTOM2:
  8831. btns.bReport.CLASS = 'btn btn-primary';
  8832. break
  8833. }
  8834. btns.bReport.DISABLED = false;
  8835. btns.bReportBB.DISABLED = false
  8836. }
  8837. if (3 < WM.getZoom()) {
  8838. btns.bScan.CLASS = 'btn btn-default';
  8839. btns.bScan.DISABLED = true;
  8840. btns.bScan.TITLE = trS('button.scan.tip.NA')
  8841. } else {
  8842. btns.bScan.CLASS = 'btn btn-success';
  8843. btns.bScan.DISABLED = false;
  8844. btns.bScan.TITLE = trS('button.scan.tip')
  8845. }
  8846. if (_REP.$isLimitPerCheck) {
  8847. btns.bClear.CLASS = 'btn btn-danger';
  8848. btns.bClear.TITLE = trS('button.clear.tip.red')
  8849. } else {
  8850. btns.bClear.CLASS = 'btn btn-default';
  8851. btns.bClear.TITLE = trS('button.clear.tip')
  8852. }
  8853. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  8854. _UI.pMain.pTabs.tMain.TEXT = '<i class="fa fa-check-square-o" aria-hidden="true"></i> ' +
  8855. 'Validator:';
  8856. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.off')
  8857. } else {
  8858. _UI.pMain.pTabs.tMain.TEXT = '<font color="#ccc"><i class="fa fa-power-off" aria-hidden="true"></i> ' +
  8859. 'Validator:</font>';
  8860. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.on')
  8861. }
  8862. _UI.pMain.pTabs.tMain.TITLE += '\nWME Validator Version ' + WV_VERSION
  8863. }
  8864. function getTopCity() {
  8865. var i = WMo.segments.topCityID;
  8866. if (i) return new _WV.SimpleCITY(i);
  8867. return new _WV.SimpleCITY(0)
  8868. }
  8869. _RT.$topCity = getTopCity();
  8870. if (_RT.$topCity.$country) _RT.$cachedTopCCode = _I18n.getCountryCode(_RT.$topCity.$country.toUpperCase());
  8871. _THUI.viewToDoc(_UI);
  8872. _RT.$isGlobalAccess = true;
  8873. if (!_RT.$topCity.isOkFor(0)) _RT.$isGlobalAccess = false;
  8874. if (!_RT.$isGlobalAccess) {
  8875. _UI.pMain.NODISPLAY = 1;
  8876. _UI.pSettings.NODISPLAY = 1;
  8877. _UI.pTips.NODISPLAY = 1;
  8878. _UI.pNoAccess.NODISPLAY = 0;
  8879. _THUI.docToView(_UI);
  8880. return
  8881. } else if (!_UI.pNoAccess.NODISPLAY) {
  8882. _UI.pMain.NODISPLAY = 0;
  8883. _UI.pTips.NODISPLAY = 0;
  8884. _UI.pNoAccess.NODISPLAY = 1
  8885. }
  8886. if (_RT.oReportToolbox.NA && null !== document.getElementById(_RT.oReportToolbox.FORID)) {
  8887. _RT.oReportToolbox.CHECKED = true;
  8888. _RT.oReportToolbox.NA = false;
  8889. clearReport();
  8890. async(ForceHLAllObjects, null, 1E3)
  8891. }
  8892. if (_RT.oReportWMECH.NA && null !== document.getElementById(_RT.oReportWMECH.FORID)) {
  8893. _RT.oReportWMECH.CHECKED = true;
  8894. _RT.oReportWMECH.NA = false;
  8895. clearReport();
  8896. async(ForceHLAllObjects, null, 1E3)
  8897. }
  8898. var customOptions = _RT.$checks[128].OPTIONS[_I18n.$defLng];
  8899. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate1.VALUE || _RT.$RegExp1 !== _UI.pSettings.pCustom.oRegExp1.VALUE) {
  8900. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate1.VALUE;
  8901. if (customOptions[CO_STRING]) {
  8902. clearErrorFlag();
  8903. _RT.$RegExp1 = _UI.pSettings.pCustom.oRegExp1.VALUE;
  8904. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp1.VALUE)
  8905. } else
  8906. customOptions[CO_REGEXP] = null
  8907. }
  8908. customOptions = _RT.$checks[129].OPTIONS[_I18n.$defLng];
  8909. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate2.VALUE || _RT.$RegExp2 !== _UI.pSettings.pCustom.oRegExp2.VALUE) {
  8910. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate2.VALUE;
  8911. if (customOptions[CO_STRING]) {
  8912. clearErrorFlag();
  8913. _RT.$RegExp2 = _UI.pSettings.pCustom.oRegExp2.VALUE;
  8914. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp2.VALUE)
  8915. } else
  8916. customOptions[CO_REGEXP] = null
  8917. }
  8918. if (_RT.$checks[128].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8919. _RT.$curMaxSeverity = RS_CUSTOM1;
  8920. else if (_RT.$checks[129].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8921. _RT.$curMaxSeverity = RS_CUSTOM2;
  8922. else
  8923. _RT.$curMaxSeverity = RS_ERROR;
  8924. if (e) {
  8925. switch (_THUI.getByDOM(_UI, e.target)) {
  8926. case _UI.pMain.pTabs.tMain:
  8927. _RT.$switchValidator = true;
  8928. break;
  8929. case _UI.pSettings.pCustom.oTemplate1:
  8930. case _UI.pSettings.pCustom.oRegExp1:
  8931. case _UI.pSettings.pCustom.oTemplate2:
  8932. case _UI.pSettings.pCustom.oRegExp2:
  8933. _RT.$isMapChanged = true;
  8934. clearReport();
  8935. async(ForceHLAllObjects);
  8936. break;
  8937. case _UI.pMain.pFilter.oEnablePlaces:
  8938. case _UI.pMain.pFilter.oExcludeNonEditables:
  8939. case _UI.pMain.pFilter.oExcludeDuplicates:
  8940. case _UI.pMain.pFilter.oExcludeStreets:
  8941. case _UI.pMain.pFilter.oExcludeOther:
  8942. case _UI.pMain.pFilter.oExcludeNotes:
  8943. case _UI.pMain.pSearch.oIncludeYourEdits:
  8944. case _UI.pMain.pSearch.oIncludeUpdatedBy:
  8945. case _UI.pMain.pSearch.oIncludeUpdatedSince:
  8946. case _UI.pMain.pSearch.oIncludeCityName:
  8947. case _UI.pMain.pSearch.oIncludeChecks:
  8948. _RT.$includeUpdatedByCache = {};
  8949. _RT.$includeUpdatedSinceTime = 0;
  8950. _RT.$includeCityNameCache = {};
  8951. _RT.$includeChecksCache = {};
  8952. async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8953. async(ForceHLAllObjects);
  8954. break;
  8955. case _UI.pMain.pButtons.bScan:
  8956. async(F_ONRUN);
  8957. break;
  8958. case _UI.pMain.pButtons.bStop:
  8959. async(F_STOP);
  8960. break;
  8961. case _UI.pMain.pButtons.bClear:
  8962. _RT.$isMapChanged = true;
  8963. clearErrorFlag();
  8964. clearReport();
  8965. destroyHLs();
  8966. break;
  8967. case _UI.pMain.pButtons.bPause:
  8968. _RT.$curMessage = {TEXT: trS('msg.paused.text'), TITLE: trS('msg.paused.tip')};
  8969. async(F_PAUSE);
  8970. break;
  8971. case _UI.pMain.pButtons.bContinue:
  8972. clearErrorFlag();
  8973. if (!RTStateIs(ST_PAUSE)) break;
  8974. if (LIMIT_TOTAL < _REP.$counterTotal) clearReport();
  8975. async(F_LAYERSOFF);
  8976. _RT.$curMessage = {TEXT: trS('msg.continuing.text'), TITLE: trS('msg.continuing.tip')};
  8977. setRTState(ST_CONTINUE);
  8978. if (_RT.$startCenter) {
  8979. WM.zoomTo(_RT.$startZoom);
  8980. WM.panTo(_RT.$startCenter)
  8981. }
  8982. clearWD();
  8983. break;
  8984. case _UI.pMain.pButtons.bSettings:
  8985. _UI.pMain.NODISPLAY = true;
  8986. _UI.pSettings.NODISPLAY = false;
  8987. _RT.$curMessage = {TEXT: trS('msg.settings.text'), TITLE: trS('msg.settings.tip')};
  8988. break;
  8989. case _UI.pSettings.pButtons.bReset:
  8990. resetDefaults();
  8991. _RT.$curMessage = {TEXT: trS('msg.reset.text'), TITLE: trS('msg.reset.tip')};
  8992. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8993. async(ForceHLAllObjects);
  8994. break;
  8995. case _UI.pSettings.pButtons.bBack:
  8996. _UI.pMain.NODISPLAY = false;
  8997. _UI.pSettings.NODISPLAY = true;
  8998. break;
  8999. case _UI.pSettings.pScanner.oHLReported:
  9000. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  9001. _RT.$switchValidator = true;
  9002. break
  9003. }
  9004. async(F_ONWARNING, e)
  9005. }
  9006. if (_RT.$switchValidator) {
  9007. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  9008. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  9009. ForceHLAllObjects();
  9010. _RT.$HLlayer.setVisibility(true)
  9011. } else {
  9012. ForceHLAllObjects();
  9013. destroyHLs();
  9014. _RT.$HLlayer.setVisibility(false)
  9015. }
  9016. _RT.$switchValidator = false
  9017. }
  9018. if (_RT.$reportEditableNotFound) {
  9019. _RT.$reportEditableNotFound = false;
  9020. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = false;
  9021. info(trS('filter.noneditables.reverted'))
  9022. }
  9023. _UI.pMain.pHelp.NODISPLAY = !_UI.pMain.pTabs.tHelp.CHECKED;
  9024. _UI.pMain.pFilter.NODISPLAY = !_UI.pMain.pTabs.tFilter.CHECKED;
  9025. _UI.pMain.pSearch.NODISPLAY = !_UI.pMain.pTabs.tSearch.CHECKED;
  9026. _UI.pSettings.pScanner.NODISPLAY = !_UI.pSettings.pTabs.tScanner.CHECKED;
  9027. _UI.pSettings.pCustom.NODISPLAY = !_UI.pSettings.pTabs.tCustom.CHECKED;
  9028. _UI.pSettings.pAbout.NODISPLAY = !_UI.pSettings.pTabs.tAbout.CHECKED;
  9029. if (_UI.pSettings.pTabs.tAbout.CHECKED) {
  9030. _UI.pSettings.pButtons.bReset.NODISPLAY = 1;
  9031. _UI.pSettings.pButtons.bList.NODISPLAY = 0;
  9032. _UI.pSettings.pButtons.bWizard.NODISPLAY = 0
  9033. } else {
  9034. _UI.pSettings.pButtons.bReset.NODISPLAY = 0;
  9035. _UI.pSettings.pButtons.bList.NODISPLAY = 1;
  9036. _UI.pSettings.pButtons.bWizard.NODISPLAY = 1
  9037. }
  9038. var btns = _UI.pMain.pButtons;
  9039. switch (getRTState()) {
  9040. case ST_CONTINUE:
  9041. case ST_RUN:
  9042. btns.bScan.NODISPLAY = true;
  9043. btns.bPause.NODISPLAY = false;
  9044. btns.bContinue.NODISPLAY = true;
  9045. btns.bStop.NODISPLAY = false;
  9046. btns.bClear.NODISPLAY = true;
  9047. updateReportButtons();
  9048. btns.bSettings.DISABLED = true;
  9049. _UI.pMain.pFilter._DISABLED = true;
  9050. _UI.pMain.pSearch._DISABLED = true;
  9051. break;
  9052. case ST_STOP:
  9053. btns.bScan.NODISPLAY = false;
  9054. btns.bPause.NODISPLAY = true;
  9055. btns.bContinue.NODISPLAY = true;
  9056. btns.bStop.NODISPLAY = true;
  9057. btns.bClear.NODISPLAY = false;
  9058. if (isEmpty(_RT.$seen))
  9059. btns.bClear.DISABLED = true;
  9060. else
  9061. btns.bClear.DISABLED = false;
  9062. updateReportButtons();
  9063. if (_REP.$maxSeverity && !_UI.pMain.NODISPLAY) _RT.$curMessage = {TEXT: trS('msg.finished.text'), TITLE: trS('msg.finished.tip'), CLASS: CL_MSGY};
  9064. btns.bSettings.DISABLED = false;
  9065. _UI.pMain.pFilter._DISABLED = false;
  9066. _UI.pMain.pSearch._DISABLED = false;
  9067. break;
  9068. case ST_PAUSE:
  9069. btns.bScan.NODISPLAY = true;
  9070. btns.bPause.NODISPLAY = true;
  9071. btns.bContinue.NODISPLAY = false;
  9072. btns.bContinue.DISABLED = false;
  9073. btns.bStop.NODISPLAY = false;
  9074. btns.bClear.NODISPLAY = true;
  9075. updateReportButtons();
  9076. btns.bSettings.DISABLED = false;
  9077. _UI.pMain.pFilter._DISABLED = false;
  9078. _UI.pMain.pSearch._DISABLED = false;
  9079. break
  9080. }
  9081. if (RTStateIs(ST_STOP) && !_REP.$maxSeverity)
  9082. if (!_UI.pMain.NODISPLAY)
  9083. if (3 < WM.getZoom())
  9084. _RT.$curMessage = {TEXT: _UI.pSettings.pScanner.oHLReported.CHECKED ? trS('msg.pan.text') : trS('msg.zoomout.text'), TITLE: '', CLASS: CL_MSGY};
  9085. else
  9086. _RT.$curMessage = {TEXT: trS('msg.click.text'), TITLE: '', CLASS: CL_MSGY};
  9087. _UI.pTips.TEXT = _RT.$curMessage.TEXT;
  9088. if (_RT.$curMessage.TITLE)
  9089. _UI.pTips.TITLE = _RT.$curMessage.TITLE;
  9090. else
  9091. _UI.pTips.TITLE = '';
  9092. if (_RT.$curMessage.CLASS)
  9093. _UI.pTips.CLASS = _RT.$curMessage.CLASS;
  9094. else
  9095. _UI.pTips.CLASS = CL_MSG;
  9096. var storageObj = _THUI.saveValues(_UI);
  9097. storageObj[AS_VERSION] = WV_VERSION;
  9098. storageObj[AS_LICENSE] = WV_LICENSE_VERSION;
  9099. storageObj[AS_PASSWORD] = 1;
  9100. try {
  9101. window.localStorage.setItem(AS_NAME, JSON.stringify(storageObj))
  9102. } catch (err) {
  9103. }
  9104. _THUI.docToView(_UI)
  9105. }
  9106. function F_LOGOUT() {
  9107. log('logout');
  9108. _UI = {};
  9109. WMo.events.un({'mergeend': onMergeEnd});
  9110. WM.events.un({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  9111. WSM.events.un({'selectionchanged': ForceHLAllObjects});
  9112. WC.events.un({'loadstart': onLoadStart});
  9113. WMo.segments.events.un({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  9114. WMo.venues.events.un({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  9115. WMo.nodes.events.un({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved})
  9116. }
  9117. async(F_INIT, null, 0);
  9118. var _I18n = {
  9119. $defLng: 'EN',
  9120. $lng: '',
  9121. $translations: null,
  9122. $curSet: null,
  9123. $curCode: '',
  9124. $fallbackSet: null,
  9125. $fallbackCode: '',
  9126. $defSet: null,
  9127. $country2code: null,
  9128. $code2country: null,
  9129. $code2code: null,
  9130. $lng2code: null,
  9131. $code2dir: null
  9132. };
  9133. _I18n.init = function(options) {
  9134. _I18n.$lng = options.$lng || _I18n.$defLng;
  9135. _I18n.$translations = options.$translations || {};
  9136. _I18n.$country2code = options.$country2code || {};
  9137. _I18n.$code2country = options.$code2country || {};
  9138. _I18n.$code2code = options.$code2code || {};
  9139. _I18n.$lng2code = options.$lng2code || {};
  9140. _I18n.$code2dir = options.$code2dir || {}
  9141. };
  9142. _I18n.addTranslation = function(translation) {
  9143. var ccode = translation['.codeISO'];
  9144. if (!ccode) return;
  9145. ccode = ccode.toUpperCase();
  9146. _I18n.$translations[ccode] = translation;
  9147. if (_I18n.$defLng !== ccode) {
  9148. var country = translation['.country'];
  9149. if (country) {
  9150. if (!classCodeIs(country, CC_ARRAY)) country = [country];
  9151. for (var i = 0; i < country.length; i++) {
  9152. var ucountry = country[i].toUpperCase();
  9153. _I18n.$country2code[ucountry] = ccode;
  9154. if (!(ccode in _I18n.$code2country)) _I18n.$code2country[ccode] = ucountry
  9155. }
  9156. }
  9157. var lng = translation['.lng'];
  9158. if (lng) {
  9159. if (!classCodeIs(lng, CC_ARRAY)) lng = [lng];
  9160. for (var i = 0; i < lng.length; i++) {
  9161. var ulng = lng[i].toUpperCase();
  9162. _I18n.$lng2code[ulng] = ccode
  9163. }
  9164. }
  9165. var dir = translation['.dir'];
  9166. if (dir) _I18n.$code2dir[ccode] = dir.toLowerCase();
  9167. var fcode = translation['.fallbackCode'];
  9168. if (fcode) {
  9169. fcode = fcode.toUpperCase();
  9170. if (_I18n.$defLng !== fcode) _I18n.$code2code[ccode] = fcode
  9171. }
  9172. }
  9173. _I18n.$curCode = _I18n.getCodeOL(_I18n.$translations, _I18n.$lng);
  9174. _I18n.$curSet = _I18n.getValueOC(_I18n.$translations, _I18n.$curCode);
  9175. _I18n.$fallbackCode = _I18n.getFallbackCodeOC(_I18n.$translations, _I18n.$curCode);
  9176. _I18n.$fallbackSet = _I18n.getValueOC(_I18n.$translations, _I18n.$fallbackCode);
  9177. _I18n.$defSet = _I18n.$translations[_I18n.$defLng]
  9178. };
  9179. _I18n.getDependantCodes = function(uc) {
  9180. var ret = [];
  9181. for (var depCode in _I18n.$code2code)
  9182. if (_I18n.$code2code[depCode] === uc) ret.push(depCode);
  9183. return ret
  9184. };
  9185. _I18n.getCountryCode = function(uc) {
  9186. if (uc in _I18n.$country2code) return _I18n.$country2code[uc];
  9187. return ''
  9188. };
  9189. _I18n.getCountry = function(ucc) {
  9190. if (ucc in _I18n.$code2country) return _I18n.$code2country[ucc];
  9191. return ''
  9192. };
  9193. _I18n.getCapitalizedCountry = function(ucc) {
  9194. return _I18n.capitalize(_I18n.getCountry(ucc)).toLowerCase().replace(/\b./g, function(c) {
  9195. return c.toUpperCase()
  9196. })
  9197. };
  9198. _I18n.capitalize = function(str) {
  9199. return str.toLowerCase().replace(/\b./g, function(c) {
  9200. return c.toUpperCase()
  9201. })
  9202. };
  9203. _I18n.getDir = function() {
  9204. if (_I18n.$curCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$curCode];
  9205. if (_I18n.$fallbackCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$fallbackCode];
  9206. return 'ltr'
  9207. };
  9208. _I18n.getString = function(label) {
  9209. if (label in _I18n.$curSet) return _I18n.$curSet[label];
  9210. if (label in _I18n.$fallbackSet) return _I18n.$fallbackSet[label];
  9211. if (label in _I18n.$defSet) return _I18n.$defSet[label];
  9212. var ret = '[missing ' + label + ']';
  9213. return ret
  9214. };
  9215. _I18n.isLabelExist = function(label) {
  9216. if (label in _I18n.$curSet) return true;
  9217. if (label in _I18n.$fallbackSet) return true;
  9218. if (label in _I18n.$defSet) return true;
  9219. return false
  9220. };
  9221. _I18n.getCodeOL = function(obj, lng) {
  9222. var ccode = _I18n.$lng2code[lng];
  9223. if (ccode)
  9224. if (ccode in obj)
  9225. return ccode;
  9226. else
  9227. return _I18n.getFallbackCodeOC(obj, ccode);
  9228. else
  9229. return _I18n.$defLng
  9230. };
  9231. _I18n.getFallbackCodeOC = function(obj, ccode) {
  9232. var fcode = _I18n.$code2code[ccode];
  9233. if (fcode && fcode in obj) return fcode;
  9234. return _I18n.$defLng
  9235. };
  9236. _I18n.getValueOL = function(obj, lng) {
  9237. return _I18n.getValueOC(obj, _I18n.getCodeOL(obj, lng))
  9238. };
  9239. _I18n.getValueOC = function(obj, ccode) {
  9240. if (ccode in obj)
  9241. return obj[ccode];
  9242. else if (ccode in _I18n.$code2code) {
  9243. var fcode = _I18n.$code2code[ccode];
  9244. if (fcode in obj) return obj[fcode]
  9245. }
  9246. return obj[_I18n.$defLng]
  9247. };
  9248. _I18n.expandSO = function(str, options) {
  9249. if (!options) return str;
  9250. return str.replace(/\$\{(\w+)(\[(\d+)\]|\[(\W*)\])?\}/g, function(all, name, arr, idx, delims) {
  9251. if (arr) {
  9252. if (idx) return options[name][idx] || '';
  9253. return options[name].join(delims)
  9254. } else
  9255. return options[name]
  9256. })
  9257. };
  9258. _I18n.t = function(obj, ccode, options) {
  9259. return _I18n.expandSO(_I18n.getValueOC(obj, ccode), options)
  9260. };
  9261. _I18n.tL = function(obj, options) {
  9262. return _I18n.expandSO(_I18n.getValueOL(obj, _I18n.$lng), options)
  9263. };
  9264. var _AUDIO = {};
  9265. _AUDIO.beep = function(dur, oscType) {
  9266. try {
  9267. _AUDIO._context = new (window.AudioContext || window.webkitAudioContext);
  9268. var osc = _AUDIO._context.createOscillator();
  9269. osc.connect(_AUDIO._context.destination);
  9270. osc.type = oscType || 'sine';
  9271. osc.start(0);
  9272. setTimeout(function() {
  9273. osc.stop(0)
  9274. }, dur)
  9275. } catch (e) {
  9276. log('beep!')
  9277. }
  9278. };
  9279. _THUI.$def = {
  9280. _class: '',
  9281. _disclose: 0,
  9282. _name: '',
  9283. _nodisplay: 0,
  9284. _disabled: 0,
  9285. _reverse: 0,
  9286. _style: '',
  9287. _type: '',
  9288. _onclick: null,
  9289. _onwarning: null,
  9290. _onchange: null
  9291. };
  9292. _THUI.loadValues = function(uiObj, storageObj) {
  9293. if (!storageObj) return;
  9294. if (uiObj.AUTOSAVE && uiObj.AUTOSAVE in storageObj) {
  9295. switch (uiObj.TYPE) {
  9296. case _THUI.TEXT:
  9297. case _THUI.DATE:
  9298. uiObj.VALUE = storageObj[uiObj.AUTOSAVE];
  9299. break;
  9300. default:
  9301. uiObj.CHECKED = storageObj[uiObj.AUTOSAVE];
  9302. break
  9303. }
  9304. return
  9305. }
  9306. for (var i in uiObj) {
  9307. if (!uiObj.hasOwnProperty(i)) continue;
  9308. var o = uiObj[i];
  9309. switch (classCode(o)) {
  9310. case CC_OBJECT:
  9311. _THUI.loadValues(o, storageObj);
  9312. break;
  9313. case CC_ARRAY:
  9314. for (var j = 0; j < o.length; j++) _THUI.loadValues(o[j], storageObj);
  9315. break
  9316. }
  9317. }
  9318. };
  9319. _THUI.saveValues = function(uiObj, storageObj) {
  9320. if (!storageObj) storageObj = {};
  9321. if (uiObj.AUTOSAVE) {
  9322. switch (uiObj.TYPE) {
  9323. case _THUI.TEXT:
  9324. case _THUI.DATE:
  9325. storageObj[uiObj.AUTOSAVE] = uiObj.VALUE;
  9326. break;
  9327. default:
  9328. storageObj[uiObj.AUTOSAVE] = uiObj.CHECKED;
  9329. break
  9330. }
  9331. return storageObj
  9332. }
  9333. for (var i in uiObj) {
  9334. if (!uiObj.hasOwnProperty(i)) continue;
  9335. var o = uiObj[i];
  9336. switch (classCode(o)) {
  9337. case CC_OBJECT:
  9338. _THUI.saveValues(o, storageObj);
  9339. break;
  9340. case CC_ARRAY:
  9341. for (var j = 0; j < o.length; j++) _THUI.saveValues(o[j], storageObj);
  9342. break
  9343. }
  9344. }
  9345. return storageObj
  9346. };
  9347. _THUI.storage = {
  9348. get: function(name) {
  9349. try {
  9350. var s = window.localStorage.getItem(name);
  9351. return s ? JSON.parse(s) : null
  9352. } catch (e) {
  9353. return null
  9354. }
  9355. },
  9356. set: function(name, obj) {
  9357. try {
  9358. var s = JSON.stringify(obj);
  9359. window.localStorage.setItem(name, s);
  9360. return true
  9361. } catch (e) {
  9362. return false
  9363. }
  9364. }
  9365. };
  9366. _THUI.addElemetClassStyle = function(elem, cl, newStyle) {
  9367. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9368. return _THUI.addStyle(elem + '.' + cl + newStyle)
  9369. };
  9370. _THUI.addElemetIdStyle = function(elem, id, newStyle) {
  9371. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9372. return _THUI.addStyle(elem + '#' + id + newStyle)
  9373. };
  9374. _THUI.addStyle = function(newStyle) {
  9375. for (var i = 0; i < 10; i++) {
  9376. var sheet = document.styleSheets[i];
  9377. try {
  9378. if ('cssRules' in sheet) return sheet.insertRule(newStyle, sheet.cssRules.length)
  9379. } catch (e) {
  9380. }
  9381. }
  9382. };
  9383. _THUI.getByDOM = function(uiObj, elem) {
  9384. if (uiObj.IDOM == elem || uiObj.ODOM == elem) return uiObj;
  9385. var ret = null;
  9386. for (var i in uiObj) {
  9387. if (!uiObj.hasOwnProperty(i)) continue;
  9388. var o = uiObj[i];
  9389. switch (classCode(o)) {
  9390. case CC_OBJECT:
  9391. if (ret = _THUI.getByDOM(o, elem)) return ret;
  9392. break;
  9393. case CC_ARRAY:
  9394. for (var j = 0; j < o.length; j++)
  9395. if (ret = _THUI.getByDOM(o[j], elem)) return ret;
  9396. break
  9397. }
  9398. }
  9399. return null
  9400. };
  9401. _THUI.getById = function(uiObj, id) {
  9402. if (uiObj.ID && uiObj.ID == id) return uiObj;
  9403. var ret = null;
  9404. for (var i in uiObj) {
  9405. if (!uiObj.hasOwnProperty(i)) continue;
  9406. var o = uiObj[i];
  9407. switch (classCode(o)) {
  9408. case CC_OBJECT:
  9409. if (ret = _THUI.getById(o, id)) return ret;
  9410. break;
  9411. case CC_ARRAY:
  9412. for (var j = 0; j < o.length; j++)
  9413. if (ret = _THUI.getById(o[j], id)) return ret;
  9414. break
  9415. }
  9416. }
  9417. return null
  9418. };
  9419. _THUI.docToView = function(uiObj) {
  9420. _THUI.appendUI(null, uiObj)
  9421. };
  9422. _THUI.viewToDoc = function(uiObj) {
  9423. if (uiObj.IDOM) {
  9424. if (classCodeDefined(uiObj.IDOM.value)) {
  9425. var val = uiObj.IDOM.value;
  9426. if (classCodeDefined(uiObj.MAX) && val > uiObj.MAX) val = uiObj.MAX;
  9427. if (classCodeDefined(uiObj.MIN) && val < uiObj.MIN) val = uiObj.MIN;
  9428. uiObj.VALUE = val
  9429. }
  9430. if (classCodeDefined(uiObj.IDOM.checked)) uiObj.CHECKED = uiObj.IDOM.checked
  9431. }
  9432. for (var i in uiObj) {
  9433. if (!uiObj.hasOwnProperty(i)) continue;
  9434. var o = uiObj[i];
  9435. switch (classCode(o)) {
  9436. case CC_OBJECT:
  9437. _THUI.viewToDoc(o);
  9438. break;
  9439. case CC_ARRAY:
  9440. o.forEach(_THUI.viewToDoc);
  9441. break
  9442. }
  9443. }
  9444. };
  9445. _THUI.appendUI = function(parent, uiObj, uiPrefix, uiName) {
  9446. uiPrefix = uiPrefix || '';
  9447. uiName = uiName || '';
  9448. var id = uiObj.ID;
  9449. if (!classCodeDefined(id)) id = '';
  9450. var NA = uiObj.NA || false;
  9451. var NAti = uiObj.NATITLE || '';
  9452. var ch = uiObj.CHECKED || false;
  9453. var cl = classCodeDefined(uiObj.CLASS) ? uiObj.CLASS : _THUI.$def._class;
  9454. var cli = uiObj.CLASSI;
  9455. var _cl = uiObj._CLASS;
  9456. var va = uiObj.VALUE;
  9457. var disc = classCodeDefined(uiObj.DISCLOSE) ? uiObj.DISCLOSE : _THUI.$def._disclose;
  9458. var _disc = uiObj._DISCLOSE;
  9459. var di = NA ? NA : classCodeDefined(uiObj.DISABLED) ? uiObj.DISABLED : _THUI.$def._disabled;
  9460. var _di = uiObj._DISABLED;
  9461. var no = classCodeDefined(uiObj.NODISPLAY) ? uiObj.NODISPLAY : _THUI.$def._nodisplay;
  9462. var _no = uiObj._NODISPLAY;
  9463. var ma = uiObj.MAX;
  9464. var mal = uiObj.MAXLENGTH;
  9465. var plh = uiObj.PLACEHOLDER;
  9466. var mi = uiObj.MIN;
  9467. var name = classCodeDefined(uiObj.NAME) ? uiObj.NAME : _THUI.$def._name;
  9468. var _name = uiObj._NAME;
  9469. var ro = uiObj.READONLY || false;
  9470. var re = classCodeDefined(uiObj.REVERSE) ? uiObj.REVERSE : _THUI.$def._reverse;
  9471. var _re = uiObj._REVERSE;
  9472. var step = uiObj.STEP;
  9473. var st = classCodeDefined(uiObj.STYLE) ? uiObj.STYLE : _THUI.$def._style;
  9474. var _st = uiObj._STYLE;
  9475. var sti = classCodeDefined(uiObj.STYLEI) ? uiObj.STYLEI : '';
  9476. var sto = classCodeDefined(uiObj.STYLEO) ? uiObj.STYLEO : '';
  9477. var te = uiObj.TEXT || '';
  9478. var ti = NA ? NAti ? NAti : 'Not available' : uiObj.TITLE;
  9479. var ty = classCodeDefined(uiObj.TYPE) ? uiObj.TYPE : _THUI.$def._type;
  9480. var _ty = uiObj._TYPE;
  9481. var accK = uiObj.ACCESSKEY || '';
  9482. var oncl = uiObj.ONCLICK || _THUI.$def._onclick;
  9483. var onclo = uiObj.ONCLICKO;
  9484. var _oncl = uiObj._ONCLICK;
  9485. var onwa = uiObj.ONWARNING || _THUI.$def._onwarning;
  9486. var _onwa = uiObj._ONWARNING;
  9487. var onch = uiObj.ONCHANGE || _THUI.$def._onchange;
  9488. var _onch = uiObj._ONCHANGE;
  9489. var els = [];
  9490. var iel = document.createElement('input');
  9491. var oel = document.createElement('label');
  9492. var ote = te;
  9493. if (classCodeIs(uiPrefix, CC_NUMBER)) uiPrefix = 'p' + uiPrefix;
  9494. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9495. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9496. if (classCodeIs(cli, CC_NUMBER)) cli = 'c' + cli;
  9497. if (classCodeIs(name, CC_NUMBER)) name = 'n' + name;
  9498. switch (ty) {
  9499. case _THUI.NONE:
  9500. iel = oel = null;
  9501. ote = '';
  9502. break;
  9503. case _THUI.NUMBER:
  9504. iel.type = 'number';
  9505. break;
  9506. case _THUI.RADIO:
  9507. if (disc && !id) id = uiPrefix + uiName + 'i';
  9508. if (!name) name = uiPrefix + 'n';
  9509. iel.type = 'radio';
  9510. if (disc) oel.htmlFor = id;
  9511. break;
  9512. case _THUI.CHECKBOX:
  9513. if (disc && !id) id = uiPrefix + uiName + 'i';
  9514. iel.type = 'checkbox';
  9515. if (disc) oel.htmlFor = id;
  9516. break;
  9517. case _THUI.BUTTON:
  9518. iel = document.createElement('button');
  9519. if (te) iel.innerHTML = te;
  9520. oel = null;
  9521. ote = '';
  9522. break;
  9523. case _THUI.TEXT:
  9524. iel.type = 'text';
  9525. break;
  9526. case _THUI.PASSWORD:
  9527. iel.type = 'password';
  9528. break;
  9529. case _THUI.DATE:
  9530. iel.type = 'date';
  9531. break;
  9532. default:
  9533. iel = null;
  9534. oel = document.createElement('div');
  9535. break
  9536. }
  9537. if (oel && iel && !disc)
  9538. if (re)
  9539. oel.appendChild(iel);
  9540. else
  9541. oel.insertBefore(iel, oel.firstChild);
  9542. if (classCodeDefined(uiObj.ODOM)) oel = uiObj.ODOM;
  9543. if (classCodeDefined(uiObj.IDOM)) iel = uiObj.IDOM;
  9544. if (ote) {
  9545. var spanEl = document.createElement('span');
  9546. spanEl.innerHTML = ote;
  9547. spanEl.style.pointerEvents = 'none';
  9548. var oldSpans = oel.getElementsByTagName('span');
  9549. var bInserted = false;
  9550. for (var i = 0; i < oldSpans.length; i++) oel.removeChild(oldSpans[i]);
  9551. oel.insertBefore(spanEl, oel.firstChild)
  9552. }
  9553. if (oel && iel)
  9554. if (disc)
  9555. if (re)
  9556. els.push(oel, iel);
  9557. else
  9558. els.push(iel, oel);
  9559. else
  9560. els.push(oel);
  9561. else {
  9562. if (oel) els.push(oel);
  9563. if (iel) els.push(iel)
  9564. }
  9565. if (id) {
  9566. if (iel)
  9567. iel.id = id;
  9568. else if (oel)
  9569. oel.id = id;
  9570. uiObj.ID = id
  9571. }
  9572. if (name) uiObj.NAME = name;
  9573. if (iel) {
  9574. if (cli) iel.className = cli;
  9575. if (accK) iel.accessKey = accK;
  9576. if (classCodeDefined(ch)) iel.checked = ch;
  9577. iel.disabled = di;
  9578. if (classCodeDefined(ma)) iel.max = ma;
  9579. if (classCodeDefined(mal)) iel.maxLength = mal;
  9580. if (classCodeDefined(mi)) iel.min = mi;
  9581. if (plh) iel.placeholder = plh;
  9582. if (name) iel.name = name;
  9583. if (classCodeDefined(ro)) iel.readonly = ro;
  9584. if (classCodeDefined(step)) iel.step = step;
  9585. if (classCodeDefined(va)) iel.value = va;
  9586. if (classCodeDefined(oncl)) iel.onclick = oncl;
  9587. if (classCodeDefined(onch)) iel.onchange = onch;
  9588. if (classCodeDefined(onwa) && uiObj.WARNING) iel.onchange = onwa;
  9589. if (sti) iel.style.cssText = sti
  9590. }
  9591. if (oel) {
  9592. if (classCodeDefined(onclo)) oel.onclick = onclo;
  9593. if (sto) oel.style.cssText = sto
  9594. }
  9595. var fel = els[0];
  9596. if (fel) {
  9597. if (cl) fel.className = cl;
  9598. if (st) fel.style.cssText = st
  9599. } else
  9600. fel = parent;
  9601. var oldDef = deepCopy(_THUI.$def);
  9602. if (classCodeDefined(_cl)) _THUI.$def._class = _cl;
  9603. if (classCodeDefined(_disc)) _THUI.$def._disclose = _disc;
  9604. if (classCodeDefined(_name)) _THUI.$def._name = _name;
  9605. if (classCodeDefined(_di)) _THUI.$def._disabled = _di;
  9606. if (classCodeDefined(_no)) _THUI.$def._nodisplay = _no;
  9607. if (classCodeDefined(_re)) _THUI.$def._reverse = _re;
  9608. if (classCodeDefined(_st)) _THUI.$def._style = _st;
  9609. if (classCodeDefined(_ty)) _THUI.$def._type = _ty;
  9610. if (_oncl) _THUI.$def._onclick = _oncl;
  9611. if (_onch) _THUI.$def._onchange = _onch;
  9612. if (_onwa) _THUI.$def._onwarning = _onwa;
  9613. for (var i in uiObj) {
  9614. if (!uiObj.hasOwnProperty(i)) continue;
  9615. var o = uiObj[i];
  9616. switch (classCode(o)) {
  9617. case CC_OBJECT:
  9618. fel = _THUI.appendUI(fel, o, uiPrefix + uiName, i);
  9619. break;
  9620. case CC_ARRAY:
  9621. for (var j = 0; j < o.length; j++)
  9622. if (classCodeIs(o[j], CC_OBJECT)) fel = _THUI.appendUI(fel, o[j], uiPrefix + uiName, i);
  9623. break
  9624. }
  9625. }
  9626. _THUI.$def = oldDef;
  9627. els.forEach(function(e) {
  9628. if (no)
  9629. e.style.display = 'none';
  9630. else
  9631. e.style.display = '';
  9632. if (classCodeDefined(ti)) e.title = ti;
  9633. if (e !== uiObj.IDOM && e !== uiObj.ODOM) parent.appendChild(e)
  9634. });
  9635. uiObj.IDOM = iel;
  9636. uiObj.ODOM = oel;
  9637. Object.defineProperties(uiObj, {IDOM: {enumerable: false}, ODOM: {enumerable: false}});
  9638. return parent
  9639. };
  9640. })()