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-04-12 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name WME Validator
  3. // @version 2020.04.12
  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.04.12';
  38. var AS_PASSWORD = 'v1';
  39. var WV_WHATSNEW = '' +
  40. 'v2020.04.12:' +
  41. '\n- davidakachaos: fixes for latests WME' +
  42. '\n' +
  43. '\nv2019.09.24:' +
  44. '\n- davidakachaos: Added new places checks!' +
  45. '\n- davidakachaos: Added Dutch translations for places checks' +
  46. '\n- other minor fixes' +
  47. '\nPlease report any issues/suggestions on the forum:' +
  48. '\nhttps://www.waze.com/forum/viewtopic.php?t=76488' +
  49. '\n' +
  50. '\nv2019.08.29:' +
  51. '\n- luc45z: update PL abbreviations' +
  52. '\n' +
  53. '\nv2019.08.16:' +
  54. '\n- jangliss: Fix for layer refresh if layer did not trigger update' +
  55. '\n- jangliss: Add lock checks for railroad and private roads' +
  56. '\n' +
  57. '\nv2019.04.11:' +
  58. '\n- berestovskyy: hot fix for login issue' +
  59. '\n- berestovskyy: fixed audio for Google Chrome' +
  60. '\n' +
  61. '\nv2019.02.26:' +
  62. '\n- berestovskyy: hot fixes for latests WME' +
  63. '\n' +
  64. '\nv2018.11.10:' +
  65. '\n- davidakachaos: fix streets isolated by ramps' +
  66. '\n- davidakachaos: fix recover from preference change' +
  67. '\n- davidakachaos: add road closures to fix #36 and #37' +
  68. '\n- davidakachaos: fix speed limit issues on borders';
  69. var WV_LICENSE_VERSION = '1';
  70. var WV_LICENSE = '' +
  71. '\nLICENSE:' +
  72. '\nWME Validator uses Open Source GPLv3 license,' +
  73. '\ni.e. you may copy, distribute and modify the software' +
  74. '\nas long as you track changes/dates in source files.' +
  75. '\nAny modifications to or software including (via compiler)' +
  76. '\nGPL-licensed code must also be made available' +
  77. '\nunder the GPL along with build & install instructions.' +
  78. '\n' +
  79. '\nWME Validator source code is available on GitHub:' +
  80. '\nhttps://github.com/WMEValidator/' +
  81. '\n' +
  82. '\nFor questions please use official forum:' +
  83. '\nhttps://www.waze.com/forum/viewtopic.php?f=819&t=76488' +
  84. '\n' +
  85. '\nReport bugs on GitHub Issues Tracker:' +
  86. '\nhttps://github.com/WMEValidator/validator/issues' +
  87. '\n' +
  88. '\nNote: WME Validator uses local storage to remember' +
  89. '\nyour choices and preferences.';
  90. var GA_FORLEVEL = 1;
  91. var GA_FORUSER = '!Dekis,*';
  92. var GA_FORCOUNTRY = '';
  93. var GA_FORCITY = '!Kraków,*';
  94. var LIMIT_TOTAL = 2E4;
  95. var MAX_CHECKS = 310;
  96. var PFX_WIKI = 'https://www.waze.com/wiki/';
  97. var PFX_PEDIA = 'https://wazeopedia.waze.com/wiki/';
  98. var PFX_FORUM = 'https://www.waze.com/forum/viewtopic.php?';
  99. var FORUM_HOME = 't=76488';
  100. var FORUM_FAQ = 't=76488&p=666476#p666476';
  101. var FORUM_LOCAL = 't=76488&p=661300#p661185';
  102. var FORUM_CUSTOM = 't=76488&p=749456#p749456';
  103. var
  104. _translations =
  105. {
  106. 'EN':
  107. {
  108. '.codeISO': 'EN',
  109. 'city.consider': 'consider this city name:',
  110. 'city.1': 'city name is too short',
  111. 'city.2': 'expand the abbreviation',
  112. 'city.3': 'complete short name',
  113. 'city.4': 'complete city name',
  114. 'city.5': 'correct letter case',
  115. 'city.6': 'check word order',
  116. 'city.7': 'check abbreviations',
  117. 'city.8a': 'add county name',
  118. 'city.8r': 'remove county name',
  119. 'city.9': 'check county name',
  120. 'city.10a': 'add a word',
  121. 'city.10r': 'remove a word',
  122. 'city.11': 'add county code',
  123. 'city.12': 'identical names, but different city IDs',
  124. 'city.13a': 'add a space',
  125. 'city.13r': 'remove a space',
  126. 'city.14': 'check the number',
  127. 'props.skipped.title': 'The segment is not checked',
  128. 'props.skipped.problem': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  129. 'err.regexp': 'Error parsing option for check #${n}:',
  130. 'props.disabled': 'WME Validator is disabled',
  131. 'props.limit.title': 'Too many issues reported',
  132. 'props.limit.problem': 'There are too many issues reported, so some of them might not be shown',
  133. 'props.limit.solution': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  134. 'props.reports': 'reports',
  135. 'props.noneditable': 'You cannot edit this segment',
  136. 'report.save': 'Save this report',
  137. 'report.list.andUp': 'and up',
  138. 'report.list.severity': 'Severity:',
  139. 'report.list.reportOnly': 'only in report',
  140. 'report.list.forEditors': 'For editors level:',
  141. 'report.list.forCountries': 'For countries:',
  142. 'report.list.forStates': 'For states:',
  143. 'report.list.forCities': 'For cities:',
  144. 'report.list.params': 'Params to configure in localization pack:',
  145. 'report.list.params.set': 'Current configuration for ${country}:',
  146. 'report.list.enabled': '${n} checks are enabled for',
  147. 'report.list.disabled': '${n} checks are disabled for',
  148. 'report.list.total': 'There are ${n} checks available',
  149. 'report.list.title': 'Complete List of Checks for',
  150. 'report.list.see': 'See',
  151. 'report.list.checks': 'Settings->About->Available checks',
  152. 'report.list.fallback': 'Localization Fallback Rules:',
  153. 'report.and': 'and',
  154. 'report.segments': 'Total number of segments checked:',
  155. 'report.customs': 'Custom checks matched (green/blue):',
  156. 'report.reported': 'Reported',
  157. 'report.errors': 'errors',
  158. 'report.warnings': 'warnings',
  159. 'report.notes': 'notes',
  160. 'report.link.wiki': 'wiki',
  161. 'report.link.forum': 'forum',
  162. 'report.link.other': 'link',
  163. 'report.contents': 'Contents:',
  164. 'report.summary': 'Summary',
  165. 'report.title': 'WME Validator Report',
  166. 'report.share': 'to Share',
  167. 'report.generated.by': 'generated by',
  168. 'report.generated.on': 'on',
  169. 'report.source': 'Report source:',
  170. 'report.filter.duplicate': 'duplicate segments',
  171. 'report.filter.places': 'Places',
  172. 'report.filter.streets': 'Streets and Service Roads',
  173. 'report.filter.other': 'Other drivable and Non-drivable',
  174. 'report.filter.noneditable': 'non-editable segments',
  175. 'report.filter.notes': 'notes',
  176. 'report.filter.title': 'Filter:',
  177. 'report.filter.excluded': 'are excluded from this report.',
  178. 'report.search.updated.by': 'updated by',
  179. 'report.search.updated.since': 'updated since',
  180. 'report.search.city': 'from',
  181. 'report.search.reported': 'reported as',
  182. 'report.search.title': 'Search:',
  183. 'report.search.only': 'only segments',
  184. 'report.search.included': 'are included into the report.',
  185. 'report.beta.warning': 'WME Beta Warning!',
  186. 'report.beta.text': 'This report is generated in beta WME with beta permalinks.',
  187. 'report.beta.share': 'Please do not share those permalinks!',
  188. 'report.size.warning': '<b>Warning!</b><br>The report is ${n}' +
  189. ' characters long' +
  190. ' so <b>it will not fit</b> into a single forum or private message.' +
  191. '\n<br>Please add <b>more filters</b> to reduce the size of the report.',
  192. 'report.note.limit': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  193. 'report.forum': 'To motivate further development please leave your comment on the',
  194. 'report.forum.link': 'Waze forum thread.',
  195. 'report.thanks': 'Thank you for using WME Validator!',
  196. 'msg.limit.segments': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  197. 'msg.limit.segments.continue': 'click \'▶\' (Play) to continue.',
  198. 'msg.limit.segments.clear': 'click \'✘\' (Clear) to clear the report.',
  199. 'msg.pan.text': 'Pan around to validate the map',
  200. 'msg.zoomout.text': 'Zoom out to start WME Validator',
  201. 'msg.click.text': 'Click \'▶\' (Play) to validate visible map area',
  202. 'msg.autopaused': 'autopaused',
  203. 'msg.autopaused.text': 'Auto paused! Click \'▶\' (Play) to continue.',
  204. 'msg.autopaused.tip': 'WME Validator automatically paused on map drag or window size change',
  205. 'msg.finished.text': 'Click <b>\'Show report\'</b> to review map issues',
  206. 'msg.finished.tip': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  207. 'msg.noissues.text': 'Finished! No issues found!',
  208. 'msg.noissues.tip': 'Try to uncheck some filter options or start WME Validator over another map area!',
  209. 'msg.scanning.text': 'Scanning! Finishing in ~ ${n} min',
  210. 'msg.scanning.text.soon': 'Scanning! Finishing in a minute!',
  211. 'msg.scanning.tip': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  212. 'msg.starting.text': 'Starting! Layers are off to scan faster!',
  213. 'msg.starting.tip': 'Use \'Pause\' button to pause or \'■\' button to stop',
  214. 'msg.paused.text': 'On pause! Click \'▶\' (Play) button to continue.',
  215. 'msg.paused.tip': 'To view the report click \'Show report\' button (if available)',
  216. 'msg.continuing.text': 'Continuing!',
  217. 'msg.continuing.tip': 'WME Validator will continue from the location it was paused',
  218. 'msg.settings.text': 'Click <b>\'Back\'</b> to return to main view',
  219. 'msg.settings.tip': 'Click \'Reset defaults\' button to reset all settings in one click!',
  220. 'msg.reset.text': 'All filter options and settings have been reset to their defaults',
  221. 'msg.reset.tip': 'Click \'Back\' button to return to main view',
  222. 'msg.textarea.pack':
  223. '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',
  224. 'msg.textarea': 'Please copy the text below and then paste it into your forum post or private message',
  225. 'noaccess.text': '<b>Sorry,</b><br>You cannot use WME Validator over here.<br>Please check <a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_HOME +
  226. '\'>the forum thread</a><br>for more information.',
  227. 'noaccess.tip': 'Please check the forum thread for more information!',
  228. 'tab.switch.tip.on': 'Click to switch highlighting on (Alt+V)',
  229. 'tab.switch.tip.off': 'Click to switch highlighting off (Alt+V)',
  230. 'tab.filter.text': 'filter',
  231. 'tab.filter.tip': 'Options to filter the report and highlighted segments',
  232. 'tab.search.text': 'search',
  233. 'tab.search.tip': 'Advanced filter options to include only specific segments',
  234. 'tab.help.text': 'help',
  235. 'tab.help.tip': 'Need help?',
  236. 'filter.places.text': '<span style=\'color:#c00000\'><b>BETA:</b> Enable <b>Places</b> checks</span>',
  237. 'filter.places.tip': 'Do not run places checks',
  238. 'filter.noneditables.reverted':
  239. '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!',
  240. 'filter.noneditables.text': 'Exclude <b>non-editable</b> objects',
  241. 'filter.noneditables.tip': 'Do not report locked objects or\nobjects outside of your editable areas',
  242. 'filter.duplicates.text': 'Exclude <b>duplicate</b> objects',
  243. 'filter.duplicates.tip': 'Do not show the same object in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  244. 'filter.streets.text': 'Exclude <b>Streets and Service Roads</b>',
  245. 'filter.streets.tip': 'Do not report Streets and Service Roads',
  246. 'filter.other.text': 'Exclude <b>Other drivable and Non-drivable</b>',
  247. 'filter.other.tip': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  248. 'filter.notes.text': 'Exclude <b>notes</b>',
  249. 'filter.notes.tip': 'Report only warnings and errors',
  250. 'search.youredits.text': 'Include <b>only your edits</b>',
  251. 'search.youredits.tip': 'Include only segments edited by you',
  252. 'search.updatedby.text': '<b>Updated by*:</b>',
  253. 'search.updatedby.tip': 'Include only segments updated by the specified editor' +
  254. '\n* Note: this option is available for country managers only' +
  255. '\nThis field supports:' +
  256. '\n - lists: me, otherEditor' +
  257. '\n - wildcards: world*' +
  258. '\n - negation: !me, *' +
  259. '\n* Note: you may use \'me\' to match yourself',
  260. 'search.updatedby.example': 'Example: me',
  261. 'search.updatedsince.text': '<b>Updated since:</b>',
  262. 'search.updatedsince.tip': 'Include only segments edited since the date specified' +
  263. '\nFirefox date format: YYYY-MM-DD',
  264. 'search.updatedsince.example': 'YYYY-MM-DD',
  265. 'search.city.text': '<b>City name:</b>',
  266. 'search.city.tip': 'Include only segments with specified city name' +
  267. '\nThis field supports:' +
  268. '\n - lists: Paris, Meudon' +
  269. '\n - wildcards: Greater * Area' +
  270. '\n - negation: !Paris, *',
  271. 'search.city.example': 'Example: !Paris, *',
  272. 'search.checks.text': '<b>Reported as:</b>',
  273. 'search.checks.tip': 'Include only segments reported as specified' +
  274. '\nThis field matches:' +
  275. '\n - severities: error|warning|note|custom1|custom2' +
  276. '\n - check names: New road' +
  277. '\n - check IDs: 200' +
  278. '\nThis field supports:' +
  279. '\n - lists: 36, 37' +
  280. '\n - wildcards: *roundabout*' +
  281. '\n - negation: !unconfirmed*, *',
  282. 'search.checks.example': 'Example: reverse*',
  283. 'help.text': '<b>Help Topics:</b>' +
  284. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_FAQ + '">F.A.Q.</a>' +
  285. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">Ask your question on the forum</a>' +
  286. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">How to adjust Validator for your country</a>' +
  287. '<br><a target="_blank" href="' + PFX_FORUM + 't=76488&p=663286#p663286">About the "Might be Incorrect City Name"</a>',
  288. 'help.tip': 'Open in a new browser tab',
  289. 'button.scan.tip': 'Start scanning current map area\n* Note: this might take few minutes',
  290. 'button.scan.tip.NA': 'Zoom out to start scanning current map area',
  291. 'button.pause.tip': 'Pause scanning',
  292. 'button.continue.tip': 'Continue scanning the map area',
  293. 'button.stop.tip': 'Stop scanning and return to the start position',
  294. 'button.clear.tip': 'Clear report and segment cache',
  295. '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.',
  296. 'button.report.text': 'Show report',
  297. 'button.report.tip': 'Apply the filter and generate HTML report in a new tab',
  298. 'button.BBreport.tip': 'Share the report on Waze forum or in a private message',
  299. 'button.settings.tip': 'Configure settings',
  300. 'tab.custom.text': 'custom',
  301. 'tab.custom.tip': 'User-defined custom checks settings',
  302. 'tab.settings.text': 'Settings',
  303. 'tab.scanner.text': 'scanner',
  304. 'tab.scanner.tip': 'Map scanner settings',
  305. 'tab.about.text': 'about</span>',
  306. 'tab.about.tip': 'About WME Validator',
  307. 'scanner.sounds.text': 'Enable sounds',
  308. 'scanner.sounds.tip': 'Bleeps and the bloops while scanning',
  309. 'scanner.sounds.NA': 'Your browser does not support AudioContext',
  310. 'scanner.highlight.text': 'Highlight issues on the map',
  311. 'scanner.highlight.tip': 'Highlight reported issues on the map',
  312. 'scanner.slow.text': 'Enable "slow" checks',
  313. 'scanner.slow.tip': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  314. 'scanner.ext.text': 'Report external highlights',
  315. 'scanner.ext.tip': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  316. 'advanced.atbottom.text': 'At the bottom',
  317. 'advanced.atbottom.tip': 'Put WME Validator at the bottom of the page',
  318. 'custom.template.text': '<a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_CUSTOM + '\'>Custom template</a>',
  319. 'custom.template.tip': 'User-defined custom check expandable template.' +
  320. '\n\nYou may use the following expandable variables:' +
  321. '\nAddress:' +
  322. '\n ${country}, ${state}, ${city}, ${street},' +
  323. '\n ${altCity[index or delimeter]}, ${altStreet[index or delimeter]}' +
  324. '\nSegment properties:' +
  325. '\n ${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},' +
  326. '\n ${length}, ${ID}, ${speedLimit}, ${speedLimitAB}, ${speedLimitBA}' +
  327. '\nHelpers:' +
  328. '\n ${drivable}, ${roundabout}, ${hasHNs},' +
  329. '\n ${Uturn}, ${deadEnd}, ${softTurns},' +
  330. '\n ${deadEndA}, ${partialA},' +
  331. '\n ${deadEndB}, ${partialB},' +
  332. '\n ${checkSpeedLimit}' +
  333. '\nConnectivity:' +
  334. '\n ${segmentsA}, ${inA}, ${outA}, ${UturnA},' +
  335. '\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  336. 'custom.template.example': 'Example: ${street}',
  337. 'custom.regexp.text': 'Custom <a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_CUSTOM + '\'>RegExp</a>',
  338. 'custom.regexp.tip': 'User-defined custom check regular expression to match the template.' +
  339. '\n\nCase-insensitive match: /regexp/i' +
  340. '\nNegation (do not match): !/regexp/' +
  341. '\nLog debug information on console: D/regexp/',
  342. 'custom.regexp.example': 'Example: !/.+/',
  343. 'about.tip': 'Open link in a new tab',
  344. 'button.reset.text': 'Reset defaults',
  345. 'button.reset.tip': 'Revert filter options and settings to their defaults',
  346. 'button.list.text': 'Available checks...',
  347. 'button.list.tip': 'Show a list of checks available in WME Validator',
  348. 'button.wizard.tip': 'Create localization package',
  349. 'button.back.text': 'Back',
  350. 'button.back.tip': 'Close settings and return to main view',
  351. '23.enabled': true,
  352. '23.title': 'Unconfirmed road',
  353. '23.problem': 'Each segment must minimally have the Country and State information',
  354. '23.problemLink': 'W:Map_Editing_Quick-start_Guide#Create_a_Road',
  355. '23.solution': 'Confirm the road by updating its details',
  356. '23.solutionLink': 'W:How_to_label_and_name_roads',
  357. '24.enabled': true,
  358. '24.severity': 'W',
  359. '24.reportOnly': true,
  360. '24.title': 'Might be incorrect city name (only available in the report)',
  361. '24.problem': 'The segment might have incorrect city name',
  362. '24.problemLink': 'W:Fixing_"smudged"_cities',
  363. '24.solution': 'Consider suggested city name and use this form to rename the city',
  364. '24.solutionLink': 'F:t=50314#p450378',
  365. '25.enabled': true,
  366. '25.severity': 'W',
  367. '25.title': 'Unknown direction of drivable road',
  368. '25.problem': '\'Unknown\' road direction will not prevent routing on the road',
  369. '25.problemLink': 'W:How_to_handle_road_closures#NOTES_for_all_durations',
  370. '25.solution': 'Set the road direction',
  371. '27.title': 'City name on Railroad',
  372. '27.problem': 'City name on the Railroad may cause a city smudge',
  373. '27.problemLink': 'W:Fixing_"smudged"_cities',
  374. '27.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  375. '27.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  376. '28.enabled': true,
  377. '28.severity': 'W',
  378. '28.title': 'Street name on two-way Ramp',
  379. '28.problem': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  380. '28.problemLink': 'W:Junction_Style_Guide#Ramp_to_Ramp_Splits',
  381. '28.solution': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  382. '28.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  383. '29.enabled': true,
  384. '29.severity': 'W',
  385. '29.title': 'Street name on roundabout',
  386. '29.problem': 'In Waze, we do not name roundabout segments',
  387. '29.problemLink': 'W:Creating_and_Editing_a_roundabout#Creating_a_roundabout_from_an_intersection',
  388. '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',
  389. '29.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  390. '34.enabled': true,
  391. '34.title': 'Empty alternate street',
  392. '34.problem': 'Alternate street name is empty',
  393. '34.solution': 'Remove empty alternate street name',
  394. '35.enabled': true,
  395. '35.severity': 'W',
  396. '35.title': 'Unterminated drivable road',
  397. '35.problem': 'Waze will not route from the unterminated segment',
  398. '35.solution': 'Move the segment a bit so the terminating node will be added automatically',
  399. '36.enabled': false,
  400. '36.title': 'Node A: Unneeded (slow)',
  401. '36.problem': 'Adjacent segments at node A are identical',
  402. '36.problemLink': 'W:Creating_and_Editing_street_segments#Removing_junctions_with_only_two_segments',
  403. '36.solution': 'Select node A and press Delete key to join the segments',
  404. '36.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  405. '37.enabled': false,
  406. '37.title': 'Node B: Unneeded (slow)',
  407. '37.problem': 'Adjacent segments at node B are identical',
  408. '37.problemLink': 'W:Creating_and_Editing_street_segments#Removing_junctions_with_only_two_segments',
  409. '37.solution': 'Select node B and press Delete key to join the segments',
  410. '37.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  411. '38.enabled': true,
  412. '38.title': 'Expired segment restriction (slow)',
  413. '38.problem': 'The segment has an expired restriction',
  414. '38.problemLink': 'W:Scheduled_Restrictions#Segments',
  415. '38.solution': 'Click \'Edit restrictions\' and delete the expired restriction',
  416. '39.enabled': true,
  417. '39.title': 'Expired turn restriction (slow)',
  418. '39.problem': 'The segment has a turn with an expired restriction',
  419. '39.problemLink': 'W:Scheduled_Restrictions#Turns',
  420. '39.solution': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  421. '41.enabled': true,
  422. '41.title': 'Node A: Reverse connectivity of drivable road',
  423. '41.problem': 'There is a turn which goes against the directionality of the segment at node A',
  424. '41.problemLink': 'W:Glossary#Reverse_Connectivity',
  425. '41.solution': 'Make the segment \'Two-way\', restrict all the turns at node A and then make the segment \'One way (A→B)\' again',
  426. '42.enabled': true,
  427. '42.title': 'Node B: Reverse connectivity of drivable road',
  428. '42.problem': 'There is a turn which goes against the directionality of the segment at node B',
  429. '42.problemLink': 'W:Glossary#Reverse_Connectivity',
  430. '42.solution': 'Make the segment \'Two-way\', restrict all the turns at node B and then make the segment \'One way (B→A)\' again',
  431. '43.enabled': true,
  432. '43.severity': 'E',
  433. '43.title': 'Self connectivity',
  434. '43.problem': 'The segment is connected back to itself',
  435. '43.problemLink': 'W:Glossary#Self_Connectivity',
  436. '43.solution': 'Split the segment into THREE pieces',
  437. '43.solutionLink': 'W:Map_Editing_Quick-start_Guide#Splitting_a_segment',
  438. '44.enabled': false,
  439. '44.severity': 'E',
  440. '44.title': 'No outward connectivity',
  441. '44.problem': 'The drivable segment has no single outward turn enabled',
  442. '44.solution': 'Enable at least one outward turn from the segment',
  443. '44.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  444. '45.enabled': false,
  445. '45.severity': 'E',
  446. '45.title': 'No inward connectivity',
  447. '45.problem': 'The drivable non-private segment has no single inward turn enabled',
  448. '45.solution': 'Select an adjacent segment and enable at least one turn to the segment',
  449. '45.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  450. '46.enabled': true,
  451. '46.severity': 'W',
  452. '46.title': 'Node A: No inward connectivity of drivable road (slow)',
  453. '46.problem': 'The drivable non-private segment has no single inward turn enabled at node A',
  454. '46.solution': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  455. '46.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  456. '47.enabled': true,
  457. '47.severity': 'W',
  458. '47.title': 'Node B: No inward connectivity of drivable road (slow)',
  459. '47.problem': 'The drivable non-private segment has no single inward turn enabled at node B',
  460. '47.solution': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  461. '47.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  462. '48.enabled': true,
  463. '48.severity': 'E',
  464. '48.title': 'Two-way drivable roundabout segment',
  465. '48.problem': 'The drivable roundabout segment is bidirectional',
  466. '48.solution': 'Redo the roundabout',
  467. '48.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  468. '50.enabled': false,
  469. '50.severity': 'E',
  470. '50.title': 'No connectivity on roundabout (slow)',
  471. '50.problem': 'The drivable roundabout segment has no connectivity with adjacent roundabout segment',
  472. '50.solution': 'Enable a turn to the adjacent segment or redo the roundabout',
  473. '50.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  474. '52.title': 'Too long street name',
  475. '52.problem': 'The name of the drivable segment is more than ${n} letters long and it is not a Ramp',
  476. '52.solution': 'Consider an abbreviation for the street name',
  477. '52.params': {'n.title': '{number} maximum street name length', 'n': 30},
  478. '57.severity': 'W',
  479. '57.title': 'City name on named Ramp',
  480. '57.problem': 'City name on the named Ramp may affect search results',
  481. '57.problemLink': 'F:t=68015',
  482. '57.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  483. '57.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  484. '59.title': 'City name on Freeway',
  485. '59.problem': 'City name on the Freeway may cause a city smudge',
  486. '59.problemLink': 'W:Fixing_"smudged"_cities',
  487. '59.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  488. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  489. '69.title': 'No city name on Freeway',
  490. '69.problem': 'The Freeway has no city name set',
  491. '69.solution': 'Set the city name',
  492. '73.title': 'Too short street name',
  493. '73.problem': 'The street name is less than ${n} letters long and it is not a highway',
  494. '73.solution': 'Correct the street name',
  495. '73.params': {'n.title': '{number} minimum street name length', 'n': 3},
  496. '74.enabled': false,
  497. '74.severity': 'W',
  498. '74.title': 'Node A: Multiple segments connected at roundabout',
  499. '74.problem': 'The drivable roundabout node A has more than one segment connected',
  500. '74.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  501. '74.solution': 'Redo the roundabout',
  502. '74.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  503. '77.enabled': false,
  504. '77.severity': 'W',
  505. '77.title': 'Dead-end U-turn',
  506. '77.problem': 'The drivable dead-end road has a U-turn enabled',
  507. '77.problemLink': 'W:Map_Editing_Quick-start_Guide#U-Turns_at_the_end_of_dead-end-streets',
  508. '77.solution': 'Disable U-turn',
  509. '78.enabled': true,
  510. '78.severity': 'W',
  511. '78.title': 'Same endpoints drivable segments (slow)',
  512. '78.problem': 'Two drivable segments share the same two endpoints',
  513. '78.problemLink': 'W:Junction_Style_Guide#Two-segment_loops',
  514. '78.solution': 'Split the segment. You might also remove one of the segments if they are identical',
  515. '78.solutionLink': 'W:Map_Editing_Quick-start_Guide#Splitting_a_segment',
  516. '79.enabled': false,
  517. '79.severity': 'W',
  518. '79.title': 'Too short U-turn connector (slow)',
  519. '79.problem': 'The length of the segment is less than 15m long so U-turn is not possible here',
  520. '79.problemLink': 'W:Classification_of_crossings',
  521. '79.solution': 'Increase the length of the segment',
  522. '87.enabled': true,
  523. '87.severity': 'E',
  524. '87.title': 'Node A: Multiple outgoing segments at roundabout',
  525. '87.problem': 'The drivable roundabout node A has more than one outgoing segment connected',
  526. '87.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  527. '87.solution': 'Redo the roundabout',
  528. '87.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  529. '90.severity': 'W',
  530. '90.title': 'Two-way Freeway segment',
  531. '90.problem': 'Most of the Freeways are split into two one-way roads, so this two-way segment might be a mistake',
  532. '90.solution': 'Check Freeway direction',
  533. '91.severity': 'W',
  534. '91.title': 'Two-way Ramp segment',
  535. '91.problem': 'Most of the Ramps are one-way roads, so this two-way segment might be a mistake',
  536. '91.solution': 'Check Ramp direction',
  537. '95.severity': 'W',
  538. '95.title': 'Street name with a dot',
  539. '95.problem': 'There is a dot in the street name (excluding Ramps)',
  540. '95.solution': 'Expand the abbreviation or remove the dot',
  541. '99.enabled': true,
  542. '99.severity': 'W',
  543. '99.title': 'U-turn at roundabout entrance (slow)',
  544. '99.problem': 'The roundabout entrance segment has a U-turn enabled',
  545. '99.problemLink': 'W:Map_Editing_Quick-start_Guide#U-Turns_at_the_end_of_dead-end-streets',
  546. '99.solution': 'Disable U-turn',
  547. '101.enabled': true,
  548. '101.severity': 'E',
  549. '101.reportOnly': true,
  550. '101.title': 'Closed road (only available in the report)',
  551. '101.problem': 'The segment is marked as closed',
  552. '101.problemLink': 'W:How_to_handle_road_closures',
  553. '101.solution': 'If the construction is done, restore the segment connectivity and remove the suffix',
  554. '101.solutionLink': 'W:Road_Naming_(USA)#Construction_zones_and_closed_roads',
  555. '101.params': {'regexp.title': '{string} regular expression to match closed road', 'regexp': '/(^|\\b)closed(\\b|$)/i'},
  556. '102.enabled': true,
  557. '102.severity': 'W',
  558. '102.title': 'Node A: No outward connectivity of drivable road (slow)',
  559. '102.problem': 'The drivable segment has no single outward turn enabled at node A',
  560. '102.solution': 'Enable at least one outward turn from the segment at node A',
  561. '102.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  562. '103.enabled': true,
  563. '103.severity': 'W',
  564. '103.title': 'Node B: No outward connectivity of drivable road (slow)',
  565. '103.problem': 'The drivable segment has no single outward turn enabled at node B',
  566. '103.solution': 'Enable at least one outward turn from the segment at node B',
  567. '103.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  568. '104.enabled': true,
  569. '104.title': 'Railroad used for comments',
  570. '104.problem': 'The Railroad segment is probably used as a map comment',
  571. '104.problemLink': 'F:t=61546',
  572. '104.solution': 'Remove the comment as Railroads will be added to the client display',
  573. '105.title': 'Walking Trail instead of a Railroad',
  574. '105.problem': 'The Walking Trail segment with elevation -5 is probably used instead of a Railroad',
  575. '105.problemLink': 'F:t=61546',
  576. '105.solution': 'Change road type to Railroad as Railroads will be added to the client display',
  577. '106.title': 'No state name selected',
  578. '106.problem': 'The segment has no state name selected',
  579. '106.solution': 'Select a state for the segment and apply the changes',
  580. '106.solutionLink': 'W:Creating_and_Editing_street_segments#Confirm_the_road_by_updating_details',
  581. '107.enabled': true,
  582. '107.severity': 'E',
  583. '107.title': 'Node A: No connection (slow)',
  584. '107.problem': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  585. '107.solution': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  586. '108.enabled': true,
  587. '108.severity': 'E',
  588. '108.title': 'Node B: No connection (slow)',
  589. '108.problem': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  590. '108.solution': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  591. '109.enabled': true,
  592. '109.severity': 'W',
  593. '109.title': 'Too short segment',
  594. '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',
  595. '109.problemLink': 'W:Segment_length',
  596. '109.solution': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  597. '109.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  598. '109.params': {'n.title': '{number} minimum segment length', 'n': 5},
  599. '110.title': 'Incorrect Freeway elevation',
  600. '110.problem': 'The elevation of the Freeway segment is not a ground',
  601. '110.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#.C3.9Cber-_und_Unterf.C3.BChrungen',
  602. '110.solution': 'Set the Freeway elevation to ground',
  603. '112.enabled': true,
  604. '112.severity': 'W',
  605. '112.title': 'Too long Ramp name',
  606. '112.problem': 'The Ramp name is more than ${n} letters long',
  607. '112.solution': 'Shorten the Ramp name',
  608. '112.params': {'n.title': '{number} maximum Ramp name length', 'n': 55},
  609. '114.enabled': false,
  610. '114.severity': 'W',
  611. '114.title': 'Node A: Non-drivable connected to drivable (slow)',
  612. '114.problem': 'The non-drivable segment makes a junction with a drivable at node A',
  613. '114.problemLink': 'W:Road_Types_(USA)#Non-drivable_roads',
  614. '114.solution': 'Disconnect node A from all of the drivable segments',
  615. '115.enabled': false,
  616. '115.severity': 'W',
  617. '115.title': 'Node B: Non-drivable connected to drivable (slow)',
  618. '115.problem': 'The non-drivable segment makes a junction with a drivable at node B',
  619. '115.problemLink': 'W:Road_Types_(USA)#Non-drivable_roads',
  620. '115.solution': 'Disconnect node B from all of the drivable segments',
  621. '116.enabled': true,
  622. '116.severity': 'W',
  623. '116.title': 'Out of range elevation',
  624. '116.problem': 'The segment elevation is out of range',
  625. '116.solution': 'Correct the elevation',
  626. '117.enabled': true,
  627. '117.severity': 'W',
  628. '117.title': 'Obsolete CONST ZN marker',
  629. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  630. '117.solution': 'Change CONST ZN to (closed)',
  631. '117.solutionLink': 'W:Road_Naming_(USA)#Construction_zones_and_closed_roads',
  632. '118.enabled': true,
  633. '118.severity': 'E',
  634. '118.title': 'Node A: Overlapping segments (slow)',
  635. '118.problem': 'The segment is overlapping with the adjacent segment at node A',
  636. '118.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  637. '119.enabled': true,
  638. '119.severity': 'E',
  639. '119.title': 'Node B: Overlapping segments (slow)',
  640. '119.problem': 'The segment is overlapping with the adjacent segment at node B',
  641. '119.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  642. '120.enabled': true,
  643. '120.severity': 'W',
  644. '120.title': 'Node A: Too sharp turn (slow)',
  645. '120.problem': 'The drivable segment has a very acute turn at node A',
  646. '120.solution': 'Disable the sharp turn at node A or spread the segments at 30°',
  647. '121.enabled': true,
  648. '121.severity': 'W',
  649. '121.title': 'Node B: Too sharp turn (slow)',
  650. '121.problem': 'The drivable segment has a very acute turn at node B',
  651. '121.solution': 'Disable the sharp turn at node B or spread the segments at 30°',
  652. '128.enabled': true,
  653. '128.severity': '1',
  654. '128.title': 'User-defined custom check (green)',
  655. '128.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  656. '128.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  657. '128.solution': 'Solve the issue',
  658. '128.params': {},
  659. '129.enabled': true,
  660. '129.severity': '2',
  661. '129.title': 'User-defined custom check (blue)',
  662. '129.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  663. '129.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  664. '129.solution': 'Solve the issue',
  665. '129.params': {},
  666. '169.severity': 'W',
  667. '169.title': 'Incorrectly named street',
  668. '169.problem': 'The street named incorrectly, illegal chars or words used',
  669. '169.solution': 'Rename the segment in accordance with the guidelines',
  670. '169.params': {'regexp.title': '{string} regular expression to match incorrect street name', 'regexp': '!/^[a-zA-Z0-9\\. :"\'(/)-]+$/'},
  671. '170.severity': 'W',
  672. '170.title': 'Lowercase street name',
  673. '170.problem': 'The street name starts with a lowercase word',
  674. '170.solution': 'Correct lettercase in the street name',
  675. '170.params': {'regexp.title': '{string} regular expression to match a lowercase name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  676. '171.severity': 'W',
  677. '171.title': 'Incorrectly abbreviated street name',
  678. '171.problem': 'The street name has incorrect abbreviation',
  679. '171.solution': 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table',
  680. '171.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\.$/'},
  681. '172.enabled': true,
  682. '172.title': 'Unneeded spaces in street name',
  683. '172.problem': 'Leading/trailing/double space in the street name',
  684. '172.solution': 'Remove unneeded spaces from the street name',
  685. '172.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  686. '173.enabled': true,
  687. '173.severity': 'W',
  688. '173.title': 'No space before/after street abbreviation',
  689. '173.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  690. '173.solution': 'Add a space before/after the abbreviation',
  691. '173.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  692. '174.severity': 'W',
  693. '174.title': 'Street name spelling mistake',
  694. '174.problem': 'The is a spelling mistake in the street name',
  695. '174.solution': 'Add/correct the mistake, check accented letters',
  696. '174.params':
  697. {
  698. 'regexp.title': '{string} regular expression to match spelling mistakes',
  699. 'regexp': '/(^|\\b)(accross|cemetary|fourty|foward|goverment|independant|liason|pavillion|portugese|posession|prefered|shcool|wat|wich)($|\\b)/i'
  700. },
  701. '175.enabled': true,
  702. '175.severity': 'W',
  703. '175.title': 'Empty street name',
  704. '175.problem': 'The street name has only space characters or a dot',
  705. '175.solution': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  706. '175.solutionLink': 'W:Creating_and_Editing_street_segments#Confirm_the_road_by_updating_details',
  707. '175.params': {'regexp': '/^[\\s\\.]*$/'},
  708. '190.severity': 'W',
  709. '190.enabled': true,
  710. '190.title': 'Lowercase city name',
  711. '190.problem': 'The city name starts with a lowercase letter',
  712. '190.solution': 'Use this form to rename the city',
  713. '190.solutionLink': 'F:t=50314#p450378',
  714. '190.params': {'regexp.title': '{string} regular expression to match a lowercase city name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  715. '191.severity': 'W',
  716. '191.title': 'Incorrectly abbreviated city name',
  717. '191.problem': 'The city name has incorrect abbreviation',
  718. '191.solution': 'Use this form to rename the city',
  719. '191.solutionLink': 'F:t=50314#p450378',
  720. '191.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\./'},
  721. '192.enabled': true,
  722. '192.title': 'Unneeded spaces in city name',
  723. '192.problem': 'Leading/trailing/double space in the city name',
  724. '192.solution': 'Use this form to rename the city',
  725. '192.solutionLink': 'F:t=50314#p450378',
  726. '192.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  727. '193.enabled': true,
  728. '193.title': 'No space before/after city abbreviation',
  729. '193.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  730. '193.solution': 'Use this form to rename the city',
  731. '193.solutionLink': 'F:t=50314#p450378',
  732. '193.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  733. '200.enabled': true,
  734. '200.title': 'Node A: Unconfirmed turn on minor road',
  735. '200.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  736. '200.problemLink': 'W:Soft_and_hard_turns',
  737. '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',
  738. '200.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  739. '300.enabled': true,
  740. '300.title': 'Node B: Unconfirmed turn on minor road',
  741. '300.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node B',
  742. '300.problemLink': 'W:Soft_and_hard_turns',
  743. '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',
  744. '300.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  745. '201.enabled': true,
  746. '201.severity': 'W',
  747. '201.title': 'Node A: Unconfirmed turn on primary road',
  748. '201.problem': 'The primary segment has an unconfirmed (soft) turn at node A',
  749. '201.problemLink': 'W:Soft_and_hard_turns',
  750. '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',
  751. '201.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  752. '301.enabled': true,
  753. '301.severity': 'W',
  754. '301.title': 'Node B: Unconfirmed turn on primary road',
  755. '301.problem': 'The primary segment has an unconfirmed (soft) turn at node B',
  756. '301.problemLink': 'W:Soft_and_hard_turns',
  757. '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',
  758. '301.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  759. '202.enabled': true,
  760. '202.severity': 'W',
  761. '202.title': 'BETA: No public connection for public segment (slow)',
  762. '202.problem': 'The public segment is not connected to any other public segment',
  763. '202.solution': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  764. '210.enabled': true,
  765. '210.title': 'Segment has unverified speed limits from A to B',
  766. '210.problem': 'Segment has speed limit set from A to B that is unverified',
  767. '210.solution': 'Verify the speed limit on the segment and confirm or correct it',
  768. '210.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  769. '211.enabled': true,
  770. '211.title': 'Segment has unverified speed limits from B to A',
  771. '211.problem': 'Segment has speed limit set from B to A that is unverified',
  772. '211.solution': 'Verify the speed limit on the segment and confirm or correct it',
  773. '211.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  774. '212.enabled': true,
  775. '212.title': 'Segment has no speed limit set from A to B',
  776. '212.problem': 'Segment has no speed limit set from A to B',
  777. '212.solution': 'Verify the speed limit on the segment and set it',
  778. '212.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  779. '213.enabled': true,
  780. '213.title': 'Segment has no speed limit set from B to A',
  781. '213.problem': 'Segment has no speed limit set from B to A',
  782. '213.solution': 'Verify the speed limit on the segment and set it',
  783. '213.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  784. '214.enabled': true,
  785. '214.title': 'Segment has possibly wrong speed limit from A to B',
  786. '214.problem': 'Segment has a speed limit that seems to be incorrect',
  787. '214.solution': 'Verify the speed limit on the segment and correct it if needed',
  788. '214.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  789. '215.enabled': true,
  790. '215.title': 'Segment has possibly wrong speed limit from B to A',
  791. '215.problem': 'Segment has a speed limit that seems to be incorrect',
  792. '215.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  793. '215.solution': 'Verify the speed limit on the segment and correct it if needed',
  794. '250.enabled': true,
  795. '250.title': 'BETA: No city name on Place',
  796. '250.problem': 'The Place has no city name set',
  797. '250.solution': 'Set the city name',
  798. '250.params':
  799. {
  800. 'regexp.title': '{string} regular expression for categories to exclude from this check',
  801. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  802. },
  803. '251.enabled': true,
  804. '251.title': 'BETA: No street name on Place',
  805. '251.problem': 'The Place has no street name set',
  806. '251.solution': 'Set the street name',
  807. '251.params':
  808. {
  809. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  810. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  811. },
  812. '252.enabled': true,
  813. '252.title': 'BETA: Automatically updated Place',
  814. '252.problem': 'The Place was updated automatically by Waze',
  815. '252.solution': 'Verify and update the Place details if needed',
  816. '252.params':
  817. {
  818. 'regexp.title': '{string} regular expression to match Waze bot names and ids',
  819. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  820. },
  821. '253.enabled': true,
  822. '253.title': 'BETA: Category \'OTHER\' should not be used',
  823. '253.problem': 'Users can search on category, and category \'OTHER\' doesn\'t give enough information',
  824. '253.solution': 'Set the correct category',
  825. '254.enabled': true,
  826. '254.title': 'BETA: No entry/exit points on Place',
  827. '254.problem': 'The Place entry/exit points are not set',
  828. '254.solution': 'Set the entry/exit points',
  829. '255.enabled': true,
  830. '255.title': 'BETA: Invalid phone number',
  831. '255.problem': 'The Place has an invalid phone number',
  832. '255.solution': 'Set the correct phone number',
  833. '255.params': {'regexp.title': '{string} regular expression to match a correct phone number', 'regexp': '/.+/'},
  834. '256.enabled': true,
  835. '256.title': 'BETA: Invalid website',
  836. '256.problem': 'The Place has an invalid website URL',
  837. '256.solution': 'Set the correct website URL',
  838. '256.params': {'regexp.title': '{string} regular expression to match a correct website URL', 'regexp': '/^(https?://)?[^\\s/$.?#].[^\\s]*$/i'},
  839. '256.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  840. '257.enabled': true,
  841. '257.title': 'BETA: Place should be an area place',
  842. '257.problem': 'The Place is set as a point place, but should be an area',
  843. '257.solution': 'Convert the Place to an area place',
  844. '257.params':
  845. {
  846. 'regexp.title': '{string} regular expression to match categories that should be a area',
  847. 'regexp':
  848. '/^(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)$/'
  849. },
  850. '257.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  851. '258.enabled': true,
  852. '258.title': 'BETA: Place should be a point place',
  853. '258.problem': 'The Place is set as an area place, but should be a point',
  854. '258.solution': 'Convert the Place to a point place',
  855. '258.params':
  856. {
  857. 'regexp.title': '{string} regular expression to match categories that should be a point',
  858. 'regexp':
  859. '/^(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)$/'
  860. },
  861. '259.enabled': true,
  862. '259.title': 'BETA: No lock on Place',
  863. '259.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  864. '259.solution': 'Lock the Place',
  865. '259.params':
  866. {
  867. 'n.title': '{number} minimum lock level',
  868. 'n': 2,
  869. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  870. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  871. },
  872. '260.enabled': true,
  873. '260.title': 'BETA: No lock on Place',
  874. '260.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  875. '260.solution': 'Lock the Place',
  876. '260.params':
  877. {
  878. 'n.title': '{number} minimum lock level',
  879. 'n': 3,
  880. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  881. 'regexp': '/(GAS_STATION|AIRPORT)/'
  882. },
  883. '270.enabled': true,
  884. '270.title': 'BETA: No type on Parking Lot',
  885. '270.problem': 'The primary Parking Lot type is not set',
  886. '270.solution': 'Set the primary lot type',
  887. '271.enabled': true,
  888. '271.title': 'BETA: No cost on Parking Lot',
  889. '271.problem': 'The Parking Lot cost is not set',
  890. '271.solution': 'Set the Parking Lot cost',
  891. '272.enabled': true,
  892. '272.title': 'BETA: No payment types on Parking Lot',
  893. '272.problem': 'The Parking Lot payment types are not set',
  894. '272.solution': 'Set the payment types',
  895. '273.enabled': true,
  896. '273.title': 'BETA: No elevation on Parking Lot',
  897. '273.problem': 'The Parking Lot elevation is not set',
  898. '273.solution': 'Set the elevation',
  899. '274.enabled': true,
  900. '274.title': 'BETA: No Parking Lot entry/exit points',
  901. '274.problem': 'The Parking Lot entry/exit points are not set',
  902. '274.solution': 'Set the entry/exit points',
  903. '275.enabled': true,
  904. '275.title': 'BETA: No brand on Gas Station',
  905. '275.problem': 'The Gas Station brand is not in its name',
  906. '275.solution': 'Add or update brand in the Gas Station name'
  907. },
  908. 'US':
  909. {
  910. '.codeISO': 'US',
  911. '.country': 'United States',
  912. '27.enabled': true,
  913. '90.enabled': true,
  914. '106.enabled': true,
  915. '112.enabled': false,
  916. '150.enabled': true,
  917. '150.params': {'n': 2},
  918. '170.enabled': true,
  919. '170.params': {'regexp': '/^(?!(to) [^a-z])((S|N|W|E) )?[a-z]/'},
  920. '171.enabled': true,
  921. '171.solutionLink': 'W:Abbreviations_and_acronyms/USA#Standard_suffix_abbreviations',
  922. '171.params':
  923. {
  924. 'regexp':
  925. '/((?!(\\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/',
  926. 'problemEN': 'The street name has incorrect abbreviation, or character',
  927. 'solutionEN':
  928. 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table. Remove any comma (,), backslash (\\), or semicolon (;)'
  929. }
  930. },
  931. 'UK': {'.codeISO': 'UK', '.country': 'United Kingdom', '1.enabled': false, '200.enabled': false},
  932. 'SK':
  933. {
  934. '.codeISO': 'SK',
  935. '.country': 'Slovakia',
  936. '27.enabled': true,
  937. '52.enabled': true,
  938. '73.enabled': true,
  939. '90.enabled': true,
  940. '150.enabled': true,
  941. '150.problemLink': 'F:t=64980&p=572847#p572847',
  942. '150.params': {'n': 2},
  943. '151.enabled': true,
  944. '151.problemLink': 'F:t=64980&p=572847#p572847',
  945. '151.params': {'n': 2},
  946. '152.enabled': true,
  947. '152.problemLink': 'F:t=64980&p=572847#p572847',
  948. '152.params': {'n': 2},
  949. '170.enabled': true,
  950. '170.params': {'regexp': '/^(?!(exit) [^a-z])[a-z]/'}
  951. },
  952. 'SG':
  953. {
  954. '.codeISO': 'SG',
  955. '.country': 'Singapore',
  956. '69.enabled': true,
  957. '73.enabled': true,
  958. '150.enabled': true,
  959. '150.params': {'n': 2},
  960. '151.enabled': true,
  961. '151.params': {'n': 2},
  962. '152.enabled': true,
  963. '152.params': {'n': 2}
  964. },
  965. 'RU': {'.codeISO': 'RU', '.country': 'Russia', '77.enabled': false, '190.enabled': false},
  966. 'PL':
  967. {
  968. '.codeISO': 'PL',
  969. '.country': 'Poland',
  970. '.author': 'Zniwek',
  971. '.updated': '2014-10-01',
  972. '.lng': 'PL',
  973. 'city.consider': 'rozważ tę nazwę miasta:',
  974. 'city.1': 'nazwa miasta jest za krótka',
  975. 'city.2': 'rozwiń skrót',
  976. 'city.3': 'uzupełnij skróconą nazwę',
  977. 'city.4': 'uzupełnij nazwę miasta',
  978. 'city.5': 'popraw wielkość liter',
  979. 'city.6': 'sprawdź kolejność słów',
  980. 'city.7': 'sprawdź skróty',
  981. 'city.8a': 'dodaj nazwę państwa',
  982. 'city.8r': 'usuń nazwę państwa',
  983. 'city.9': 'sprawdź nazwę państwa',
  984. 'city.10a': 'dodaj słowo',
  985. 'city.10r': 'usuń słowo',
  986. 'city.11': 'dodaj kod państwa',
  987. 'city.12': 'identyczne nazwy, ale inne ID miasta',
  988. 'city.13a': 'dodaj spację',
  989. 'city.13r': 'usuń spację',
  990. 'city.14': 'sprawdź numer',
  991. 'props.skipped.title': 'Segment nie jest sprawdzony',
  992. 'props.skipped.problem': 'Segment jest zmodyfikowany po 2014-05-01 I zablokowany dla Ciebie, więc Validator go nie sprawdził',
  993. 'err.regexp': 'Błąd podczas parsowania opcji dla sprawdzenia #${n}:',
  994. 'props.disabled': 'WME Validator jest wyłączony',
  995. 'props.limit.title': 'Zgłoszono zbyt wiele problemów',
  996. 'props.limit.problem': 'Zgłoszono zbyt wiele problemów, więc niektóre z nich mogą nie być pokazane',
  997. 'props.limit.solution': 'Odznacz segment i zatrzymaj skanowanie. Następnie kliknij czerwony \'✘\', przycisk (Wyczyść raport)',
  998. 'props.reports': 'raporty',
  999. 'props.noneditable': 'Nie możesz edytować tego segmentu',
  1000. 'report.save': 'Zapisz ten raport',
  1001. 'report.list.andUp': 'i wyższe',
  1002. 'report.list.severity': 'Ważność:',
  1003. 'report.list.reportOnly': 'tylko w raporcie',
  1004. 'report.list.forEditors': 'Dla edytorów poziomu:',
  1005. 'report.list.forCountries': 'Dla państw:',
  1006. 'report.list.forStates': 'Dla stanów:',
  1007. 'report.list.forCities': 'Dla miast:',
  1008. 'report.list.params': 'Parametry do skonfigurowania w paczce językowej:',
  1009. 'report.list.params.set': 'Aktualna konfiguracja dla ${country}:',
  1010. 'report.list.enabled': '${n} sprawdzenia włączone dla',
  1011. 'report.list.disabled': '${n} sprawdzenia wyłączone dla',
  1012. 'report.list.total': 'There are ${n} sprawdzenia dostępne',
  1013. 'report.list.title': 'Pełna lista Sprawdzeń dla',
  1014. 'report.list.see': 'Zobacz',
  1015. 'report.list.checks': 'Ustawienia->O->Dostępne sprawdzenia',
  1016. 'report.list.fallback': 'Zasady Cofnięcia Lokalizacji:',
  1017. 'report.and': 'i',
  1018. 'report.segments': 'Liczba sprawdzonych segmentów:',
  1019. 'report.customs': 'Własne zaznaczone sprawdzenia (zielone/niebieskie):',
  1020. 'report.reported': 'Zaraportowane',
  1021. 'report.errors': 'błędy',
  1022. 'report.warnings': 'ostrzeżenia',
  1023. 'report.notes': 'notki',
  1024. 'report.contents': 'Zawartość:',
  1025. 'report.summary': 'Podsumowanie',
  1026. 'report.title': 'WME Validator - Raport',
  1027. 'report.share': 'by się Podzielić',
  1028. 'report.generated.by': 'wygenerowane przez',
  1029. 'report.generated.on': 'na',
  1030. 'report.source': 'Źródło raportu:',
  1031. 'report.filter.duplicate': 'duplikowane segmenty',
  1032. 'report.filter.streets': 'Ulice i Drogi Serwisowe',
  1033. 'report.filter.other': 'Pozostałe przejezdne/nieprzejezdne',
  1034. 'report.filter.noneditable': 'segmenty bez możliwości edycji',
  1035. 'report.filter.notes': 'notki',
  1036. 'report.filter.title': 'Filtruj:',
  1037. 'report.filter.excluded': 'są wyłączone z tego raportu.',
  1038. 'report.search.updated.by': 'zaktualizowane przez',
  1039. 'report.search.updated.since': 'zaktualizowane od',
  1040. 'report.search.city': 'z',
  1041. 'report.search.reported': 'zaraportowane jako',
  1042. 'report.search.title': 'Szukaj:',
  1043. 'report.search.only': 'tylko segmenty',
  1044. 'report.search.included': 'są zawarte w tym raporcie.',
  1045. 'report.beta.warning': 'Ostrzeżenie WME Beta!',
  1046. 'report.beta.text': 'Ten raport jest wygenerowany w wersji beta WME z permalinkami beta.',
  1047. 'report.beta.share': 'Proszę, nie dziel się raportem z tymi permalinkami!',
  1048. 'report.size.warning':
  1049. '<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.',
  1050. 'report.note.limit': '* Info: było zbyt wiele zgłoszonych problemów, więc niektóre z nich nie są policzone w podsumowaniu.',
  1051. 'report.forum': 'Żeby zmotywować mnie do pracy nad skrpytem, zostaw komentarz w',
  1052. 'report.thanks': 'Dziękuję za używanie WME Validator!',
  1053. 'msg.limit.segments': 'Zbyt wiele segmentów.\n\nKliknij \'Pokaż raport\' żeby go przejrzeć, a potem\n',
  1054. 'msg.limit.segments.continue': 'kliknij \'▶\' (Start) by kontynuować.',
  1055. 'msg.limit.segments.clear': 'kliknij \'✘\' (Wyczyść) by wyczyścić raport.',
  1056. 'msg.pan.text': 'Przesuwaj mapę, by ją sprawdzić',
  1057. 'msg.zoomout.text': 'Oddal widok, by uruchomić WME Validator',
  1058. 'msg.click.text': 'Kliknij \'▶\' (Start), by sprawdzić widoczny obszar mapy',
  1059. 'msg.autopaused': 'autopauza',
  1060. 'msg.autopaused.text': 'Spauzowano automatycznie! Kliknij \'▶\' (Start) by kontynuować.',
  1061. 'msg.autopaused.tip': 'WME Validator wstrzymany automatycznie przy przesunięciu mapy lub skalowaniu okna',
  1062. 'msg.finished.text': 'Kliknij <b>\'Pokaż raport\'</b> by przejrzeć błędy',
  1063. 'msg.finished.tip': 'Kliknij przycisk \'✉\' (Podziel się), żeby umieścić raport na\nforum lub w prywatnej wiadomości',
  1064. 'msg.noissues.text': 'Ukończono! Nie znaleziono błędów!',
  1065. 'msg.noissues.tip': 'Spróbuj odznaczyć niektóre opcje filtrowania lub odpal WME Validator na innym obszarze!',
  1066. 'msg.scanning.text': 'Skanowanie! Koniec za ~ ${n} min',
  1067. 'msg.scanning.text.soon': 'Skanowanie! Koniec w ciągu minuty!',
  1068. 'msg.scanning.tip': 'Kliknij przycisk \'Pauza\' by wstrzymać lub \'■\' (Stop) by zatrzymać',
  1069. 'msg.starting.text': 'Start! Warstwy są wyłączone, by skanować szybciej!',
  1070. 'msg.starting.tip': 'Użyj przycisku \'Pauza\' by wstrzymać lub przycisku \'■\' by zatrzymać',
  1071. 'msg.paused.text': 'Wstrzymane! Kliknij przycisk \'▶\' (Start) by kontynuować.',
  1072. 'msg.paused.tip': 'Żeby zobaczyć raport, kliknij przycisk \'Pokaż raport\' (jeżeli dostępne)',
  1073. 'msg.continuing.text': 'Kontynuowanie!',
  1074. 'msg.continuing.tip': 'WME Validator zacznie ponownie z miejsca, gdzie włączono pauzę',
  1075. 'msg.settings.text': 'Kliknij <b>\'Wstecz\'</b>, by powrócić do głównego widoku',
  1076. 'msg.settings.tip': 'Kliknij przycisk \'Resetuj domyślne\' aby zresetować wszystkie ustawienia za jednym zamachem!',
  1077. 'msg.reset.text': 'Wszystkie opcje filtrowania i ustawienia zostały zresetowane do domyślnych',
  1078. 'msg.reset.tip': 'Kliknij przycisk \'Wstecz\', by powrócić do głównego widoku',
  1079. 'msg.textarea.pack':
  1080. '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',
  1081. 'msg.textarea': 'Skopiuj proszę tekst poniżej, a następnie wklej do posta lub wiadomości prywatnej',
  1082. 'noaccess.text':
  1083. '<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.',
  1084. 'noaccess.tip': 'Sprawdź proszę wątek na forum po więcej informacji!',
  1085. 'tab.switch.tip.on': 'Kliknij by włączyć podświetlanie (Alt+V)',
  1086. 'tab.switch.tip.off': 'Kliknij by wyłączyć podświetlanie (Alt+V)',
  1087. 'tab.filter.text': 'filtruj',
  1088. 'tab.filter.tip': 'Opcje filtrowania raportu i podświetlonych segmentów',
  1089. 'tab.search.text': 'szukaj',
  1090. 'tab.search.tip': 'Zaawansowane opcje filtrowania, żeby załączyć tylko specyficzne segmenty',
  1091. 'tab.help.text': 'pomoc',
  1092. 'tab.help.tip': 'Potrzebujesz pomocy?',
  1093. 'filter.noneditables.text': 'Wyklucz <b>nieedytowalne</b> segmenty',
  1094. 'filter.noneditables.tip': 'Nie raportuj zablokowanych segmentów lub\nsegmentów poza Twoim obszarem edycji',
  1095. 'filter.duplicates.text': 'Wyklucz <b>duplikowane</b> segmenty',
  1096. 'filter.duplicates.tip': 'Nie pokazuj tego samego segmentu w różnych\nczęściach raportu\n* Info: ta opcja NIE WPŁYWA na podświetlanie',
  1097. 'filter.streets.text': 'Wyklucz <b>Ulice i Drogi Serwisowe</b>',
  1098. 'filter.streets.tip': 'Nie raportuj Ulic i Dróg Serwisowych',
  1099. 'filter.other.text': 'Wyklucz <b>Pozostałe przejezdne i nieprzejezdne</b>',
  1100. 'filter.other.tip': 'Nie raportuj Gruntowych, Wewnętrznych, Prywatnych Dróg\ni nieprzejezdnych segmentów',
  1101. 'filter.notes.text': 'Wyklucz <b>notki</b>',
  1102. 'filter.notes.tip': 'Raportuj tylko ostrzeżenia i błędy',
  1103. 'search.youredits.text': 'Załącz <b>tylko Twoje edycje</b>',
  1104. 'search.youredits.tip': 'Załącz tylko segmenty edytowane przez Ciebie',
  1105. 'search.updatedby.text': '<b>Zaktualizowane przez*:</b>',
  1106. 'search.updatedby.tip':
  1107. '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',
  1108. 'search.updatedby.example': 'Przykład: me',
  1109. 'search.updatedsince.text': '<b>Zaktualizowane od:</b>',
  1110. 'search.updatedsince.tip': 'Załącz tylko segmenty edytowane od ustalonej daty\nformat daty Firefox: RRRR-MM-DD',
  1111. 'search.updatedsince.example': 'RRRR-MM-DD',
  1112. 'search.city.text': '<b>Nazwa miasta:</b>',
  1113. '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, *',
  1114. 'search.city.example': 'Przykład: !Paris, *',
  1115. 'search.checks.text': '<b>Zaraportowane jako:</b>',
  1116. 'search.checks.tip':
  1117. '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*, *',
  1118. 'search.checks.example': 'Przykład: reverse*',
  1119. 'help.text':
  1120. '<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>',
  1121. 'help.tip': 'Otwórz w nowej karcie przeglądarki',
  1122. 'button.scan.tip': 'Zacznij skanowanie aktualnego obszaru\n* Info: to może zająć kilka minut',
  1123. 'button.scan.tip.NA': 'Oddal widok by zacząć skanować aktualny obszar',
  1124. 'button.pause.tip': 'Wstrzymaj skanowanie',
  1125. 'button.continue.tip': 'Kontynuuj skanowanie obszaru mapy',
  1126. 'button.stop.tip': 'Zatrzymaj skanowanie i powróć do pozycji startowej',
  1127. 'button.clear.tip': 'Wyczyść raport i cache segmentu',
  1128. '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.',
  1129. 'button.report.text': 'Pokaż raport',
  1130. 'button.report.tip': 'Zatwierdź filtr i wygeneruj raport HTML w nowej karcie',
  1131. 'button.BBreport.tip': 'Podziel się raportem na forum Waze lub w prywatnej wiadomości',
  1132. 'button.settings.tip': 'Konfiguruj ustawienia',
  1133. 'tab.custom.text': 'własne',
  1134. 'tab.custom.tip': 'Ustawienia sprawdzeń zdefiniowanych przez użytkownika',
  1135. 'tab.settings.text': 'Ustawienia',
  1136. 'tab.scanner.text': 'skaner',
  1137. 'tab.scanner.tip': 'Ustawienia skanera mapy',
  1138. 'tab.about.text': 'o</span>',
  1139. 'tab.about.tip': 'Info o WME Validator',
  1140. 'scanner.sounds.text': 'Włącz dźwięki',
  1141. 'scanner.sounds.tip': 'Pikanie podczas skanowania',
  1142. 'scanner.sounds.NA': 'Twoja przeglądarka nie wspiera AudioContext',
  1143. 'scanner.highlight.text': 'Podświetl błędy na mapie',
  1144. 'scanner.highlight.tip': 'Podświetl zaraportowane błędy na mapie',
  1145. 'scanner.slow.text': 'Włącz sprawdzenia "slow"',
  1146. 'scanner.slow.tip': 'Włącza głęboką analizę mapy\n* Info: ta opcja może spowolnić proces skanowania',
  1147. 'scanner.ext.text': 'Raportuj zewnętrzne podświetlenia',
  1148. 'scanner.ext.tip': 'Raportuj segmenty podświetlone przez WME Toolbox lub WME Color Highlights',
  1149. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Własny szablon</a>',
  1150. 'custom.template.tip':
  1151. '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}',
  1152. 'custom.template.example': 'Przykład ${street}',
  1153. 'custom.regexp.text': 'Własne <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1154. 'custom.regexp.tip':
  1155. '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/',
  1156. 'custom.regexp.example': 'Przykład: !/.+/',
  1157. 'about.tip': 'Otwórz link w nowej karcie',
  1158. 'button.reset.text': 'Resetuj domyślne',
  1159. 'button.reset.tip': 'Przywróć opcje filtrowania i ustawienia na domyślne',
  1160. 'button.list.text': 'Dostępne sprawdzenia...',
  1161. 'button.list.tip': 'Wyświetl listę sprawdzeń dostępnych w WME Validatorze',
  1162. 'button.wizard.tip': 'Stwórz paczkę językową',
  1163. 'button.back.text': 'Powrót',
  1164. 'button.back.tip': 'Zamknij ustawienia i wróć do głównego widoku',
  1165. '1.title': 'WME Toolbox: Rondo może powodować problemy',
  1166. '1.problem': 'ID węzłów ronda nie są w kolejności',
  1167. '1.solution': 'Stwórz rondo na nowo',
  1168. '2.title': 'WME Toolbox: Pojedynczy segment',
  1169. '2.problem': 'Segment ma niepotrzebne węzły',
  1170. '2.solution': 'Uprość geometrię segmentu przez najechanie myszką i naciśnięcie przycisku "d"',
  1171. '3.title': 'WME Toolbox: Blokada na 2 poziom',
  1172. '3.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1173. '4.title': 'WME Toolbox: Blokada na 3 poziom',
  1174. '4.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1175. '5.title': 'WME Toolbox: Blokada na 4 poziom',
  1176. '5.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1177. '6.title': 'WME Toolbox: Blokada na 5 poziom',
  1178. '6.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1179. '7.title': 'WME Toolbox: Blokada na 6 poziom',
  1180. '7.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1181. '8.title': 'WME Toolbox: Numery domów',
  1182. '8.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1183. '9.title': 'WME Toolbox: Segment z ograniczeniami czasowymi',
  1184. '9.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1185. '13.title': 'WME Color Highlights: Blokada edytora',
  1186. '13.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1187. '14.title': 'WME Color Highlights: Płatna / Jednokierunkowa',
  1188. '14.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1189. '15.title': 'WME Color Highlights: Ostatnio edytowane',
  1190. '15.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1191. '16.title': 'WME Color Highlights: Ranga drogi',
  1192. '16.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1193. '17.title': 'WME Color Highlights: Brak miasta',
  1194. '17.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1195. '18.title': 'WME Color Highlights: Ograniczenie czasowe / Podświetlony typ drogi',
  1196. '18.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1197. '19.title': 'WME Color Highlights: Brak nazwy',
  1198. '19.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1199. '20.title': 'WME Color Highlights: Filtruj po mieście',
  1200. '20.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1201. '21.title': 'WME Color Highlights: Filtruj po mieście (alt. miasto)',
  1202. '21.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1203. '22.title': 'WME Color Highlights: Filtruj po edytorzer',
  1204. '22.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1205. '23.solutionLink': 'W:Drogi',
  1206. '23.title': 'Niepotwierdzona droga',
  1207. '23.problem': 'Każdy segment musi mieć przynajmniej Państwo i Stan',
  1208. '23.solution': 'Potwierdź drogę, aktualizując jej szczegóły',
  1209. '24.title': 'Prawdopodobnie błędna nazwa miasta (tylko w raporcie)',
  1210. '24.problem': 'Segment może zawierać błędną nazwę miasta',
  1211. '24.solution': 'Rozważ zaproponowaną nazwę i użyj tego formularza do zmiany nazwy miasta',
  1212. '25.title': 'Nieznana kierunkowość przejezdnej drogi',
  1213. '25.problem': '\'Nieznana\' kierunkowość drogi, nie zapobiegnie wyznaczaniu tędy trasy',
  1214. '25.solution': 'Ustaw kierunkowość drogi',
  1215. '27.enabled': true,
  1216. '27.problemLink': 'W:Drogi#Tory.2C_szyny',
  1217. '27.title': 'Nazwa miasta na Torach',
  1218. '27.problem': 'Nazwa miasta na Torach, szynach',
  1219. '27.solution': 'Zaznacz pole \'brak\' przy nazwie miasta',
  1220. '28.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1221. '28.title': 'Nazwa ulicy na dwukierunkowym zjeździe',
  1222. '28.problem': 'Jeśli zjazd jest nienazwany, wyświetli się nazwa docelowej drogi',
  1223. '28.solution': 'Zmień nazwę ulicy na \'brak\'',
  1224. '29.problemLink': 'W:Drogi#Rondo',
  1225. '29.title': 'Nazwa ulicy na rondzie',
  1226. '29.problem': 'W Waze nie nazywamy segmentów ronda',
  1227. '29.solution': 'Zmień nazwę ulicy na \'brak\', a następnie dodaj punkt orientacyjny \'Węzeł drogowy\', żeby nazwać rondo',
  1228. '34.title': 'Pusta nazwa alternatywna',
  1229. '34.problem': 'Alternatywna nazwa ulicy jest pusta',
  1230. '34.solution': 'Usuń pustą nazwę alternatywną ulicy',
  1231. '35.title': 'Niezakończona droga',
  1232. '35.problem': 'Waze nie poprowadzi z niezakończonego segmentu',
  1233. '35.solution': 'Przesuń trochę segment, żeby pojawił się kończący węzeł',
  1234. '36.title': 'Węzeł A: Niepotrzebny (slow)',
  1235. '36.problem': 'Segmenty spotykające się w węźle A są identyczne',
  1236. '36.solution': 'Wybierz węzeł A i naciśnij przycisk Delete, by połączyć segmenty',
  1237. '37.title': 'Węzeł B: Niepotrzebny (slow)',
  1238. '37.problem': 'Segmenty spotykające się w węźle B są identyczne',
  1239. '37.solution': 'Wybierz węzeł B i naciśnij przycisk Delete, by połączyć segmenty',
  1240. '38.title': 'Upłynął czas ograniczenia segmentu (slow)',
  1241. '38.problem': 'Segment zawiera wygasłe ograniczenie',
  1242. '38.solution': 'Kliknij \'Edytuj ograniczenia\' i usuń wygasłe ograniczenie',
  1243. '39.title': 'Wygasłe ograniczenie skrętu (slow)',
  1244. '39.problem': 'Segment ma skręt z wygasłym ograniczeniem',
  1245. '39.solution': 'Kliknij ikonę zegara obok żółtej strzałki i usuń wygasłe ograniczenie',
  1246. '41.title': 'Węzeł A: Odwrócona łączność przejezdnej drogi',
  1247. '41.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle A',
  1248. '41.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (A→B)\'',
  1249. '42.title': 'Węzeł B: Odwrócona łączność przejezdnej drogi',
  1250. '42.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle B',
  1251. '42.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (B→A)\'',
  1252. '43.title': 'Połączenie ze sobą',
  1253. '43.problem': 'Segment łączy się sam ze sobą',
  1254. '43.solution': 'Podziel segment na TRZY części',
  1255. '46.title': 'SLOW: Brak wjazdu na węźle A',
  1256. '46.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1257. '46.solution': 'Rozważ możliwość wjazdu na węźle A',
  1258. '47.title': 'SLOW: Brak wjazdu na węźle B',
  1259. '47.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1260. '47.solution': 'Rozważ możliwość wjazdu na węźle A',
  1261. '48.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1262. '48.title': 'Dwukierunkowy segment ronda',
  1263. '48.problem': 'Segment ronda jest dwukierunkowy',
  1264. '48.solution': 'Stwórz rondo od nowa',
  1265. '50.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1266. '52.enabled': true,
  1267. '52.solutionLink': 'W:Tabela_skrótów',
  1268. '52.title': 'Za długa nazwa ulicy',
  1269. '52.problem': 'Nazwa przejezdnego segmentu jest dłuższa niż ${n} liter i nie jest Rampą',
  1270. '52.solution': 'Consider an abbreviation for the street name according to this table',
  1271. '52.params': {'n': 35},
  1272. '57.enabled': true,
  1273. '57.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1274. '57.title': 'Nazwa miasta na nazwanym zjeździe',
  1275. '57.problem': 'Nazwa miasta na nazwanym zjeździe może wpłynąć na wyniki wyszukiwania',
  1276. '57.solution': 'Zmień nazwę miasta na \'brak\'',
  1277. '59.enabled': true,
  1278. '59.problemLink': 'W:Drogi#Autostrada_.2F_Droga_ekspresowa',
  1279. '59.title': 'Nazwa miasta na Autostradzie',
  1280. '59.problem': 'Nazwa miasta na Autostradzie, może spowodować że obszar miasta się rozciągnie',
  1281. '59.solution': 'W danych adresowych ustaw \'Brak\' obok nazwy miasta i kliknij \'Zatwierdź\'',
  1282. '73.enabled': true,
  1283. '73.title': 'Za krótka nazwa ulicy',
  1284. '73.problem': 'Nazwa ulicy jest krótsza niż ${n} liter i nie jest autostradą',
  1285. '73.solution': 'Popraw nazwę ulicy',
  1286. '74.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1287. '78.title': 'SLOW: Takie same punkty końcowe segmentów',
  1288. '78.problem': 'Dwa przejezdne segmenty mają takie same punkty końcowe',
  1289. '78.solution': 'Podziel segment. Możesz także usunąć segment, jeśli są identyczne',
  1290. '79.problemLink': 'W:Skrzyżowania#Najlepsze_praktyki_dla_r.C3.B3.C5.BCnych_typ.C3.B3w_skrzy.C5.BCowa.C5.84',
  1291. '87.problemLink': 'W:Drogi#Rondo',
  1292. '87.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1293. '87.title': 'Więcej niż jeden segment wychodzący z węzła A na rondzie',
  1294. '87.problem': 'Węzeł A na rondzie ma podłączony więcej niż jeden segment wychodzący',
  1295. '87.solution': 'Utwórz rondo ponownie',
  1296. '99.title': 'Nawrót na wjeździe na rondo (slow)',
  1297. '99.problem': 'Segment wjazdu na rondo ma włączoną możliwość zawracania',
  1298. '99.solution': 'Wyłącz nawrót',
  1299. '101.params': {'regexp': '/(^|\\b)remont(\\b|$)/i'},
  1300. '101.title': 'Droga zamknięta (dostępne tylko w raporcie)',
  1301. '101.problem': 'Segment jest oznaczony jako zamknięty',
  1302. '101.solution': 'Gdy remont się skończy, przywróć połączenia segmentu i usuń przyrostek',
  1303. '102.title': 'SLOW: Brak wyjazdu na węźle A',
  1304. '102.problem': 'Przejezdny segment nie ma wyjazdu na węźle A',
  1305. '102.solution': 'Rozważ możliwość wyjazdu na węźle A',
  1306. '103.title': 'SLOW: Brak wyjazdu na węźle B',
  1307. '103.problem': 'Przejezdny segment nie ma wyjazdu na węźle B',
  1308. '103.solution': 'Rozważ możliwość wyjazdu na węźle B',
  1309. '104.title': 'Tory użyte dla komentarzy',
  1310. '104.problem': 'Tory są prawdopodobnie użyte do komentarzy na mapie',
  1311. '104.solution': 'Usuń komentarze, ponieważ Tory będą wyświetlane w aplikacji',
  1312. '105.enabled': true,
  1313. '105.title': 'Ścieżka zamiast Torów',
  1314. '105.problem': 'Ścieżka o wysokości -5 jest zapewne użyta zamiast Torów',
  1315. '105.solution': 'Zmień typ drogi na Tory, by wyświetliły się w aplikacji',
  1316. '107.title': 'SLOW: Brak połączenia w węźle A',
  1317. '107.problem': 'Węzeł A segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1318. '107.solution': 'Przeciągnij węzeł A na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1319. '108.title': 'SLOW: Brak połączenia w węźle B',
  1320. '108.problem': 'Węzeł B segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1321. '108.solution': 'Przeciągnij węzeł B na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1322. '109.title': 'Za krótki segment',
  1323. '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',
  1324. '109.solution': 'Zwiększ długość, usuń segment lub połącz go z jednym z przyległych segmentów',
  1325. '112.title': 'Za długa nazwa Rampy',
  1326. '112.problem': 'Nazwa Rampy jest dłuższa niż ${n} liter',
  1327. '112.solution': 'Skróć nazwę Rampy',
  1328. '114.title': 'Węzeł A: Nieprzejezdna połączona z przejezdną (slow)',
  1329. '114.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle A',
  1330. '114.solution': 'Odłącz węzeł A od wszystkich przejezdnych segmentów',
  1331. '115.title': 'Węzeł B: Nieprzejezdna połączona z przejezdną (slow)',
  1332. '115.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle B',
  1333. '115.solution': 'Odłącz węzeł B od wszystkich przejezdnych segmentów',
  1334. '116.title': 'Poza skalą poziomu/wysokości',
  1335. '116.problem': 'Poziom/wysokość segmentu są poza skalą',
  1336. '116.solution': 'Popraw poziom/wysokość',
  1337. '117.title': 'Przestarzały znacznik CONST ZN',
  1338. '117.problem': 'Segmeny jest oznaczony przestarzałym przyrostkiem CONST ZN',
  1339. '117.solution': 'Zmień CONST ZN na (zamknięte)',
  1340. '118.title': 'Węzeł A: Nakładające się segmenty (slow)',
  1341. '118.problem': 'Segment pokrywa się z sąsiadującym, w węźle A',
  1342. '118.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle A',
  1343. '119.title': 'Węzeł B: Nakładające się segmenty (slow)',
  1344. '119.problem': 'Segment pokrywa się z sąsiadującym, w węźle B',
  1345. '119.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle B',
  1346. '120.title': 'Węzeł A: Za ostry skręt (slow)',
  1347. '120.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle A',
  1348. '120.solution': 'Wyłącz ostry skręt na węźle A lub rozszerz segmenty do 30°',
  1349. '121.title': 'Węzeł B: Za ostry skręt (slow)',
  1350. '121.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle B',
  1351. '121.solution': 'Wyłącz ostry skręt na węźle B lub rozszerz segmenty do 30°',
  1352. '128.title': 'Własne sprawdzenie (zielone)',
  1353. '128.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1354. '128.solution': 'Rozwiąż ten problem',
  1355. '129.title': 'Własne sprawdzenie (niebieskie)',
  1356. '129.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1357. '129.solution': 'Rozwiąż ten problem',
  1358. '161.enabled': true,
  1359. '161.params':
  1360. {'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'},
  1361. '161.problemLink': 'W:Drogi#Droga_krajowa',
  1362. '161.title': 'Numer DK w nazwie ulicy',
  1363. '161.problem': 'Nazwa ulicy zawiera numer DK',
  1364. '161.solution': 'Usuń przedrostek z nazwy ulicy',
  1365. '162.enabled': true,
  1366. '162.params':
  1367. {'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'},
  1368. '162.problemLink': 'W:Drogi#Droga_wojew.C3.B3dzka',
  1369. '162.title': 'Numer DW w nazwie ulicy',
  1370. '162.problem': 'Nazwa ulicy zawiera numer DW',
  1371. '162.solution': 'Usuń przedrostek z nazwy ulicy',
  1372. '163.enabled': true,
  1373. '163.params': {
  1374. 'titleEN': '\'Węzel\' in Ramp name',
  1375. 'problemEN': 'The Ramp name contains word \'węzel\'',
  1376. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  1377. 'regexp': '/węze[lł]/i'
  1378. },
  1379. '163.solutionLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1380. '163.title': '\'Węzel\' w nazwie zjazdu',
  1381. '163.problem': 'Zjazd zawiera w nazwie słowo \'węzel\'',
  1382. '163.solution': 'Zmień nazwę zjazdu zgodnie z wytycznymi',
  1383. '167.enabled': true,
  1384. '167.params': {
  1385. 'titleEN': 'Incorrect Railroad name',
  1386. 'problemEN': 'The Railroad name is not \'PKP\', \'SKM\' or \'MPK\'',
  1387. '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\'',
  1388. 'regexp': '!/^(PKP|MPK|SKM|Tramwaje Śląskie)$/'
  1389. },
  1390. '167.solutionLink': 'W:Drogi#Tory.2C_szyny',
  1391. '167.title': 'Nieprawidłowa nazwa Torów',
  1392. '167.problem': 'Segment Torów ma nieprawidłową nazwę',
  1393. '167.solution': 'Zmień nazwę segmentu zgodnie z wytycznymi',
  1394. '169.enabled': true,
  1395. '169.params': {
  1396. 'titleEN': '\'Rondo\' or \'ulica\' in street name',
  1397. 'problemEN': 'The street name contains word \'rondo\' or \'ulica\'',
  1398. 'solutionEN':
  1399. '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\'',
  1400. 'regexp': '/rondo |ulica/i'
  1401. },
  1402. '169.solutionLink': 'W:Drogi#Rondo',
  1403. '169.title': '\'Rondo\' lub \'ulica\' w nazwie ulicy',
  1404. '169.problem': 'Nazwa ulicy zawiera słowo \'rondo\' lub \'ulica\'',
  1405. '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',
  1406. '171.enabled': true,
  1407. '171.params': {
  1408. 'regexp':
  1409. '/(^| )(?!(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\\.)[^ ]+\\./'
  1410. },
  1411. '171.solutionLink': 'W:Tabela_skrótów',
  1412. '171.title': 'Nieprawidłowy skrót w nazwie ulicy',
  1413. '171.problem': 'Nazwa ulicy zawiera nieprawidłowy skrót',
  1414. '171.solution': 'Sprawdź wielkie/małe litery, przerwę przed/po skrócie i zgodność z tą tabelą',
  1415. '172.title': 'Niepotrzebne spacje w nazwie ulicy',
  1416. '172.problem': 'Spacja na początku, końcu lub podwójna w nazwie ulicy',
  1417. '172.solution': 'Usuń niepotrzebne spacje z nazwy ulicy',
  1418. '173.title': 'Nazwa ulicy bez spacji przed lub po skrócie',
  1419. '173.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie ulicy',
  1420. '173.solution': 'Dodaj spację przed/po skrócie',
  1421. '175.title': 'Nazwa ulicy złożona z samych spacji',
  1422. '175.problem': 'Nazwa ulicy zawiera tylko spacje',
  1423. '175.solution': 'Zmień nazwę ulicy na \'Brak\' lub nazwij odpowiednio ulicę',
  1424. '190.title': 'Nazwa miasta małą literą',
  1425. '190.problem': 'Nazwa miasta zaczyna się od małej litery',
  1426. '190.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1427. '192.title': 'Niepotrzebne spacje w nazwie miasta',
  1428. '192.problem': 'Spacja na początku, końcu lub podwójna w nazwie miasta',
  1429. '192.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1430. '193.title': 'Brak spacji przed/po skrócie miasta',
  1431. '193.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie miasta',
  1432. '193.solution': 'Użyj tej formy, by zmienić nazwę miasta',
  1433. '200.problemLink': 'W:Skrzyżowania#Ograniczenia_skr.C4.99t.C3.B3w',
  1434. '200.title': 'Węzeł A: Wstępnie dopuszczony lub zakazany skręt na przejezdnej drodze',
  1435. '200.problem': 'Segment ma niepotwierdzony skręt na węźle A',
  1436. '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',
  1437. '201.title': 'Węzeł A: Niepotwierdzony skręt na głównej drodze',
  1438. '201.problem': 'Segment drogi głównej ma niepotwierdzony skręt na węźle A',
  1439. '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'
  1440. },
  1441. 'NZ': {'.codeISO': 'NZ', '.country': 'New Zealand'},
  1442. 'NL':
  1443. {
  1444. '.codeISO': 'NL',
  1445. '.country': 'Netherlands',
  1446. '.author': 'davidakachaos',
  1447. '.updated': '2018-08-01',
  1448. '.fallbackCode': 'BE',
  1449. '.lng': 'NL',
  1450. 'city.consider.en': 'consider this city name:',
  1451. 'city.consider': 'overweeg deze plaatsnaam:',
  1452. 'city.1.en': 'city name is too short',
  1453. 'city.1': 'plaatsnaam te kort',
  1454. 'city.2.en': 'expand the abbreviation',
  1455. 'city.2': 'De afkorting uitbreiden',
  1456. 'city.3.en': 'complete short name',
  1457. 'city.3': 'maak de korte naam compleet',
  1458. 'city.4.en': 'complete city name',
  1459. 'city.4': 'plaatsnaam aanvullen',
  1460. 'city.5.en': 'correct letter case',
  1461. 'city.5': 'juist hoofdlettergebruik',
  1462. 'city.6.en': 'check word order',
  1463. 'city.6': 'controleer woord volgorde',
  1464. 'city.7.en': 'check abbreviations',
  1465. 'city.7': 'controleer afkortingen',
  1466. 'city.8a.en': 'add county name',
  1467. 'city.8a': 'land naam toevoegen',
  1468. 'city.8r.en': 'remove county name',
  1469. 'city.8r': 'land naam verwijderen',
  1470. 'city.9.en': 'check county name',
  1471. 'city.9': 'controleer land naam',
  1472. 'city.10a.en': 'add a word',
  1473. 'city.10a': 'woord toevoegen',
  1474. 'city.10r.en': 'remove a word',
  1475. 'city.10r': 'woord verwijderen',
  1476. 'city.11.en': 'add county code',
  1477. 'city.11': 'landcode toevoegen',
  1478. 'city.12.en': 'identical names, but different city IDs',
  1479. 'city.12': 'identieke namen, maar verschillende plaats IDs',
  1480. 'city.13a.en': 'add a space',
  1481. 'city.13a': 'spatie invoegen',
  1482. 'city.13r.en': 'remove a space',
  1483. 'city.13r': 'spatie verwijderen',
  1484. 'city.14.en': 'check the number',
  1485. 'city.14': 'controleer het nummer',
  1486. 'props.skipped.title.en': 'The segment is not checked',
  1487. 'props.skipped.title': 'Dit segment is niet gecontroleerd',
  1488. 'props.skipped.problem.en': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  1489. 'props.skipped.problem': 'Dit segment is na 2014-05-01 aangepast EN voor jou gelockt, Validator heeft dit niet gecontroleerd',
  1490. 'err.regexp.en': 'Error parsing option for check #${n}:',
  1491. 'err.regexp': 'Fout bij het verwerken van de opties voor de controle #${n}:',
  1492. 'props.disabled.en': 'WME Validator is disabled',
  1493. 'props.disabled': 'WME Validator is uitgeschakeld',
  1494. 'props.limit.title.en': 'Too many issues reported',
  1495. 'props.limit.title': 'Te veel problemen gevonden',
  1496. 'props.limit.problem.en': 'There are too many issues reported, so some of them might not be shown',
  1497. 'props.limit.problem': 'Er zijn te veel problemen gemeld, daarom wordt een aantal van hen niet getoond',
  1498. 'props.limit.solution.en': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  1499. 'props.limit.solution': 'Deselecteer het segment en stop het scanproces. Klik dan op de rode \'✘\' (Clear report) knop',
  1500. 'props.reports.en': 'reports',
  1501. 'props.reports': 'meldingen',
  1502. 'props.noneditable.en': 'You cannot edit this segment',
  1503. 'props.noneditable': 'Je kunt dit segment niet bewerken',
  1504. 'report.save.en': 'Save this report',
  1505. 'report.save': 'Sla dit rapport op',
  1506. 'report.list.andUp.en': 'and up',
  1507. 'report.list.andUp': 'en meer',
  1508. 'report.list.severity.en': 'Severity:',
  1509. 'report.list.severity': 'Hevigheid:',
  1510. 'report.list.reportOnly.en': 'only in report',
  1511. 'report.list.reportOnly': 'alleen in rapportage',
  1512. 'report.list.forEditors.en': 'For editors level:',
  1513. 'report.list.forEditors': 'Voor bewerkers niveau:',
  1514. 'report.list.forCountries.en': 'For countries:',
  1515. 'report.list.forCountries': 'Voor landen:',
  1516. 'report.list.forStates.en': 'For states:',
  1517. 'report.list.forStates': 'Voor provincies:',
  1518. 'report.list.forCities.en': 'For cities:',
  1519. 'report.list.forCities': 'Voor steden:',
  1520. 'report.list.params.en': 'Params to configure in localization pack:',
  1521. 'report.list.params': 'Parameters om te configureren in lokalisatie:',
  1522. 'report.list.params.set.en': 'Current configuration for ${country}:',
  1523. 'report.list.params.set': 'Huidige configuratie voor ${country}:',
  1524. 'report.list.enabled.en': '${n} checks are enabled for',
  1525. 'report.list.enabled': '${n} controles zijn actief voor',
  1526. 'report.list.disabled.en': '${n} checks are disabled for',
  1527. 'report.list.disabled': '${n} controles zijn uitgeschakeld voor',
  1528. 'report.list.total.en': 'There are ${n} checks available',
  1529. 'report.list.total': 'Er zijn ${n} controles beschikbaar',
  1530. 'report.list.title.en': 'Complete List of Checks for',
  1531. 'report.list.title': 'Complete lijst met controles voor',
  1532. 'report.list.see.en': 'See',
  1533. 'report.list.see': 'Zie',
  1534. 'report.list.checks.en': 'Settings->About->Available checks',
  1535. 'report.list.checks': 'Instellingen->Over->Beschikbare controles',
  1536. 'report.list.fallback.en': 'Localization Fallback Rules:',
  1537. 'report.list.fallback': 'Lokalisatie terugval regels:',
  1538. 'report.and.en': 'and',
  1539. 'report.and': 'en',
  1540. 'report.segments.en': 'Total number of segments checked:',
  1541. 'report.segments': 'Totaal aantal gecontroleerde segmenten:',
  1542. 'report.customs.en': 'Custom checks matched (green/blue):',
  1543. 'report.customs': 'Er is een match aangepaste controles (groen/blauw):',
  1544. 'report.reported.en': 'Reported',
  1545. 'report.reported': 'Gerapporteerd',
  1546. 'report.errors.en': 'errors',
  1547. 'report.errors': 'fouten',
  1548. 'report.warnings.en': 'warnings',
  1549. 'report.warnings': 'waarschuwingen',
  1550. 'report.notes.en': 'notes',
  1551. 'report.notes': 'notities',
  1552. 'report.link.wiki.en': 'wiki',
  1553. 'report.link.wiki': 'wiki',
  1554. 'report.link.forum.en': 'forum',
  1555. 'report.link.forum': 'forum',
  1556. 'report.link.other.en': 'link',
  1557. 'report.link.other': 'link',
  1558. 'report.contents.en': 'Contents:',
  1559. 'report.contents': 'Inhoud:',
  1560. 'report.summary.en': 'Summary',
  1561. 'report.summary': 'Samenvatting',
  1562. 'report.title.en': 'WME Validator Report',
  1563. 'report.title': 'WME Validator Rapport',
  1564. 'report.share.en': 'to Share',
  1565. 'report.share': 'om te delen',
  1566. 'report.generated.by.en': 'generated by',
  1567. 'report.generated.by': 'gegenereerd door',
  1568. 'report.generated.on.en': 'on',
  1569. 'report.generated.on': 'op',
  1570. 'report.source.en': 'Report source:',
  1571. 'report.source': 'Rapportbron:',
  1572. 'report.filter.duplicate.en': 'duplicate segments',
  1573. 'report.filter.duplicate': 'dubbele segmenten',
  1574. 'report.filter.streets.en': 'Streets and Service Roads',
  1575. 'report.filter.streets': 'Straten en dienstwegen',
  1576. 'report.filter.other.en': 'Other drivable and Non-drivable',
  1577. 'report.filter.other': 'Andere berijdbare en niet berijdbare',
  1578. 'report.filter.noneditable.en': 'non-editable segments',
  1579. 'report.filter.noneditable': 'niet-bewerkbare segmenten',
  1580. 'report.filter.notes.en': 'notes',
  1581. 'report.filter.notes': 'notities',
  1582. 'report.filter.title.en': 'Filter:',
  1583. 'report.filter.title': 'Filter:',
  1584. 'report.filter.excluded.en': 'are excluded from this report.',
  1585. 'report.filter.excluded': 'zijn uitgezonderd van dit rapport.',
  1586. 'report.search.updated.by.en': 'updated by',
  1587. 'report.search.updated.by': 'bijgewerkt door',
  1588. 'report.search.updated.since.en': 'updated since',
  1589. 'report.search.updated.since': 'bijgewerkt sinds',
  1590. 'report.search.city.en': 'from',
  1591. 'report.search.city': 'van',
  1592. 'report.search.reported.en': 'reported as',
  1593. 'report.search.reported': 'gemeld',
  1594. 'report.search.title.en': 'Search:',
  1595. 'report.search.title': 'Zoeken:',
  1596. 'report.search.only.en': 'only segments',
  1597. 'report.search.only': 'alleen segmenten',
  1598. 'report.search.included.en': 'are included into the report.',
  1599. 'report.search.included': 'zijn opgenomen in het rapport.',
  1600. 'report.beta.warning.en': 'WME Beta Warning!',
  1601. 'report.beta.warning': 'WME Beta Waarschuwing!',
  1602. 'report.beta.text.en': 'This report is generated in beta WME with beta permalinks.',
  1603. 'report.beta.text': 'Dit rapport is gegenereerd in beta WME met bèta permalinks.',
  1604. 'report.beta.share.en': 'Please do not share those permalinks!',
  1605. 'report.beta.share': 'Gelieve deze permalinks niet te delen!',
  1606. 'report.size.warning.en':
  1607. '<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.',
  1608. 'report.size.warning':
  1609. '<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.',
  1610. 'report.note.limit.en': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  1611. 'report.note.limit': '* Let op: er waren te veel problemen gemeld, zodat een aantal van hen worden niet meegeteld in de samenvatting.',
  1612. 'report.forum.en': 'To motivate further development please leave your comment on the',
  1613. 'report.forum': 'Om verdere ontwikkeling te motiveren laat dan je commentaar achter op de',
  1614. 'report.forum.link.en': 'Waze forum thread.',
  1615. 'report.forum.link': 'Waze forum thread.',
  1616. 'report.thanks.en': 'Thank you for using WME Validator!',
  1617. 'report.thanks': 'Dank u voor het gebruik van de WME Validator!',
  1618. 'msg.limit.segments.en': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  1619. 'msg.limit.segments': 'Er zijn te veel segmenten.\n\nKlik op \'Toon rapport\' om het rapport door te nemen, vervolgens\n',
  1620. 'msg.limit.segments.continue.en': 'click \'▶\' (Play) to continue.',
  1621. 'msg.limit.segments.continue': 'klik \'▶\' (Play) om verder te gaan.',
  1622. 'msg.limit.segments.clear.en': 'click \'✘\' (Clear) to clear the report.',
  1623. 'msg.limit.segments.clear': 'klik \'✘\' (Löschen) om het rapport te verwijderen.',
  1624. 'msg.pan.text.en': 'Pan around to validate the map',
  1625. 'msg.pan.text': 'Schuif de kaart rond om de kaart te valideren',
  1626. 'msg.zoomout.text.en': 'Zoom out to start WME Validator',
  1627. 'msg.zoomout.text': 'Uitzoomen om WME Validator te beginnen',
  1628. 'msg.click.text.en': 'Click \'▶\' (Play) to validate visible map area',
  1629. 'msg.click.text': 'Klik \'▶\' (Play), om het zichtbare gebied op de kaart te valideren',
  1630. 'msg.autopaused.en': 'autopaused',
  1631. 'msg.autopaused': 'automatisch gepauzeerd',
  1632. 'msg.autopaused.text.en': 'Auto paused! Click \'▶\' (Play) to continue.',
  1633. 'msg.autopaused.text': 'Automatisch gepauzeerd! Om door te gaan klik op \'▶\' (Play).',
  1634. 'msg.autopaused.tip.en': 'WME Validator automatically paused on map drag or window size change',
  1635. 'msg.autopaused.tip': 'WME Validator is automatisch onderbroken wegen het verschuiven van de kaart of door een aanpassing van de venstergrootte',
  1636. 'msg.finished.text.en': 'Click <b>\'Show report\'</b> to review map issues',
  1637. 'msg.finished.text': 'Klik <b>\'Toon rapport\'</b> om kaart problemen te beoordelen',
  1638. 'msg.finished.tip.en': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  1639. 'msg.finished.tip': 'Klik op \'✉\' (Delen) om het rapport op een\nforum of privebericht te plaatsen',
  1640. 'msg.noissues.text.en': 'Finished! No issues found!',
  1641. 'msg.noissues.text': 'Klaar! Geen problemen gevonden!',
  1642. 'msg.noissues.tip.en': 'Try to uncheck some filter options or start WME Validator over another map area!',
  1643. 'msg.noissues.tip': 'Probeer een aantal filteropties uit te vinken of start WME Validator over een ander gebied op de kaart!',
  1644. 'msg.scanning.text.en': 'Scanning! Finishing in ~ ${n} min',
  1645. 'msg.scanning.text': 'Scannen! Klaar over ~ ${n} min',
  1646. 'msg.scanning.text.soon.en': 'Scanning! Finishing in a minute!',
  1647. 'msg.scanning.text.soon': 'Scannen! Klaar binnen een minuut!',
  1648. 'msg.scanning.tip.en': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  1649. 'msg.scanning.tip': 'Klik op \'pauze\' knop om te pauzeren of \'■\' (Stop) om te stoppen',
  1650. 'msg.starting.text.en': 'Starting! Layers are off to scan faster!',
  1651. 'msg.starting.text': 'Begonnen! Layers zijn uitgeschakeld om sneller te scannen!',
  1652. 'msg.starting.tip.en': 'Use \'Pause\' button to pause or \'■\' button to stop',
  1653. 'msg.starting.tip': 'Gebruik de \'Pause\' knop om te pauzeren of \'■\' knop om te stoppen',
  1654. 'msg.paused.text.en': 'On pause! Click \'▶\' (Play) button to continue.',
  1655. 'msg.paused.text': 'Gepauzeerd! Klik op \'▶\' (Play) knop om door te gaan.',
  1656. 'msg.paused.tip.en': 'To view the report click \'Show report\' button (if available)',
  1657. 'msg.paused.tip': 'Om het rapport te bekijken klik je op de \'Toon rapport\' knop (indien beschikbaar)',
  1658. 'msg.continuing.text.en': 'Continuing!',
  1659. 'msg.continuing.text': 'Doorgaan!',
  1660. 'msg.continuing.tip.en': 'WME Validator will continue from the location it was paused',
  1661. 'msg.continuing.tip': 'WME Validator zal doorgaan van de locatie waar het werd onderbroken',
  1662. 'msg.settings.text.en': 'Click <b>\'Back\'</b> to return to main view',
  1663. 'msg.settings.text': 'Klik <b>\'Terug\'</b> om terug te keren naar hoofdweergave',
  1664. 'msg.settings.tip.en': 'Click \'Reset defaults\' button to reset all settings in one click!',
  1665. 'msg.settings.tip': 'Klik op \'Herstel standaardinstellingen\' knop om alle instellingen in één klik resetten!',
  1666. 'msg.reset.text.en': 'All filter options and settings have been reset to their defaults',
  1667. 'msg.reset.text': 'Alle filter opties en instellingen zijn terug gezet naar de standaardwaarden',
  1668. 'msg.reset.tip.en': 'Click \'Back\' button to return to main view',
  1669. 'msg.reset.tip': 'Klik <b>\'Terug\'</b> om terug te keren naar de hoofdweergave',
  1670. 'msg.textarea.pack.en':
  1671. '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',
  1672. 'msg.textarea.pack':
  1673. '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',
  1674. 'msg.textarea.en': 'Please copy the text below and then paste it into your forum post or private message',
  1675. 'msg.textarea': 'Kopieer de onderstaande tekst en plak deze in je forum post of privebericht',
  1676. 'noaccess.text.en':
  1677. '<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.',
  1678. 'noaccess.text':
  1679. '<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>.',
  1680. 'noaccess.tip.en': 'Please check the forum thread for more information!',
  1681. 'noaccess.tip': 'Controleer de forum thread voor meer informatie!',
  1682. 'tab.switch.tip.on.en': 'Click to switch highlighting on (Alt+V)',
  1683. 'tab.switch.tip.on': 'Klik om het markeren aan te schakelen (Alt + V)',
  1684. 'tab.switch.tip.off.en': 'Click to switch highlighting off (Alt+V)',
  1685. 'tab.switch.tip.off': 'Klik om het markeren uit te schakelen (Alt+V)',
  1686. 'tab.filter.text.en': 'filter',
  1687. 'tab.filter.text': 'filter',
  1688. 'tab.filter.tip.en': 'Options to filter the report and highlighted segments',
  1689. 'tab.filter.tip': 'Opties om het rapport te filteren en gemarkeerd segmenten',
  1690. 'tab.search.text.en': 'search',
  1691. 'tab.search.text': 'zoeken',
  1692. 'tab.search.tip.en': 'Advanced filter options to include only specific segments',
  1693. 'tab.search.tip': 'Geavanceerde filteropties om alleen specifieke segmenten op te nemen',
  1694. 'tab.help.text.en': 'help',
  1695. 'tab.help.text': 'help',
  1696. 'tab.help.tip.en': 'Need help?',
  1697. 'tab.help.tip': 'Hulp nodig?',
  1698. 'filter.noneditables.text.en': 'Exclude <b>non-editable</b> segments',
  1699. 'filter.noneditables.text': 'Negeer <b>niet-bewerkbare</b> segmenten',
  1700. 'filter.noneditables.tip.en': 'Do not report locked segments or\nsegments outside of your editable areas',
  1701. 'filter.noneditables.tip': 'Rapporteer geen beveiligde segmenten of\nsegmenten buiten het gebied waar je mag bewerken',
  1702. 'filter.duplicates.text.en': 'Exclude <b>duplicate</b> segments',
  1703. 'filter.duplicates.text': '<b>Dubbele</b> segmenten uitsluiten',
  1704. 'filter.duplicates.tip.en': 'Do not show the same segment in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  1705. 'filter.duplicates.tip': 'Toon hetzelfde segment niet in verschillende\ndelen van het rapport\n* Opmerking: deze optie HEEFT GEEN invloed op het markeren',
  1706. 'filter.streets.text.en': 'Exclude <b>Streets and Service Roads</b>',
  1707. 'filter.streets.text': 'Negeer <b>wegen en dienstwegen</b>',
  1708. 'filter.streets.tip.en': 'Do not report Streets and Service Roads',
  1709. 'filter.streets.tip': 'Neem wegen en dienstwegen niet op in het rapport',
  1710. 'filter.other.text.en': 'Exclude <b>Other drivable and Non-drivable</b>',
  1711. 'filter.other.text': 'Negeer <b>Andere berijdbare en niet-berijdbare</b> segmenten',
  1712. 'filter.other.tip.en': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  1713. 'filter.other.tip': 'Niet melden van onverharde, parkeerplaats, privéwegen\n en niet-berijdbare segmenten',
  1714. 'filter.notes.text.en': 'Exclude <b>notes</b>',
  1715. 'filter.notes.text': 'Negeer <b>opmerkingen</b>',
  1716. 'filter.notes.tip.en': 'Report only warnings and errors',
  1717. 'filter.notes.tip': 'Rapporteer alleen waarschuwingen en fouten',
  1718. 'search.youredits.text.en': 'Include <b>only your edits</b>',
  1719. 'search.youredits.text': 'Toon <b>enkel eigen aanpassingen</b>',
  1720. 'search.youredits.tip.en': 'Include only segments edited by you',
  1721. 'search.youredits.tip': 'Omvat slechts segmenten bewerkt door u',
  1722. 'search.updatedby.text.en': '<b>Updated by*:</b>',
  1723. 'search.updatedby.text': '<b>Aangepast door*:</b>',
  1724. 'search.updatedby.tip.en':
  1725. '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',
  1726. 'search.updatedby.tip':
  1727. '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',
  1728. 'search.updatedby.example.en': 'Example: me',
  1729. 'search.updatedby.example': 'Voorbeeld: me',
  1730. 'search.updatedsince.text.en': '<b>Updated since:</b>',
  1731. 'search.updatedsince.text': '<b>Aangepast sinds:</b>',
  1732. 'search.updatedsince.tip.en': 'Include only segments edited since the date specified\nFirefox date format: YYYY-MM-DD',
  1733. 'search.updatedsince.tip': 'Toon enkel de segmenten die zijn gewijzigd sinds de opgegeven datum\nFirefox datum formaat: YYYY-MM-DD',
  1734. 'search.updatedsince.example.en': 'YYYY-MM-DD',
  1735. 'search.updatedsince.example': 'YYYY-MM-DD',
  1736. 'search.city.text.en': '<b>City name:</b>',
  1737. 'search.city.text': '<b>plaatsnaam:</b>',
  1738. '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, *',
  1739. 'search.city.tip': 'Neem alleen segmenten op met opgegeven plaatsnaam\nDit veld ondersteunt:\n - lijsten: Amsterdam, Potsdam\n - wildcards: Den * \n - Negation: !Amsterdam, *',
  1740. 'search.city.example.en': 'Example: !Paris, *',
  1741. 'search.city.example': 'Voorbeeld: !Amsterdam, *',
  1742. 'search.checks.text.en': '<b>Reported as:</b>',
  1743. 'search.checks.text': '<b>Rapporteer als:</b>',
  1744. 'search.checks.tip.en':
  1745. '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*, *',
  1746. 'search.checks.tip':
  1747. '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*, *',
  1748. 'search.checks.example.en': 'Example: reverse*',
  1749. 'search.checks.example': 'Voorbeeld: autoweg*',
  1750. 'help.text.en':
  1751. '<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>',
  1752. 'help.text':
  1753. '<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>',
  1754. 'help.tip.en': 'Open in a new browser tab',
  1755. 'help.tip': 'Open in een nieuw tabblad',
  1756. 'button.scan.tip.en': 'Start scanning current map area\n* Note: this might take few minutes',
  1757. 'button.scan.tip': 'Start het scannen van het huidige gebied op de kaart\n* Opmerking: dit kan een aantal minuten duren',
  1758. 'button.scan.tip.NA.en': 'Zoom out to start scanning current map area',
  1759. 'button.scan.tip.NA': 'Zoom uit om te beginnen met het scannen van het huidige gebied op de kaart',
  1760. 'button.pause.tip.en': 'Pause scanning',
  1761. 'button.pause.tip': 'Scannen pauzeren',
  1762. 'button.continue.tip.en': 'Continue scanning the map area',
  1763. 'button.continue.tip': 'Doorgaan met scannen van het gebied op de kaart',
  1764. 'button.stop.tip.en': 'Stop scanning and return to the start position',
  1765. 'button.stop.tip': 'Stop het scannen en keer terug naar de beginpositie',
  1766. 'button.clear.tip.en': 'Clear report and segment cache',
  1767. 'button.clear.tip': 'Wissen rapport en segment cache',
  1768. '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.',
  1769. 'button.clear.tip.red':
  1770. '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.',
  1771. 'button.report.text.en': 'Show report',
  1772. 'button.report.text': 'Toon rapport',
  1773. 'button.report.tip.en': 'Apply the filter and generate HTML report in a new tab',
  1774. 'button.report.tip': 'Pas het filter toe en genereer het HTML-rapport in een nieuw tabblad',
  1775. 'button.BBreport.tip.en': 'Share the report on Waze forum or in a private message',
  1776. 'button.BBreport.tip': 'Deel het rapport op het Waze forum of in een privé-bericht',
  1777. 'button.settings.tip.en': 'Configure settings',
  1778. 'button.settings.tip': 'Instellingen aanpassen',
  1779. 'tab.custom.text.en': 'custom',
  1780. 'tab.custom.text': 'eigen instelling',
  1781. 'tab.custom.tip.en': 'User-defined custom checks settings',
  1782. 'tab.custom.tip': 'Door gebruiker aangepaste controle instellingen',
  1783. 'tab.settings.text.en': 'Settings',
  1784. 'tab.settings.text': 'Instellingen',
  1785. 'tab.scanner.text.en': 'scanner',
  1786. 'tab.scanner.text': 'scanner',
  1787. 'tab.scanner.tip.en': 'Map scanner settings',
  1788. 'tab.scanner.tip': 'Instellingen Kaartscanner',
  1789. 'tab.about.text.en': 'about</span>',
  1790. 'tab.about.text': 'over</span>',
  1791. 'tab.about.tip.en': 'About WME Validator',
  1792. 'tab.about.tip': 'Over WME Validator',
  1793. 'scanner.sounds.text.en': 'Enable sounds',
  1794. 'scanner.sounds.text': 'Gebruik geluiden',
  1795. 'scanner.sounds.tip.en': 'Bleeps and the bloops while scanning',
  1796. 'scanner.sounds.tip': 'Activeer de geluiden tijden het scannen',
  1797. 'scanner.sounds.NA.en': 'Your browser does not support AudioContext',
  1798. 'scanner.sounds.NA': 'Je browser ondersteunt geen AudioContext',
  1799. 'scanner.highlight.text.en': 'Highlight issues on the map',
  1800. 'scanner.highlight.text': 'Markeer problemen op de kaart',
  1801. 'scanner.highlight.tip.en': 'Highlight reported issues on the map',
  1802. 'scanner.highlight.tip': 'Markeer gevonden problemen op de kaart',
  1803. 'scanner.slow.text.en': 'Enable "slow" checks',
  1804. 'scanner.slow.text': '"Langzame" controles activeren',
  1805. 'scanner.slow.tip.en': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  1806. 'scanner.slow.tip': 'Activeert diepe kaartanalyse\n* Opmerking: deze optie zou het scanproces kunnen vertragen',
  1807. 'scanner.ext.text.en': 'Report external highlights',
  1808. 'scanner.ext.text': 'Meld externe markeringen',
  1809. 'scanner.ext.tip.en': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  1810. 'scanner.ext.tip': 'Rapporteer segmenten gemarkeerd door WME Toolbox of WME Color Highlights',
  1811. 'advanced.twoway.text.en': 'WME: Two-way segments by default',
  1812. 'advanced.twoway.text': 'WME: Nieuwe segmenten tweerichtingsverkeer standaard',
  1813. 'advanced.twoway.tip.en': 'Newly created streets in WME are bidirectional by default',
  1814. 'advanced.twoway.tip': 'Nieuwe segmenten zijn standaard tweerichtingsverkeer',
  1815. 'custom.template.text.en': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Custom template</a>',
  1816. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Aangepast sjabloon</a>',
  1817. 'custom.template.tip.en':
  1818. '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}',
  1819. 'custom.template.tip':
  1820. '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}',
  1821. 'custom.template.example.en': 'Example: ${street}',
  1822. 'custom.template.example': 'Voorbeeld: ${street}',
  1823. 'custom.regexp.text.en': 'Custom <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1824. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Eigen RegExp</a>',
  1825. 'custom.regexp.tip.en':
  1826. '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/',
  1827. 'custom.regexp.tip':
  1828. '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/',
  1829. 'custom.regexp.example.en': 'Example: !/.+/',
  1830. 'custom.regexp.example': 'Voorbeeld: !/.+/',
  1831. 'about.tip.en': 'Open link in a new tab',
  1832. 'about.tip': 'Link in nieuw tabblad openen',
  1833. 'button.reset.text.en': 'Reset defaults',
  1834. 'button.reset.text': 'Herstel standaardinstellingen',
  1835. 'button.reset.tip.en': 'Revert filter options and settings to their defaults',
  1836. 'button.reset.tip': 'Filter opties en instellingen herstellen naar de standaardwaarden',
  1837. 'button.list.text.en': 'Available checks...',
  1838. 'button.list.text': 'Beschikbare controles...',
  1839. 'button.list.tip.en': 'Show a list of checks available in WME Validator',
  1840. 'button.list.tip': 'Toon een lijst met beschikbare controles in WME Validator',
  1841. 'button.wizard.tip.en': 'Create localization package',
  1842. 'button.wizard.tip': 'Maak lokalisatie pakket aan',
  1843. 'button.back.text.en': 'Back',
  1844. 'button.back.text': 'Terug',
  1845. 'button.back.tip.en': 'Close settings and return to main view',
  1846. 'button.back.tip': 'Sluit de instellingen en keer terug naar de hoofdweergave',
  1847. '1.title.en': 'WME Toolbox: Roundabout which may cause issues',
  1848. '1.title': 'WME Toolbox: Rotonde die problemen kan veroorzaken (rotonde verkeer problematisch)',
  1849. '1.problem.en': 'Junction IDs of the roundabout segments are not consecutive',
  1850. '1.problem': 'Knooppunt-ID\'s van de rotonde segmenten zijn niet opeenvolgend',
  1851. '1.solution.en': 'Redo the roundabout',
  1852. '1.solution': 'Rotonde opnieuw doen',
  1853. '2.title.en': 'WME Toolbox: Simple segment',
  1854. '2.title': 'WME Toolbox: Moeilijk segment (Te veel geometrie knooppunten)',
  1855. '2.problem.en': 'The segment has unneeded geometry nodes',
  1856. '2.problem': 'Het segment heeft onnodige geometrie knooppunten',
  1857. '2.solution.en': 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  1858. '2.solution': 'Vereenvoudig segment geometrie door de muisaanwijzing boven het punt te brengen en de "d" toets in te drukken',
  1859. '3.title.en': 'WME Toolbox: Lvl 2 lock',
  1860. '3.title': 'WME Toolbox: Lvl 2 Lock',
  1861. '3.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1862. '3.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1863. '4.title.en': 'WME Toolbox: Lvl 3 lock',
  1864. '4.title': 'WME Toolbox: Lvl 3 Lock',
  1865. '4.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1866. '4.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem.',
  1867. '5.title.en': 'WME Toolbox: Lvl 4 lock',
  1868. '5.title': 'WME Toolbox: Lvl 4 Lock',
  1869. '5.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1870. '5.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1871. '6.title.en': 'WME Toolbox: Lvl 5 lock',
  1872. '6.title': 'WME Toolbox: Lvl 5 Lock',
  1873. '6.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1874. '6.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1875. '7.title.en': 'WME Toolbox: Lvl 6 lock',
  1876. '7.title': 'WME Toolbox: Lvl 6 Lock',
  1877. '7.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1878. '7.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1879. '8.title.en': 'WME Toolbox: House numbers',
  1880. '8.title': 'WME Toolbox: Huisnummers',
  1881. '8.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1882. '8.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1883. '9.title.en': 'WME Toolbox: Segment with time restrictions',
  1884. '9.title': 'WME Toolbox: Segment met tijdsrestricties',
  1885. '9.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1886. '9.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1887. '13.title.en': 'WME Color Highlights: Editor lock',
  1888. '13.title': 'WME Color Highlights: Editor lock',
  1889. '13.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1890. '13.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1891. '14.title.en': 'WME Color Highlights: Toll road / One way road',
  1892. '14.title': 'WME Color Highlights: Toll road / One way road (Tol- / Eenrichtings-straat)',
  1893. '14.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1894. '14.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1895. '15.title.en': 'WME Color Highlights: Recently edited',
  1896. '15.title': 'WME Color Highlights: Recently edited (Kürzlich editiert)',
  1897. '15.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1898. '15.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1899. '16.title.en': 'WME Color Highlights: Road rank',
  1900. '16.title': 'WME Color Highlights: Road type',
  1901. '16.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1902. '16.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1903. '17.title.en': 'WME Color Highlights: No city',
  1904. '17.title': 'WME Color Highlights: No city (Keine Stadt)',
  1905. '17.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1906. '17.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1907. '18.title.en': 'WME Color Highlights: Time restriction / Highlighted road type',
  1908. '18.title': 'WME Color Highlights: Time restriction / Highlighted road type',
  1909. '18.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1910. '18.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1911. '19.title.en': 'WME Color Highlights: No name',
  1912. '19.title': 'WME Color Highlights: No name (Kein Straßenname)',
  1913. '19.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1914. '19.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1915. '20.title.en': 'WME Color Highlights: Filter by city',
  1916. '20.title': 'WME Color Highlights: Filter by city (Stadt-Filter)',
  1917. '20.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1918. '20.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1919. '21.title.en': 'WME Color Highlights: Filter by city (alt. city)',
  1920. '21.title': 'WME Color Highlights: Filter by city (alt. city)',
  1921. '21.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1922. '21.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1923. '22.title.en': 'WME Color Highlights: Filter by editor',
  1924. '22.title': 'WME Color Highlights: Filter by editor (Editor-Filter)',
  1925. '22.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1926. '22.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1927. '23.title.en': 'Unconfirmed road',
  1928. '23.title': 'Onbevestigde straat',
  1929. '23.problem.en': 'Each segment must minimally have the Country and State information',
  1930. '23.problem': 'Elk segment moet minimaal informatie hebben over het land en plaats',
  1931. '23.solution.en': 'Confirm the road by updating its details',
  1932. '23.solution': 'Bevestig de straat door ofwel de plaats danwel de straatnaam in te voeren.',
  1933. '24.title.en': 'Might be incorrect city name (only available in the report)',
  1934. '24.title': 'Eventueel verkeerde plaatsnaam (alleen beschikbaar in het rapport)',
  1935. '24.problem.en': 'The segment might have incorrect city name',
  1936. '24.problem': 'Het segment heeft misschien een verkeerde plaatsnaam',
  1937. '24.solution.en': 'Consider suggested city name and use this form to rename the city',
  1938. '24.solution': 'Overweeg de voorgestelde plaatsnaam en gebruik dit formulier om de naam te wijzigen',
  1939. '25.title.en': 'Unknown direction of drivable road',
  1940. '25.title': 'Onbekende rijrichting van berijdbare weg',
  1941. '25.problem.en': '\'Unknown\' road direction will not prevent routing on the road',
  1942. '25.problem': '\'Onbekende\' rijrichting zal niet voorkomen dat er genavigeerd wordt over de weg',
  1943. '25.solution.en': 'Set the road direction',
  1944. '25.solution': 'Stel de rijrichting in',
  1945. '28.title.en': 'Street name on two-way Ramp',
  1946. '28.title': 'Straatnaam op tweebaans voegstrook',
  1947. '28.problem.en': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  1948. '28.problem': 'Als de op/afrit geen naam heeft, zal de naam van de volgende straat worden overgenomen',
  1949. '28.solution.en': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  1950. '28.solution': 'In de adreseigenschappen vink \'Geen\' aan naast de straatnaam en klik op \'Toepassen\'',
  1951. '29.title.en': 'Street name on roundabout',
  1952. '29.title': 'Straatnaam op rotonde',
  1953. '29.problem.en': 'In Waze, we do not name roundabout segments',
  1954. '29.problem': 'In Waze geven we rotondes geen straatnamen',
  1955. '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',
  1956. '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',
  1957. '33.enabled': false,
  1958. '34.title.en': 'Empty alternate street',
  1959. '34.title': 'Lege alternatieve straatnaam',
  1960. '34.problem.en': 'Alternate street name is empty',
  1961. '34.problem': 'De alternatieve straatnaam is leeg',
  1962. '34.solution.en': 'Remove empty alternate street name',
  1963. '34.solution': 'Verwijder de lege alternatieve straatnaam',
  1964. '35.title.en': 'Unterminated drivable road',
  1965. '35.title': 'Geen eindnode op berijdbare weg',
  1966. '35.problem.en': 'Waze will not route from the unterminated segment',
  1967. '35.problem': 'Waze zal niet routeren vanaf segmenten zonder eindnode',
  1968. '35.solution.en': 'Move the segment a bit so the terminating node will be added automatically',
  1969. '35.solution': 'Verplaats het segment een beetje zodat de eindnode automatisch zal worden toegevoegd',
  1970. '36.enabled': true,
  1971. '36.title.en': 'Node A: Unneeded (slow)',
  1972. '36.title': 'Node A: Onnodig (langzaam)',
  1973. '36.problem.en': 'Adjacent segments at node A are identical',
  1974. '36.problem': 'De segmenten naast node A zijn identiek',
  1975. '36.solution.en': 'Select node A and press Delete key to join the segments',
  1976. '36.solution': 'Selecteer node A en druk op Delete om de segmenten samen te voegen',
  1977. '37.enabled': true,
  1978. '37.title.en': 'Node B: Unneeded (slow)',
  1979. '37.title': 'Node B: Onnodig (langzaam)',
  1980. '37.problem.en': 'Adjacent segments at node B are identical',
  1981. '37.problem': 'De segmenten naast node B zijn identiek',
  1982. '37.solution.en': 'Select node B and press Delete key to join the segments',
  1983. '37.solution': 'Selecteer node B en druk op Delete om de segmenten samen te voegen',
  1984. '38.title.en': 'Expired segment restriction (slow)',
  1985. '38.title': 'Verlopen segment beperking (langzaam)',
  1986. '38.problem.en': 'The segment has an expired restriction',
  1987. '38.problem': 'Het segment heeft een verlopen beperking',
  1988. '38.solution.en': 'Click \'Edit restrictions\' and delete the expired restriction',
  1989. '38.solution': 'Klik op \'Bewerken restricties\' en verwijder de verstreken beperking',
  1990. '39.title.en': 'Expired turn restriction (slow)',
  1991. '39.title': 'Verlopen beperking op afslag (langzaam)',
  1992. '39.problem.en': 'The segment has a turn with an expired restriction',
  1993. '39.problem': 'Het segment heeft een afslag met een verlopen beperking',
  1994. '39.solution.en': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  1995. '39.solution': 'Klik klok pictogram naast de gele pijl en verwijder de verlopen beperking',
  1996. '41.title.en': 'Node A: Reverse connectivity of drivable road',
  1997. '41.title': 'Node A: Omgekeerde connectiviteit van berijdbare weg',
  1998. '41.problem.en': 'There is a turn which goes against the directionality of the segment at node A',
  1999. '41.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt A',
  2000. '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',
  2001. '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)\'',
  2002. '42.title.en': 'Node B: Reverse connectivity of drivable road',
  2003. '42.title': 'Node B: Omgekeerde connectiviteit van berijdbare weg',
  2004. '42.problem.en': 'There is a turn which goes against the directionality of the segment at node B',
  2005. '42.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt B',
  2006. '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',
  2007. '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)\'',
  2008. '43.title.en': 'Self connectivity',
  2009. '43.title': 'Zelf verbinding',
  2010. '43.problem.en': 'The segment is connected back to itself',
  2011. '43.problem': 'Het segment is met zichzelf verbonden',
  2012. '43.solution.en': 'Split the segment into THREE pieces',
  2013. '43.solution': 'Verdeel het segment in DRIE stukken',
  2014. '44.title.en': 'No outward connectivity',
  2015. '44.title': 'Geen verbinding naar buiten',
  2016. '44.problem.en': 'The drivable segment has no single outward turn enabled',
  2017. '44.problem': 'Het berijdbare segment heeft geen enkele verbinding naar buiten',
  2018. '44.solution.en': 'Enable at least one outward turn from the segment',
  2019. '44.solution': 'Verbind het segment minstens eenmaal met het verkeersnet',
  2020. '45.title.en': 'No inward connectivity',
  2021. '45.title': 'Geen verbinding naar binnen',
  2022. '45.problem.en': 'The drivable non-private segment has no single inward turn enabled',
  2023. '45.problem': 'Het berijdbare niet-privé segment heeft geen enkele verbinding naar het segment toe',
  2024. '45.solution.en': 'Select an adjacent segment and enable at least one turn to the segment',
  2025. '45.solution': 'Selecteer het segment en sta minstens één inwaartse verbinding toe',
  2026. '46.title.en': 'Node A: No inward connectivity of drivable road (slow)',
  2027. '46.title': 'Node A: Geen naar binnen connectiviteit van berijdbare weg (langzaam)',
  2028. '46.problem.en': 'The drivable non-private segment has no single inward turn enabled at node A',
  2029. '46.problem': 'De berijdbare niet-particuliere segment heeft geen enkele naar binnen wijzende verbinding ingeschakeld op knooppunt A',
  2030. '46.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  2031. '46.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij knooppunt A in',
  2032. '47.title.en': 'Node B: No inward connectivity of drivable road (slow)',
  2033. '47.title': 'Node B: Het berijdbare segment heeft geen enkele verbinding naar het segment toe (langzaam)',
  2034. '47.problem.en': 'The drivable non-private segment has no single inward turn enabled at node B',
  2035. '47.problem': 'Het berijdbare (niet prive) segment heeft geen enkele verbinding naar het segment toe bij node B',
  2036. '47.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  2037. '47.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij node B',
  2038. '48.title.en': 'Two-way drivable roundabout segment',
  2039. '48.title': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2040. '48.problem.en': 'The drivable roundabout segment is bidirectional',
  2041. '48.problem': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  2042. '48.solution.en': 'Redo the roundabout',
  2043. '48.solution': 'Maak de rotonde opnieuw',
  2044. '59.title.en': 'City name on Freeway',
  2045. '59.title': 'Plaatsnaam op snelweg',
  2046. '59.problem.en': 'City name on the Freeway may cause a city smudge',
  2047. '59.problem': 'Plaatsnaam op de snelweg kan het uitsmeren van een stad veroorzaken',
  2048. '59.problemLink': 'W:Benelux/Freeway',
  2049. '59.solution.en': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  2050. '59.solution': 'In de adreseigenschappen stel de plaatsnaam in op \'Geen\' en klik op \'toepassen\'',
  2051. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  2052. '71.enabled': true,
  2053. '71.problemLink': 'W:Benelux/Major_Highway',
  2054. '71.title.en': 'Must be a Major Highway',
  2055. '71.title': 'Moet een Major Highway zijn',
  2056. '71.problem.en': 'This segment must be a Major Highway',
  2057. '71.problem': 'Dit segment moet een Major Highway zijn',
  2058. '71.solution.en': 'Set the road type to Major Highway or change the road name',
  2059. '71.solution': 'Stel het wegtype in op Major Highway of verander de straatnaam',
  2060. '72.enabled': true,
  2061. '72.problemLink': 'W:Benelux/Minor_Highway',
  2062. '72.title.en': 'Must be a Minor Highway',
  2063. '72.title': 'Dit moet een Minor Highway zijn',
  2064. '72.problem.en': 'This segment must be a Minor Highway',
  2065. '72.problem': 'Dit segment moet een Minor Highway zijn',
  2066. '72.solution.en': 'Set the road type to Minor Highway or change the road name',
  2067. '72.solution': 'Stel het wegtype in op Minor Highway of verander de straatnaam',
  2068. '78.title.en': 'Same endpoints drivable segments (slow)',
  2069. '78.title': 'Dezelfde eindpunten voor berijdbare segmenten (langzaam)',
  2070. '78.problem.en': 'Two drivable segments share the same two endpoints',
  2071. '78.problem': 'Twee berijdbare segmenten delen dezelfde twee eindpunten',
  2072. '78.solution.en': 'Split the segment. You might also remove one of the segments if they are identical',
  2073. '78.solution': 'Splits het segment. Je zou ook een segment kunnen verwijderen als ze identiek zijn',
  2074. '87.title.en': 'Node A: Multiple outgoing segments at roundabout',
  2075. '87.title': 'Node A: Meerdere uitgaande segmenten voor rotonde',
  2076. '87.problem.en': 'The drivable roundabout node A has more than one outgoing segment connected',
  2077. '87.problem': 'De berijdbare rotonde knooppunt A heeft meerdere uitgaande segmenten verbonden',
  2078. '87.solution.en': 'Redo the roundabout',
  2079. '87.solution': 'Maak de rotonde opnieuw',
  2080. '99.title.en': 'U-turn at roundabout entrance (slow)',
  2081. '99.title': 'U-bocht op rotonde (langzaam)',
  2082. '99.problem.en': 'The roundabout entrance segment has a U-turn enabled',
  2083. '99.problem': 'De berijdbare rotondenode heeft een U-bocht toegestaan',
  2084. '99.solution.en': 'Disable U-turn',
  2085. '99.solution': 'Zet de U-bocht uit',
  2086. '101.title.en': 'Closed road (only available in the report)',
  2087. '101.title': 'Afgesloten weg (enkel beschikbaar in het rapport)',
  2088. '101.problem.en': 'The segment is marked as closed',
  2089. '101.problem': 'Het segment is gemarkeerd als afgesloten',
  2090. '101.solution.en': 'If the construction is done, restore the segment connectivity and remove the suffix',
  2091. '101.solution': 'Als de wegwerkzaamheden klaar zijn, herstel dan de verbinding van het segment en verwijder de aanvulling',
  2092. '101.params': {'regexp': '/(^|\\b)afgesloten(\\b|$)/i'},
  2093. '102.title.en': 'Node A: No outward connectivity of drivable road (slow)',
  2094. '102.title': 'Node A: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2095. '102.problem.en': 'The drivable segment has no single outward turn enabled at node A',
  2096. '102.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node A',
  2097. '102.solution.en': 'Enable at least one outward turn from the segment at node A',
  2098. '102.solution': 'Zet minstens 1 uitgaande verbinding aan bij node A',
  2099. '103.title.en': 'Node B: No outward connectivity of drivable road (slow)',
  2100. '103.title': 'Node B: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2101. '103.problem.en': 'The drivable segment has no single outward turn enabled at node B',
  2102. '103.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node B',
  2103. '103.solution.en': 'Enable at least one outward turn from the segment at node B',
  2104. '103.solution': 'Zet minstens 1 uitgaande verbinding aan bij node B',
  2105. '104.title.en': 'Railroad used for comments',
  2106. '104.title': 'Spoorweg gebruikt als commentaar',
  2107. '104.problem.en': 'The Railroad segment is probably used as a map comment',
  2108. '104.problem': 'Het spoorweg segment wordt waarschijnelijk gebruikt als kaartopmerking',
  2109. '104.solution.en': 'Remove the comment as Railroads will be added to the client display',
  2110. '104.solution': 'Verwijder het commentaar, spoorwegen worden weergegeven in de client',
  2111. '107.title.en': 'Node A: No connection (slow)',
  2112. '107.title': 'Node A: Geen verbinding (langzaam)',
  2113. '107.problem.en': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2114. '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',
  2115. '107.solution.en': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  2116. '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',
  2117. '108.title.en': 'Node B: No connection (slow)',
  2118. '108.title': 'Node B: Geen verbinding (langzaam)',
  2119. '108.problem.en': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2120. '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',
  2121. '108.solution.en': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  2122. '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',
  2123. '109.title.en': 'Too short segment',
  2124. '109.title': 'Te kort segment',
  2125. '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',
  2126. '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',
  2127. '109.solution.en': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  2128. '109.solution': 'Verleng het segment, of verwijder het segment, of voeg het segment samen met een van de omliggende segmenten',
  2129. '112.title.en': 'Too long Ramp name',
  2130. '112.title': 'Op/afrit naam te lang',
  2131. '112.problem.en': 'The Ramp name is more than ${n} letters long',
  2132. '112.problem': 'Op/afrit naam is langer dan ${n} tekens lang',
  2133. '112.solution.en': 'Shorten the Ramp name',
  2134. '112.solution': 'Verkort de naam',
  2135. '114.enabled': false,
  2136. '114.title.en': 'Node A: Non-drivable connected to drivable (slow)',
  2137. '114.title': 'Node A: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2138. '114.problem.en': 'The non-drivable segment makes a junction with a drivable at node A',
  2139. '114.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node A',
  2140. '114.solution.en': 'Disconnect node A from all of the drivable segments',
  2141. '114.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node A',
  2142. '115.enabled': false,
  2143. '115.title.en': 'Node B: Non-drivable connected to drivable (slow)',
  2144. '115.title': 'Node B: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2145. '115.problem.en': 'The non-drivable segment makes a junction with a drivable at node B',
  2146. '115.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node B',
  2147. '115.solution.en': 'Disconnect node B from all of the drivable segments',
  2148. '115.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node B',
  2149. '116.title.en': 'Out of range elevation',
  2150. '116.title': 'Hoogte buiten bereik',
  2151. '116.problem.en': 'The segment elevation is out of range',
  2152. '116.problem': 'De elevatie van het segment is buiten bereik',
  2153. '116.solution.en': 'Correct the elevation',
  2154. '116.solution': 'Corrigeer de hoogte',
  2155. '117.title.en': 'Obsolete CONST ZN marker',
  2156. '117.title': 'CONST ZN markering verouderd',
  2157. '117.problem.en': 'The segment is marked with obsolete CONST ZN suffix',
  2158. '117.problem': 'Het segment is gemarkeerd met een verouderde CONST ZN toevoeging',
  2159. '117.solution.en': 'Change CONST ZN to (closed)',
  2160. '117.solution': 'Verander CONST ZN naar (afgesloten)',
  2161. '118.title.en': 'Node A: Overlapping segments (slow)',
  2162. '118.title': 'Node A: Overlappende segmenten (langzaam)',
  2163. '118.problem.en': 'The segment is overlapping with the adjacent segment at node A',
  2164. '118.problem': 'Het segment overlapt het aangrenzende segment bij node A',
  2165. '118.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  2166. '118.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node A',
  2167. '119.title.en': 'Node B: Overlapping segments (slow)',
  2168. '119.title': 'Node B: Overlappende segmenten (langzaam)',
  2169. '119.problem.en': 'The segment is overlapping with the adjacent segment at node B',
  2170. '119.problem': 'Het segment overlapt het aangrenzende segment bij node B',
  2171. '119.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  2172. '119.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node B',
  2173. '120.title.en': 'Node A: Too sharp turn (slow)',
  2174. '120.title': 'Node A: Te scherpe bocht (langzaam)',
  2175. '120.problem.en': 'The drivable segment has a very acute turn at node A',
  2176. '120.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij node A',
  2177. '120.solution.en': 'Disable the sharp turn at node A or spread the segments at 30°',
  2178. '120.solution': 'Sta de scherpe bocht bij node A niet toe of maak de hoek groter dan 30°',
  2179. '121.title.en': 'Node B: Too sharp turn (slow)',
  2180. '121.title': 'Node B: Te scherpe bocht (langzaam)',
  2181. '121.problem.en': 'The drivable segment has a very acute turn at node B',
  2182. '121.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij B',
  2183. '121.solution.en': 'Disable the sharp turn at node B or spread the segments at 30°',
  2184. '121.solution': 'Sta de scherpe bocht bij node B niet toe of maak de hoek groter dan 30°',
  2185. '128.title.en': 'User-defined custom check (green)',
  2186. '128.title': 'Door de gebruiker gedefinieerde aangepaste controle (groen)',
  2187. '128.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2188. '128.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2189. '128.solution.en': 'Solve the issue',
  2190. '128.solution': 'Los het probleem op',
  2191. '129.title.en': 'User-defined custom check (blue)',
  2192. '129.title': 'Door de gebruiker gedefinieerde aangepaste controle (blauw)',
  2193. '129.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2194. '129.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2195. '129.solution.en': 'Solve the issue',
  2196. '129.solution': 'Los het probleem op',
  2197. '150.enabled': true,
  2198. '150.problemLink': 'W:Benelux/Freeway',
  2199. '150.title.en': 'No lock on Freeway',
  2200. '150.title': 'Geen lock op snelweg',
  2201. '150.problem.en': 'The Freeway segment should be locked at least to Lvl ${n}',
  2202. '150.problem': 'De snelweg moet op tenminste Lvl ${n} gelockt zijn',
  2203. '150.solution.en': 'Lock the segment',
  2204. '150.solution': 'Lock het segment',
  2205. '151.enabled': true,
  2206. '151.problemLink': 'W:Benelux/Major_Highway',
  2207. '151.title.en': 'No lock on Major Highway',
  2208. '151.title': 'Geen lock op Major Highway',
  2209. '151.problem.en': 'The Major Highway segment should be locked at least to Lvl ${n}',
  2210. '151.problem': 'Het Major Highway segment moet gelockt zijn op Lvl ${n}',
  2211. '151.solution.en': 'Lock the segment',
  2212. '151.solution': 'Lock het segment',
  2213. '152.enabled': true,
  2214. '152.problemLink': 'W:Benelux/Minor_Highway',
  2215. '152.title.en': 'No lock on Minor Highway',
  2216. '152.title': 'Geen lock op Minor Highway',
  2217. '152.problem.en': 'The Minor Highway segment should be locked at least to Lvl ${n}',
  2218. '152.problem': 'Het Minor Highway segment moet gelockt zijn op Lvl ${n}',
  2219. '152.solution.en': 'Lock the segment',
  2220. '152.solution': 'Lock het segment',
  2221. '153.enabled': true,
  2222. '153.problemLink': 'W:Benelux/Ramp',
  2223. '153.title.en': 'No lock on Ramp',
  2224. '153.title': 'Geen lock op op/afrit',
  2225. '153.problem.en': 'The Ramp segment should be locked at least to Lvl ${n}',
  2226. '153.problem': 'De op/afrit zou minimaal gelockt moeten zijn op Lvl ${n}',
  2227. '153.params': {'n': 4},
  2228. '154.enabled': true,
  2229. '154.problemLink': 'W:Benelux/Primary_Street',
  2230. '154.title.en': 'No lock on Primary Street',
  2231. '154.title': 'Geen lock op hoofdweg',
  2232. '154.problem.en': 'The Primary Street segment should be locked at least to Lvl ${n}',
  2233. '154.problem': 'De hoofdweg zou minimaal gelockt moeten zijn op Lvl ${n}',
  2234. '154.solution.en': 'Lock the segment',
  2235. '154.solution': 'Lock het segment',
  2236. '160.enabled': false,
  2237. '161.enabled': true,
  2238. '161.params': {
  2239. 'solutionEN': 'Rename the Major Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2240. 'regexp': '!/^N([0-9]|[0-9][0-9]|[123][0-9][0-9])( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2241. },
  2242. '161.problemLink': 'W:Benelux/Major_Highway',
  2243. '161.title.en': 'Incorrect Major Highway name',
  2244. '161.title': 'Verkeerde Major Highway naam',
  2245. '161.problem.en': 'The Major Highway segment has incorrect street name',
  2246. '161.problem': 'Het Major Highway segment heeft een verkeerde straatnaam',
  2247. '161.solution.en': 'Rename the segment in accordance with the guidelines',
  2248. '161.solution': 'Hernoem het segment volgens de richtlijnen',
  2249. '162.enabled': true,
  2250. '162.params': {
  2251. 'solutionEN': 'Rename the Minor Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2252. 'regexp': '!/^(N[4-9][0-9][0-9]|[SU][0-9]+)( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2253. },
  2254. '162.problemLink': 'W:Benelux/Minor_Highway',
  2255. '162.title.en': 'Incorrect Minor Highway name',
  2256. '162.title': 'Verkeerde Minor Highway naam',
  2257. '162.problem.en': 'The Minor Highway segment has incorrect street name',
  2258. '162.problem': 'Het Minor Highway segment heeft een verkeerde straatnaam',
  2259. '162.solution.en': 'Rename the segment in accordance with the guidelines',
  2260. '162.solution': 'Hernoem het segment volgens de richtlijnen. LET OP! Er zijn uitzonderingen voor bepaalde belangrijke regionale wegen. In geval van twijfel, eerst overleggen!',
  2261. '172.title.en': 'Unneeded spaces in street name',
  2262. '172.title': 'Onnodige spaties in de straatnaam',
  2263. '172.problem.en': 'Leading/trailing/double space in the street name',
  2264. '172.problem': 'Overbodige spaties voor/achter/in de straatnaam',
  2265. '172.solution.en': 'Remove unneeded spaces from the street name',
  2266. '172.solution': 'Verwijder de overbodige spaties in de straatnaam',
  2267. '173.title.en': 'No space before/after street abbreviation',
  2268. '173.title': 'Geen spatie voor/achter de straat afkorting',
  2269. '173.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  2270. '173.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de straatnaam',
  2271. '173.solution.en': 'Add a space before/after the abbreviation',
  2272. '173.solution': 'Voeg een spatie voor/achter de afkorting toe',
  2273. '175.title.en': 'Empty street name',
  2274. '175.title': 'Lege straatnaam',
  2275. '175.problem.en': 'The street name has only space characters or a dot',
  2276. '175.problem': 'De straatnaam heeft alleen spaties of punt(en)',
  2277. '175.solution.en': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  2278. '175.solution': 'In de adreseigenschappen vink de \'Geen\' optie aan naast de straatnaam, klik op \'Toepassen\' OF vul de juiste straatnaam in',
  2279. '190.title.en': 'Lowercase city name',
  2280. '190.title': 'Plaatsnaam in kleine letters',
  2281. '190.problem.en': 'The city name starts with a lowercase letter',
  2282. '190.problem': 'De plaatsnaam begint met een kleine letter',
  2283. '190.solution.en': 'Use this form to rename the city',
  2284. '190.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2285. '192.title.en': 'Unneeded spaces in city name',
  2286. '192.title': 'Onnodige spaties in de plaatsnaam',
  2287. '192.problem.en': 'Leading/trailing/double space in the city name',
  2288. '192.problem': 'Overbodige spaties voor/achter/in de plaatsnaam',
  2289. '192.solution.en': 'Use this form to rename the city',
  2290. '192.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2291. '193.title.en': 'No space before/after city abbreviation',
  2292. '193.title': 'Geen spatie voor/achter de afkorting in de plaatsnaam',
  2293. '193.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  2294. '193.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de plaatsnaam',
  2295. '193.solution.en': 'Use this form to rename the city',
  2296. '193.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2297. '200.title.en': 'Node A: Unconfirmed turn on minor road',
  2298. '200.title': 'Node A: Onbevestigde verbinding op weg',
  2299. '200.problem.en': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  2300. '200.problem': 'Het berijdbare segment heeft een onbevestigd (zachte) bocht op node A',
  2301. '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',
  2302. '200.solution':
  2303. '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',
  2304. '201.title.en': 'Node A: Unconfirmed turn on primary road',
  2305. '201.title': 'Node A: Onbevestigde verbinding op hoofdweg',
  2306. '201.problem.en': 'The primary segment has an unconfirmed (soft) turn at node A',
  2307. '201.problem': 'Het hoofdweg segment heeft een onbevestigde (zachte) verbinding bij node A',
  2308. '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',
  2309. '201.solution':
  2310. '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',
  2311. '202.title.en': 'BETA: No public connection for public segment (slow)',
  2312. '202.title': 'BETA: Routeerbaar segment lijkt geisoleerd (langzaam)',
  2313. '202.problem.en': 'The public segment is not connected to any other public segment',
  2314. '202.problem': 'Het segment lijkt een publiek toegankelijk segment in het midden van niet publieke segmenten te zijn',
  2315. '202.solution.en': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  2316. '202.solution': 'Controleer of dit segment wel publiek toegankelijk moet zijn, of van type moet wijzigen',
  2317. '214.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van A naar B',
  2318. '214.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2319. '214.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2320. '214.params': {'regexp': '/^5|15|25|.+0$/'},
  2321. '215.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van B naar A',
  2322. '215.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2323. '215.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2324. '215.params': {'regexp': '/^5|15|25|.+0$/'},
  2325. '250.title': 'Geen stad ingesteld bij plaats',
  2326. '250.problem': 'De plaats heeft geen stad ingesteld',
  2327. '250.solution': 'Stel de stad in voor de plaats',
  2328. '250.params': {
  2329. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2330. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2331. },
  2332. '251.title': 'Geen straatnaam ingesteld bij plaats',
  2333. '251.problem': 'De plaats heeft geen straatnaam ingesteld',
  2334. '251.solution': 'Stel de straatnaam in voor de plaats',
  2335. '251.params': {
  2336. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2337. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2338. },
  2339. '252.title': 'Automatisch aangepaste plaats',
  2340. '252.problem': 'De plaats was automatisch aangepast door Waze',
  2341. '252.solution': 'Controleer de plaats details en pas deze aan als het nodig is',
  2342. '252.params': {
  2343. 'regexp.title': '{string} regular expression to match bot names and ids',
  2344. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  2345. },
  2346. '253.title': 'Categorie \'OVERIGE\' kan beter niet gebruikt worden',
  2347. '253.problem': 'De categorie \'OVERIGE\' is niet nuttig. Gebruikers kunnen zoeken op een categorie en OVERIGE bied geen houvast',
  2348. '253.solution': 'Selecteer de juiste categorie voor de plaats',
  2349. '254.title': 'Geen in-/uitgang punt ingesteld voor plaats',
  2350. '254.problem': 'Er is geen in-/uitgang punt ingesteld voor de plaats',
  2351. '254.solution': 'Stel de juiste in-/uitgang punt in voor de plaats',
  2352. '255.title': 'Fout telefoon nummer',
  2353. '255.problem': 'De plaats heeft een fout telefoon nummer',
  2354. '255.solution':
  2355. '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',
  2356. '255.solutionLink': 'P:Benelux/Places#More_Info_tab',
  2357. '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})/'},
  2358. '256.title': 'Onjuiste URL',
  2359. '256.problem': 'De plaats heeft een onjuiste URL',
  2360. '256.solution': 'Controleer de URL. Binnen Nederland geven we de URL het format www.adress.extension en laten we de http(s):// vervallen',
  2361. '256.solutionLink': 'P:Benelux/Places#More_Info_tab',
  2362. '256.params': {'regexp.title': '{string} regular expression to match a correct URL', 'regexp': '/^([da-z.-]+.[a-z.]{2,6}|[d.]+)([/:?=&#]{1}[da-z.-]+)*[/?]?$/i'},
  2363. '257.enabled': true,
  2364. '257.title': 'Plaats moet een gebied zijn',
  2365. '257.problem': 'Plaats is ingesteld als een punt, maar moet een gebied zijn',
  2366. '257.solution': 'Converteer de plaats naar een gebied',
  2367. '257.solutionLink': 'P:Benelux/Place_categories',
  2368. '257.params': {
  2369. 'regexp.title': '{string} regular expression to match categories that should be a area',
  2370. 'regexp':
  2371. '/^(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)$/'
  2372. },
  2373. '258.enabled': true,
  2374. '258.title': 'Plaats moet een punt zijn',
  2375. '258.problem': 'Plaats is ingesteld als een gebied, maar zou een punt moeten zijn',
  2376. '258.solution': 'Converteer de plaats naar een punt',
  2377. '258.solutionLink': 'P:Benelux/Place_categories',
  2378. '258.params': {
  2379. 'regexp.title': '{string} regular expression to match categories that should be a point',
  2380. 'regexp':
  2381. '/^(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)$/'
  2382. },
  2383. '259.enabled': true,
  2384. '259.title': 'Geen lock op plaats',
  2385. '259.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2386. '259.solution': 'Lock de plaats',
  2387. '259.solutionLink': 'P:Benelux/Place_categories',
  2388. '259.params': {
  2389. 'n.title': '{number} minimum lock level',
  2390. 'n': 2,
  2391. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2392. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  2393. },
  2394. '260.enabled': true,
  2395. '260.title': 'Geen lock op plaats',
  2396. '260.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2397. '260.solution': 'Lock de plaats',
  2398. '260.solutionLink': 'P:Benelux/Place_categories',
  2399. '260.params': {
  2400. 'n.title': '{number} minimum lock level',
  2401. 'n': 3,
  2402. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2403. 'regexp': '/(GAS_STATION|AIRPORT)/'
  2404. },
  2405. '270.title': 'Geen type ingesteld voor parkeerplaats',
  2406. '270.problem': 'Het type is niet ingesteld voor de parkeerplaats',
  2407. '270.solution': 'Stel het type in op Openbaar, Beperkt of Privé',
  2408. '271.title': 'Geen kosten ingesteld voor parkeerplaats',
  2409. '271.problem': 'De kosten voor de parkeerplaats is niet ingesteld',
  2410. '271.solution': 'Stel de kosten in op Gratis, Laag, Gemiddeld of Hoog',
  2411. '272.title': 'Geen betaalmogelijkheden ingesteld voor parkeerplaats',
  2412. '272.problem': 'De betaalmogelijkheden zijn niet ingesteld voor de parkeerplaats',
  2413. '272.solution': 'Stel de juiste betaalmogelijkheden in',
  2414. '273.title': 'Geen niveau ingesteld voor parkeerplaats',
  2415. '273.problem': 'De hoogte is niet ingesteld voor de parkeerplaats',
  2416. '273.solution': 'Stel de juiste hoogte in voor de parkeerplaats',
  2417. '274.title': 'Geen in-/uitgang punt ingesteld voor parkeerplaats',
  2418. '274.problem': 'De parkeerplaats heeft geen in-/uitgang ingesteld',
  2419. '274.solution': 'Stel de juiste in-/uitgang in voor de parkeerplaats',
  2420. '275.title': 'Geen merk in naam van benzinepomp',
  2421. '275.problem': 'Het merk van de benzinepomp komt niet voor in de naam',
  2422. '275.solution': 'Voeg het merk toe in de naam van de benzinepomp'
  2423. },
  2424. 'MY': {
  2425. '.codeISO': 'MY',
  2426. '.country': 'Malaysia',
  2427. '69.enabled': true,
  2428. '73.enabled': true,
  2429. '150.enabled': true,
  2430. '150.params': {'n': 2},
  2431. '151.enabled': true,
  2432. '151.params': {'n': 2},
  2433. '152.enabled': true,
  2434. '152.params': {'n': 2}
  2435. },
  2436. 'MX': {
  2437. '.codeISO': 'MX',
  2438. '.country': 'Mexico',
  2439. '.updated': '2018-09-19',
  2440. '.author': 'carloslaso',
  2441. '.fallbackCode': 'ES',
  2442. '.lng': ['ES-419'],
  2443. 'city.consider': 'Considera el siguiente nombre de ciudad:',
  2444. 'city.1': 'El nombre de la ciudad es muy corto',
  2445. 'city.2': 'Poner la Abreviación con palabra completa',
  2446. 'city.3': 'Escribir el nombre corto',
  2447. 'city.4': 'Escribir el Nombre de Ciudad',
  2448. 'city.5': 'Corregir Mayúsculas / Minúsculas',
  2449. 'city.6': 'Checar el orden de las palabras',
  2450. 'city.7': 'Checar Abreviación',
  2451. 'city.8r': 'Quitar nombre de País',
  2452. 'city.9': 'Verificar nombre de País',
  2453. 'city.10r': 'Quitar palabra',
  2454. 'city.12': 'Existen nombres iguales con distinto número de Identificador de Ciudad',
  2455. 'city.13a': 'Añadir un espacio',
  2456. 'city.13r': 'Quitar un espacio',
  2457. 'city.14': 'Verificar el número',
  2458. '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ó',
  2459. 'err.regexp': 'Error analizando la opción #${n}:',
  2460. 'props.disabled': 'WME Validator está desactivado',
  2461. 'props.limit.title': 'Demasiados problemas reportados',
  2462. 'props.limit.problem': 'Hay demasiados problemas reportados por lo que algunos de ellos pueden no mostrarse',
  2463. '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)',
  2464. 'props.reports': 'Reportes',
  2465. 'report.save': 'Almacena el reporte',
  2466. 'report.list.andUp': 'y más',
  2467. 'report.list.reportOnly': 'Sólo en el reporte',
  2468. 'report.list.forCountries': 'Para Países:',
  2469. 'report.list.params': 'Parámetros pare configurar en el Paquete de localización:',
  2470. 'report.list.params.set': 'Configuración Actual para ${country}:',
  2471. 'report.list.enabled': 'Hay ${n} parámetros activados para',
  2472. 'report.list.disabled': 'Hay ${n} parámetros desactivados para',
  2473. 'report.list.total': 'Hay ${n} parámetros disponibles',
  2474. 'report.list.title': 'Complete la lista de parámetros para',
  2475. 'report.list.checks': 'Ajustes->Acerca de->Parámetros disponibles',
  2476. 'report.segments': 'Segmentos totales revisados:',
  2477. 'report.reported': 'Reportado(s)',
  2478. 'report.warnings': 'avisos',
  2479. 'report.link.forum': 'foro',
  2480. 'report.link.other': 'enlace',
  2481. 'report.title': 'Reporte del WME Validator',
  2482. 'report.source': 'Fuente del reporte:',
  2483. 'report.filter.streets': 'Calles y vías de Servicio',
  2484. 'report.filter.other': 'Otras vías transitables y no transitables',
  2485. 'report.filter.noneditable': 'segmentos no editables',
  2486. 'report.filter.excluded': 'están excluidas de este reporte',
  2487. 'report.search.updated.since': 'actualizado desde el',
  2488. 'report.search.title': 'Buscar:',
  2489. 'report.search.included': 'están incluidos en el reporte.',
  2490. 'report.beta.warning': 'Advertencia del WME Beta!',
  2491. 'report.beta.text': 'Este reporte está generado en el WME Beta con permalinks beta.',
  2492. 'report.beta.share': 'Por favor, no comparta estos permalinks!',
  2493. 'report.size.warning':
  2494. '<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.',
  2495. 'report.note.limit': '* Nota: Existieron muchas irregularidades en el reporte, por lo que algunas no están tomadas en cuenta en el resumen.',
  2496. 'report.forum': 'Para motivar mayor desarrollo, por favor deje su comentario en el',
  2497. 'report.forum.link': 'Hilo del foro de Waze.',
  2498. 'report.thanks': 'Gracias por usar el WME Validator!',
  2499. 'msg.limit.segments': 'Existen demasiados segmentos.\n\nPulse\'Show report\'para revisar el reporte, luego\n',
  2500. 'msg.limit.segments.continue': 'pulse \'▶\' (Play) para continuar.',
  2501. 'msg.limit.segments.clear': 'pulse \'✘\' (Clear) para borrar el reporte.',
  2502. 'msg.pan.text': 'Mueva el mapa para validarlo',
  2503. 'msg.zoomout.text': 'Aleje el zoom para comenzar el WME Validator',
  2504. 'msg.click.text': 'Pulse \'▶\' (Play) para validar el área visible del mapa',
  2505. 'msg.autopaused': 'paro automático',
  2506. 'msg.autopaused.text': '¡Paro automático! Pulse \'▶\' (Play) para continuar.',
  2507. 'msg.finished.text': 'Pulse <b>\'Show report\'</b> para revisar los problemas en el mapa',
  2508. 'msg.finished.tip': 'Pulse \'✉\' (Share) button para hacer un reporte en el\nforo o en un mensaje privado',
  2509. 'msg.noissues.tip': 'Trata de quitar algunas opciones de filtrado o inicia el WME Validator sobre otra área del mapa',
  2510. 'msg.scanning.text': '¡Analizando! Terminando en ~ ${n} min',
  2511. 'msg.scanning.text.soon': '¡Analizando! Terminando en un minuto!',
  2512. 'msg.scanning.tip': 'Pulse el botón de \'Pause\' para pausar o \'■\' (Stop) para detener el análisis',
  2513. 'msg.starting.text': '¡Comenzando! Las capas se han deshabilitado para analizar más rápido!',
  2514. 'msg.starting.tip': 'Utilice el botón\'Pause\' para pausar o el botón \'■\' para parar',
  2515. 'msg.paused.text': '¡En Pausa! pulse el botón de \'▶\' (Play) para continuar.',
  2516. 'msg.paused.tip': 'Para ver el reporte pulse el botón de \'Show report\' (si está disponible) ',
  2517. 'msg.continuing.tip': 'El WME Validator continuará desde la localización donde fue pausado',
  2518. 'msg.settings.text': 'Pulse <b>\'Back\'</b> para regresar a la vista principal',
  2519. 'msg.settings.tip': '¡Pulse el botón de \'Reset defaults\' para resetear todos los ajustes en un click!',
  2520. 'msg.reset.text': 'Todas las opciones y ajustes han sido devueltos a su estado original',
  2521. 'msg.reset.tip': 'Pulse el botón de \'Back\' para regresar a la vista principal',
  2522. 'msg.textarea.pack':
  2523. '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',
  2524. 'msg.textarea': 'Por favor copia el texto de abajo y pegalo en el foro o en un mensaje privado',
  2525. 'noaccess.text':
  2526. '<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.',
  2527. 'noaccess.tip': '¡Por favor revisa el hilo del foro para mayor información',
  2528. 'tab.switch.tip.on': 'Para encender el resaltado pulsa (Alt+V)',
  2529. 'tab.switch.tip.off': 'Para apagar el resaltado pulsa (Alt+V)',
  2530. 'tab.filter.tip': 'Opciones para filtrar el reporte y los segmentos resaltados',
  2531. 'tab.search.text': 'búsqueda',
  2532. 'tab.search.tip': 'Opciones avanzadas de filtrado para inculír segmentos específicos solamente',
  2533. 'tab.help.tip': '¿Necesita ayuda?',
  2534. 'filter.noneditables.text': 'Excluir los segmentos <b>no editables</b>',
  2535. 'filter.noneditables.tip': 'No reportar los segmentos bloqueados o\nsegmentos fuera de mis áreas de edción',
  2536. 'filter.duplicates.text': 'No incluir segmentos <b>duplicados</b>',
  2537. 'filter.duplicates.tip': 'No mostrar el mismo segmento en distintas\npartes del reporte\n* Nota: Esta opción NO afecta el resaltado',
  2538. 'filter.streets.text': 'No incluir <b>Calles y Vías de Servicio</b>',
  2539. 'filter.other.text': 'No incluir <b>Otras vías conducibles y no conducibles</b>',
  2540. 'filter.other.tip': 'No reportar Vías de Tierra, Vías de estacionamiento, Vías privadas ni \nsegmentos no conducibles',
  2541. 'filter.notes.text': 'No incluir <b>notas</b>',
  2542. 'filter.notes.tip': 'Reportar solamente advertencias y errores',
  2543. 'search.youredits.text': 'Incluir <b>sólo mis ediciones</b>',
  2544. 'search.youredits.tip': 'Incluir sólo los segmentos editados por mí',
  2545. 'search.updatedby.text': '<b>Actualizados por*:</b>',
  2546. 'search.updatedby.tip':
  2547. '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',
  2548. 'search.updatedsince.tip': 'Incluir segmentos editados desde el día epecificado\nFormato de fecha de Firefox: AAAA-MM-DD',
  2549. '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, *',
  2550. 'search.checks.tip':
  2551. '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*, *',
  2552. 'search.checks.example': 'Ejempo: revertir*',
  2553. 'help.text':
  2554. '<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>',
  2555. 'help.tip': 'Abrir en una nueva pestaña en el navegador',
  2556. 'button.scan.tip': 'Comenzar escaneando el área actual del mapa\n* Nota: Esto puede tomar algunos minutos',
  2557. 'button.scan.tip.NA': 'Aleje para comenzar a escanear el área actual del mapa',
  2558. 'button.stop.tip': 'Parar escaneo y regresar a la posición de inicio',
  2559. 'button.clear.tip': 'Borrar reporte y caché de segmento',
  2560. 'button.clear.tip.red':
  2561. '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.',
  2562. 'button.report.text': 'Muestra reporte',
  2563. 'button.report.tip': 'Aplicar el filtro y generar un reporte en HTML en una nueva pestaña',
  2564. 'button.BBreport.tip': 'Compartir el reporte en el Foro de Waze o en un Mensaje Privado',
  2565. 'tab.custom.text': 'Ajustes predefinidos',
  2566. 'tab.custom.tip': 'Ajustes predefinidos por el usuario',
  2567. 'tab.scanner.tip': 'Ajustes de escaneado del mapa',
  2568. 'tab.about.tip': 'Acerca del WME Validator',
  2569. 'scanner.sounds.NA': 'Su navegador no soporta AudioContext',
  2570. 'scanner.highlight.text': 'Resaltar problemas en el mapa',
  2571. 'scanner.highlight.tip': 'Resaltar problemas reportados en el mapa',
  2572. 'scanner.slow.text': 'Habilitar"chequeos" lentos',
  2573. 'scanner.slow.tip': 'Habilita análisis profundo del mapa\n* Nota: esta opción puede hacer lento el proceso de escaneo',
  2574. 'scanner.ext.text': 'Reportar resaltados externos',
  2575. 'scanner.ext.tip': 'Reportar segmentos resaltados por WME Toolbox o WME Color Highlights',
  2576. 'advanced.atbottom.text': 'Hasta abajo',
  2577. 'advanced.atbottom.tip': 'Poner WME Validator en la parte de abajo de la página',
  2578. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Planilla Propia</a>',
  2579. 'custom.template.tip':
  2580. '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}',
  2581. 'about.tip': 'Abrir liga en una pestaña nueva',
  2582. 'button.reset.text': 'Regresar a los ajustes originales',
  2583. 'button.reset.tip': 'Revertir las opciones de filtrado y ajustes a los originales',
  2584. 'button.list.text': 'Revisiones disponibles...',
  2585. 'button.list.tip': 'Mostrar una lista de revisiones disponibles en WME Validator',
  2586. 'button.wizard.tip': 'Crear un paquete de localización',
  2587. 'button.back.text': 'Regresar',
  2588. 'button.back.tip': 'Cerrar ajustes y regresar a la vista principal',
  2589. '1.problem': 'Los números de salida de los segmentos de la rotonda no son consecutivos',
  2590. '2.problem': 'El segmento tiene nodos geométricos innecesarios',
  2591. '2.solution': 'Simplificar la geometría del segmento pasando el puntero encima del segmento y presionando la letra "d"',
  2592. '3.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2593. '4.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2594. '5.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2595. '6.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2596. '7.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2597. '8.title': 'WME Toolbox: Numeración de Casas',
  2598. '8.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2599. '9.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2600. '13.title': 'WME Color Highlights: Bloqueo de un editor',
  2601. '13.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2602. '14.title': 'WME Color Highlights: Vía de peaje / Vía de un sólo sentido',
  2603. '14.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2604. '15.title': 'WME Color Highlights: Recientemente editado',
  2605. '15.problem': 'El segmento está resaltado por elWME Color Highlights. No representa un problema',
  2606. '16.title': 'WME Color Highlights: Rango de v',
  2607. '16.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2608. '17.title': 'WME Color Highlights: Sin Ciudad',
  2609. '17.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2610. '18.title': 'WME Color Highlights: Restricción de tiempo / Tipo de camino resaltado',
  2611. '18.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2612. '19.title': 'WME Color Highlights: Sin nombre',
  2613. '19.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2614. '20.title': 'WME Color Highlights: Filtrar por Ciudad',
  2615. '20.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2616. '21.title': 'WME Color Highlights: Filtrar por nombre alterno de Ciudad (alt. city)',
  2617. '21.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2618. '22.title': 'WME Color Highlights: Filtrar por editor',
  2619. '22.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2620. '23.title': 'Camino sin confirmar',
  2621. '23.problem': 'Cada segmento debe contener como mínimo Información de Estado y País',
  2622. '23.solution': 'Actualice el camino actualizando sus datos',
  2623. '24.enabled': false,
  2624. '24.title': 'Puede contener un nombre de ciudad incorrecto (sólo disponible en el reporte)',
  2625. '24.problem': 'El segmento puede contener el nombre de ciudad incorrecto',
  2626. '24.solution': 'Considere el nombre de ciudad Sugerido y use esta forma para renombrar la ciudad',
  2627. '25.title': 'Sentido desconocido en un camino conducible',
  2628. '25.problem': 'El sentido desconocido del segmento no prevendrá el ruteo por el mismo',
  2629. '25.solution': 'Coloque la dirección del segmento',
  2630. '28.title': 'Nombre de calle en una Rampa de doble sentido',
  2631. '28.problem': 'Si una rampa no tiene nombre, se aplicará el nombre del siguiente camino que lo tenga',
  2632. '28.solution': 'En las propiedades de dirección, active la casilla de \'Ninguno\' seguida del nombre de calle y entonces pulse \'Aplicar\'',
  2633. '29.problem': 'En Waze no se nombran los segmentos de las rotondas',
  2634. '29.solution':
  2635. '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',
  2636. '34.title': 'Vaciar el nombre alterno de calle',
  2637. '34.problem': 'El nombre alterno de calle está vacío',
  2638. '34.solution': 'Quitar los nombres alternos de calle vacíos',
  2639. '35.title': 'Camino conducible no terminado',
  2640. '35.problem': 'Waze no otorgará rutas por segmentos sin terminar',
  2641. '35.solution': 'Mueva un poco el segmento para que el nodo se añada de manera automática',
  2642. '38.title': 'Restricción de segmento vencida (no grave)',
  2643. '38.problem': 'El segmento tiene una restricción que ya venció',
  2644. '38.solution': 'Pulsar \'Editar restricciones\' y borrar las restricciones vencidas',
  2645. '39.title': 'Restricción de giro vencida (no grave)',
  2646. '39.problem': 'El segmento tiene un giro con restricció vencida',
  2647. '39.solution': 'Pulsar la figura del reloj en seguida de la flecha amarilla y borre las restricciones vencidas',
  2648. '41.enabled': false,
  2649. '41.title': 'Conectividad reversible en un segmento conducible',
  2650. '41.problem': 'Existe un giro que va contra la dirección del segmento en el nodo A',
  2651. '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',
  2652. '42.enabled': false,
  2653. '42.title': 'Nodo B: Conectividad reversible en segmento conducible',
  2654. '42.problem': 'Existe un giro que va en contra de la dirección del segmento en el nodo B',
  2655. '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',
  2656. '43.problem': 'El segmento está conectado en sí mismo',
  2657. '43.solution': 'Divida el segmento en tres',
  2658. '46.title': 'Nodo A: No existe conectividad hacia adentro del camino conducible',
  2659. '46.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo A',
  2660. '46.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo A',
  2661. '47.title': 'Nodo B: No existe conectividad hacia adentro del camino conducible (no grave) ',
  2662. '47.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo B',
  2663. '47.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo B',
  2664. '48.title': 'Segmento de glorieta de doble sentido',
  2665. '48.problem': 'El segmento de la glorieta es bidireccional',
  2666. '48.solution': 'Rehacer la glorieta',
  2667. '78.title': 'El segmento que creó comienza y termina en un mismo segmento',
  2668. '78.problem': 'Los dos segmentos comparten los mismos puntos finales',
  2669. '78.solution': 'Parta el segmento. Puede también remover uno de ellos si son idénticos',
  2670. '87.title': 'Múltiples segmentos de salida de la glorieta en el nodo A',
  2671. '87.problem': 'El nodo A en la glorieta tiene más de un segmento de salida conectado',
  2672. '87.solution': 'Re hacer la glorieta',
  2673. '99.title': 'Vuelta en U habilitada en segmento de entrada a la glorieta (no grave)',
  2674. '99.problem': 'El segmento de entrada a la glorieta tiene una vuelta en U habilitada',
  2675. '99.solution': 'Deshabilite la vuelta en U',
  2676. '101.title': 'Camino Cerrado (Sólo disponible en el reporte)',
  2677. '101.problem': 'El segmento está marcado como Cerrado',
  2678. '101.solution': 'Si la construcción ya terminó, reactive la conectividad del segmento y remueva el sufijo',
  2679. '102.title': 'No existe conectividad hacia afuera del segmento en el nodo A (no grave)',
  2680. '102.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo A',
  2681. '102.solution': 'Permita por lo menos un giro hacia el segmento en el nodo A',
  2682. '103.title': 'No existe conectividad hacia afuera en el nodo B (no grave))',
  2683. '103.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo B',
  2684. '103.solution': 'Permita por lo menos un giro desde el segmento en el nodo B',
  2685. '104.enabled': false,
  2686. '104.title': 'Segmento tipo ferrocarril usado para comentarios',
  2687. '104.problem': 'El segmentotipo ferrocarril etá siendo usado probablemente para comentarios del mapa',
  2688. '104.solution': 'Remover los comentarios ya que las vías férreas se verán en la aplicación',
  2689. '107.title': 'No hay conexion del Nodo A (no grave)',
  2690. '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',
  2691. '107.solution': 'Arrastre el nodo A al segmento más cercano de modo que se junten, o muévalo un poco más lejos.',
  2692. '108.title': 'No hay conexión en el nodo B (no grave)',
  2693. '108.problem': 'El nodo B del segmento está dentro del rango de 5m de otro segmento pero no está conectado por una intersección',
  2694. '108.solution': 'Arrastre el nodo B al segmento más cercano de modo que lo toque o muévalo un poco más lejos',
  2695. '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',
  2696. '109.solution': 'Aumente el largo del segmento, remuévalo o llévelo al nodo del segmento adyacente',
  2697. '112.title': 'Nombre de rampa demasiado largo',
  2698. '112.problem': 'El nombre de la rampa tiene más de ${n} letras',
  2699. '112.solution': 'Acorte el nombre de la rampa',
  2700. '116.solution': 'Corrija la elevación',
  2701. '117.title': 'Marcador de Zona de Construcción obsoleto',
  2702. '117.problem': 'El segmento está marcado con un sufijo de Zona de Construcción obsoleto',
  2703. '117.solution': 'Cambie el CONST ZN a (cerrado)',
  2704. '118.title': 'En el Nodo A: Segmentos encimados (no grave)',
  2705. '118.problem': 'El segmento está encimado con el segmento adyacente en el nodo A',
  2706. '118.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo A',
  2707. '119.title': 'Nodo B: Segmentos encimados',
  2708. '119.problem': 'El segmento está encimado con el segmento adyacente en el nodoB',
  2709. '119.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo B',
  2710. '120.title': 'Nodo A: Giro demasiado cerrado (no grave)',
  2711. '120.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo A',
  2712. '120.solution': 'Prohíba la vuelta cerrada en el nodo A o abra los segmentos a 30°',
  2713. '121.title': 'Nodo B: Giro demasiado cerrado (no grave)',
  2714. '121.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo B',
  2715. '121.solution': 'Prohíba la vuelta cerrada en el nodo B o abra los segmentos a 30°',
  2716. '128.title': 'Revisión definida por el usuario (verde)',
  2717. '128.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2718. '128.solution': 'Resuelva el problema',
  2719. '129.title': 'Revisión definida por el usuario (azúl)',
  2720. '129.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2721. '129.solution': 'Resuelva el problema',
  2722. '150.enabled': false,
  2723. '151.enabled': false,
  2724. '152.enabled': false,
  2725. '172.title': 'Espacios innecesarios en el nombre de calle',
  2726. '172.solution': 'Eliminar espacios innecesarios del nombre de la calle',
  2727. '173.title': 'No hay espacio antes/después de la abreviatura en el nombre de calle',
  2728. '173.problem': 'No hay espacio antes de (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de calle',
  2729. '173.solution': 'Añadir un espacio antes/después de la abreviatura',
  2730. '175.title': 'Nombre de calle vacío',
  2731. '175.problem': 'El nombre de la calle tiene solamente espacios o un punto',
  2732. '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\'',
  2733. '190.enabled': false,
  2734. '190.title': 'Nombre de ciudad en minúsculas',
  2735. '190.solution': 'Use esta forma para renombrar la ciudad',
  2736. '192.enabled': false,
  2737. '192.title': 'Espacios innecesarios en el nombre de ciudad',
  2738. '192.solution': 'Use esta forma para renombrar la ciudad',
  2739. '193.title': 'No hay espacios antes/después de la abreviatura de la Ciudad',
  2740. '193.problem': 'No hay espacio antes (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de ciudad',
  2741. '193.solution': 'Use esta forma para renombrar la ciudad',
  2742. '200.enabled': false,
  2743. '200.title': 'En el nodo A: Giro no confirmado en un camino menor',
  2744. '200.problem': 'El segmento del camino menor tiene un giro no confirmado (suave) en el nodo A',
  2745. '200.solution':
  2746. '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',
  2747. '201.enabled': false,
  2748. '201.title': 'En el nodo A: Giro no confirmado en una vía primaria',
  2749. '201.problem': 'El segmento de vía primaria tiene un giro no confirmado (suave) en el nodo A',
  2750. '201.solution':
  2751. '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',
  2752. '202.enabled': false
  2753. },
  2754. 'LU': {'.codeISO': 'LU', '.country': 'Luxembourg', '.fallbackCode': 'BE', '160.enabled': false},
  2755. 'IT': {
  2756. '.codeISO': 'IT',
  2757. '.country': 'Italy',
  2758. '57.enabled': true,
  2759. '59.enabled': true,
  2760. '90.enabled': true,
  2761. '95.enabled': true,
  2762. '150.enabled': true,
  2763. '151.enabled': true,
  2764. '151.params': {'n': 5},
  2765. '152.enabled': true,
  2766. '152.params': {'n': 4},
  2767. '163.enabled': true,
  2768. '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'},
  2769. '170.enabled': true
  2770. },
  2771. 'IL': {
  2772. '.codeISO': 'IL',
  2773. '.country': 'Israel',
  2774. '.author': 'gad_m',
  2775. '.updated': '2014-06-30',
  2776. '.lng': 'HE',
  2777. '.dir': 'rtl',
  2778. 'city.consider': 'בדוק את שם העיר:',
  2779. 'city.1': 'שם העיר קצר מדי',
  2780. 'city.2': 'אל תשתמש בשם מקוצר',
  2781. 'city.3': 'השלם את השם הקצר',
  2782. 'city.4': 'השלם את שם העיר',
  2783. 'city.5': 'תקן אותיות רישיות',
  2784. 'city.6': 'בדוק סדר המילה',
  2785. 'city.7': 'בדוק סימני קיצור',
  2786. 'city.8a': 'הוסף מדינה',
  2787. 'city.8r': 'מחק מדינה',
  2788. 'city.9': 'בדוק מדינה',
  2789. 'city.10a': 'הוסף מילה',
  2790. 'city.10r': 'הורד מילה',
  2791. 'city.11': 'הוסף קוד מדינה',
  2792. 'city.12': 'שמות זהים, אבל קוד זיהוי עיר שונה',
  2793. 'city.13a': 'הוסף רווח',
  2794. 'city.13r': 'הורד רווח',
  2795. 'city.14': 'בדוק את המספר',
  2796. 'props.skipped.title': 'המקטע לא נבדק',
  2797. 'props.skipped.problem': 'הקטע נערך לאחר 2014/5/1 ונעול לעריכה עבורך, אז Validator לא יכול לבדוק אותו',
  2798. 'err.regexp': 'אירעה שגיאה עבור בדיקה #${n}:',
  2799. 'props.disabled': 'התוסף אינו מופעל',
  2800. 'props.limit.title': 'יותר מדי בעיות דווחו',
  2801. 'props.limit.problem': 'ישנם בעיות רבות מדי שדווחו, כך שחלק מהם אולי לא יראו',
  2802. 'props.limit.solution': 'בטל את הבחירה של המקטע והפסק את תהליך סריקה. לאחר מכן לחץ על הכפתור האדום \'✘\' (מחק הדו"ח)',
  2803. 'props.reports': 'בעיות שנמצאו ע"י ',
  2804. 'props.noneditable': 'אינך יכול לערוך מקטע זה',
  2805. 'report.save': 'שמור את הדו"ח',
  2806. 'report.list.andUp': 'ולמעלה',
  2807. 'report.list.severity': 'חומרה',
  2808. 'report.list.reportOnly': 'רק בדיווח',
  2809. 'report.list.forEditors': 'לרמת עורכים',
  2810. 'report.list.forCountries': 'לארצות',
  2811. 'report.list.forStates': 'למדינות',
  2812. 'report.list.forCities': 'לערים',
  2813. 'report.list.params': 'משתנים להגדרת חבילת לוקליזציה',
  2814. 'report.list.params.set': 'תצורה נוכחית עבור ${country}:',
  2815. 'report.list.enabled': '${n} בדיקות מאופשרות עבור',
  2816. 'report.list.disabled': '${n} בדיקות כבויות עבור',
  2817. 'report.list.total': 'יש ${n} בדיקות זמינות',
  2818. 'report.list.title': 'רשימה מלאה של בדיקות עבור',
  2819. 'report.list.see': 'ראה',
  2820. 'report.list.checks': 'הגדרות->אודות->בדיקות זמינות',
  2821. 'report.list.fallback': 'כללי עתודה של תמיכת הלוקליזציה:',
  2822. 'report.and': 'וגם',
  2823. 'report.segments': 'סה"כ מקטעים שנבדקו:',
  2824. 'report.customs': 'בדיקות מותאמות אישית תואמים (#1/#2):',
  2825. 'report.reported': 'דווחו',
  2826. 'report.errors': 'טעויות',
  2827. 'report.warnings': 'אזהרות',
  2828. 'report.notes': 'הערות',
  2829. 'report.contents': 'תוכן:',
  2830. 'report.summary': 'סיכום',
  2831. 'report.title': 'דו"ח WME Validator',
  2832. 'report.share': 'לשתף',
  2833. 'report.generated.by': 'נוצר ע"י',
  2834. 'report.generated.on': 'ב',
  2835. 'report.source': 'מקור הדו"ח:',
  2836. 'report.filter.duplicate': 'מקטעים כפולים',
  2837. 'report.filter.streets': 'רחובות וכבישי שרות',
  2838. 'report.filter.other': 'אחרים - מותרים ואסורים לנהיגה',
  2839. 'report.filter.noneditable': 'מקטעים שלא ניתנים לעריכה',
  2840. 'report.filter.notes': 'הערות',
  2841. 'report.filter.title': 'מסננים:',
  2842. 'report.filter.excluded': 'אינם נכללים בדו"ח זה.',
  2843. 'report.search.updated.by': 'עודכן ע"י',
  2844. 'report.search.updated.since': 'עודכן ב',
  2845. 'report.search.city': 'מ',
  2846. 'report.search.reported': 'דווח כ',
  2847. 'report.search.title': 'חפש:',
  2848. 'report.search.only': 'מקטעים בלבד',
  2849. 'report.search.included': 'נכללים בדו"ח זה.',
  2850. 'report.beta.warning': 'אזהרות עורך בטא:',
  2851. 'report.beta.text': 'דו"ח זה חולל ע"י עורך גירסת בטא וכולל קישורים קבועים לבטא.',
  2852. 'report.beta.share': 'אנא אל תשתף את הפרמלינקים האלה!',
  2853. 'report.size.warning': '<b>אזהרה!</b><br>אורך הדו"ח הוא ${n} תווים<b>הוא לא מתאים להכנס</b> להודעה פרטית אחת בפורום\n<br>אנא הוסף<b>מסננים נוספים</b> על מנת להקטין את גודל הדו"ח',
  2854. 'report.note.limit': '* הערה: היו בעיות רבות מדי שדווחו, כך שחלק מהם אינם נספר בסיכום.',
  2855. 'report.forum': 'לעידוד פיתוח נוסף, אנא השאר משוב ב',
  2856. 'report.thanks': 'תודה שהשתמשת ב WME Validator!',
  2857. 'msg.limit.segments': 'יש יותר מדי מקטעים.\n\nלחץ \'צפה בדו"ח\' בכדי לצפות בדו"ח, אח"כ לחץ \'▶\' כדי להמשיך.',
  2858. 'msg.limit.segments.continue': 'לחץ \'▶\' (בצע) כדי להמשיך',
  2859. 'msg.limit.segments.clear': 'לחץ \'✘\' (מחק) כדי למחוק את הדו"ח.',
  2860. 'msg.pan.text': 'הזז מעט את המפה כדי להתחיל בבדיקה',
  2861. 'msg.zoomout.text': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח ע"י WME Validator',
  2862. 'msg.click.text': 'לניתוח שטח המפה הגלוי לחץ על \'▶\' ',
  2863. 'msg.autopaused': 'עצירה אוטומטית',
  2864. 'msg.autopaused.text': 'עצירה אוטומטית! לחץ על \'▶\' כדי להמשיך',
  2865. 'msg.autopaused.tip': 'כלי זה עוצר אוטומטית כשמזיזים את המפה או כשמשנים את גודל החלון',
  2866. 'msg.finished.text': 'לחץ <b>\'צפה בדו"ח\'</b> כדי לצפות בבעיות במפה',
  2867. 'msg.finished.tip': 'לחץ על \'✉\' (שתף) כדי לדווח בפורום\nאו כהודעה פרטית',
  2868. 'msg.noissues.text': 'הסריקה הסתיימה! לא נמצאו בעיות!',
  2869. 'msg.noissues.tip': 'נסה לכבות חלק מהמסננים או התחל מחדש את הסריקה',
  2870. 'msg.scanning.text': 'סורק! יסיים בעוד כ ${n} דקות לערך',
  2871. 'msg.scanning.text.soon': 'סורק! יסיים בעוד כדקה!',
  2872. 'msg.scanning.tip': 'לחץ על \'השהה\' כדי לעצור או על \'■\' כדי לעצור',
  2873. 'msg.starting.text': 'מכין את הדו"ח! השכבות מוסתרות כדי לסרוק מהר יותר',
  2874. 'msg.starting.tip': 'לחץ על \'השהה\' או על \'■\' כדי לעצור',
  2875. 'msg.paused.text': 'בהשהייה! לחץ \'▶\' כדי להמשיך',
  2876. 'msg.paused.tip': 'לצפיה בדו"ח לחץ על \'צפה בדו"ח\' (אם זמין)',
  2877. 'msg.continuing.text': 'ממשיך!',
  2878. 'msg.continuing.tip': 'WME Validator ימשיך מהמקום בו הפסיק',
  2879. 'msg.settings.text': 'לחץ <b>\'חזרה\'</b> לחזרה למסך הראשי',
  2880. 'msg.settings.tip': 'לחץ \'אפס לברירת מחדל\' כדי לאפס את כל ההגדרות',
  2881. 'msg.reset.text': 'כל אפשרויות הסינון וההגדרות אופסו לברירת המחדל שלהם',
  2882. 'msg.reset.tip': 'לחץ על \'חזרה\' כדי לחזור לתצוגה הראשית',
  2883. 'msg.textarea.pack': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בקובץ <b>.user.js</b> חדש',
  2884. 'msg.textarea': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בשרשור בפורום או כהודעה פרטית',
  2885. 'noaccess.text':
  2886. '<b>מצטער,</b><br>אינך יכול להשתמש ב WME Validator כאן.<br>אנא בדוק <a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">את השרשור בפורום</a><br>למידע נוסף.',
  2887. 'noaccess.tip': 'אנא בדוק את השרשור בפורום למידע נוסף!',
  2888. 'tab.switch.tip.on': 'לחץ להפעלה (Alt+V)',
  2889. 'tab.switch.tip.off': 'לחץ לכיבוי (Alt+V)',
  2890. 'tab.filter.text': 'מסננים',
  2891. 'tab.filter.tip': 'אפשרויות סינון הדו"ח והדגשות בעורך המפה',
  2892. 'tab.search.text': 'חיפוש',
  2893. 'tab.search.tip': 'אפשרויות סינון מתקדמות כדי לכלול מקטעים ספציפיים בלבד',
  2894. 'tab.help.text': 'עזרה',
  2895. 'tab.help.tip': 'צריך עזרה?',
  2896. 'filter.noneditables.text': 'הסתר מקטעים <b>שאינם ניתנים לעריכה</b>',
  2897. 'filter.noneditables.tip': 'אל תדווח על מקטעים נעולים או\nמקטעים מחוץ לאיזור העריכה שלך',
  2898. 'filter.duplicates.text': 'הסתר <b>כפילויות</b> במקטעים',
  2899. 'filter.duplicates.tip': 'אל תראה את אותו המקטע בחלקים\nשונים של הדו"ח\n* שים לב: אפשרות זו אינה משפיעה על ההדגשות',
  2900. 'filter.streets.text': 'הסתר <b>רחוב</b> ו<b>כביש שרות</b>',
  2901. 'filter.streets.tip': 'אל תכלול בדו"ח מקטעים מסוג רחוב וכביש שרות',
  2902. 'filter.other.text': 'הסתר אחרים ש<b>מותרים לנהיגה</b> וכל ה<b>אסורים לנהיגה</b>',
  2903. 'filter.other.tip': 'אל תכלול בדו"ח מקטעים מסוג דרך עפר, מגרש חניה, כביש פרטי\nומקטעים שאסורים לנהיגה',
  2904. 'filter.notes.text': 'הסתר <b>הערות</b>',
  2905. 'filter.notes.tip': 'דווח רק על אזהרות ושגיאות',
  2906. 'search.youredits.text': 'כלול <b>רק עריכות שלך</b>',
  2907. 'search.youredits.tip': 'כלול רק מקטעים שערכת בעצמך',
  2908. 'search.updatedby.text': '<b>עודכן על ידי:</b>',
  2909. 'search.updatedby.tip':
  2910. 'כלול סיגמנטים שנערכו ע"י עורך מסויים\nשדה זה תומך ב:\n- רשימות: me, otherEditorName\n- תווים חופשיים: world*\n- שלילה: !me, *\nשים לב: ניתן להשתמש ב me כהתאמה לעצמך',
  2911. 'search.updatedby.example': 'דוגמה: אני',
  2912. 'search.updatedsince.text': '<b>עודכן ב:</b>',
  2913. 'search.updatedsince.tip': 'כלול מקטעים שנערכו מאז תאריך מסויים\nפורמט תאריך: YYYY-MM-DD',
  2914. 'search.updatedsince.example': 'YYYY-MM-DD',
  2915. 'search.city.text': '<b>שם העיר:</b>',
  2916. 'search.city.tip': 'כלול מקטעים בעלי שם עיר מסויימת\nשדה זה תומך ב:\nרשימות: ירושלים, אשקלון\nתווים כלליים: תל *\nשלילה: !ירושלים, *',
  2917. 'search.city.example': 'דוגמה: !ירושלים, *',
  2918. 'search.checks.text': '<b>דווח כ:</b>',
  2919. 'search.checks.tip':
  2920. 'כלול רק מקטעים שדווחו לגביהם:\nשדה זה תואם:\n- חומרת הבעיה: errors\n- שמות קבועים: New road\n- מספרים מזהים: 40\nשדה זה תומך ב:\n- רשימות: 36,37\n- תווים כלליים: *roundabout*\n- שלילה: !soft turns*, *\n',
  2921. 'search.checks.example': 'דוגמה: *הפוך*',
  2922. 'help.text':
  2923. '<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>',
  2924. 'help.tip': 'פתח בכרטיסיית דפדפן חדשה',
  2925. 'button.scan.tip': 'התחל לסרוק את המפה הנוכחית\nשים לב: פעולה זו יכולה לקחת מספר דקות',
  2926. 'button.scan.tip.NA': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח באיזור המפה הנוכחי',
  2927. 'button.pause.tip': 'עצור את הסריקה',
  2928. 'button.continue.tip': 'המשך לסרוק את המפה',
  2929. 'button.stop.tip': 'עצור את הסריקה וחזור להתחלה',
  2930. 'button.clear.tip': 'מחק הדו"ח ומקטעים מהזיכרון',
  2931. 'button.clear.tip.red': 'יותר מדי דיווחים על בעיות במקטעים:\n1. לחץ \'צפה בדו"ח להפיק את הדו"ח\'.\n2. לחץ על כפתור זה כדי למחוק את הדו"ח ולהתחיל מחדש.',
  2932. 'button.report.text': 'צפה בדו"ח',
  2933. 'button.report.tip': 'השתמש בהגדרות המסננים והפק דו"ח HTML שיפתח בכרטיסיית דפדפן חדשה',
  2934. 'button.BBreport.tip': 'שתף את הדו"ח בפורום של וייז או בהודעה פרטית',
  2935. 'button.settings.tip': 'הגדרות',
  2936. 'tab.custom.text': 'מותאם',
  2937. 'tab.custom.tip': 'הגדרת בדיקות מותאמות אישית לפי הגדרות המשתמש',
  2938. 'tab.settings.text': 'הגדרות',
  2939. 'tab.scanner.text': 'סורק',
  2940. 'tab.scanner.tip': 'הגדרות סריקה',
  2941. 'tab.about.text': 'אודות</span>',
  2942. 'tab.about.tip': 'אודות WME Validator',
  2943. 'scanner.sounds.text': 'אפשר צלילים',
  2944. 'scanner.sounds.tip': 'ציפצופים וביפים בזמן סריקה',
  2945. 'scanner.sounds.NA': 'הדפדפן שלך אינו תומך ב AudioContext',
  2946. 'scanner.highlight.text': 'הדגש בעיות על גבי המפה',
  2947. 'scanner.highlight.tip': 'הדגר בעיות מדווחות על גבי המפה',
  2948. 'scanner.slow.text': 'אפשר בדיקות המוגדרות כ"איטי"',
  2949. 'scanner.slow.tip': 'מאפשר ניתוח מעמיק של המפה\n* שים לב: אפשרות זו עלולה להאט את תהליך הסריקה',
  2950. 'scanner.ext.text': 'דווח על הדגשות ממקורות אחרים',
  2951. 'scanner.ext.tip': 'דווח על מקטעים שהודגשו ע"י WME Toolbox או WME Color Highlights',
  2952. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>תבנית מותאמת אישית</a>',
  2953. 'custom.template.tip':
  2954. 'תבנית להרחבת בדיקות מותאמת אישית המוגדרת על ידי משתמש.\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}',
  2955. 'custom.template.example': 'דוגמה: ${city}',
  2956. 'custom.regexp.text': '<a target="_blank" href="https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions">ביטוי רגולרי</a> מותאם אישית',
  2957. 'custom.regexp.tip': 'ביטוי רגולרי מותאם אישית ע"י המשתמש התואם את התבנית\nהתאמה: /regexp/\nשלילה: !/regexp/\nכתוב מידע של התוכנית לקונסולה (debug)\n',
  2958. 'custom.regexp.example': 'דוגמה: /גבעת שמואל/',
  2959. 'about.tip': 'פתח קישור בכרטיסיית דפדפן חדשה',
  2960. 'button.reset.text': 'אפס לברירת מחדל',
  2961. 'button.reset.tip': 'אפס אפשרויות סינון והגדרות לברירת המחדל',
  2962. 'button.list.text': 'בדיקות זמינות...',
  2963. 'button.list.tip': 'הראה את רשימ הבדיקות הזמינות של WME Validator',
  2964. 'button.wizard.tip': 'צור קבצי לוקליזציה',
  2965. 'button.back.text': 'חזרה',
  2966. 'button.back.tip': 'סגור הגדרות וחזור לחלון ראשי',
  2967. '1.enabled': false,
  2968. '1.title': 'WME Toolbox: כיכר שעלול ליצור בעיות',
  2969. '1.problem': 'מספרים מזהים של צמתים של מקטעים בכיכר אינם רצופים',
  2970. '1.solution': 'בנה מחדש את הכיכר',
  2971. '2.title': 'WME Toolbox: מקטע פשוט',
  2972. '2.problem': 'למקטע יש מפרקים מיותרים',
  2973. '2.solution': 'פשט את מפרקי המקטע ע"י מעבר עם העכבר מעל המקטע ולחיצה על מקש "d"',
  2974. '3.title': 'WME Toolbox: נעילה ברמה 2',
  2975. '3.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2976. '4.title': 'WME Toolbox: נעילה ברמה 3',
  2977. '4.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2978. '5.title': 'WME Toolbox: נעילה ברמה 4',
  2979. '5.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2980. '6.title': 'WME Toolbox: נעילה ברמה 5',
  2981. '6.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2982. '7.title': 'WME Toolbox: נעילה ברמה 6',
  2983. '7.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2984. '8.title': 'WME Toolbox: מספרי בתים',
  2985. '8.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2986. '9.title': 'WME Toolbox: מקטע עם הגבלות לפי שעות',
  2987. '9.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2988. '13.title': 'WME Color Highlights: נעילת עורך',
  2989. '13.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2990. '14.title': 'WME Color Highlights: כביש אגרה / כביש חד סיטרי',
  2991. '14.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2992. '15.title': 'WME Color Highlights: נערך לאחרונה',
  2993. '15.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2994. '16.title': 'WME Color Highlights: דרגה של כביש',
  2995. '16.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2996. '17.title': 'WME Color Highlights: ללא עיר',
  2997. '17.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2998. '18.title': 'WME Color Highlights: הגבלות לפי שעות / סוג כביש מודגש',
  2999. '18.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3000. '19.title': 'WME Color Highlights: ללא שם',
  3001. '19.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3002. '20.title': 'WME Color Highlights: מסנן לפי עיר',
  3003. '20.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3004. '21.title': 'WME Color Highlights: מסנן לפי עיר',
  3005. '21.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3006. '22.title': 'WME Color Highlights: מסנן לפי עורך',
  3007. '22.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  3008. '23.title': 'מקטע ללא שם',
  3009. '23.problem': 'כל מקטע חייב לפחות הגדרת מדינה',
  3010. '23.solution': 'אשר את הכביש ע"י עריכת הפרטים שלו',
  3011. '24.title': 'יתכן ששם העיר שגוי (זמין רק בדו"ח)',
  3012. '24.problem': 'יתכן ששם העיר של המקטע שגוי (זמין רק בדו"ח)',
  3013. '24.solution': 'שקול להשתמש בשם העיר שמוצע והשתמש בטופס זה כדי לשנות שם עיר',
  3014. '25.title': 'כיוון לא ידוע של כביש מותר בנהיגה',
  3015. '25.problem': 'כיוון "לא ידוע" של כביש לא מונע ניווט דרכו',
  3016. '25.solution': 'קבע את כיוון הנסיעה של הכביש',
  3017. '27.enabled': true,
  3018. '27.title': 'שם עיר על מסילת רכבת',
  3019. '27.problem': 'שם עיר על מסילת רכבת עלול לטשטש את גבולות העיר',
  3020. '27.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3021. '28.enabled': false,
  3022. '28.title': 'שם רחוב למחבר דו כיווני',
  3023. '28.problem': 'כשהמחבר ללא שם, הוא יקבל את שמו מהכביש אליו הוא מוביל',
  3024. '28.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3025. '29.title': 'לכיכר יש שם רחוב',
  3026. '29.problem': 'בווויז לא נותנים שמות למקטעים השייכים לכיכר',
  3027. '29.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\', לחץ \'החל\'. כדי לתת שם לכיכר הוסף \'מקום\' עם קטגורית \'צומת\' ותן לו את שם הכיכר',
  3028. '34.title': '\'שם חלופי\' ריק',
  3029. '34.problem': 'שדה \'שם חלופי\' של הרחוב ריק',
  3030. '34.solution': 'הסר את ה\'שם חלופי\' של הרחוב',
  3031. '35.title': 'כביש מותר לנהיגה קטוע',
  3032. '35.problem': 'וייז לא ינווט מכביש קטוע',
  3033. '35.solution': 'הזז מעט את המקטע כך שיתווסף אוטומטית צומת המסיים את המקטע',
  3034. '36.title': 'צומת A: מיותר (איטי)',
  3035. '36.problem': 'מקטעים סמוכים בצומת A זהים',
  3036. '36.solution': 'בחר את צומת A ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3037. '37.title': 'צומת B: מיותר (איטי)',
  3038. '37.problem': 'מקטעים סמוכים בצומת B זהים',
  3039. '37.solution': 'בחר את צומת B ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  3040. '38.title': 'פג תוקף של מגבלה על מקטע (איטי)',
  3041. '38.problem': 'למקטע יש מגבלות שפג תוקפם',
  3042. '38.solution': 'לחץ על "הוסף הגבלות" ומחק מגבלות שפג תוקפם',
  3043. '39.title': 'פג תוקף של מגבלה על פניה (איטי)',
  3044. '39.problem': 'במקטע יש פניה עם מגבלה שפג תוקפה',
  3045. '39.solution': 'לחץ על סימון השעון שליד החץ הצהוב של הפניה ומחק הגבלות שפג תוקפן',
  3046. '41.enabled': false,
  3047. '41.title': 'צומת A: קישוריות הפוכה של כביש מותר לנהיגה',
  3048. '41.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת A',
  3049. '41.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת A ואחר כך הפוך חזרה את המקטע ל"חד כיווני (A→B)"',
  3050. '42.enabled': false,
  3051. '42.title': 'צומת B: קישוריות הפוכה של כביש מותר לנהיגה',
  3052. '42.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת B',
  3053. '42.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת B ואחר כך הפוך חזרה את המקטע ל"חד כיווני (B→A)"',
  3054. '43.title': 'קישור לעצמי',
  3055. '43.problem': 'המקטע יוצר צומת עם המקטע עצמו',
  3056. '43.solution': 'פצל את המקטע לשלושה מקטעים',
  3057. '44.title': 'אין חיבור ביציאה',
  3058. '44.problem': 'מקטע מותר בנהיגה ללא אף פניה מאופשרת ביציאה ממנו',
  3059. '44.solution': 'אפשר לפחות פניה אחת ביציאה מהמקטע',
  3060. '45.title': 'אין חיבור בכניסה',
  3061. '45.problem': 'אין אף פניה מאופשרת בכניסה למקטע המותר בנהיגה',
  3062. '45.solution': 'בחר מקטע סמוך ואפשר פניה למקטע זה',
  3063. '46.title': 'צומת A: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3064. '46.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת A',
  3065. '46.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת A',
  3066. '47.title': 'צומת B: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3067. '47.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת B',
  3068. '47.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת B',
  3069. '48.title': 'מקטע דו כיווני בכיכר',
  3070. '48.problem': 'מקטע מותר לנהיגה בכיכר הוא דו כיווני',
  3071. '48.solution': 'צור מחדש את הכיכר',
  3072. '50.title': 'אין חיבור לכיכר (איטי)',
  3073. '50.problem': 'למקטע מותר לנהיגה בכיכר אין חיבור למקטע סמוך בכיכר',
  3074. '50.solution': 'אפשר פניה במקטע סמוך או צור מחדש את הכיכר',
  3075. '57.enabled': true,
  3076. '57.title': 'שם עיר במחבר עם שם רחוב',
  3077. '57.problem': 'שם עיר במחבר עם שם רחוב עלול להשפיע על תוצאות החיפוש',
  3078. '57.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3079. '59.enabled': true,
  3080. '59.title': 'שם עיר בכביש מהיר',
  3081. '59.problem': 'שם עיר בכביש מהיר עלול לטשטש את גבולות העיר',
  3082. '59.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3083. '77.enabled': false,
  3084. '77.title': 'פניית פרסה ברחוב ללא מוצא',
  3085. '77.problem': 'מאופשרת פניית פרסה במקטע מותר לנהיגה ללא מוצא',
  3086. '77.solution': 'אל תאפשר פניית פרסה',
  3087. '78.title': 'שני מקטעים המותרים לנהיגה מסתיימים באותן נקודות (איטי)',
  3088. '78.problem': 'שני מקטעים המותרים לנהיגה בעלי אותן נקודות קצה',
  3089. '78.solution': 'פצל את המקטע לשני מקטעים. יתכן ויש צורך למחוק את אחד המקטעים אם הם זהים',
  3090. '87.title': 'מקטעים מרובים יוצאים מצומת A',
  3091. '87.problem': 'לצומת A בכיכר מחובר יותר ממקטע יציאה אחד',
  3092. '87.solution': 'צור מחדש את הכיכר',
  3093. '90.enabled': true,
  3094. '90.title': 'כביש מהיר דו סיטרי',
  3095. '90.problem': 'רוב הכבישים המהירים מפוצלים לשני מקטעים חד סיטריים כך שיתכן שיש טעות במקטע',
  3096. '90.solution': 'בדוק את כיוון הנסיעה של הכביש המהיר',
  3097. '91.title': 'מחבר דו כיווני',
  3098. '91.problem': 'רוב המחברים הם חד סיטריים, כך שיתכן שזו שגיאה שמחבר זה מוגדר כדו-סיטרי',
  3099. '91.solution': 'בדוק כיווני נסיעה במחבר',
  3100. '99.title': 'פניית פרסה מאופשרת בכניסה לכיכר (איטי)',
  3101. '99.problem': 'פניית פרסה מאופשרת במקטע הנכנס לכיכר',
  3102. '99.solution': 'אל תאפשר פניית פרסה',
  3103. '101.title': 'כביש סגור (זמין רק בדו"ח)',
  3104. '101.problem': 'המקטע מסומן כסגור',
  3105. '101.solution': 'אם הבנייה הסתיימה, שחזר את קישוריות המקטע והסר את הסיומת',
  3106. '102.title': 'צומת A: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3107. '102.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת A',
  3108. '102.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת A',
  3109. '103.title': 'צומת B: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3110. '103.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת B',
  3111. '103.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת B',
  3112. '104.title': 'מסילת רכבת משמשת כהערה',
  3113. '104.problem': 'נראה שמקטע מסוג מסילת רכבת משמש כהערה',
  3114. '104.solution': 'הסר את המקטע כיוון שמסילת רכבת תיראה במסך של משתמש הקצה',
  3115. '107.title': 'צומת A: אין חיבור (איטי)',
  3116. '107.problem': 'צומת A של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3117. '107.solution': 'חבר את צומת A למקטע הקרוב ביותר או הרחק אותו מעט',
  3118. '108.title': 'צומת B: אין חיבור (איטי)',
  3119. '108.problem': 'צומת B של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3120. '108.solution': 'חבר את צומת B למקטע הקרוב ביותר או הרחק אותו מעט',
  3121. '109.enabled': false,
  3122. '109.title': 'מקטע קצר מדי',
  3123. '109.problem': 'מקטע מותר לנהיגה ללא קצה הוא פחות מ 2 מטר. וקשה לראות זאת במפה',
  3124. '109.solution': 'הארך את המקטע, מחק אותו או חבר אותו למקטע סמוך',
  3125. '112.title': 'לשם המחבר יש יותר מ ${n} אותיות',
  3126. '112.problem': 'שם המחבר ארוך מדי',
  3127. '112.solution': 'קצר את שם המחבר',
  3128. '114.enabled': false,
  3129. '114.title': 'צומת A: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3130. '114.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת A',
  3131. '114.solution': 'נתק את צומת A ממקטעים מותרים לנהיגה',
  3132. '115.enabled': false,
  3133. '115.title': 'צומת B: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3134. '115.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת B',
  3135. '115.solution': 'נתק את צומת B ממקטעים מותרים לנהיגה',
  3136. '116.title': 'גובה לא בטווח המותר',
  3137. '116.problem': 'גובה המקטע לא בטווח המותר',
  3138. '116.solution': 'תקן את הגובה',
  3139. '117.title': 'סימון של קבוע ישן ZN',
  3140. '117.problem': 'המקטע מסומן בסימון של קבוע שלא בתוקף: ZN',
  3141. '117.solution': 'שנה את הקבוע ZN ל: (סגור)',
  3142. '118.title': 'צומת A: מקטעים חופפים (איטי)',
  3143. '118.problem': 'המקטע חופף למקטע סמוך בצומת A',
  3144. '118.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת A',
  3145. '119.title': 'צומת B: מקטעים חופפים (איטי)',
  3146. '119.problem': 'המקטע חופף למקטע סמוך בצומת B',
  3147. '119.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת B',
  3148. '120.title': 'צומת A: פנייה חדה מדי (איטי)',
  3149. '120.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת A',
  3150. '120.solution': 'אסור את הפנייה החדה בצומת A או שנה את זווית הפניה ל 30°',
  3151. '121.title': 'צומת B: פנייה חדה מדי (איטי)',
  3152. '121.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת B',
  3153. '121.solution': 'אסור את הפנייה החדה בצומת B או שנה את זווית הפניה ל 30°',
  3154. '128.title': 'בדיקה מותאמת אישית ע"י המשתמש (ירוק)',
  3155. '128.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3156. '128.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3157. '129.title': 'בדיקה מותאמת אישית ע"י המשתמש (כחול)',
  3158. '129.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3159. '129.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3160. '171.enabled': false,
  3161. '171.title': 'שם רחוב מקוצר באופן שגוי',
  3162. '171.problem': 'בשם הרחוב יש קיצור שגוי',
  3163. '171.solution': 'בדוק אותיות קטנות / גדולות, רווח לפני / אחרי הקיצור ובהתאם לטבלת הקיצורים',
  3164. '172.title': 'מרווחים מיותרים בשם של רחוב',
  3165. '172.problem': 'מרווח כפול/לפני/אחרי שם של רחוב',
  3166. '172.solution': 'מחק מרווחים מיותרים בשם של הרחוב',
  3167. '173.enabled': false,
  3168. '173.title': 'אין רווח לפני/אחרי שם קיצור של רחוב',
  3169. '173.problem': 'חסר מרווח לפני או אחרי שימוש בקיצור בשם של רחוב',
  3170. '173.solution': 'הוסף רווח לפני/אחרי הקיצור',
  3171. '175.title': 'שם רחוב ריק',
  3172. '175.problem': 'שם הרחוב מכיל רק מרווחים או נקודות',
  3173. '175.solution': 'במאפייני הכתובת, סמן את תיבת \'אין\' ליד שם הרחוב, לחץ \'החל\', או תן שם תקין לרחוב',
  3174. '190.enabled': false,
  3175. '190.title': 'שם העיר באותיות קטנות',
  3176. '190.problem': 'שם העיר מתחיל באות קטנה',
  3177. '190.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3178. '192.title': 'מרווחים מיותרים בשם של עיר',
  3179. '192.problem': 'מרווח כפול/לפני/אחרי שם של עיר',
  3180. '192.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3181. '193.enabled': false,
  3182. '193.title': 'מרווחים לפני/אחרי קיצור של שם עיר',
  3183. '193.problem': 'מרווחים אסורים לפני או אחרי שימוש בקיצור בשם של עיר',
  3184. '193.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3185. '200.enabled': false,
  3186. '200.title': 'צומת A: פניה שלא אושרה ברחוב משני',
  3187. '200.problem': 'במקטע המשני יש פניה שלא אושרה בצומת A',
  3188. '200.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו',
  3189. '201.title': 'צומת A: פניה שלא אושרה ברחוב ראשי',
  3190. '201.problem': 'במקטע הראשי יש פניה שלא אושרה בצומת A',
  3191. '201.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו'
  3192. },
  3193. 'IE': {
  3194. '.codeISO': 'IE',
  3195. '.country': 'Ireland',
  3196. '70.enabled': true,
  3197. '70.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3198. '71.enabled': true,
  3199. '71.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3200. '72.enabled': true,
  3201. '72.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3202. '160.enabled': true,
  3203. '160.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3204. '160.params': {'solutionEN': 'Rename the street to \'Mxx\' or \'Mxx N/S/W/E\' or change the road type', 'regexp': '!/^M[0-9]+( [NSWE])?$/'},
  3205. '161.enabled': true,
  3206. '161.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3207. '161.params': {'solutionEN': 'Rename the street to \'Nxx\' or \'Nxx Local Name\' or change the road type', 'regexp': '!/^N[0-9]+( .*)?$/'},
  3208. '162.enabled': true,
  3209. '162.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3210. '162.params': {'solutionEN': 'Rename the street to \'Rxxx\' or \'Rxxx Local Name\' or change the road type', 'regexp': '!/^R[0-9]+( .*)?$/'}
  3211. },
  3212. 'FR': {
  3213. '.codeISO': 'FR',
  3214. '.country': ['France', 'French Guiana', 'New Caledonia', 'Reunion'],
  3215. '.author': 'arbaot and ClementH44',
  3216. '.updated': '2014-03-27',
  3217. '.lng': 'FR',
  3218. 'err.regexp': 'Erreur d\'interprétation pour la vérification #${n}:',
  3219. 'props.disabled': 'WME Validator est désactivé',
  3220. 'props.limit.title': 'Trop de problèmes signalés',
  3221. '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',
  3222. 'props.limit.solution': 'Désélectionnez le segment et arrêtez le scan. Ensuite, cliquez sur le bouton rouge «✘» (Effacer le rapport)',
  3223. 'props.reports': 'Rapports',
  3224. 'props.noneditable': 'Vous ne pouvez éditer ce segment',
  3225. 'report.list.andUp': 'et jusqu\'à',
  3226. 'report.list.severity': 'Gravité :',
  3227. 'report.list.reportOnly': 'seulement dans le rapport',
  3228. 'report.list.forEditors': 'Pour le niveau d\'édition :',
  3229. 'report.list.forCountries': 'Pour les pays :',
  3230. 'report.list.forStates': 'Pour les états :',
  3231. 'report.list.forCities': 'Pour les villes :',
  3232. 'report.list.params': 'Paramètres à configurer dans le pack de localisation :',
  3233. 'report.list.enabled': '${n} vérifications sont activés pour',
  3234. 'report.list.disabled': '${n} vérifications sont désactivés pour',
  3235. 'report.list.total': 'Il y a ${n} points de contôles activés',
  3236. 'report.list.title': 'Liste complète des vérifications pour',
  3237. 'report.list.see': 'Voir',
  3238. 'report.list.checks': 'Paramètres->À propos->Les vérifications',
  3239. 'report.list.fallback': 'Règles de regroupement géographique :',
  3240. 'report.and': 'et',
  3241. 'report.segments': 'Nombre total de segments vérifiés :',
  3242. 'report.customs': 'Les vérifications personnalisés adaptés (vert/bleu):',
  3243. 'report.reported': 'Signalement',
  3244. 'report.errors': 'd\'erreurs',
  3245. 'report.warnings': 'd\'avertissements',
  3246. 'report.notes': 'de remarques',
  3247. 'report.contents': 'Contenus :',
  3248. 'report.summary': 'Récapitulatif',
  3249. 'report.title': 'Rapport de WME Validator',
  3250. 'report.share': 'à partager',
  3251. 'report.generated.by': 'généré par',
  3252. 'report.generated.on': 'le',
  3253. 'report.source': 'Source du rapport :',
  3254. 'report.filter.duplicate': 'les segments doublons',
  3255. 'report.filter.streets': 'Rue et Routes de service',
  3256. 'report.filter.other': 'Autres',
  3257. 'report.filter.noneditable': 'segments non modifiables',
  3258. 'report.filter.notes': 'notes',
  3259. 'report.filter.title': 'Filtre :',
  3260. 'report.filter.excluded': 'sont exclues de ce rapport.',
  3261. 'report.search.updated.by': 'mis à jour par',
  3262. 'report.search.updated.since': 'mis à jour depuis',
  3263. 'report.search.city': 'à partir de',
  3264. 'report.search.reported': 'signalé comme',
  3265. 'report.search.title': 'Rechercher:',
  3266. 'report.search.only': 'seulement les segments',
  3267. 'report.search.included': 'sont inclus dans le rapport.',
  3268. 'report.beta.warning': 'avertissement WME Beta !',
  3269. 'report.beta.text': 'Ce rapport est généré pour WME beta avec des permaliens en beta.',
  3270. 'report.beta.share': 'Ne pas partager ces permaliens !',
  3271. 'report.size.warning':
  3272. '<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.',
  3273. '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.',
  3274. 'report.forum': 'Pour soutenir le développement, merci de laisser un commentaire sur',
  3275. 'report.thanks': 'Merci d\'utiliser WME Validator !',
  3276. 'msg.limit.segments': 'Il y a trop de segments.\n\nCliquez sur \'Le rapport\' pour examiner le rapport, ensuite\n',
  3277. 'msg.limit.segments.continue': 'cliquez sur \'▶\' pour continuer.',
  3278. 'msg.pan.text': 'Déplacez-vous sur pour valider la carte',
  3279. 'msg.zoomout.text': 'Effectuer un zoom arrière pour démarrer WME Validator',
  3280. 'msg.click.text': 'Cliquez sur \'▶\' pour valider la zone visible de la carte',
  3281. 'msg.autopaused': 'Pause automatique',
  3282. 'msg.autopaused.text': 'Pause automatique ! Cliquez sur \'▶\' pour continuer.',
  3283. 'msg.autopaused.tip': 'WME Validator est automatiquement suspendu si la carte est déplacée ou si la taille de la fenêtre change',
  3284. 'msg.finished.text': 'Cliquez sur <b>\'Le rapport\'</b> pour examiner les problèmes de carte',
  3285. 'msg.finished.tip': 'Cliquez sur \'✉\' (Partager) pour poster un rapport sur un\nforum ou par message privé',
  3286. 'msg.noissues.text': 'Terminé ! Aucun problème trouvé !',
  3287. 'msg.noissues.tip': 'Essayez de désactiver quelques filtres ou démarrez WME Validator sur une autre zone de la carte !',
  3288. 'msg.scanning.text': 'Scan en cours ! Terminé dans ~ ${n} min',
  3289. 'msg.scanning.text.soon': 'Scan en cours ! Terminé dans une minute !',
  3290. 'msg.scanning.tip': 'Cliquez sur \'Pause\' pour suspendre ou \'■\' pour stopper',
  3291. 'msg.starting.text': 'Lancement ! Les calques ne peuvent scanner plus vite !',
  3292. 'msg.starting.tip': 'Utilisez le bouton \'Pause\' pour suspendre ou le bouton \'■\' pour stopper',
  3293. 'msg.paused.text': 'En pause ! Cliquez sur \'▶\' pour continuer.',
  3294. 'msg.paused.tip': 'Pour voirla raport, cliquez sur \'Le rapport\' (si disponible)',
  3295. 'msg.continuing.text': 'En cours !',
  3296. 'msg.continuing.tip': 'WME Validator continuera à l\'endroit où il a été suspendu',
  3297. 'msg.settings.text': 'Cliquez sur <b>\'Retour\'</b> pour retourner sur la vue principale',
  3298. 'msg.settings.tip': 'Cliquez sur \'Par défaut\' pour réinitialiser tous les réglages en un clic !',
  3299. 'msg.reset.text': 'Toutes les options de filtrage et les paramètres ont été remis à leurs valeurs par défaut',
  3300. 'msg.reset.tip': 'Cliquez sur \'Retour\' pour retourner sur la vue principale',
  3301. 'msg.textarea.pack': 'Merci de copier le texte ci-dessous et de le coller dans un nouveau fichier <b>.user.js</b>',
  3302. 'msg.textarea': 'Merci de copier le texte ci-dessous et de le coller dans votre forum pour par message privé',
  3303. 'noaccess.text':
  3304. '<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.',
  3305. 'noaccess.tip': 'Merci de visiter le forum du programme pour plus d\'informations !',
  3306. 'tab.switch.tip.on': 'Cliquez pour activer la surbrillance',
  3307. 'tab.switch.tip.off': 'Cliquez pour désactiver la surbrillance',
  3308. 'tab.filter.text': 'filtre',
  3309. 'tab.filter.tip': 'Options pour filtrer le rapport et les segments à mettre en évidence',
  3310. 'tab.search.text': 'cherche',
  3311. 'tab.search.tip': 'Options avancées de filtrage pour inclure uniquement des segments spécifiques',
  3312. 'tab.help.text': 'aide',
  3313. 'tab.help.tip': 'Besoins d\'aide ?',
  3314. 'filter.noneditables.text': 'Exclure les segments <b>non modifiables</b>',
  3315. 'filter.noneditables.tip': 'Ne pas éxaminer les segments verrouillés ou en dehors de vos zones modifiables',
  3316. 'filter.duplicates.text': 'Exclure les segments <b>doublons</b>',
  3317. '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',
  3318. 'filter.streets.text': 'Exclure les <b>Rues et Routes de service</b>',
  3319. 'filter.streets.tip': 'Ne pas éxaminer les rues et routes/chemins de service',
  3320. 'filter.other.text': 'Exclure les <b>autres rues carrossables</b>',
  3321. 'filter.other.tip': 'Ne pas éxaminer les chemins de terres, les parkings, les routes privées\net les segments non carrossables',
  3322. 'filter.notes.text': 'Exclure les <b>remarques</b>',
  3323. 'filter.notes.tip': 'Rapporte uniquement les avertissements et les erreurs',
  3324. 'search.youredits.text': 'Inclure <b>uniquement vos modifications</b>',
  3325. 'search.youredits.tip': 'Inclure uniquement les segments modifiés par vous',
  3326. 'search.updatedby.text': '<b>Mis à jour par:</b>',
  3327. 'search.updatedby.tip':
  3328. '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',
  3329. 'search.updatedby.example': 'Example: me',
  3330. 'search.updatedsince.text': '<b>Mis à jour depuis:</b>',
  3331. 'search.updatedsince.tip': 'Inclure uniquement les segments modifiés depuis la date spécifiée\nFormat de date Firefox: AAAA-MM-JJ',
  3332. 'search.updatedsince.example': 'AAAA-MM-JJ',
  3333. 'search.city.text': '<b>Nom de Ville:</b>',
  3334. 'search.city.tip':
  3335. '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, *',
  3336. 'search.city.example': 'Example: !Paris, *',
  3337. 'search.checks.text': '<b>Signalé comme:</b>',
  3338. 'search.checks.tip':
  3339. '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*, *',
  3340. 'search.checks.example': 'Example: reverse*',
  3341. 'help.text':
  3342. '<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>',
  3343. 'help.tip': 'S\'ouvre dans un nouvel onglet du navigateur',
  3344. 'button.scan.tip': 'Commencer à scanner la zone actuelle de la carte\n* Remarque: cela peut prendre quelques minutes',
  3345. 'button.scan.tip.NA': 'Dézoomez pour commencer à scanner la zone actuelle de la carte',
  3346. 'button.pause.tip': 'Scan en pause',
  3347. 'button.continue.tip': 'Continuer à scanner la zone de la carte',
  3348. 'button.stop.tip': 'Arrêter le scan et retourner à la position de départ',
  3349. 'button.clear.tip': 'Effacer la mémoire cache des rapports et segments',
  3350. '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.',
  3351. 'button.report.text': 'Le rapport',
  3352. 'button.report.tip': 'Appliquer le filtre et générer un rapport HTML dans un nouvel onglet.',
  3353. 'button.BBreport.tip': 'Partagez le rapport sur le forum Waze ou dans un message privé.',
  3354. 'button.settings.tip': 'Configurer les paramètres',
  3355. 'tab.custom.text': 'perso',
  3356. 'tab.custom.tip': 'Paramètres de vérification personnalisés définis par l\'utilisateur',
  3357. 'tab.settings.text': 'Params',
  3358. 'tab.scanner.text': 'scan',
  3359. 'tab.scanner.tip': 'Paramètres du scan de la carte',
  3360. 'tab.about.text': 'à propos</span>',
  3361. 'tab.about.tip': 'À propos de WME Validator',
  3362. 'scanner.sounds.text': 'Activer les sons',
  3363. 'scanner.sounds.tip': 'Joue un \'bip\' pendant le scan',
  3364. 'scanner.sounds.NA': 'Votre navigateur ne supporte pas AudioContext',
  3365. 'scanner.highlight.text': 'Mettre en surbrillance sur la carte',
  3366. 'scanner.highlight.tip': 'Mettre en surbrillance les problèmes repérés sur la carte',
  3367. 'scanner.slow.text': 'Activer le mode \'lent\'',
  3368. 'scanner.slow.tip': 'Permet un scan plus poussé et précis de la carte\n* Remarque: cette option peut ralentir le processus de scan',
  3369. 'scanner.ext.text': 'Signaler des surbrillances externes',
  3370. 'scanner.ext.tip': 'Signaler des segments mis en évidence par WME Toolbox ou WME Color Highlights',
  3371. 'custom.template.text': 'Modèle perso',
  3372. '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},' +
  3373. '\n${altCity[index or delimeter]} Example: ${altCity[0]},' +
  3374. '\n${altStreet[index or delimeter]} Example: ${altStreet[##]},' +
  3375. '\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}',
  3376. 'custom.template.example': 'Example: ${street}',
  3377. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a> perso',
  3378. 'custom.regexp.tip':
  3379. '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/',
  3380. 'custom.regexp.example': 'Example: !/.+/',
  3381. 'about.tip': 'Ouvre le lien dans un nouvel onglet',
  3382. 'button.reset.text': 'Par défaut',
  3383. 'button.reset.tip': 'Rétablir les options de filtrage et les paramètres par défaut',
  3384. 'button.list.text': 'Les vérifications...',
  3385. 'button.list.tip': 'Montre une liste des vérifications possibles dans WME Validator',
  3386. 'button.wizard.tip': 'Créer un pack géographique',
  3387. 'button.back.text': 'Ret.',
  3388. 'button.back.tip': 'Fermer les paramètres et revenir à l\'ecran principal',
  3389. '1.solutionLink': 'W:Tout_sur_les_ronds-points',
  3390. '1.title': 'WME Toolbox: Rond-point pouvant causer des problèmes',
  3391. '1.problem': 'Les ID des segments du rond-point ne sont pas consécutif',
  3392. '1.solution': 'Refaire le rond-point',
  3393. '2.title': 'WME Toolbox: Simple segment (une voie)',
  3394. '2.problem': 'Ce segments a des nœuds de géométrie inutile',
  3395. '2.solution': 'Simplifier le tracé du segment sélectionné en survolant les nœuds en trop en appuyant sur le \'d\' du clavier',
  3396. '3.title': 'WME Toolbox: Verrouillage de niveau 2',
  3397. '3.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3398. '4.title': 'WME Toolbox: Verrouillage de niveau 3',
  3399. '4.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3400. '5.title': 'WME Toolbox: Verrouillage de niveau 4',
  3401. '5.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3402. '6.title': 'WME Toolbox: Verrouillage de niveau 5',
  3403. '6.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3404. '7.title': 'WME Toolbox: Verrouillage de niveau 6',
  3405. '7.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3406. '8.title': 'WME Toolbox: Numéros de maison',
  3407. '8.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3408. '9.title': 'WME Toolbox: Segment avec une restriction programmée',
  3409. '9.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3410. '13.title': 'WME Color Highlights: Verrouillage de l\'éditeur',
  3411. '13.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3412. '14.title': 'WME Color Highlights: Péage / Route à sens unique',
  3413. '14.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3414. '15.title': 'WME Color Highlights: Récemment modifié',
  3415. '15.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3416. '16.title': 'WME Color Highlights: Rang de la route',
  3417. '16.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3418. '17.title': 'WME Color Highlights: Pas de ville',
  3419. '17.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3420. '18.title': 'WME Color Highlights: Restriction programmée / Type de route mis en évidence',
  3421. '18.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3422. '19.title': 'WME Color Highlights: Pas de nom',
  3423. '19.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3424. '20.title': 'WME Color Highlights: Filtrer par ville',
  3425. '20.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3426. '21.title': 'WME Color Highlights: Filtrer par ville (ville alt.)',
  3427. '21.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3428. '22.title': 'WME Color Highlights: Filtrer par éditeur',
  3429. '22.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3430. '23.problemLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3431. '23.solutionLink': 'W:Nommage_France',
  3432. '23.title': 'Route non confirmée',
  3433. '23.problem': 'Création de segment incomplète ville et nom de rue non renseigné',
  3434. '23.solution': 'Terminer la création en complétant les propriétés',
  3435. '24.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3436. '24.solutionLink': 'F:t=29403',
  3437. '24.title': 'Nom de ville peut-être erroné (uniquement disponible dans le rapport)',
  3438. '24.problem': 'Le nom de la ville est peut-être incorrecte',
  3439. '24.solution': 'Comparer le nom avec celui proposé et éventuellement signaler le problème sur le forum',
  3440. '25.title': 'Direction inconnue de la route carrossable',
  3441. '25.problem': 'Un sens de circulation \'Inconnu\' n\'empêchera Waze de faire emprunter le segment',
  3442. '25.solution': 'Régler le sens de circulation du segment',
  3443. '27.enabled': true,
  3444. '27.title': 'Nom de ville sur une voie ferrée',
  3445. '27.problem': 'Un nom de ville sur les segment voie ferré provoque des incohérence des polygones Ville',
  3446. '27.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum ',
  3447. '28.problemLink': 'W:Guide_des_intersections#Noms_3',
  3448. '28.title': 'Nom de rue sur une rampe',
  3449. '28.problem': 'Une rampe sans nom \'hérite\' du nom du segment suivant',
  3450. '28.solution': 'Régler le nom du segment à \'Sans\'',
  3451. '29.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3452. '29.solutionLink': 'W:Tout_sur_les_ronds-points',
  3453. '29.title': 'Nom de rue sur rond-point',
  3454. '29.problem': 'Dans Waze pas de nom de rue sur les rond-point',
  3455. '29.solution': 'Régler le nom des segment du RP à \'Sans\' et créer un POI Jonction/ échangeur avec le nom du RP',
  3456. '34.title': 'Nom de rue alternatif vide',
  3457. '34.problem': 'Le nom de rue alternatif vide',
  3458. '34.solution': 'Supprimer le nom alternatif',
  3459. '35.title': 'Route carrossable non terminé',
  3460. '35.problem': 'Waze ne propose pas de guidage vers/dans les segment non terminés',
  3461. '35.solution': 'Déplacer légèrement l\'extrémité libre du segment pour afin que le nœuds de terminaison soit ajouté',
  3462. '36.title': 'Noeud A: inutil (mode lent)',
  3463. '36.problem': 'Les segments de part et d\'autres du nœud A ont les mêmes propriétés',
  3464. '36.solution': 'Sélectionner le nœud A et appuyer sur Suppr pour fusionner les 2 segments',
  3465. '37.title': 'Noeud B: inutil (mode lent)',
  3466. '37.problem': 'Les segments de part et d\'autres du nœud B ont les mêmes propriétés',
  3467. '37.solution': 'Sélectionner le nœud B et appuyer sur Suppr pour fusionner les 2 segments',
  3468. '38.problemLink': 'W:Les_fermetures_programmées#Segments',
  3469. '38.title': 'Fermetures programmées périmées (mode lent)',
  3470. '38.problem': 'Il y a des fermetures programmées périmées sur ce segment',
  3471. '38.solution': 'Cliquer \'Modifier les restrictions\' et supprimer les restrictions périmées',
  3472. '39.problemLink': 'W:Les_fermetures_programmées#Restriction_de_tourner',
  3473. '39.title': 'Restrictions de tourner périmés (mode lent)',
  3474. '39.problem': 'Il y a des restrictions de tourner périmées sur ce nœud de jonction',
  3475. '39.solution': 'Cliquer l\'icône horloge accolée à la flèche jaune et supprimer les restrictions périmées',
  3476. '41.title': 'Noeud A: Autorisation en sens interdit',
  3477. '41.problem': 'Au nœud A il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3478. '41.solution': 'Passer le segment à double sens, corriger la flèche au nœud A puis repasser en sens unique',
  3479. '42.title': 'Noeud B: Autorisation en sens interdit',
  3480. '42.problem': 'Au nœud B il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3481. '42.solution': 'Passer le segment à double sens, corriger la flèche au nœud B puis repasser en sens unique',
  3482. '43.title': 'Connecté à lui-même',
  3483. '43.problem': 'Le segment est connecté à lui même',
  3484. '43.solution': 'Couper le segment en deux',
  3485. '44.title': 'Pas ne connexion sortante',
  3486. '44.problem': 'Le segment carrossable n\'a pas de connexion sortante',
  3487. '44.solution': 'Activer au moins une connexion sortante = une flèche verte',
  3488. '45.title': 'Pas de connexion entrante',
  3489. '45.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante',
  3490. '45.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte)',
  3491. '46.title': 'Noeud A: Pas de connexion entrante pour le segment (mode lent)',
  3492. '46.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud A',
  3493. '46.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud A',
  3494. '47.title': 'Noeud B: Pas de connexion entrante pour le segment (mode lent)',
  3495. '47.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud B',
  3496. '47.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud B',
  3497. '48.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3498. '48.title': 'Segment de rond-point à double sens',
  3499. '48.problem': 'Segment de rond-point à double sens de circulation',
  3500. '48.solution': 'Refaire le rond-point',
  3501. '50.solutionLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3502. '50.title': 'Pas de connectivité sur le rond-point (mode lent)',
  3503. '50.problem': 'Le segment du rond-point n\'a pas de connectivité avec le segment adjacent',
  3504. '50.solution': 'Autoriser un virage vers le segment adjacent = Corriger la flèche rouge',
  3505. '57.enabled': true,
  3506. '57.title': 'Nom de ville sur une rampe',
  3507. '57.problem': 'Un Nom de ville sur une rampe peu affecter la recherche dans Waze',
  3508. '57.solution': 'Cocher la case \'Sans\' pour ville',
  3509. '59.enabled': true,
  3510. '59.title': 'Nom de ville sur Freeway',
  3511. '59.problem': 'Un nom de ville sur les segment Freeway provoque des incohérence des polygones Ville',
  3512. '59.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum',
  3513. '74.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3514. '74.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3515. '74.title': 'Noeud A: Plusieurs segments connectés',
  3516. '74.problem': 'La jonction A du rond-point est connectée à plusieurs segments',
  3517. '74.solution': 'Refaire le rond-point',
  3518. '77.title': 'Demi-tour autorisé',
  3519. '77.problem': 'L\'impasse carrossable à un demi-tour autorisé à son extrémité',
  3520. '77.solution': 'Éventuellement Interdire le demi-tour',
  3521. '78.title': 'Mêmes extrémités des segments carrossables (mode lent)',
  3522. '78.problem': 'Deux segments carrossables partagent les deux mêmes extrémités',
  3523. '78.solution': 'Diviser le segment. Vous pouvez également supprimer l\'un des segments si ils sont identiques',
  3524. '79.title': 'Demi-tour trop court (mode lent)',
  3525. '79.problem': 'Le segment fait moins de 15m si nécessaire Waze ne proposera pas de demi-tour',
  3526. '79.solution': 'Agrandisseur le segment à 15m mini (si le demi-tour est autorisé)',
  3527. '87.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3528. '87.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3529. '87.title': 'Noeud A: Plusieurs sorties au rond-point',
  3530. '87.problem': 'La jonction A du rond-point est connectée à plusieurs segments sortant',
  3531. '87.solution': 'Refaire le rond-point',
  3532. '99.title': 'Demi-tour à l\'entrée du rond-point (mode lent)',
  3533. '99.problem': 'Le segment d\'entrée du rond-point à un demi-tour autorisé',
  3534. '99.solution': 'Désactiver le demi-tour',
  3535. '101.title': 'Route fermée (seulement disponible dans le rapport)',
  3536. '101.problem': 'Le segment est marqué comme étant fermé',
  3537. '101.solution': 'Si la construction est terminée, restaurez la connectivité du segment et supprimez le suffixe',
  3538. '101.params': {'regexp': '/(^|\\b)travaux(\\b|$)/i'},
  3539. '102.title': 'Noeud A: Pas de connexion sortante (mode lent)',
  3540. '102.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud A',
  3541. '102.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud A',
  3542. '103.title': 'Noeud B: Pas de connexion sortante (mode lent)',
  3543. '103.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud B',
  3544. '103.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud B',
  3545. '104.title': 'Voie ferré utilisée pour des commentaires',
  3546. '104.problem': 'Le segment de voie ferré est probablement utilisé pour mettre un commentaire',
  3547. '104.solution': 'Supprimez le commentaire car les voies ferrée sont affichées pour le client',
  3548. '107.title': 'Noeud A: Pas de connexion (mode lent)',
  3549. '107.problem': 'Le noeud A du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3550. '107.solution': 'Connectez le noeud A à un segment à proximité ou le déplacer un peu plus loin',
  3551. '108.title': 'Noeud B: pas de connexion (mode lent)',
  3552. '108.problem': 'Le noeud B du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3553. '108.solution': 'Connectez le noeud B à un segment à proximité ou le déplacer un peu plus loin',
  3554. '109.title': 'Segment trop court',
  3555. '109.problem': 'Le segment carrossables non-terminal est de moins de 2m de long, il est difficile de le voir sur la carte',
  3556. '109.solution': 'Augmentez sa taille, supprimez le ou connectez le à un segment adjacent',
  3557. '112.title': 'Plus de ${n} lettres en trop pour le nom de la rampe',
  3558. '112.problem': 'Le nom de la rampe est trop long',
  3559. '112.solution': 'Renommez de façon plus courte le nom de la rampe',
  3560. '114.title': 'Noeud A: non carrossable connecté à un carrossable (mode lent)',
  3561. '114.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud A',
  3562. '114.solution': 'Déconnectez le noeud A de tous les segments carrossables',
  3563. '115.title': 'Noeud B: non carrossable connecté à un carrossable (mode lent)',
  3564. '115.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud B',
  3565. '115.solution': 'Déconnectez le noeud B de tous les segments carrossables',
  3566. '116.title': 'Élévation hors de portée',
  3567. '116.problem': 'L\'élévation est en dehors des limites habituelle',
  3568. '116.solution': 'Corrigez l\'élévation',
  3569. '117.title': 'Obsolete CONST ZN marker',
  3570. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  3571. '117.solution': 'Change CONST ZN to (closed)',
  3572. '118.title': 'Noeud A: Chevauchement des segments (mode lent)',
  3573. '118.problem': 'Le segment se chevauche avec le segment adjacent au noeud A',
  3574. '118.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud A',
  3575. '119.title': 'Noeud B: Chevauchement des segments (mode lent)',
  3576. '119.problem': 'Le segment se chevauche avec le segment adjacent au noeud B',
  3577. '119.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud B',
  3578. '120.title': 'Noeud A: Virage trop fort (mode lent)',
  3579. '120.problem': 'Le segment carrossable a un virage très fort au noeud A',
  3580. '120.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3581. '121.title': 'Noeud B: Virage trop fort (mode lent)',
  3582. '121.problem': 'Le segment carrossable a un virage très fort au noeud B',
  3583. '121.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3584. '128.title': 'Vérification personnalisée définie par l\'utilisateur (vert)',
  3585. '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)',
  3586. '128.solution': 'Résoudre le problème',
  3587. '129.title': 'Vérification personnalisée définie par l\'utilisateur (bleu)',
  3588. '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)',
  3589. '129.solution': 'Résoudre le problème',
  3590. '163.enabled': true,
  3591. '163.title': '\'Vers\' dans le nom de la rue',
  3592. '163.problem': 'Nom de rue contenant \'vers\'',
  3593. '163.solution': 'Renommer le segment selon les règles du wiki ou signaler sur le forum',
  3594. '163.solutionLink': 'W:Nommage_France#Nommage_des_entr.C3.A9es.2C_sorties_et_des_embranchements_d.27autoroutes',
  3595. '163.params': {
  3596. 'titleEN': '\'Vers\' in Ramp name',
  3597. 'problemEN': 'The Ramp name contains word \'vers\'',
  3598. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  3599. 'regexp': '/(^|\\b)vers\\b/i'
  3600. },
  3601. '170.enabled': true,
  3602. '170.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3603. '170.title': 'Majuscule dans le nom de rue',
  3604. '170.problem': 'Le nom de la rue commence par une miniscule',
  3605. '170.solution': 'Passer la première lettre en majuscule',
  3606. '171.enabled': true,
  3607. '171.title': 'Abréviation dans le nom de rue',
  3608. '171.problem': 'Abréviation indésirable dans le nom de rue',
  3609. '171.solution': 'Écrire le mot abréger en toute lettre',
  3610. '171.params': {
  3611. 'regexp':
  3612. '/((^| )([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)\\.)[^ ]+\\.)/'
  3613. },
  3614. '172.title': 'Nom de rue avec des espaces inutiles',
  3615. '172.problem': 'Double espace dans le nom de rue',
  3616. '172.problemLink': 'W:Comment_nommer_les_routes_et_les_villes',
  3617. '172.solution': 'Supprimer les espaces inutiles',
  3618. '173.enabled': false,
  3619. '173.title': 'Nom de rue sans espace avant ou après une abrévation',
  3620. '173.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jan\') une abrévation dans le nom de rue',
  3621. '173.solution': 'Ajouter un espace avant/après l\'abrévation',
  3622. '174.enabled': true,
  3623. '174.title': 'Mauvais orthographe',
  3624. '174.problem': 'Mauvais orthographe qui provoque une mauvaise prononciation',
  3625. '174.solution': 'Corriger l\'orthographe (É = Alt-144 etc)',
  3626. '174.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3627. '174.params': {
  3628. 'regexp':
  3629. '/(^|\\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'
  3630. },
  3631. '175.title': 'Nom de rue avec uniquement des espaces',
  3632. '175.problem': 'Le nom de la rue n\'a que des espaces',
  3633. '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é',
  3634. '190.title': 'Minuscule dans le nom de ville',
  3635. '190.problem': 'Le nom de ville commence avec une lettre en majuscule',
  3636. '190.solution': 'Utilisé ce formulaire pour renommer la ville',
  3637. '192.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3638. '192.solutionLink': 'F:t=29403',
  3639. '192.title': 'Nom de ville avec des espaces inutiles',
  3640. '192.problem': 'Double espace dans le nom de ville',
  3641. '192.solution': 'Utiliser le formulaire suivant pour faire une demande de modification',
  3642. '193.enabled': false,
  3643. '193.title': 'Nom de bille sans espace avant ou après une abrévation',
  3644. '193.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jana\') une abrévation dans le nom de rue',
  3645. '193.solution': 'Utiliser ce formulaire pour renommer la ville',
  3646. '200.problemLink': 'W:Soft_et_hard_turns',
  3647. '200.solutionLink': 'W:Soft_et_hard_turns#Bonnes_pratiques',
  3648. '200.title': 'Noeud A: Autorisation de tourner non confirmée',
  3649. '200.problem': 'Le segment carrossable à une autorisation de tourner non confirmée au noeud A',
  3650. '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'
  3651. },
  3652. 'ES': {
  3653. '.codeISO': 'ES',
  3654. '.country': [
  3655. 'Spain', 'Andorra', 'Bolivia', 'Costa Rica', 'Colombia', 'Cuba', 'Dominican Republic', 'Ecuador', 'Equatorial Guinea', 'Guatemala', 'Honduras', 'Nicaragua', 'Panama', 'Peru', 'Paraguay',
  3656. 'El Salvador', 'Uruguay', 'Venezuela'
  3657. ],
  3658. '.author': 'robindlc and fernandoanguita',
  3659. '.updated': '2014-08-30',
  3660. '.lng': ['ES', 'ES-419', 'GL'],
  3661. 'city.consider': 'considerar este nombre de ciudad:',
  3662. 'city.1': 'nombre de ciudad demasiado corto',
  3663. 'city.2': 'expandir la abreviación',
  3664. 'city.3': 'completar nombre corto',
  3665. 'city.4': 'completar nombre de ciudad',
  3666. 'city.5': 'corregir mayúsculas',
  3667. 'city.6': 'comprobar orden de palabras',
  3668. 'city.7': 'comprobar abreviaciones',
  3669. 'city.8a': 'añadir nombre de país',
  3670. 'city.8r': 'eliminar nombre de país',
  3671. 'city.9': 'comprobar nombre de país',
  3672. 'city.10a': 'añadir palabra',
  3673. 'city.10r': 'eliminar palabra',
  3674. 'city.11': 'añadir código de país',
  3675. 'city.12': 'nombres idénticos, pero ciudades con diferentes IDs',
  3676. 'city.13a': 'añadir espacio',
  3677. 'city.13r': 'eliminar espacio',
  3678. 'city.14': 'revisar el número',
  3679. 'props.skipped.title': 'El segmento no está revisado',
  3680. '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ó',
  3681. 'err.regexp': 'Error al analizar la opción de revisión #${n}:',
  3682. 'props.disabled': 'WME Validator deshabilitado',
  3683. 'props.limit.title': 'Demasiados problemas notificados',
  3684. 'props.limit.problem': 'Hay demasiados problemas notificados, puede que no se muestren todos',
  3685. 'props.limit.solution': 'Deselecciona el segmento y detiene el proceso de escaneo. Luego pincha el botón con la \'✘\' roja (Limpiar Reporte)',
  3686. 'props.reports': 'informes',
  3687. 'props.noneditable': 'No puedes editar este segmento',
  3688. 'report.save': 'Guardar este informe',
  3689. 'report.list.andUp': 'y subiendo',
  3690. 'report.list.severity': 'Severidad:',
  3691. 'report.list.reportOnly': 'sólo en el informe',
  3692. 'report.list.forEditors': 'Para editores nivel:',
  3693. 'report.list.forCountries': 'Para paises:',
  3694. 'report.list.forStates': 'Para estados:',
  3695. 'report.list.forCities': 'Para ciudades:',
  3696. 'report.list.params': 'Parámetros para configurar en el paquete de localización:',
  3697. 'report.list.params.set': 'Parámetros ajustados en el paquete de localización:',
  3698. 'report.list.enabled': '${n} revisiones están habilitadas para',
  3699. 'report.list.disabled': '${n} revisiones están deshabilitadas para',
  3700. 'report.list.total': 'Hay ${n} revisiones disponibles',
  3701. 'report.list.title': 'Lista Completa de Revisiones para',
  3702. 'report.list.see': 'Ver',
  3703. 'report.list.checks': 'Configuración>Acerca>Revisiones disponibles',
  3704. 'report.list.fallback': 'Reglas de Localización de respaldo:',
  3705. 'report.and': 'y',
  3706. 'report.segments': 'Número total de segmentos revisados:',
  3707. 'report.customs': 'Revisiones personalizadas combinadas (verde/azul):',
  3708. 'report.reported': 'Reportados',
  3709. 'report.errors': 'errores',
  3710. 'report.warnings': 'advertencias',
  3711. 'report.notes': 'notas',
  3712. 'report.contents': 'Contenidos:',
  3713. 'report.summary': 'Resumen',
  3714. 'report.title': 'Informe de WME Validator',
  3715. 'report.share': 'para Compartir',
  3716. 'report.generated.by': 'generado por',
  3717. 'report.generated.on': 'activo',
  3718. 'report.source': 'Fuente del informe:',
  3719. 'report.filter.duplicate': 'segmentos duplicados',
  3720. 'report.filter.streets': 'Calles y Calles de Servicio',
  3721. 'report.filter.other': 'Otros conducibles y no conducibles',
  3722. 'report.filter.noneditable': 'segmentos no-editables',
  3723. 'report.filter.notes': 'notas',
  3724. 'report.filter.title': 'Filtro:',
  3725. 'report.filter.excluded': 'están excluidos de este informe.',
  3726. 'report.search.updated.by': 'actualizado por',
  3727. 'report.search.updated.since': 'actualizado desde',
  3728. 'report.search.city': 'desde',
  3729. 'report.search.reported': 'reportado como',
  3730. 'report.search.title': 'Búsqueda:',
  3731. 'report.search.only': 'sólo segmentos',
  3732. 'report.search.included': 'están incluídos en el informe.',
  3733. 'report.beta.warning': '¡Advertencia WME Beta!',
  3734. 'report.beta.text': 'Este informe se genera en WME Beta con permalinks beta.',
  3735. 'report.beta.share': 'Por favor no comparta estos permalinks!',
  3736. 'report.size.warning':
  3737. '<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.',
  3738. 'report.note.limit': '* Nota: había demasiados problemas reportados, por lo que algunos de ellos no se incluyen en el resumen.',
  3739. 'report.forum': 'Para motivar futuros desarrollos, por favor deje su mensaje en el',
  3740. 'report.thanks': 'Gracias por usar WME Validator!',
  3741. 'msg.limit.segments': 'Hay demasiados segmentos.\n\nPincha \'Mostrar informe\' para revisar el informe, luego\n',
  3742. 'msg.limit.segments.continue': 'pincha \'▶\' para continuar.',
  3743. 'msg.limit.segments.clear': 'pulsa \'✘\' para borrar el informe.',
  3744. 'msg.pan.text': 'Desplaza el mapa para validarlo',
  3745. 'msg.zoomout.text': 'Aleja el zoom\tpara iniciar WME Validator',
  3746. 'msg.click.text': 'Pincha \'▶\' para validar el área visible del mapa',
  3747. 'msg.autopaused': 'autopausado',
  3748. 'msg.autopaused.text': '¡Autopausado! Pincha \'▶\' para continuar.',
  3749. 'msg.autopaused.tip': 'WME Validator automáticamente pausó al arrastrar el mapa o cambiar el tamaño de la ventana',
  3750. 'msg.finished.text': 'Pincha <b>\'Mostrar informe\'</b> para ver los problemas del mapa',
  3751. 'msg.finished.tip': 'Pincha el botón \'✉\' (Compartir) para publicar el informe en un \nforo o en un mensaje privado',
  3752. 'msg.noissues.text': '¡Terminado! ¡No se encontraron problemas!',
  3753. 'msg.noissues.tip': '¡Trata de deseleccionar algunas opciones de filtro o inicia WME Validator sobre otra zona del mapa!',
  3754. 'msg.scanning.text': '¡Escaneando! Finalizando en ~ ${n} minutos',
  3755. 'msg.scanning.text.soon': '¡Escaneando! ¡Finalizando en un minuto!',
  3756. 'msg.scanning.tip': 'Pincha el botón \'Pausa\' para pausar o \'■\' para detener',
  3757. 'msg.starting.text': '¡Comenzando! ¡Las capas están desactivadas para escanear más rápido!',
  3758. 'msg.starting.tip': 'Usa el botón \'Pausa\' para pausar o el botón \'■\' para detener',
  3759. 'msg.paused.text': '¡En pausa! Pincha el botón \'▶\' para continuar.',
  3760. 'msg.paused.tip': 'Para ver el informe pincha el botón \'Mostrar informe\' (si está disponible)',
  3761. 'msg.continuing.text': '¡Continuando!',
  3762. 'msg.continuing.tip': 'WME Validator continuará desde la ubicación en que fue pausado',
  3763. 'msg.settings.text': 'Pincha <b>\'Atrás\'</b> para retornar a la vista principal',
  3764. 'msg.settings.tip': 'Pincha el botón \'Restaurar valores predeterminados\' para resetear todos los parámetros en un clic!',
  3765. 'msg.reset.text': 'Todas las opciones de filtro y configuración han sido reseteadas a sus valores por defecto',
  3766. 'msg.reset.tip': 'Pincha el botón \'Atrás\' para retornar a la vista principal',
  3767. 'msg.textarea.pack': 'Por favor copia el texto abajo y luego pégalo en el nuevo archivo <b>.user.js</b>',
  3768. 'msg.textarea': 'Por favor copia el texto abajo y luego pégalo en tu publicación del foro o mensaje privado',
  3769. 'noaccess.text':
  3770. '<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.',
  3771. 'noaccess.tip': 'Por favor revisa el hilo del foro para más información!',
  3772. 'tab.switch.tip.on': 'Pincha para activar el resaltado',
  3773. 'tab.switch.tip.off': 'Pincha para desactivar el resaltado',
  3774. 'tab.filter.text': 'filtro',
  3775. 'tab.filter.tip': 'Opciones para filtrar el informe y los segmentos resaltados',
  3776. 'tab.search.text': 'buscar',
  3777. 'tab.search.tip': 'Opciones de filtro avanzadas para incluir sólo segmentos específicos',
  3778. 'tab.help.text': 'ayuda',
  3779. 'tab.help.tip': '¿Necesitas ayuda?',
  3780. 'filter.noneditables.text': 'Excluir segmentos <b>no-editables</b>',
  3781. 'filter.noneditables.tip': 'No reportar segmentos bloqueados o \nsegmentos fuera de su área de edición',
  3782. 'filter.duplicates.text': 'Excluir segmentos <b>duplicados</b>',
  3783. 'filter.duplicates.tip': 'No mostrar el mismo segmento en diferentes \npartes del reporte\n* Nota: esta opción NO AFECTA el resaltado',
  3784. 'filter.streets.text': 'Excluir <b>Calles y Vías de Servicio</b>',
  3785. 'filter.streets.tip': 'No reportar Calles y Vías de Servicio',
  3786. 'filter.other.text': 'Excluir <b>otros conducibles y no-conducibles</b>',
  3787. 'filter.other.tip': 'No reportar Caminos de Tierra, Vías de Estacionamiento y Caminos Privados\ny no-conducibles',
  3788. 'filter.notes.text': 'Excluir <b>notas</b>',
  3789. 'filter.notes.tip': 'Reportar sólo advertencias y errores',
  3790. 'search.youredits.text': 'Incluir <b>sólo tus ediciones</b>',
  3791. 'search.youredits.tip': 'Incluir sólo los segmentos editados por ti',
  3792. 'search.updatedby.text': '<b>Actualizado por:</b>',
  3793. 'search.updatedby.tip':
  3794. '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',
  3795. 'search.updatedby.example': 'Ejemplo: me',
  3796. 'search.updatedsince.text': '<b>Actualizado desde:</b>',
  3797. 'search.updatedsince.tip': 'Incluir sólo segmentos editados desde la fecha especificada formato de fecha\nFirefox: AAAA-MM-DD',
  3798. 'search.updatedsince.example': 'AAAA-MM-DD',
  3799. 'search.city.text': '<b>Nombre de ciudad:</b>',
  3800. '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, *',
  3801. 'search.city.example': 'Ejemplo: !Paris, *',
  3802. 'search.checks.text': '<b>Reportado como:</b>',
  3803. 'search.checks.tip':
  3804. '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*, *',
  3805. 'search.checks.example': 'Ejemplo: inverso*',
  3806. 'help.text':
  3807. ' <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>',
  3808. 'help.tip': 'Abrir en una nueva pestaña del explorador',
  3809. 'button.scan.tip': 'Comenzar escaneo del área del mapa actual \n* Nota: esto puede tomar unos minutos',
  3810. 'button.scan.tip.NA': 'Aleja el zoom para comenzar a escanear el área del mapa actual',
  3811. 'button.pause.tip': 'Pausar escaneo',
  3812. 'button.continue.tip': 'Continuar escaneando el área del mapa',
  3813. 'button.stop.tip': 'Detener el escaneo y volver a la posición de inicio',
  3814. 'button.clear.tip': 'Borrar informe y caché de segmentos',
  3815. '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.',
  3816. 'button.report.text': 'Mostrar informe',
  3817. 'button.report.tip': 'Aplicar el filtro y generar informe HTML en una nueva pestaña',
  3818. 'button.BBreport.tip': 'Compartir el informe en el foro Waze o en un mensaje privado',
  3819. 'button.settings.tip': 'Configurar ajustes',
  3820. 'tab.custom.text': 'personalizado',
  3821. 'tab.custom.tip': 'Ajustes de revisión personalizados definidos por el usuario',
  3822. 'tab.settings.text': 'Ajustes',
  3823. 'tab.scanner.text': 'escanear',
  3824. 'tab.scanner.tip': 'Ajustes de escaneo de mapa',
  3825. 'tab.about.text': 'acerca de</span>',
  3826. 'tab.about.tip': 'Acerca de WME Validator',
  3827. 'scanner.sounds.text': 'Habilitar sonidos',
  3828. 'scanner.sounds.tip': 'Pitidos y sonidos mientras escanea',
  3829. 'scanner.sounds.NA': 'Su navegador no admite AudioContext',
  3830. 'scanner.highlight.text': 'Resalta problemas en el mapa',
  3831. 'scanner.highlight.tip': 'Resalta problemas reportados en el mapa',
  3832. 'scanner.slow.text': 'Activa \'slow\' verificaciones',
  3833. 'scanner.slow.tip': 'Activa análisis profundo del mapa\n* Nota: esta opción puede ralentizar el proceso de escaneo',
  3834. 'scanner.ext.text': 'Informa de resaltados externos',
  3835. 'scanner.ext.tip': 'Informa de segmentos resaltados por WME Toolbox o WME Color Highlights',
  3836. 'custom.template.text': 'Plantilla personalizada',
  3837. 'custom.template.tip':
  3838. '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}',
  3839. 'custom.template.example': 'Ejemplo: ${street}',
  3840. 'custom.regexp.text': 'Personalizado <a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a>',
  3841. 'custom.regexp.tip':
  3842. '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/',
  3843. 'custom.regexp.example': 'Ejemplo: !/.+/',
  3844. 'about.tip': 'Pincha \'actualizar\' para abrir el hilo del foro en una pestaña nueva',
  3845. 'button.reset.text': 'Restablecer predeterminados',
  3846. 'button.reset.tip': 'Revertir opciones de filtro y ajustes a sus valores predeterminados',
  3847. 'button.list.text': 'Comprobaciones disponibles...',
  3848. 'button.list.tip': 'Muestra una lista de las comprobaciones disponibles en WME Validator',
  3849. 'button.wizard.tip': 'Crear paquete de localización',
  3850. 'button.back.text': 'Atrás',
  3851. 'button.back.tip': 'Cerrar configuración y volver a la vista principal',
  3852. '1.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3853. '1.title': 'WME Toolbox: Rotonda que puede causar problemas',
  3854. '1.problem': 'Los números de identificación de los puntos de unión de los segmentos de la rotonda no son consecutivos',
  3855. '1.solution': 'Rehacer la rotonda',
  3856. '2.title': 'WME Toolbox: Segmento Simple',
  3857. '2.problem': 'El segmento tiene nodos de geometría innecesarios',
  3858. '2.solution': 'Simplifica la geometría del segmento pasando el puntero del ratón por encima y pulsando la tecla \'d\'',
  3859. '3.title': 'WME Toolbox: Bloqueo nivel 2',
  3860. '3.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3861. '4.title': 'WME Toolbox: Bloqueo nivel 3',
  3862. '4.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3863. '5.title': 'WME Toolbox: Bloqueo nivel 4',
  3864. '5.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3865. '6.title': 'WME Toolbox: Bloqueo nivel 5',
  3866. '6.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3867. '7.title': 'WME Toolbox: Bloqueo nivel 6',
  3868. '7.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3869. '8.title': 'WME Toolbox: Numeros de casas',
  3870. '8.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3871. '9.title': 'WME Toolbox: Segmento con restricciones de tiempo',
  3872. '9.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3873. '13.title': 'WME Colour Highlights: Bloqueo de editor',
  3874. '13.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3875. '14.title': 'WME Colour Highlights: Peaje / Vía de sentido único',
  3876. '14.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3877. '15.title': 'WME Colour Highlights: Editado recientemente',
  3878. '15.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3879. '16.title': 'WME Colour Highlights: Rango de vías',
  3880. '16.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3881. '17.title': 'WME Colour Highlights: Sin ciudad',
  3882. '17.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3883. '18.title': 'WME Colour Highlights: Restricción horaria / Tipo de vía resaltado',
  3884. '18.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3885. '19.title': 'WME Colour Highlights: Sin nombre',
  3886. '19.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3887. '20.title': 'WME Colour Highlights: Filtro por ciudad',
  3888. '20.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3889. '21.title': 'WME Colour Highlights: Filtro por ciudad (alt. ciudad)',
  3890. '21.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3891. '22.title': 'WME Colour Highlights: Filtro por editor',
  3892. '22.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3893. '23.title': 'Segmento no confirmado',
  3894. '23.problem': 'Cada segmento debe tener al menos el nombre del país o estado',
  3895. '23.solution': 'Confirma la vía actualizando sus detalles',
  3896. '24.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3897. '24.title': 'Puede haber nombre incorrecto de ciudad (sólo disponible en el informe)',
  3898. '24.problem': 'El segmento puede tener un nombre de ciudad incorrecto',
  3899. '24.solution': 'Considera el nombre de ciudad sugerido y use este formulario para renombrar la ciudad',
  3900. '25.title': 'Dirección del segmento marcada como desconocida',
  3901. '25.problem': 'La dirección del segmento \'Desconocida\' no impedirá enrutar por la vía',
  3902. '25.solution': 'Fijar la dirección de la vía',
  3903. '27.enabled': true,
  3904. '27.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3905. '27.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3906. '27.title': 'Nombre de ciudad en vía férrea',
  3907. '27.problem': 'Poner nombres de ciudad en la vía férrea puede generar ciudades manchadas',
  3908. '27.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3909. '28.problemLink': 'W:Puntos_de_Unión._Guía_de_estilo#Bifurcaciones_de_rampas',
  3910. '28.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3911. '28.title': 'Nombre de calle en una rampa bidireccional',
  3912. '28.problem': 'Si la rampa no tiene nombre, el nombre del segmento siguiente se propagará hacia atrás',
  3913. '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\'',
  3914. '29.problemLink': 'W:Crear_y_editar_rotondas#Creaci.C3.B3n_de_una_rotonda_a_partir_de_una_intersecci.C3.B3n',
  3915. '29.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3916. '29.title': 'Nombre de calle en rotonda',
  3917. '29.problem': 'En Waze, no nombramos los segmentos de las rotondas',
  3918. '29.solution':
  3919. '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',
  3920. '34.title': 'Nombre de calle alternativo vacío',
  3921. '34.problem': 'El nombre de calle alternativo está vacío',
  3922. '34.solution': 'Borrar el nombre alternativo de calle vacío',
  3923. '35.title': 'Segmento de vía sin terminar',
  3924. '35.problem': 'Waze no enrutará desde un segmento sin terminar',
  3925. '35.solution': 'Mover un poco el segmento para que el extremo sin terminar sea añadido automáticamente al punto de unión',
  3926. '36.title': 'Punto de unión A innecesario (slow)',
  3927. '36.problem': 'Los segmentos adyacentes al punto de unión A son idénticos',
  3928. '36.solution': 'Selecciona el punto de unión A y pulsa la tecla borrar para unir los dos segmentos',
  3929. '37.title': 'Punto de unión B innecesario (slow)',
  3930. '37.problem': 'Los segmentos adyacentes al punto de unión B son idénticos',
  3931. '37.solution': 'Selecciona el punto de unión B y pulsa la tecla borrar para unir los dos segmentos',
  3932. '38.problemLink': 'W:Restricciones_horarias#En_segmentos',
  3933. '38.title': 'Restricción de segmento caducada (slow)',
  3934. '38.problem': 'El segmento tiene una restricción caducada',
  3935. '38.solution': 'Hacer clic en \'Editar restricciones\' y borrar la restricción caducada',
  3936. '39.problemLink': 'W:Restricciones_horarias#En_giros',
  3937. '39.title': 'Restricción de giro caducada (slow)',
  3938. '39.problem': 'El segmento tiene un giro con una restricción caducada',
  3939. '39.solution': 'Hacer clic en el icono de reloj cerca de la flecha amarilla y borrar la restricción caducada',
  3940. '41.title': 'Conectividad inversa en punto de unión A del segmento',
  3941. '41.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión A del segmento',
  3942. '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',
  3943. '42.title': 'Conectividad inversa en punto de unión B del segmento',
  3944. '42.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión B del segmento',
  3945. '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',
  3946. '43.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  3947. '43.title': 'Auto conectividad',
  3948. '43.problem': 'El segmento está conectado a si mismo',
  3949. '43.solution': 'Divide el segmento en TRES partes',
  3950. '44.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3951. '44.title': 'Sin conexión de salida',
  3952. '44.problem': 'El segmento no tiene ningún giro de salida permitido',
  3953. '44.solution': 'Activa al menos un giro de salida desde el segmento',
  3954. '45.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3955. '45.title': 'Sin conexión de entrada',
  3956. '45.problem': 'El segmento no privado no tiene ningún giro de entrada permitido',
  3957. '45.solution': 'Selecciona un segmento adyacente y activa por lo menos un giro hacia el segmento',
  3958. '46.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3959. '46.title': 'Sin entrada en A (slow)',
  3960. '46.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión A',
  3961. '46.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión A',
  3962. '47.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3963. '47.title': 'Sin entrada en B (slow)',
  3964. '47.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión B',
  3965. '47.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión B',
  3966. '48.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3967. '48.title': 'Segmento de rotonda bidireccional',
  3968. '48.problem': 'El segmento de rotonda es bidireccional',
  3969. '48.solution': 'Rehacer la rotonda',
  3970. '50.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3971. '50.title': 'No hay conectividad en la rotonda (slow)',
  3972. '50.problem': 'El segmento de la rotonda no tiene conectividad con el segmento de rotonda siguiente',
  3973. '50.solution': 'Permitir un giro al segmento adyacente o rehacer la rotonda',
  3974. '57.enabled': true,
  3975. '57.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3976. '57.title': 'Nombre de ciudad en rampa con nombre',
  3977. '57.problem': 'Poner el nombre de ciudad en las rampas puede afectar a los resultados de búsqueda',
  3978. '57.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3979. '59.enabled': true,
  3980. '59.problemLink': 'W:Corrigiendo_ciudades_\'manchadas\'',
  3981. '59.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3982. '59.title': 'Nombre de Ciudad en Autopista',
  3983. '59.problem': 'Poner nombres de ciudad en la Autopista puede generar ciudades manchadas',
  3984. '59.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3985. '73.enabled': true,
  3986. '73.title': 'Menos de 3 caracteres de longitud en el nombre de la calle',
  3987. '73.problem': 'El nombre de la calle tiene una longitud de menos de 3 caracteres',
  3988. '73.solution': 'Corrige el nombre de la calle',
  3989. '74.problemLink': 'W:Crear_y_editar_rotondas',
  3990. '74.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3991. '74.title': 'Varios segmentos en el punto de unión A de la rotonda',
  3992. '74.problem': 'La rotonda tiene en el punto de unión A más de un segmento conectado',
  3993. '74.solution': 'Rehacer la rotonda',
  3994. '77.title': 'Calle sin salida con giro en U',
  3995. '77.problem': 'La calle sin salida tiene un giro en U habilitado',
  3996. '77.solution': 'Deshabilitar el giro en U',
  3997. '78.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  3998. '78.title': 'Segmentos con los mismos puntos de inicio y final (slow)',
  3999. '78.problem': 'Dos segmentos comparten los puntos de inicio y final',
  4000. '78.solution': 'Divide el segmento. También puedes borrar uno de los segmentos si son idénticos',
  4001. '79.title': 'Conector para giros en U demasiado corto (slow)',
  4002. '79.problem': 'La longitud del segmento es menor de 15 metros por lo que el giro en U no es posible',
  4003. '79.solution': 'Aumente la longitud del segmento',
  4004. '87.problemLink': 'W:Crear_y_editar_rotondas',
  4005. '87.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  4006. '87.title': 'Más de un segmento de salida en el punto de unión A de la rotonda',
  4007. '87.problem': 'La rotonda tiene en el punto de unión A más de un segmento de salida conectado',
  4008. '87.solution': 'Rehacer la rotonda',
  4009. '90.enabled': true,
  4010. '90.title': 'Segmento de Autopista bidireccional',
  4011. '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',
  4012. '90.solution': 'Revisar dirección de Autopista',
  4013. '99.title': 'Giro en U en la entrada de rotonda (slow)',
  4014. '99.problem': 'El segmento de entrada a la rotonda tiene un giro en U habilitado',
  4015. '99.solution': 'Deshabilitar el giro en U',
  4016. '101.enabled': false,
  4017. '101.title': 'Zona en construcción (sólo disponible en el informe)',
  4018. '101.problem': 'El segmento está marcado como zona de construcción',
  4019. '101.solution': 'Si la construcción está terminada, volver a conectar el segmento y borrar el sufijo',
  4020. '102.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4021. '102.title': 'Sin salida en A (slow)',
  4022. '102.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión A',
  4023. '102.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión A',
  4024. '103.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  4025. '103.title': 'Sin salida en B (slow)',
  4026. '103.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión B',
  4027. '103.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión B',
  4028. '104.title': 'Vía férrea usada para comentarios',
  4029. '104.problem': 'El segmento de vía férrea es probablemente usado como comentario de mapa',
  4030. '104.solution': 'Borrar el comentario ya que las vías férreas serán añadidas al mapa del cliente',
  4031. '107.title': 'Sin conexión en punto de unión A (slow)',
  4032. '107.problem': 'El punto de unión A del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4033. '107.solution': 'Conectar el punto de unión A a un segmento cercano o separarlos un poco más',
  4034. '108.title': 'Sin conexión en punto de unión B (slow)',
  4035. '108.problem': 'El punto de unión B del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  4036. '108.solution': 'Conectar el punto de unión B a un segmento cercano o separarlos un poco más',
  4037. '109.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Eliminar_un_punto_de_uni.C3.B3n',
  4038. '109.title': 'Segmento muy corto',
  4039. '109.problem': 'El segmento tiene menos de 2 metros de longitud, así que es difícil de ver en el mapa',
  4040. '109.solution': 'Aumentar la longitud, borrar el segmento, o unirlo a un segmento adyacente',
  4041. '112.title': 'Más de 55 caracteres en el nombre de la Rampa',
  4042. '112.problem': 'El nombre de la Rampa tiene más de 55 caracteres',
  4043. '112.solution': 'Acorta el nombre de la Rampa',
  4044. '114.enabled': false,
  4045. '114.title': 'No transitable conectada a transitable en el punto de unión A (slow)',
  4046. '114.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo A',
  4047. '114.solution': 'Desconecta el extremo A de todos los segmentos transitables',
  4048. '115.enabled': false,
  4049. '115.title': 'No transitable conectada a transitable en el punto de unión B (slow)',
  4050. '115.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo B',
  4051. '115.solution': 'Desconecta el extremo B de todos los segmentos transitables',
  4052. '116.title': 'Elevación fuera de rango',
  4053. '116.problem': 'La elevación del segmento está fuera de rango',
  4054. '116.solution': 'Corrige la elevación',
  4055. '117.enabled': false,
  4056. '117.title': 'Marcado obsoleto: CONST ZN',
  4057. '117.problem': 'El segmento está marcado con el sufijo obsoleto CONST ZN',
  4058. '117.solution': 'Cambiar CONST ZN a (closed)',
  4059. '118.title': 'Segmentos superpuestos en A (slow)',
  4060. '118.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión A',
  4061. '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',
  4062. '119.title': 'Segmentos superpuestos en B (slow)',
  4063. '119.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión B',
  4064. '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',
  4065. '120.title': 'Giro demasiado cerrado en A (slow)',
  4066. '120.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión A',
  4067. '120.solution': 'Desactiva el giro cerrado en el punto de unión A o considera separar los segmentos hasta un ángulo de 30°',
  4068. '121.title': 'Giro demasiado cerrado en B (slow)',
  4069. '121.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión B',
  4070. '121.solution': 'Desactiva el giro cerrado en el punto de unión B o considera separar los segmentos hasta un ángulo de 30°',
  4071. '128.title': 'Comprobación personalizada por el usuario 1',
  4072. '128.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4073. '128.solution': 'Resolver el problema',
  4074. '129.title': 'Comprobación personalizada por el usuario 2',
  4075. '129.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4076. '129.solution': 'Resolver el problema',
  4077. '130.enabled': true,
  4078. '130.severity': 'N',
  4079. '130.title': 'Nivel de bloqueo de Autopista incorrecto',
  4080. '130.problem': 'El segmento de Autopista no está bloqueado a nivel 4',
  4081. '130.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4082. '130.solution': 'Bloquear el segmento de Autopista a nivel 4',
  4083. '130.params':
  4084. {'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]/'},
  4085. '131.enabled': true,
  4086. '131.severity': 'N',
  4087. '131.title': 'No lock on Major Highway',
  4088. '131.problem': 'The Major Highway segment should be locked to Lvl 3',
  4089. '131.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4090. '131.solution': 'Lock the segment',
  4091. '131.params': {
  4092. 'titleEN': 'No lock on Major Highway',
  4093. 'problemEN': 'The Major Highway segment should be locked to Lvl 3',
  4094. 'solutionEN': 'Lock the segment',
  4095. 'template': '${type}:${lock}:${street}',
  4096. 'regexp': '/^6:[^3]:N-/'
  4097. },
  4098. '133.enabled': true,
  4099. '133.severity': 'N',
  4100. '133.title': 'No lock on Ramp',
  4101. '133.problem': 'The Ramp segment should be locked to Lvl 3',
  4102. '133.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4103. '133.solution': 'Lock the segment',
  4104. '133.params':
  4105. {'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]/'},
  4106. '150.title': 'Nivel de bloqueo de Autopista incorrecto',
  4107. '150.problem': 'El segmento de Autopista no está bloqueado a nivel ${n}',
  4108. '150.solution': 'Bloquear el segmento de Autopista a nivel ${n}',
  4109. '169.title': 'Calle nombrada incorrectamente',
  4110. '169.problem': 'La calle tiene el nombre incorrecto, usando caracteres o palabras ilegales',
  4111. '169.solution': 'Renombre la calle de acuerdo a los criterios establecidos',
  4112. '170.enabled': true,
  4113. '170.title': 'Nombre de calle comienza con minúscula',
  4114. '170.problem': 'El nombre de la calle comienza con minúscula',
  4115. '170.solution': 'Escribir en mayúscula la primera letra del nombre',
  4116. '172.title': 'Nombre de calle con espacios innecesarios',
  4117. '172.problem': 'Espacio en blanco inicial/final o doble en el nombre de la calle',
  4118. '172.solution': 'Borrar los espacios innecesarios del nombre de Calle',
  4119. '173.enabled': false,
  4120. '173.title': 'Nombre de segmento sin espacio antes o después de una abreviación',
  4121. '173.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jan\') de una abreviación en el nombre del segmento',
  4122. '173.solution': 'Agregar un espacio antes/después de la abreviación',
  4123. '175.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  4124. '175.title': 'Nombre del segmento sólo con espacios',
  4125. '175.problem': 'El nombre del segmento sólo tiene espacios en blanco en el nombre',
  4126. '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',
  4127. '190.title': 'Nombre de ciudad con minúscula',
  4128. '190.problem': 'El nombre de la ciudad comienza con minúscula',
  4129. '190.solution': 'Utiliza este formulario para renombrar la ciudad',
  4130. '192.title': 'Nombre de Ciudad con espacios innecesarios',
  4131. '192.problem': 'Espacio en blanco inicial/final o doble en el nombre de la ciudad',
  4132. '192.solution': 'Use este formulario para renombrar la Ciudad',
  4133. '193.enabled': false,
  4134. '193.title': 'Nombre de Ciudad sin espacio delante o atrás de una abreviación',
  4135. '193.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jean\') de una abreviación en el nombre de la ciudad',
  4136. '193.solution': 'Use este formulario para renombrar la Ciudad',
  4137. '200.problemLink': 'W:Giros_implícitos_y_explícitos',
  4138. '200.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4139. '200.title': 'Unión A: Giro suave (implícito) en segmento',
  4140. '200.problem': 'El segmento tiene un giro no confirmado',
  4141. '200.solution':
  4142. 'Haz clic en el giro indicado con un signo de interrogación color púrpura para confirmarlo. Nota: es posible que debas hacer el segmento bidireccional para ver todos los giros',
  4143. '201.problemLink': 'W:Giros_implícitos_y_explícitos',
  4144. '201.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4145. '201.title': 'Unión A: Giro suave (implícito) en segmento principal',
  4146. '201.problem': 'El segmento principal tiene un giro no confirmado',
  4147. '201.solution':
  4148. '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'
  4149. },
  4150. 'DE': {
  4151. '.codeISO': 'DE',
  4152. '.country': 'Germany',
  4153. '59.enabled': true,
  4154. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4155. '90.enabled': true,
  4156. '110.enabled': true,
  4157. '150.enabled': true,
  4158. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen',
  4159. '214.params': {'regexp': '/^7|.+0$/'},
  4160. '215.params': {'regexp': '/^7|.+0$/'}
  4161. },
  4162. 'CZ': {
  4163. '.codeISO': 'CZ',
  4164. '.country': 'Czech Republic',
  4165. '27.enabled': true,
  4166. '52.enabled': true,
  4167. '73.enabled': true,
  4168. '90.enabled': true,
  4169. '105.enabled': true,
  4170. '150.enabled': true,
  4171. '150.problemLink': 'F:t=64980&p=572847#p572847',
  4172. '150.params': {'n': 4},
  4173. '151.enabled': true,
  4174. '151.problemLink': 'F:t=64980&p=572847#p572847',
  4175. '151.params': {'n': 4},
  4176. '152.enabled': true,
  4177. '152.problemLink': 'F:t=64980&p=572847#p572847',
  4178. '152.params': {'n': 4},
  4179. '153.enabled': true,
  4180. '153.problemLink': 'F:t=64980&p=572847#p572847',
  4181. '153.params': {'n': 4},
  4182. '154.enabled': true,
  4183. '154.problemLink': 'F:t=64980&p=572847#p572847',
  4184. '154.params': {'n': 3},
  4185. '170.enabled': true,
  4186. '170.params': {
  4187. 'regexp':
  4188. '/^(?!(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]/'
  4189. }
  4190. },
  4191. 'CL': {'.codeISO': 'CL', '.country': 'Chile', '.fallbackCode': 'ES', '59.enabled': true, '150.enabled': true, '170.enabled': true, '200.enabled': false},
  4192. 'CH': {
  4193. '.codeISO': 'CH',
  4194. '.country': 'Switzerland',
  4195. '59.enabled': true,
  4196. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4197. '90.enabled': true,
  4198. '110.enabled': true,
  4199. '150.enabled': true,
  4200. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4201. },
  4202. 'BN': {
  4203. '.codeISO': 'BN',
  4204. '.country': 'Brunei',
  4205. '69.enabled': true,
  4206. '73.enabled': true,
  4207. '150.enabled': true,
  4208. '150.params': {'n': 2},
  4209. '151.enabled': true,
  4210. '151.params': {'n': 2},
  4211. '152.enabled': true,
  4212. '152.params': {'n': 2}
  4213. },
  4214. 'BG': {'.codeISO': 'BG', '.country': 'Bulgaria', '27.enabled': true},
  4215. 'BE': {
  4216. '.codeISO': 'BE',
  4217. '.country': 'Belgium',
  4218. '109.params': {'n': 6},
  4219. '150.enabled': true,
  4220. '150.problemLink': 'W:Benelux_Freeway',
  4221. '151.enabled': true,
  4222. '151.problemLink': 'W:Benelux_Major_Highway',
  4223. '152.enabled': true,
  4224. '152.problemLink': 'W:Benelux_Minor_Highway',
  4225. '154.enabled': true,
  4226. '154.problemLink': 'W:Benelux_Primary_Street',
  4227. '160.enabled': true,
  4228. '160.problemLink': 'W:Benelux_Freeway',
  4229. '160.params':
  4230. {'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 [^\\/]+( \\/ [^\\/]+)*)?$/'},
  4231. '163.enabled': true,
  4232. '163.problemLink': 'W:Benelux_Roads#Highways',
  4233. '163.solutionLink': 'W:Benelux_Ramp',
  4234. '163.params': {
  4235. 'titleEN': 'Ramp name starts with a number',
  4236. 'problemEN': 'The Ramp name starts with a number',
  4237. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  4238. 'regexp': '/^([0-9]+)/'
  4239. },
  4240. '171.enabled': true,
  4241. '171.problemLink': 'W:Benelux_Ramp#Text_To_Speech_.28TTS.29_-_ri_-_di',
  4242. '171.params': {'problemEN': 'The street name contains incorrect \'ri.\' abbreviation', 'solutionEN': 'Change the \'ri.\' abbreviation to \'ri\' (no dot)', 'regexp': '/(^|\\b)ri\\./i'}
  4243. },
  4244. 'AU': {
  4245. '.codeISO': 'AU',
  4246. '.country': 'Australia',
  4247. '27.enabled': true,
  4248. '59.enabled': true,
  4249. '59.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4250. '112.enabled': false,
  4251. '150.enabled': true,
  4252. '150.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4253. '151.enabled': true,
  4254. '151.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Major_Highway',
  4255. '151.params': {'n': 3},
  4256. '152.enabled': true,
  4257. '152.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Minor_Highway'
  4258. },
  4259. 'AT': {
  4260. '.codeISO': 'AT',
  4261. '.country': 'Austria',
  4262. '59.enabled': true,
  4263. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4264. '90.enabled': true,
  4265. '110.enabled': true,
  4266. '150.enabled': true,
  4267. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4268. },
  4269. 'AR': {
  4270. '.codeISO': 'AR',
  4271. '.country': 'Argentina',
  4272. '.fallbackCode': 'ES',
  4273. '150.enabled': true,
  4274. '169.enabled': true,
  4275. '169.solutionLink': 'W:Como_categorizar_y_nombrar_calles_(Argentina)#Calles',
  4276. '169.params': {'regexp': '/(^|\\b)[Cc]alle(?! [0-9]+( ([A-Z]|bis))?$)/'}
  4277. }
  4278. };
  4279. var CC_UNDEFINED = 48;
  4280. var CC_NULL = 34;
  4281. var CC_BOOL = 46;
  4282. var CC_NUMBER = 44;
  4283. var CC_STRING = 58;
  4284. var CC_GLOBAL = 5;
  4285. var CC_FUNCTION = 37;
  4286. var CC_ARRAY = 32;
  4287. var CC_OBJECT = 42;
  4288. var CC_REGEXP = 23;
  4289. var CC_DATE = 33;
  4290. function classOf(val) {
  4291. return {}.toString.call(val).slice(8, -1)
  4292. }
  4293. function classCode(obj) {
  4294. return {}.toString.call(obj).charCodeAt(8) ^ {}.toString.call(obj).charCodeAt(11)
  4295. }
  4296. function classCodeIs(obj, cc) {
  4297. return cc === classCode(obj)
  4298. }
  4299. function classCodeDefined(obj) {
  4300. return CC_UNDEFINED !== classCode(obj)
  4301. }
  4302. function isEmpty(obj) {
  4303. for (var k in obj)
  4304. if (obj.hasOwnProperty(k)) return false;
  4305. return true
  4306. }
  4307. function deepCopy(obj) {
  4308. switch (classCode(obj)) {
  4309. case CC_ARRAY:
  4310. var cpy = [];
  4311. for (var i = 0, len = obj.length; i < len; i++) cpy[i] = deepCopy(obj[i]);
  4312. return cpy;
  4313. case CC_OBJECT:
  4314. var cpy = {};
  4315. for (var attr in obj)
  4316. if (obj.hasOwnProperty(attr)) cpy[attr] = deepCopy(obj[attr]);
  4317. return cpy
  4318. }
  4319. return obj
  4320. }
  4321. function deepCompare(obj1, obj2) {
  4322. if (obj1 === obj2) return true;
  4323. if (classCode(obj1) !== classCode(obj2)) return false;
  4324. switch (classCode(obj1)) {
  4325. case CC_ARRAY:
  4326. if (obj1.length != obj2.length) return false;
  4327. for (var i = 0; i < obj1.length; i++)
  4328. if (!deepCompare(obj1[i], obj2[i])) return false;
  4329. return true;
  4330. case CC_OBJECT:
  4331. for (var k in obj1) {
  4332. if (!obj1.hasOwnProperty(k)) continue;
  4333. if (!obj2.hasOwnProperty(k)) return false;
  4334. if (!deepCompare(obj1[k], obj2[k])) return false
  4335. }
  4336. return true
  4337. }
  4338. return false
  4339. }
  4340. function getDirection(seg) {
  4341. return (seg.attributes.fwdDirection ? 1 : 0) + (seg.attributes.revDirection ? 2 : 0)
  4342. }
  4343. function getLocalizedValue(val, country) {
  4344. var ipu = OpenLayers.INCHES_PER_UNIT;
  4345. var mph = false;
  4346. if (country == 'United Kingdom' || country == 'Jersey' || country == 'Guernsey' || country == 'United States') mph = true;
  4347. return mph ? Math.round(val * ipu['km'] / ipu['mi']) : val
  4348. };
  4349. var DEF_DEBUG = false;
  4350. var _THUI = {};
  4351. _THUI.NONE = 1;
  4352. _THUI.DIV = 2;
  4353. _THUI.NUMBER = 3;
  4354. _THUI.RADIO = 4;
  4355. _THUI.CHECKBOX = 5;
  4356. _THUI.BUTTON = 6;
  4357. _THUI.TEXT = 7;
  4358. _THUI.PASSWORD = 8;
  4359. _THUI.DATE = 9;
  4360. var _WV = {};
  4361. var WME_BETA = false;
  4362. _WV.$loggedIn = 0;
  4363. _WV.$functions = [];
  4364. var _UI = {};
  4365. var _RT = {};
  4366. var _REP = {};
  4367. var GL_SHOWLAYERS = false;
  4368. var GL_LAYERNAME = 'WME Validator';
  4369. var GL_LAYERUNAME = 'WMEValidator';
  4370. var GL_LAYERACCEL = 'toggleWMEValidator';
  4371. var GL_LAYERSHORTCUT = 'A+v';
  4372. var GL_TBCOLOR = 'WMETB_color';
  4373. var GL_TBPREFIX = 'WMETB';
  4374. var GL_WMECHCOLOR = 'WMECH_color';
  4375. var GL_NOTECOLOR = '#30E';
  4376. var GL_NOTEBGCOLOR = '#EEF';
  4377. var GL_WARNINGCOLOR = '#DA0';
  4378. var GL_WARNINGBGCOLOR = '#FFE';
  4379. var GL_ERRORCOLOR = '#E00';
  4380. var GL_ERRORBGCOLOR = '#FEE';
  4381. var GL_CUSTOM1COLOR = '#0A0';
  4382. var GL_CUSTOM1BGCOLOR = '#EFE';
  4383. var GL_CUSTOM2COLOR = '#09E';
  4384. var GL_CUSTOM2BGCOLOR = '#EFF';
  4385. var GL_VISITEDCOLOR = '#0E0';
  4386. var GL_VISITEDBGCOLOR = '#EFE';
  4387. var GL_NOID = 'No ID';
  4388. var GL_GRAYCOLOR = '#AAA';
  4389. var GL_TODOMARKER = 'TODO: ';
  4390. var RT_RUNWAY = 19;
  4391. var RR_RUNWAY = 1;
  4392. var RT_RAILROAD = 18;
  4393. var RR_RAILROAD = 2;
  4394. var RT_STAIRWAY = 16;
  4395. var RR_STAIRWAY = 3;
  4396. var RT_BOARDWALK = 10;
  4397. var RR_BOARDWALK = 4;
  4398. var RT_TRAIL = 5;
  4399. var RR_TRAIL = 5;
  4400. var RT_PRIVATE = 17;
  4401. var RR_PRIVATE = 6;
  4402. var RT_PARKING = 20;
  4403. var RR_PARKING = 7;
  4404. var RT_DIRT = 8;
  4405. var RR_DIRT = 8;
  4406. var RT_SERVICE = 21;
  4407. var RR_SERVICE = 9;
  4408. var RT_STREET = 1;
  4409. var RR_STREET = 10;
  4410. var RT_PRIMARY = 2;
  4411. var RR_PRIMARY = 11;
  4412. var RT_RAMP = 4;
  4413. var RR_RAMP = 12;
  4414. var RT_MINOR = 7;
  4415. var RR_MINOR = 13;
  4416. var RT_MAJOR = 6;
  4417. var RR_MAJOR = 14;
  4418. var RT_FREEWAY = 3;
  4419. var RR_FREEWAY = 15;
  4420. var DIR_UNKNOWN = 0;
  4421. var DIR_AB = 1;
  4422. var DIR_BA = 2;
  4423. var DIR_TWO = 3;
  4424. var ST_STOP = 1116352408;
  4425. var ST_RUN = 1899447441;
  4426. var ST_PAUSE = 3049323471;
  4427. var ST_CONTINUE = 3921009573;
  4428. var DIR_L2R = 961987163;
  4429. var DIR_R2L = -961987163;
  4430. var RF_HTML = 1508970993;
  4431. var RF_BB = 2453635748;
  4432. var RF_LIST = 2870763221;
  4433. var RF_UPDATEMAXSEVERITY = 1;
  4434. var RF_CREATEPACK = 2;
  4435. var RT_STOP = 1;
  4436. var RT_NEXTCHECK = 2;
  4437. var RS_NOTE = 1;
  4438. var RS_WARNING = 2;
  4439. var RS_ERROR = 3;
  4440. var RS_CUSTOM2 = 4;
  4441. var RS_CUSTOM1 = 5;
  4442. var RS_MAX = 6;
  4443. var LIMIT_PERCHECK = 300;
  4444. var LIMIT_TOLERANCE = 6;
  4445. var LIMIT_DEBUG = 20;
  4446. var CK_TBFIRST = 1;
  4447. var CK_TBLAST = 9;
  4448. var CK_WMECHFIRST = 13;
  4449. var CK_WMECHLAST = 22;
  4450. var CK_TYPEFIRST = 70;
  4451. var CK_TYPELAST = 72;
  4452. var CK_MATCHFIRST = 128;
  4453. var CK_MATCHLAST = 139;
  4454. var CK_CUSTOMFIRST = 130;
  4455. var CK_CUSTOMLAST = 139;
  4456. var CK_LOCKFIRST = 150;
  4457. var CK_LOCKLAST = 158;
  4458. var CK_STREETTNFIRST = 160;
  4459. var CK_STREETTNLAST = 167;
  4460. var CK_STREETNAMEFIRST = 170;
  4461. var CK_STREETNAMELAST = 175;
  4462. var CK_CITYNAMEFIRST = 190;
  4463. var CK_CITYNAMELAST = 193;
  4464. var CK_MIRRORFIRST = 200;
  4465. var CK_MIRRORLAST = 201;
  4466. var CL_UI = 2821834349 - 1;
  4467. var ID_PREFIX = 2554220882;
  4468. var CL_TABS = 2821834349;
  4469. var CL_PANEL = 2952996808;
  4470. var CL_BUTTONS = 3210313671;
  4471. var CL_MSG = 3336571891;
  4472. var CL_MSGY = 3584528711;
  4473. var CL_TRANSLATETIP = 3584528711 + 1;
  4474. var AS_LICENSE = 'license';
  4475. var AS_VERSION = 'version';
  4476. var AS_NONEDITABLES = 'non_editables';
  4477. var AS_DUPLICATES = 'duplicates';
  4478. var AS_PLACES = 'enable_places';
  4479. var AS_STREETS = 'streets';
  4480. var AS_OTHERS = 'others';
  4481. var AS_NOTES = 'notes';
  4482. var AS_YOUREDITS = 'your_edits';
  4483. var AS_UPDATEDSINCE = 'updated_since';
  4484. var AS_CITYNAME = 'city_name';
  4485. var AS_CHECKS = 'checks';
  4486. var AS_UPDATEDBY = 'updated_by';
  4487. var AS_SOUNDS = 'sounds';
  4488. var AS_HLISSUES = 'hl_issues';
  4489. var AS_SLOWCHECKS = 'slow_checks';
  4490. var AS_CUSTOM1TEMPLATE = 'custom1_template';
  4491. var AS_CUSTOM1REGEXP = 'custom1_regexp';
  4492. var AS_CUSTOM2TEMPLATE = 'custom2_template';
  4493. var AS_CUSTOM2REGEXP = 'custom2_regexp';
  4494. var AS_REPORTEXT = 'report_ext';
  4495. var ID_PROPERTY = 3835390401;
  4496. var ID_PROPERTY_DISABLED = 3835390401 + 1;
  4497. var CL_COLLAPSE = 4022224774;
  4498. var CL_NOTE = 264347078;
  4499. var CL_WARNING = 604807628;
  4500. var CL_ERROR = 770255983;
  4501. var CL_CUSTOM1 = 770255983 + 1;
  4502. var CL_CUSTOM2 = 770255983 + 2;
  4503. var CL_RIGHTTIP = 1249150122;
  4504. var CL_RIGHTTIPPOPUP = 1249150122 + 1;
  4505. var CL_RIGHTTIPDESCR = 1249150122 + 2;
  4506. var AS_NAME = 'WME_Validator';
  4507. var SZ_PANEL_HEIGHT = 190;
  4508. var SCAN_ZOOM = 5;
  4509. var SCAN_STEP = 100;
  4510. var HL_WIDTH = 30;
  4511. var HL_OPACITY = .4;
  4512. var I_SEVERITY = 0;
  4513. var I_OBJECTCOPY = 1;
  4514. var I_ISTBCOLOR = 2;
  4515. var I_ISWMECHCOLOR = 3;
  4516. var I_ISPARTIAL = 4;
  4517. var I_CITYID = 5;
  4518. var I_VENUECOPY = 6;
  4519. var CO_MIN = 0;
  4520. var CO_REGEXP = 0;
  4521. var CO_STRING = 1;
  4522. var CO_NUMBER = 2;
  4523. var CO_BOOL = 3;
  4524. var CO_MAX = 3;
  4525. var WD_SHORT = 5;
  4526. var WD_LONG = 1E4;
  4527. var Wa = null;
  4528. var nW = null;
  4529. var WM = null;
  4530. var WLM = null;
  4531. var WSM = null;
  4532. var WMo = null;
  4533. var WC = null;
  4534. var UW = null;
  4535. var R = null;
  4536. function esc(msg) {
  4537. return msg.split('"').join('\\"').split('\n').join('\\n')
  4538. }
  4539. function escRE(e) {
  4540. return e.split('\\')
  4541. .join('\\\\')
  4542. .split('^')
  4543. .join('\\^')
  4544. .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. }
  4573. function getMsg(mType, msg, newLine) {
  4574. return 'WME Validator v' + WV_VERSION + (mType ? ' ' + mType : '') + (msg ? ':' + (newLine ? '\n' : ' ') + msg : '')
  4575. }
  4576. function log(msg) {
  4577. window.console.log(getMsg('', msg))
  4578. }
  4579. function error(msg) {
  4580. var s = getMsg('error', msg, true);
  4581. log(s);
  4582. if (!isErrorFlag()) {
  4583. setErrorFlag();
  4584. alert(s)
  4585. }
  4586. async(F_PAUSE);
  4587. return -1
  4588. }
  4589. function warning(msg) {
  4590. var s = getMsg('warning', msg, true);
  4591. log(s);
  4592. alert(s);
  4593. return -1
  4594. }
  4595. function info(msg) {
  4596. var s = getMsg('', msg, true);
  4597. alert(s);
  4598. return -1
  4599. }
  4600. function sync(func, param) {
  4601. return func(param)
  4602. }
  4603. function async(func, param, inter) {
  4604. var i = 0;
  4605. if (inter) i = inter;
  4606. window.setTimeout(func, i, param)
  4607. }
  4608. function clearWD() {
  4609. window.clearTimeout(_RT.$WDmoveID);
  4610. window.clearTimeout(_RT.$WDloadID);
  4611. _RT.$WDmoveID = -1;
  4612. _RT.$WDloadID = -1
  4613. }
  4614. function updateTimer(nstate) {
  4615. var csec = Date.now() / 1E3;
  4616. if (RTStateIs(ST_RUN)) _RT.$timer.$secInRun += csec - _RT.$timer.$lastUpdate;
  4617. if (RTStateIs(ST_STOP)) _RT.$timer.$secInRun = 0;
  4618. _RT.$timer.$lastUpdate = csec
  4619. }
  4620. function setRTState(nstate) {
  4621. if (RTStateIs(ST_STOP) && ST_PAUSE === nstate) nstate = ST_STOP;
  4622. updateTimer(nstate);
  4623. _RT.$state = nstate;
  4624. async(F_UPDATEUI)
  4625. }
  4626. function clearReport() {
  4627. _RT.$seen = {};
  4628. _RT.$revalidate = {};
  4629. _REP = {
  4630. $debugCounter: LIMIT_DEBUG,
  4631. $isLimitPerCheck: false,
  4632. $isEditableFound: false,
  4633. $counterTotal: 0,
  4634. $maxSeverity: 0,
  4635. $incompleteIDs: {},
  4636. $users: {},
  4637. $reportCounters: {},
  4638. $cityCounters: {},
  4639. $countries: {},
  4640. $cities: {},
  4641. $streets: {},
  4642. $cityIDs: {},
  4643. $unsortedCityIDs: [],
  4644. $sortedCityIDs: []
  4645. };
  4646. _RT.$reportEditableNotFound = false
  4647. }
  4648. function beep(dur, oscType) {
  4649. try {
  4650. if (_UI.pSettings.pScanner.oSounds.CHECKED) _AUDIO.beep(dur, oscType)
  4651. } catch (e) {
  4652. }
  4653. }
  4654. function setErrorFlag() {
  4655. _RT.$error = true
  4656. }
  4657. function isErrorFlag() {
  4658. return _RT.$error
  4659. }
  4660. function clearErrorFlag() {
  4661. _RT.$error = false
  4662. }
  4663. function RTStateIs(st) {
  4664. return getRTState() === st
  4665. }
  4666. function getRTState() {
  4667. return _RT.$state
  4668. }
  4669. function HLAllObjects() {
  4670. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))
  4671. if (_UI.pSettings.pScanner.oHLReported.CHECKED)
  4672. sync(F_VALIDATE, false);
  4673. else
  4674. sync(F_VALIDATE, true);
  4675. async(F_UPDATEUI)
  4676. }
  4677. function ForceHLAllObjects() {
  4678. _RT.$isMapChanged = true;
  4679. HLAllObjects()
  4680. }
  4681. function resetDefaults() {
  4682. _UI.pMain.pFilter.oEnablePlaces.CHECKED = false;
  4683. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = true;
  4684. _UI.pMain.pFilter.oExcludeDuplicates.CHECKED = true;
  4685. _UI.pMain.pFilter.oExcludeStreets.CHECKED = false;
  4686. _UI.pMain.pFilter.oExcludeOther.CHECKED = false;
  4687. _UI.pMain.pFilter.oExcludeNotes.CHECKED = false;
  4688. _UI.pMain.pSearch.oIncludeYourEdits.CHECKED = false;
  4689. _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE = '';
  4690. _RT.$includeUpdatedByCache = {};
  4691. _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE = '';
  4692. _RT.$includeUpdatedSinceTime = 0;
  4693. _UI.pMain.pSearch.oIncludeCityName.VALUE = '';
  4694. _RT.$includeCityNameCache = {};
  4695. _UI.pMain.pSearch.oIncludeChecks.VALUE = '';
  4696. _RT.$includeChecksCache = {};
  4697. _UI.pSettings.pScanner.oSlowChecks.CHECKED = true;
  4698. _UI.pSettings.pScanner.oReportExt.CHECKED = true;
  4699. _UI.pSettings.pScanner.oHLReported.CHECKED = true;
  4700. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  4701. _UI.pSettings.pCustom.oTemplate1.VALUE = '';
  4702. _UI.pSettings.pCustom.oRegExp1.VALUE = '';
  4703. _UI.pSettings.pCustom.oTemplate2.VALUE = '';
  4704. _UI.pSettings.pCustom.oRegExp2.VALUE = ''
  4705. }
  4706. function cmpCheckIDs(a, b) {
  4707. var checkA = _RT.$checks[a], checkB = _RT.$checks[b];
  4708. if (checkA.SEVERITY !== checkB.SEVERITY) return checkB.SEVERITY - checkA.SEVERITY;
  4709. var cmp = checkA.TITLE.localeCompare(checkB.TITLE);
  4710. if (!cmp) return a - b;
  4711. return cmp
  4712. }
  4713. function checkNoCity(str) {
  4714. return str ? str : 'No City'
  4715. }
  4716. function checkNoStreet(str) {
  4717. return str ? str : 'No Street'
  4718. }
  4719. function getFilteredSeverity(oldSeverity, checkID, checkToHL) {
  4720. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4721. var check = _RT.$checks[checkID];
  4722. if (checkToHL && check.REPORTONLY) return 0;
  4723. var textSeverity = getTextSeverity(check.SEVERITY).toUpperCase();
  4724. var cache = _RT.$includeChecksCache;
  4725. var hash = checkID;
  4726. if (hash in cache) {
  4727. if (cache[hash]) return check.SEVERITY
  4728. } else {
  4729. var forChecks = _UI.pMain.pSearch.oIncludeChecks.VALUE;
  4730. var ccode = _RT.$cachedTopCCode;
  4731. var options = trO(check.OPTIONS, ccode);
  4732. var curTitle = exSOS(check.TITLE, options, 'titleEN');
  4733. try {
  4734. cache[hash] = false;
  4735. if (_WV.checkAccessFor(forChecks, function(e) {
  4736. if (/^#?\d+$/.test(e)) {
  4737. if ('#' === e.charAt(0)) e = e.slice(1);
  4738. return +checkID === +e
  4739. }
  4740. if (e.toUpperCase() === textSeverity) return true;
  4741. e = escRE(e);
  4742. var r = new RegExp('^' + e + '$', 'i');
  4743. return r.test(curTitle)
  4744. })) {
  4745. cache[hash] = true;
  4746. return check.SEVERITY
  4747. }
  4748. } catch (e) {
  4749. }
  4750. }
  4751. return 0
  4752. }
  4753. function getFilteredSeverityObj(oldSeverity, checkIDs, checkToHL) {
  4754. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4755. var ret = 0;
  4756. for (var cid in checkIDs) {
  4757. if (!checkIDs.hasOwnProperty(cid)) continue;
  4758. var check = _RT.$checks[cid];
  4759. if (getFilteredSeverity(check.SEVERITY, cid, checkToHL))
  4760. if (ret < check.SEVERITY) {
  4761. ret = check.SEVERITY;
  4762. if (_RT.$curMaxSeverity === ret) return ret
  4763. }
  4764. }
  4765. return ret
  4766. }
  4767. function checkFilter(severity, objectCopy, seenObjects) {
  4768. if (seenObjects) {
  4769. if (objectCopy.$objectID in seenObjects && _UI.pMain.pFilter.oExcludeDuplicates.CHECKED) return false;
  4770. seenObjects[objectCopy.$objectID] = null
  4771. }
  4772. if ((RR_STREET === objectCopy.$typeRank || RR_SERVICE === objectCopy.$typeRank) && _UI.pMain.pFilter.oExcludeStreets.CHECKED) return false;
  4773. if (RR_SERVICE > objectCopy.$typeRank && _UI.pMain.pFilter.oExcludeOther.CHECKED) return false;
  4774. if (!objectCopy.$isEditable && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) return false;
  4775. if (RS_NOTE === severity && _UI.pMain.pFilter.oExcludeNotes.CHECKED) return false;
  4776. if (objectCopy.$userID !== _RT.$topUser.$userID && !_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) return false;
  4777. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) {
  4778. var cache = _RT.$includeUpdatedByCache;
  4779. var hash = objectCopy.$userID;
  4780. if (hash in cache) {
  4781. if (!cache[hash]) return false
  4782. } else {
  4783. var forUser = _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE;
  4784. var curUser = _REP.$users[objectCopy.$userID];
  4785. try {
  4786. cache[hash] = false;
  4787. if (curUser !== _RT.$topUser.$userName && !_RT.$topUser.$isCM) return false;
  4788. if (_RT.$topUser.$isCM && -1 === _RT.$topUser.$countryIDs.indexOf(objectCopy.$countryID)) return false;
  4789. if (!_WV.checkAccessFor(forUser, function(e) {
  4790. e = escRE(e);
  4791. e = e.replace(/(^|\b)(me|i)($|\b)/gi, _RT.$topUser.$userName);
  4792. var r = new RegExp('^' + e + '$', 'i');
  4793. return r.test(curUser)
  4794. }))
  4795. return false;
  4796. cache[hash] = true
  4797. } catch (e) {
  4798. }
  4799. }
  4800. }
  4801. if (objectCopy.$updated && _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) try {
  4802. if (!_RT.$includeUpdatedSinceTime) _RT.$includeUpdatedSinceTime = (new Date(_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE)).getTime();
  4803. if (objectCopy.$updated < _RT.$includeUpdatedSinceTime) return false
  4804. } catch (e) {
  4805. }
  4806. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) {
  4807. if (!objectCopy.$cityID) return false;
  4808. var cache = _RT.$includeCityNameCache;
  4809. var hash = objectCopy.$cityID;
  4810. if (hash in cache) {
  4811. if (!cache[hash]) return false
  4812. } else {
  4813. var forCity = _UI.pMain.pSearch.oIncludeCityName.VALUE;
  4814. var curCity = _REP.$cities[objectCopy.$cityID];
  4815. try {
  4816. cache[hash] = false;
  4817. if (!_WV.checkAccessFor(forCity, function(e) {
  4818. e = escRE(e);
  4819. var r = new RegExp('^' + e + '$', 'i');
  4820. return r.test(curCity)
  4821. }))
  4822. return false;
  4823. cache[hash] = true
  4824. } catch (e) {
  4825. }
  4826. }
  4827. }
  4828. return true
  4829. }
  4830. function trO(obj, ccode) {
  4831. if (obj) return _I18n.getValueOC(obj, ccode)
  4832. }
  4833. function getCheckOptions(checkID, ccode) {
  4834. return _I18n.getValueOC(_RT.$checks[checkID].OPTIONS, ccode)
  4835. }
  4836. function trLeft(dir) {
  4837. if ('ltr' === dir)
  4838. return 'left';
  4839. else
  4840. return 'right'
  4841. }
  4842. function trRight(dir) {
  4843. if ('ltr' === dir)
  4844. return 'right';
  4845. else
  4846. return 'left'
  4847. }
  4848. function trS(label) {
  4849. return _I18n.getString(label)
  4850. }
  4851. function trSO(label, options) {
  4852. return _I18n.expandSO(_I18n.getString(label), options)
  4853. }
  4854. function exSOS(str, options, subst) {
  4855. if (options && _I18n.$defLng === _RT.$lng && options[subst])
  4856. return _I18n.expandSO(options[subst], options);
  4857. else
  4858. return _I18n.expandSO(str, options)
  4859. }
  4860. function getTextSeverity(sev) {
  4861. switch (sev) {
  4862. case RS_WARNING:
  4863. return 'warning';
  4864. case RS_ERROR:
  4865. return 'error';
  4866. case RS_CUSTOM1:
  4867. return 'custom1';
  4868. case RS_CUSTOM2:
  4869. return 'custom2'
  4870. }
  4871. return 'note'
  4872. }
  4873. function onUpdateUI(e) {
  4874. async(F_UPDATEUI, e)
  4875. }
  4876. function onShowChecks(e) {
  4877. sync(F_SHOWREPORT, RF_LIST)
  4878. }
  4879. function onCreatePack(e) {
  4880. sync(F_SHOWREPORT, RF_CREATEPACK)
  4881. }
  4882. function onShowReport(e) {
  4883. sync(F_SHOWREPORT, RF_HTML)
  4884. }
  4885. function onShareReport(e) {
  4886. sync(F_SHOWREPORT, RF_BB)
  4887. }
  4888. function onWarning(e) {
  4889. async(F_ONWARNING, e)
  4890. }
  4891. function onLogin() {
  4892. async(F_ONLOGIN)
  4893. }
  4894. function onMergeEnd() {
  4895. _RT.$isMapChanged = true;
  4896. window.clearTimeout(_RT.$WDmoveID);
  4897. window.clearTimeout(_RT.$WDloadID);
  4898. async(F_ONMERGEEND)
  4899. }
  4900. function onMoveEnd() {
  4901. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE))
  4902. async(F_ONMOVEEND);
  4903. else
  4904. ForceHLAllObjects()
  4905. }
  4906. function onLoadStart() {
  4907. async(F_ONLOADSTART)
  4908. }
  4909. function onChangeLayer(e) {
  4910. sync(F_ONCHANGELAYER, e)
  4911. }
  4912. function onSegmentsChanged(e) {
  4913. _RT.$isMapChanged = true;
  4914. sync(F_ONSEGMENTSCHANGED, e)
  4915. }
  4916. function onSegmentsRemoved(e) {
  4917. _RT.$isMapChanged = true;
  4918. if (1 === e.length)
  4919. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONSEGMENTSCHANGED, e)
  4920. }
  4921. function onSegmentsAdded(e) {
  4922. _RT.$isMapChanged = true
  4923. }
  4924. function onNodesChanged(e) {
  4925. _RT.$isMapChanged = true;
  4926. sync(F_ONNODESCHANGED, e)
  4927. }
  4928. function onNodesRemoved(e) {
  4929. _RT.$isMapChanged = true;
  4930. if (1 === e.length)
  4931. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONNODESCHANGED, e)
  4932. }
  4933. function onChangeIsImperial() {
  4934. clearReport();
  4935. _RT.$HLedObjects = {};
  4936. _RT.$HLlayer.destroyFeatures();
  4937. _RT.$isMapChanged = true;
  4938. async(F_LOGIN)
  4939. }
  4940. function onVenuesAdded(e) {
  4941. _RT.$isMapChanged = true
  4942. }
  4943. function onVenuesChanged(e) {
  4944. _RT.$isMapChanged = true;
  4945. sync(F_ONVENUESCHANGED, e)
  4946. }
  4947. function onVenuesRemoved(e) {
  4948. _RT.$isMapChanged = true;
  4949. if (1 === e.length)
  4950. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONVENUESCHANGED, e)
  4951. };
  4952. function F_SHOWREPORT(reportFormat) {
  4953. var _now = new Date;
  4954. var _nowISO = _now.toISOString().slice(0, 10);
  4955. var _repU = _REP.$users;
  4956. var _repC = _REP.$cities;
  4957. var _repCC = _REP.$cityCounters;
  4958. var _repRC = _REP.$reportCounters;
  4959. var _repS = _REP.$streets;
  4960. var isBeta = -1 !== window.location.href.indexOf('beta');
  4961. var noFilters = true;
  4962. var FR = '';
  4963. var FRheader = '';
  4964. var FRfooter = '';
  4965. var newWin = null;
  4966. var Bh1, Eh1;
  4967. var Bh2, Eh2;
  4968. var Bsmall, Esmall;
  4969. var Bbig, Ebig;
  4970. var Ba, Ca, Ea;
  4971. var BaV;
  4972. var Bcolor, Ccolor, Ecolor;
  4973. var Bb, Eb;
  4974. var Bp, Ep;
  4975. var Br;
  4976. var Bol, Eol;
  4977. var Bul, Eul;
  4978. var Bli, Eli;
  4979. var Bcode, Ecode;
  4980. var Mdash, Nbsp;
  4981. var curFormat;
  4982. function setFormat(fmt) {
  4983. curFormat = fmt;
  4984. switch (fmt) {
  4985. case RF_HTML:
  4986. Bh1 = '\n<h1>', Eh1 = '</h1>\n<hr>\n';
  4987. Bh2 = '\n\n<h2>', Eh2 = '</h2>\n';
  4988. Bsmall = '<small>', Esmall = '</small>';
  4989. Bbig = '<big>', Ebig = '</big>';
  4990. Ba = '<a target="_blank" href="', Ca = '">', Ea = '</a>';
  4991. BaV = '<a target="Validator" href="';
  4992. Bcolor = '<span style="color:', Ccolor = '">', Ecolor = '</span>';
  4993. Bb = '<b>', Eb = '</b>';
  4994. Bp = '<p>', Ep = '</p>';
  4995. Br = '<br>\n';
  4996. Bul = '\n<ul>\n', Eul = '\n</ul>\n';
  4997. Bcode = '\n<div style="text-align:left" dir="ltr" class="code" onclick="selectAll(this)">', Ecode = '</div>\n';
  4998. Bol = '\n<ol>\n', Eol = '\n</ol>\n';
  4999. Bli = '\n<li>', Eli = '</li>\n';
  5000. Mdash = ' &mdash; ';
  5001. Nbsp = '&nbsp;';
  5002. break;
  5003. case RF_BB:
  5004. Bh1 = '\n[size=200]', Eh1 = '[/size]\n';
  5005. Bh2 = '\n[size=150]', Eh2 = '[/size]\n';
  5006. Bsmall = '[size=85]', Esmall = '[/size]';
  5007. Bbig = '[size=120]', Ebig = '[/size]';
  5008. Ba = '[url=', Ca = ']', Ea = '[/url]';
  5009. BaV = Ba;
  5010. Bcolor = '[color=', Ccolor = ']', Ecolor = '[/color]';
  5011. Bb = '[b]', Eb = '[/b]';
  5012. Bp = '\n', Ep = '\n';
  5013. Br = '\n';
  5014. Bul = '\n[list]', Eul = '[/list]\n';
  5015. Bcode = '\n[code]', Ecode = '\n[/code]';
  5016. Bol = '\n[list=1]', Eol = '[/list]\n';
  5017. Bli = '\n[*]', Eli = '[/*]\n';
  5018. Mdash = ' - ';
  5019. Nbsp = ' ';
  5020. break
  5021. }
  5022. return ''
  5023. }
  5024. function getReportSource() {
  5025. var m = 0;
  5026. var n = '';
  5027. for (var cid in _repCC)
  5028. if (_repCC.hasOwnProperty(cid) && m < _repCC[cid] && _repC[cid]) {
  5029. m = _repCC[cid];
  5030. n = _repC[cid]
  5031. }
  5032. return n
  5033. }
  5034. function getTopPermalink() {
  5035. var center, zoom;
  5036. if (_RT.$startCenter) {
  5037. center = _RT.$startCenter;
  5038. zoom = _RT.$startZoom
  5039. } else {
  5040. center = WM.getCenter();
  5041. zoom = WM.getZoom()
  5042. }
  5043. var c = center.clone().transform(WM.projection, WM.displayProjection);
  5044. 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()
  5045. }
  5046. function getHTMLHeader(strTitle) {
  5047. var dir = _I18n.getDir();
  5048. var dirLeft = trLeft(dir);
  5049. var dirRight = trRight(dir);
  5050. return '<html dir="' + dir + '"><head><style>' +
  5051. '\na{background-color:white}' +
  5052. '\na:visited{background-color:' + GL_VISITEDBGCOLOR + ' !important;color:' + GL_VISITEDCOLOR + ' !important}' +
  5053. '\n.note a{background-color:' + GL_NOTEBGCOLOR + ';color:' + GL_NOTECOLOR + '}' +
  5054. '\n.warning a{background-color:' + GL_WARNINGBGCOLOR + ';color:' + GL_WARNINGCOLOR + '}' +
  5055. '\n.error a{background-color:' + GL_ERRORBGCOLOR + ';color:' + GL_ERRORCOLOR + '}' +
  5056. '\n.custom1 a{background-color:' + GL_CUSTOM1BGCOLOR + ';color:' + GL_CUSTOM1COLOR + '}' +
  5057. '\n.custom2 a{background-color:' + GL_CUSTOM2BGCOLOR + ';color:' + GL_CUSTOM2COLOR + '}' +
  5058. '\ndiv.note{background-color:' + GL_NOTEBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5059. '\ndiv.warning{background-color:' + GL_WARNINGBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5060. '\ndiv.error{background-color:' + GL_ERRORBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5061. '\nh2+ul>li{margin-bottom:1em}' +
  5062. '\nul{margin-top:0}' +
  5063. '\nh1,h2{margin-bottom:4px;font-family:Georgia,Times,"Times New Roman",serif}' +
  5064. '\nbody{margin:2em;font-family:"Lucida Grande","Lucida Sans Unicode","DejaVu Sans",Lucida,Arial,Helvetica,sans-serif}' +
  5065. '\ndiv#contents{display:inline-block;margin:1em 0;padding:1em;background-color:#f9f9f9;border:1px solid #aaa}' +
  5066. '\ndiv#contents li{margin-bottom:0.1em}' +
  5067. '\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;}' +
  5068. '\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}' +
  5069. '\n</style>' +
  5070. '\n<script>' +
  5071. '\nfunction selectAll(e){' +
  5072. 'if(window.getSelection){' +
  5073. 'var s = window.getSelection();' +
  5074. 'var r = document.createRange();' +
  5075. 'r.selectNodeContents(e);' +
  5076. 's.removeAllRanges();' +
  5077. 's.addRange(r);' +
  5078. '}}' +
  5079. '\n\x3c/script>' +
  5080. '\n<title>' + strTitle + ' ' + _nowISO + '</title>' +
  5081. '\n<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>' +
  5082. '\n</head><body>'
  5083. }
  5084. function getNaturalList(arr) {
  5085. if (1 === arr.length) return arr[0];
  5086. var ret = '';
  5087. arr.forEach(function(e, i) {
  5088. if (arr.length - 1 === i)
  5089. ret += ' ' + trS('report.and') + ' ';
  5090. else if (0 !== i)
  5091. ret += ', ';
  5092. ret += e
  5093. });
  5094. return ret
  5095. }
  5096. function getHeader(strTitle) {
  5097. var ret = Bh1 + strTitle + Eh1;
  5098. if (RF_LIST !== reportFormat && RF_CREATEPACK !== reportFormat) {
  5099. ret += Bsmall + trS('report.generated.by') + ' ' + _RT.$curUserName + ' ' + trS('report.generated.on') + ' ' + _nowISO + Esmall + Br + Br + Bb + trS('report.source') + ' ' + Eb + Ba +
  5100. getTopPermalink() + Ca + checkNoCity(getReportSource()) + Ea + Br;
  5101. var filters = [];
  5102. if (_UI.pMain.pFilter.oExcludeDuplicates.CHECKED) filters.push(trS('report.filter.duplicate'));
  5103. if (!_UI.pMain.pFilter.oEnablePlaces.CHECKED) filters.push(trS('report.filter.places'));
  5104. if (_UI.pMain.pFilter.oExcludeStreets.CHECKED) filters.push(trS('report.filter.streets'));
  5105. if (_UI.pMain.pFilter.oExcludeOther.CHECKED) filters.push(trS('report.filter.other'));
  5106. if (_UI.pMain.pFilter.oExcludeNonEditables.CHECKED) filters.push(trS('report.filter.noneditable'));
  5107. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED) filters.push(trS('report.filter.notes'));
  5108. if (filters.length) {
  5109. noFilters = false;
  5110. ret += Bb + trS('report.filter.title') + ' ' + Eb + getNaturalList(filters) + ' ' + trS('report.filter.excluded') + Br
  5111. }
  5112. filters = [];
  5113. if (!_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) filters.push(trS('report.search.updated.by') + ' ' + _RT.$curUserName);
  5114. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) filters.push(trS('report.search.updated.by') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE);
  5115. if (_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) filters.push(trS('report.search.updated.since') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE);
  5116. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) filters.push(trS('report.search.city') + ' ' + _UI.pMain.pSearch.oIncludeCityName.VALUE);
  5117. if (_UI.pMain.pSearch.oIncludeChecks.VALUE) filters.push(trS('report.search.reported') + ' ' + _UI.pMain.pSearch.oIncludeChecks.VALUE);
  5118. if (filters.length) {
  5119. noFilters = false;
  5120. ret += Bb + trS('report.search.title') + Eb + ' ' + trS('report.search.only') + ' ' + getNaturalList(filters) + ' ' + trS('report.search.included') + Br
  5121. }
  5122. if (isBeta) ret += Br + Bb + trS('report.beta.warning') + Eb + Br + trS('report.beta.text') + Br + Bb + trS('report.beta.share') + Eb + Br
  5123. }
  5124. return ret
  5125. }
  5126. function getSubHeader(strTitle) {
  5127. return Bh2 + strTitle + Eh2
  5128. }
  5129. function getTextACL(acl) {
  5130. if (acl)
  5131. return acl.split(',').join(', ');
  5132. else
  5133. return '*'
  5134. }
  5135. function getCheckProperties(checkID, ccode, showSeverity, showCountry) {
  5136. var check = _RT.$checks[checkID];
  5137. var ret = '';
  5138. if (showSeverity && check.SEVERITY && RS_MAX > check.SEVERITY)
  5139. ret += Bb + trS('report.list.severity') + ' ' + Eb + getTextSeverity(check.SEVERITY) + (check.REPORTONLY ? ' (' + trS('report.list.reportOnly') + ')' : '') + Br;
  5140. if (1 < check.FORLEVEL) ret += Bb + trS('report.list.forEditors') + ' ' + Eb + check.FORLEVEL + ' ' + trS('report.list.andUp') + Br;
  5141. if (showCountry) ret += Bb + trS('report.list.forCountries') + ' ' + Eb + getTextACL(check.FORCOUNTRY) + Br;
  5142. if (check.FORCITY) ret += Bb + trS('report.list.forCities') + ' ' + Eb + getTextACL(check.FORCITY) + Br;
  5143. var options;
  5144. if (check.OPTIONS && (options = getCheckOptions(checkID, ccode))) {
  5145. var defParams = ccode === _I18n.$defLng;
  5146. var arrParams = [];
  5147. for (var optionName in options) {
  5148. if (!/^[a-z]+$/i.test(optionName)) continue;
  5149. var optionTitle = options[optionName + '.title'];
  5150. if (defParams && !optionTitle) continue;
  5151. arrParams.push({$name: optionName, $title: optionTitle, $value: options[optionName]})
  5152. }
  5153. if (arrParams.length) {
  5154. ret += Bb;
  5155. var country = _I18n.getCapitalizedCountry(ccode) || ccode;
  5156. if (defParams)
  5157. ret += trS('report.list.params');
  5158. else
  5159. ret += trSO('report.list.params.set', {'country': country});
  5160. ret += Eb + Bcode + '"' + checkID + '.params": {\n';
  5161. for (var i = 0; i < arrParams.length; i++) {
  5162. var param = arrParams[i];
  5163. if (defParams) ret += ' // ' + param.$title + '\n';
  5164. ret += ' "' + param.$name + '": ' + JSON.stringify(param.$value) + ',' +
  5165. '\n'
  5166. }
  5167. ret += '},' + Ecode
  5168. }
  5169. }
  5170. return ret
  5171. }
  5172. function addTextLabels(pack, label, defSet, oldPack) {
  5173. var defData = (defSet[label] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM);
  5174. var origData = oldPack[label] || '';
  5175. if (origData) {
  5176. 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);
  5177. var oldDataEN = (oldPack[label + '.en'] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM);
  5178. if (oldDataEN)
  5179. if (oldDataEN === defData) {
  5180. pack[label + '.en'] = defData;
  5181. pack[label] = origData
  5182. } else {
  5183. pack[label + '.en'] = defData;
  5184. pack[label] = GL_TODOMARKER + oldData
  5185. }
  5186. else {
  5187. pack[label + '.en'] = defData;
  5188. pack[label] = origData
  5189. }
  5190. } else {
  5191. pack[label + '.en'] = defData;
  5192. pack[label] = GL_TODOMARKER + defData
  5193. }
  5194. }
  5195. function getPackHeader(country, lng) {
  5196. return '// ==UserScript==' + Br + '// @name WME Validator Localization for ' + country + Br + '// @version ' + WV_VERSION + Br +
  5197. '// @description This script localizes WME Validator for ' + country + '. You also need main package (WME Validator) installed.' + Br +
  5198. '// @match https://beta.waze.com/*editor*' + Br + '// @match https://www.waze.com/*editor*' + Br + '// @exclude https://www.waze.com/*user/*editor/*' +
  5199. Br + '// @grant none' + Br + '// @run-at document-start' + Br + '// ==/UserScript==' + Br + '//' + Br + '/*' + Br +
  5200. (lng ? ' Please translate all the lines marked with "' + GL_TODOMARKER + '"' + Br + ' Please DO NOT change ".en" properties. To override english text use "titleEN",' + Br +
  5201. ' "problemEN" and "solutionEN" properties (see an example below).' + Br + Br :
  5202. '') +
  5203. ' See Settings->About->Available checks for complete list of checks and their params.' + Br + Br + ' Examples:' + Br + Br +
  5204. ' Enable #170 "Lowercase street name" but allow lowercase "exit" and "to":' + Br + ' "170.enabled": true,' + Br + ' "170.params": {' + Br +
  5205. ' "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 +
  5206. ' "130.enabled": true,' + Br + ' "130.params": {' + Br + ' "titleEN": "Street name with a dot",' + Br +
  5207. ' "problemEN": "There is a dot in the street name (excluding Ramps)",' + Br + ' "solutionEN": "Expand the abbreviation or remove the dot",' + Br +
  5208. ' "template": "${type}:${street}",' + Br + ' "regexp": "D/^[^4][0-9]?:.*\\\\./",' + Br + ' },' + Br +
  5209. ' *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 +
  5210. '*/' + Br
  5211. }
  5212. function getPack(country, ccode, lng) {
  5213. var ucountry = country.toUpperCase();
  5214. var _country = country.split(' ').join('_');
  5215. var oldPack = _I18n.$translations[ccode] || {};
  5216. var ret = '' + Br + 'window.WME_Validator_' + _country + ' = ';
  5217. var newCountries = [];
  5218. for (var k in _I18n.$country2code)
  5219. if (ccode === _I18n.$country2code[k] && ucountry !== k) newCountries.push(_I18n.capitalize(k));
  5220. newCountries.unshift(country);
  5221. var newAuthor = oldPack['.author'] || _RT.$topUser.$userName;
  5222. if (-1 === newAuthor.indexOf(_RT.$topUser.$userName)) newAuthor += ' and ' + _RT.$topUser.$userName;
  5223. var newLink = oldPack['.link'] || GL_TODOMARKER;
  5224. var pack = {'.country': 1 === newCountries.length ? newCountries[0] : newCountries, '.codeISO': ccode, '.author': newAuthor, '.updated': _nowISO, '.link': newLink};
  5225. if (ccode in _I18n.$code2code) pack['.fallbackCode'] = _I18n.$code2code[ccode];
  5226. if (lng) {
  5227. if (ccode in _I18n.$code2dir) pack['.dir'] = _I18n.$code2dir[ccode];
  5228. var newLngs = [];
  5229. for (var k in _I18n.$lng2code)
  5230. if (ccode === _I18n.$lng2code[k] && k !== lng) newLngs.push(k);
  5231. newLngs.unshift(lng);
  5232. pack['.lng'] = 1 === newLngs.length ? newLngs[0] : newLngs
  5233. }
  5234. if (lng)
  5235. for (var label in _I18n.$defSet) {
  5236. if (/^\./.test(label) || /^[0-9]/.test(label)) continue;
  5237. addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5238. }
  5239. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  5240. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5241. for (var i = 1; i < MAX_CHECKS; i++) {
  5242. if (CK_MIRRORFIRST + 100 <= i && CK_MIRRORLAST + 100 >= i) continue;
  5243. var label = i + '.enabled';
  5244. var checkEnabled = false;
  5245. if (_I18n.$defSet[label] || oldPack[label]) checkEnabled = true;
  5246. if (!checkEnabled)
  5247. for (var depC = 0; depC < arrDepCodes.length; depC++) {
  5248. var depCode = arrDepCodes[depC];
  5249. if (_I18n.$translations[depCode] && _I18n.$translations[depCode][label]) checkEnabled = true
  5250. }
  5251. if (checkEnabled && !(i + '.title' in _I18n.$defSet)) {
  5252. pack[i + '.note'] = GL_TODOMARKER + 'The check #' + i + ' is no longer exist. See the forum thread for more details.';
  5253. continue
  5254. }
  5255. for (var j = 0; j < allLabels.length; j++) {
  5256. var labelSfx = allLabels[j];
  5257. label = i + '.' + labelSfx;
  5258. var defData = _I18n.$defSet[label];
  5259. var oldData = oldPack[label];
  5260. if (classCodeDefined(defData) || classCodeDefined(oldData))
  5261. if (-1 !== _RT.$textLabels.indexOf(labelSfx)) {
  5262. if (lng && checkEnabled) addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5263. } else {
  5264. if ('params' === labelSfx) {
  5265. if (!classCodeDefined(oldData)) continue;
  5266. defData = deepCopy(defData || {});
  5267. oldData = deepCopy(oldData);
  5268. for (var k = CO_MIN; k <= CO_MAX; k++) {
  5269. delete defData[k];
  5270. delete oldData[k]
  5271. }
  5272. for (var k in defData) {
  5273. if (!defData.hasOwnProperty(k)) continue;
  5274. if (/\.title$/.test(k)) delete defData[k]
  5275. }
  5276. }
  5277. if (!deepCompare(defData, oldData)) pack[label] = oldData
  5278. }
  5279. }
  5280. }
  5281. ret += JSON.stringify(pack, null, ' ') + ';\n';
  5282. return ret
  5283. }
  5284. function getListOfChecks(countryID, country) {
  5285. var ucountry = country.toUpperCase();
  5286. var ccode = '';
  5287. if (countryID) ccode = _I18n.getCountryCode(ucountry);
  5288. var ret = trS('report.list.see') + ' ' + Bb + trS('report.list.checks') + Eb + Br + Br;
  5289. var fallbacks = '';
  5290. if (ccode)
  5291. for (var i in _I18n.$country2code) {
  5292. if (!_I18n.$country2code.hasOwnProperty(i)) continue;
  5293. if (i === ucountry) continue;
  5294. var acode = _I18n.$country2code[i];
  5295. if (ccode && acode !== ccode) continue;
  5296. fallbacks += _I18n.capitalize(i) + ' → ' + country + Br
  5297. }
  5298. for (var i in _I18n.$code2code) {
  5299. if (!_I18n.$code2code.hasOwnProperty(i)) continue;
  5300. var countryFrom = _I18n.getCapitalizedCountry(i);
  5301. var countryTo = _I18n.getCapitalizedCountry(_I18n.$code2code[i]);
  5302. if (ccode && i !== ccode && _I18n.$code2code[i] !== ccode) continue;
  5303. if (country && countryFrom !== country && countryTo !== country) continue;
  5304. fallbacks += countryFrom + ' (' + i + ') → ' + countryTo + ' (' + _I18n.$code2code[i] + ')' + Br
  5305. }
  5306. if (fallbacks) ret += Bb + trS('report.list.fallback') + Eb + Br + fallbacks;
  5307. var sortedIDs = getSortedCheckIDs();
  5308. if (ccode) {
  5309. var enabledIDs = [];
  5310. var disabledIDs = [];
  5311. sortedIDs.forEach(function(cid) {
  5312. var c = _RT.$checks[cid];
  5313. if (!c) return;
  5314. if (RS_MAX === c.SEVERITY) return;
  5315. var en = true;
  5316. var forCountry = c.FORCOUNTRY;
  5317. if (forCountry)
  5318. if (!_WV.checkAccessFor(forCountry, function(e) {
  5319. if (e in _I18n.$code2country) return _I18n.$code2country[e] === ucountry;
  5320. error('Please report: fc=' + e);
  5321. return false
  5322. }))
  5323. en = false;
  5324. if (en)
  5325. enabledIDs.push(cid);
  5326. else
  5327. disabledIDs.push(cid)
  5328. });
  5329. ret += Bh2 + trSO('report.list.enabled', {'n': enabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5330. enabledIDs.forEach(function(cid) {
  5331. ret += Bli + getCheckDescription(cid, countryID, Bb, Eb + Br) + Bsmall;
  5332. ret += getCheckProperties(cid, ccode, false, false);
  5333. ret += Esmall + Eli
  5334. });
  5335. ret += Eul;
  5336. ret += Bh2 + trSO('report.list.disabled', {'n': disabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5337. disabledIDs.forEach(function(cid) {
  5338. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5339. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5340. ret += Esmall + Eli
  5341. });
  5342. ret += Eul
  5343. } else {
  5344. ret += Bh2 + trSO('report.list.total', {'n': sortedIDs.length}) + ':' + Eh2 + Bul;
  5345. sortedIDs.forEach(function(cid) {
  5346. var c = _RT.$checks[cid];
  5347. if (!c) return;
  5348. if (RS_MAX === c.SEVERITY) return;
  5349. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5350. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5351. ret += Esmall + Eli
  5352. });
  5353. ret += Eul
  5354. }
  5355. return ret
  5356. }
  5357. function getHTMLFooter() {
  5358. return '\n<hr>' +
  5359. '\n<center dir="ltr"><small>WME Validator v' + WV_VERSION + '<br>&copy; 2013-2018 Andriy Berestovskyy</small></center>' +
  5360. '\n</body></html>'
  5361. }
  5362. function getTAHeader(h) {
  5363. var ret = '\n<p>' + (RF_CREATEPACK === reportFormat ? trS('msg.textarea.pack') : trS('msg.textarea')) + ':</p>' +
  5364. '\n<p><textarea style="resize:vertical;width:100%;height:' + h + '">';
  5365. setFormat(RF_BB);
  5366. return ret
  5367. }
  5368. function getTAFooter() {
  5369. setFormat(RF_HTML);
  5370. return '\n</textarea></p>'
  5371. }
  5372. function getSizeWarning(size) {
  5373. return 5E4 < size ? '\n<p style="color:#e00">' + trSO('report.size.warning', {'n': size}) + '</p>' : ''
  5374. }
  5375. function openWindow(data) {
  5376. var nw = UW.open('', '_blank');
  5377. nw.document.write(data)
  5378. }
  5379. function openWindowFR(title) {
  5380. var encFR = 'data:text/html;charset=UTF-8,';
  5381. if (newWin)
  5382. if (reportFormat === RF_HTML) {
  5383. title = title.split(' ').join('_');
  5384. newWin.document.write(FRheader);
  5385. var saveRep = FRheader;
  5386. saveRep += FR;
  5387. saveRep += FRfooter;
  5388. saveRep = encodeURIComponent(saveRep);
  5389. var saveLink = '<br><a download="';
  5390. saveLink += title;
  5391. saveLink += '_';
  5392. saveLink += _nowISO;
  5393. saveLink += '.html" href="data:text/html;charset=UTF-8,';
  5394. saveLink += saveRep;
  5395. saveRep = '';
  5396. saveLink += '"><button>';
  5397. saveLink += trS('report.save');
  5398. saveLink += '</button></a><br>';
  5399. newWin.document.write(saveLink);
  5400. newWin.document.write(FR);
  5401. newWin.document.write(saveLink);
  5402. newWin.document.write(FRfooter)
  5403. } else
  5404. newWin.document.write(FR);
  5405. else {
  5406. encFR += encodeURIComponent(FRheader);
  5407. FRheader = '';
  5408. encFR += encodeURIComponent(FR);
  5409. FR = '';
  5410. encFR += encodeURIComponent(FRfooter);
  5411. FRfooter = '';
  5412. UW.open(encFR, '_blank')
  5413. }
  5414. }
  5415. var seenObjects = {};
  5416. var lastCheckID = -1;
  5417. var lastCityID = -1;
  5418. var lastStreetID = -1;
  5419. var counterNotes = 0;
  5420. var counterWarnings = 0;
  5421. var counterErrors = 0;
  5422. var counterCustoms1 = 0;
  5423. var counterCustoms2 = 0;
  5424. function resetFilter() {
  5425. seenObjects = {};
  5426. lastCheckID = -1;
  5427. lastCityID = -1;
  5428. lastStreetID = -1;
  5429. counterNotes = 0;
  5430. counterWarnings = 0;
  5431. counterErrors = 0;
  5432. counterCustoms1 = 0;
  5433. counterCustoms2 = 0
  5434. }
  5435. function getTOC() {
  5436. resetFilter();
  5437. FR += '\n<br><div id="contents">';
  5438. FR += '\n<big><b>';
  5439. FR += trS('report.contents');
  5440. FR += '</b></big>';
  5441. FR += '\n<ol>';
  5442. traverseReport(function(obj) {
  5443. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false))
  5444. if (obj.$checkID !== lastCheckID) {
  5445. lastCheckID = obj.$checkID;
  5446. var check = obj.$check;
  5447. var strCountry = _REP.$countries[obj.$objectCopy.$countryID];
  5448. var ccode = '';
  5449. if (strCountry)
  5450. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5451. else
  5452. ccode = _RT.$cachedTopCCode;
  5453. var options = trO(check.OPTIONS, ccode);
  5454. FR += '\n<li class="';
  5455. FR += getTextSeverity(obj.$check.SEVERITY);
  5456. FR += '"><a href="#a';
  5457. FR += lastCheckID;
  5458. FR += '">';
  5459. FR += exSOS(check.TITLE, options, 'titleEN');
  5460. FR += '</a></li>'
  5461. }
  5462. });
  5463. FR += '\n<li><a href="#a">';
  5464. FR += trS('report.summary');
  5465. FR += '</a></li>';
  5466. FR += '\n</ol>\n</div>'
  5467. }
  5468. function getSortedCheckIDs() {
  5469. return _RT.$sortedCheckIDs ? _RT.$sortedCheckIDs : _RT.$sortedCheckIDs = Object.keys(_RT.$checks).sort(cmpCheckIDs)
  5470. }
  5471. function traverseReport(handler) {
  5472. var mapCenter = WM.getCenter();
  5473. function getSortedCities() {
  5474. var ret = _REP.$sortedCityIDs;
  5475. if (!ret || ret.length != _REP.$unsortedCityIDs.length)
  5476. return _REP.$sortedCityIDs = [].concat(_REP.$unsortedCityIDs).sort(function(a, b) {
  5477. return _repC[a].localeCompare(_repC[b])
  5478. });
  5479. return ret
  5480. }
  5481. function getSortedStreets(repC) {
  5482. var ret = repC.$sortedStreetIDs;
  5483. if (!ret || ret.length != repC.$unsortedStreetIDs.length)
  5484. return repC.$sortedStreetIDs = [].concat(repC.$unsortedStreetIDs).sort(function(a, b) {
  5485. return _repS[a].localeCompare(_repS[b])
  5486. });
  5487. return ret
  5488. }
  5489. function getHypot(c1, c2) {
  5490. return Math.sqrt(c1 * c1 + c2 * c2)
  5491. }
  5492. function getSortedObjects(repS) {
  5493. var ret = repS.$sortedObjectIDs;
  5494. var repSeg = repS.$objectIDs;
  5495. if (!ret || ret.length != repS.$unsortedObjectIDs.length)
  5496. return repS.$sortedSegmentIDs = [].concat(repS.$unsortedObjectIDs).sort(function(a, b) {
  5497. var segA = repSeg[a], segB = repSeg[b];
  5498. if (segA.$typeRank !== segB.$typeRank) return segB.$typeRank - segA.$typeRank;
  5499. var distAB = getHypot(segA.$center.lat - segB.$center.lat, segA.$center.lon - segB.$center.lon);
  5500. if (.002 > distAB) return 0;
  5501. var distA = getHypot(mapCenter.lat - segA.$center.lat, mapCenter.lon - segA.$center.lon);
  5502. var distB = getHypot(mapCenter.lat - segB.$center.lat, mapCenter.lon - segB.$center.lon);
  5503. return distA - distB
  5504. });
  5505. return ret
  5506. }
  5507. var checkIDs = getSortedCheckIDs();
  5508. nextCheck: for (var i = 1; i < checkIDs.length; i++) {
  5509. var checkID = checkIDs[i];
  5510. var check = _RT.$checks[checkID];
  5511. if (!check) continue;
  5512. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED && RS_NOTE === check.SEVERITY) continue;
  5513. var sortedCities = getSortedCities();
  5514. for (var sorcid = 0; sorcid < sortedCities.length; sorcid++) {
  5515. var cid = sortedCities[sorcid];
  5516. var repC = _REP.$cityIDs[cid];
  5517. var sortedStreets = getSortedStreets(repC);
  5518. for (var sorsid = 0; sorsid < sortedStreets.length; sorsid++) {
  5519. var sid = sortedStreets[sorsid];
  5520. var repS = repC.$streetIDs[sid];
  5521. if (repS.$unsortedObjectIDs) {
  5522. var sortedObjects = getSortedObjects(repS);
  5523. for (var sorscid = 0; sorscid < sortedObjects.length; sorscid++) {
  5524. var scid = sortedObjects[sorscid];
  5525. var sc = repS.$objectIDs[scid];
  5526. if (checkID in sc.$reportIDs) {
  5527. var obj = {$checkID: checkID, $check: check, $param: sc.$reportIDs[checkID], $cityParam: repC.$params[checkID], $streetParam: repS.$params[checkID], $objectCopy: sc};
  5528. switch (handler(obj)) {
  5529. case RT_STOP:
  5530. return;
  5531. case RT_NEXTCHECK:
  5532. continue nextCheck
  5533. }
  5534. }
  5535. }
  5536. }
  5537. }
  5538. }
  5539. }
  5540. }
  5541. function closeReportStreet() {
  5542. if (0 <= lastStreetID || 0 <= lastCityID) {
  5543. lastStreetID = -1;
  5544. FR += Eli
  5545. }
  5546. }
  5547. function closeReportCity() {
  5548. if (0 <= lastCityID) {
  5549. lastCityID = -1;
  5550. closeReportStreet();
  5551. FR += Eul
  5552. }
  5553. }
  5554. function closeReportCheck() {
  5555. if (0 <= lastCheckID) {
  5556. if (LIMIT_PERCHECK < _repRC[lastCheckID])
  5557. if (1 === _repRC[lastCheckID] - LIMIT_PERCHECK)
  5558. FR += '[and more...]';
  5559. else {
  5560. FR += '[and ';
  5561. FR += _repRC[lastCheckID] - LIMIT_PERCHECK;
  5562. FR += ' objects more...]'
  5563. }
  5564. lastCheckID = -1;
  5565. closeReportCity()
  5566. }
  5567. if (RF_HTML === curFormat) FR += '</div>'
  5568. }
  5569. function getCheckDescription(checkID, countryID, headB, headE) {
  5570. var check = _RT.$checks[checkID];
  5571. var ret = headB;
  5572. var strCountry = _REP.$countries[countryID];
  5573. var ccode = '';
  5574. if (strCountry)
  5575. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5576. else
  5577. ccode = _RT.$cachedTopCCode;
  5578. var options = trO(check.OPTIONS, ccode);
  5579. if (check.COLOR) ret += Bcolor + check.COLOR + Ccolor + '██ ' + Ecolor;
  5580. ret += '' + (countryID ? exSOS(check.TITLE, options, 'titleEN') : check.TITLE) + ' (#' + checkID + ')' + headE;
  5581. var sevColor = GL_NOTECOLOR;
  5582. switch (check.SEVERITY) {
  5583. case RS_WARNING:
  5584. sevColor = GL_WARNINGCOLOR;
  5585. break;
  5586. case RS_ERROR:
  5587. sevColor = GL_ERRORCOLOR;
  5588. break;
  5589. case RS_CUSTOM1:
  5590. sevColor = GL_CUSTOM1COLOR;
  5591. break;
  5592. case RS_CUSTOM2:
  5593. sevColor = GL_CUSTOM2COLOR;
  5594. break
  5595. }
  5596. if (check.PROBLEM) {
  5597. ret += Bcolor + sevColor + Ccolor + (countryID ? exSOS(check.PROBLEM, options, 'problemEN') : check.PROBLEM);
  5598. var pl = trO(check.PROBLEMLINK, ccode);
  5599. if (pl)
  5600. ret += ': ' + Ba + pl + Ca + trO(check.PROBLEMLINKTEXT, ccode) + Ea;
  5601. else
  5602. ret += '.';
  5603. ret += Ecolor + Br
  5604. }
  5605. if (check.SOLUTION) {
  5606. ret += countryID ? exSOS(check.SOLUTION, options, 'solutionEN') : check.SOLUTION;
  5607. var sl = trO(check.SOLUTIONLINK, ccode);
  5608. if (sl)
  5609. ret += ': ' + Ba + sl + Ca + trO(check.SOLUTIONLINKTEXT, ccode) + Ea;
  5610. else
  5611. ret += '.';
  5612. ret += Br
  5613. }
  5614. return ret
  5615. }
  5616. function getReportCheck(obj) {
  5617. closeReportCheck();
  5618. if (RF_HTML === curFormat) {
  5619. FR += '<div class="';
  5620. FR += getTextSeverity(obj.$check.SEVERITY);
  5621. FR += '"><a name="a';
  5622. FR += obj.$checkID;
  5623. FR += '"></a>'
  5624. }
  5625. FR += getCheckDescription(obj.$checkID, obj.$objectCopy.$countryID, Bh2, Eh2);
  5626. FR += Br
  5627. }
  5628. function getReportCity(obj) {
  5629. closeReportCity();
  5630. FR += Bbig;
  5631. FR += Bb;
  5632. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5633. FR += Eb;
  5634. FR += Ebig;
  5635. if (obj.$cityParam) {
  5636. FR += Mdash;
  5637. FR += obj.$cityParam
  5638. }
  5639. FR += Bul
  5640. }
  5641. function getReportStreet(obj) {
  5642. closeReportStreet();
  5643. FR += Bli;
  5644. FR += checkNoStreet(_repS[obj.$objectCopy.$streetID]);
  5645. FR += ', ';
  5646. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5647. if (obj.$streetParam) {
  5648. FR += Mdash;
  5649. FR += obj.$streetParam
  5650. }
  5651. FR += Br
  5652. }
  5653. function getPermalink(obj) {
  5654. var z = SCAN_ZOOM;
  5655. if (obj.$objectCopy)
  5656. if (50 > obj.$objectCopy.$length)
  5657. z = 7;
  5658. else if (500 > obj.$objectCopy.$length) {
  5659. if (6 > z) z += 1
  5660. } else
  5661. z = 4;
  5662. else
  5663. z = 4;
  5664. FR += window.location.origin;
  5665. FR += window.location.pathname;
  5666. FR += '?zoom=';
  5667. FR += z;
  5668. FR += '&lat=';
  5669. FR += obj.$objectCopy.$center.lat;
  5670. FR += '&lon=';
  5671. FR += obj.$objectCopy.$center.lon;
  5672. FR += '&env=';
  5673. FR += nW.app.getAppRegionCode();
  5674. FR += '&' + obj.$objectCopy.$model.name + '=';
  5675. FR += obj.$objectCopy.$objectID
  5676. }
  5677. function getReportItem(obj) {
  5678. if (!checkFilter(0, obj.$objectCopy, seenObjects) || !getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) return;
  5679. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5680. if (obj.$checkID !== lastCheckID) {
  5681. getReportCheck(obj);
  5682. if (noFilters) {
  5683. var c = _repRC[obj.$checkID];
  5684. switch (obj.$check.SEVERITY) {
  5685. case RS_NOTE:
  5686. counterNotes += c;
  5687. break;
  5688. case RS_WARNING:
  5689. counterWarnings += c;
  5690. break;
  5691. case RS_ERROR:
  5692. counterErrors += c;
  5693. break;
  5694. case RS_CUSTOM1:
  5695. counterCustoms1 += c;
  5696. break;
  5697. case RS_CUSTOM2:
  5698. counterCustoms2 += c;
  5699. break
  5700. }
  5701. }
  5702. }
  5703. if (obj.$objectCopy.$cityID !== lastCityID) getReportCity(obj);
  5704. if (obj.$objectCopy.$streetID !== lastStreetID) getReportStreet(obj);
  5705. lastCityID = obj.$objectCopy.$cityID;
  5706. lastStreetID = obj.$objectCopy.$streetID;
  5707. lastCheckID = obj.$checkID;
  5708. if (!noFilters) switch (obj.$check.SEVERITY) {
  5709. case RS_NOTE:
  5710. counterNotes++;
  5711. break;
  5712. case RS_WARNING:
  5713. counterWarnings++;
  5714. break;
  5715. case RS_ERROR:
  5716. counterErrors++;
  5717. break;
  5718. case RS_CUSTOM1:
  5719. counterCustoms1++;
  5720. break;
  5721. case RS_CUSTOM2:
  5722. counterCustoms2++;
  5723. break
  5724. }
  5725. FR += BaV;
  5726. getPermalink(obj);
  5727. FR += Ca;
  5728. if (isBeta) FR += 'B:';
  5729. if (obj.$objectCopy.$model === WMo.segments)
  5730. FR += obj.$objectCopy.$objectID;
  5731. else if (obj.$objectCopy.$name !== '')
  5732. FR += obj.$objectCopy.$name;
  5733. else
  5734. FR += obj.$objectCopy.$objectID;
  5735. FR += Ea;
  5736. FR += ' '
  5737. }
  5738. function getSummary() {
  5739. if (RF_HTML === curFormat) FR += '<a name="a"></a>';
  5740. FR += Bh2;
  5741. FR += trS('report.summary');
  5742. FR += Eh2;
  5743. FR += Bb;
  5744. FR += trS('report.segments');
  5745. FR += Eb;
  5746. FR += ' ';
  5747. FR += _REP.$counterTotal;
  5748. FR += Br;
  5749. if (counterCustoms1 || counterCustoms2) {
  5750. FR += Bb;
  5751. FR += trS('report.customs');
  5752. FR += Eb;
  5753. FR += ' ';
  5754. FR += counterCustoms1;
  5755. FR += '/';
  5756. FR += counterCustoms2;
  5757. if (_REP.$isLimitPerCheck) FR += '*';
  5758. FR += Br
  5759. }
  5760. FR += Bb;
  5761. FR += trS('report.reported');
  5762. FR += Eb;
  5763. FR += ' ';
  5764. var summary = [];
  5765. if (counterErrors)
  5766. summary.push(Bb + trS('report.errors') + Mdash + Eb + ' ' + counterErrors + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterErrors * 1E3 / _REP.$counterTotal) + '‰)');
  5767. if (counterWarnings)
  5768. summary.push(Bb + trS('report.warnings') + Mdash + Eb + ' ' + counterWarnings + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterWarnings * 1E3 / _REP.$counterTotal) + '‰)');
  5769. if (counterNotes) summary.push(Bb + trS('report.notes') + Mdash + Eb + ' ' + counterNotes + (_REP.$isLimitPerCheck ? '*' : ''));
  5770. FR += getNaturalList(summary);
  5771. FR += Br;
  5772. if (_REP.$isLimitPerCheck) {
  5773. FR += trS('report.note.limit');
  5774. FR += Br
  5775. }
  5776. FR += Br;
  5777. FR += trS('report.forum');
  5778. FR += ' ';
  5779. FR += Ba;
  5780. FR += PFX_FORUM;
  5781. FR += FORUM_HOME;
  5782. FR += Ca;
  5783. FR += trS('report.forum.link');
  5784. FR += Ea;
  5785. FR += Br;
  5786. FR += Br;
  5787. FR += trS('report.thanks');
  5788. FR += Br
  5789. }
  5790. function getReport(fmt) {
  5791. var oldFormat = curFormat;
  5792. setFormat(fmt);
  5793. resetFilter();
  5794. _REP.$maxSeverity = 0;
  5795. traverseReport(function(e) {
  5796. getReportItem(e)
  5797. });
  5798. closeReportCheck();
  5799. getSummary();
  5800. setFormat(oldFormat)
  5801. }
  5802. function updateMaxSeverity() {
  5803. resetFilter();
  5804. _REP.$maxSeverity = 0;
  5805. traverseReport(function(obj) {
  5806. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) {
  5807. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5808. if (_RT.$curMaxSeverity === _REP.$maxSeverity) return RT_STOP
  5809. }
  5810. })
  5811. }
  5812. setFormat(RF_HTML);
  5813. var t = trS('report.title');
  5814. switch (reportFormat) {
  5815. case RF_UPDATEMAXSEVERITY:
  5816. updateMaxSeverity();
  5817. break;
  5818. case RF_CREATEPACK:
  5819. var wType = 'Localization Package Wizard';
  5820. if (!window.confirm(getMsg(
  5821. wType,
  5822. '\nBefore starting the Wizard:' +
  5823. '\n\n1. Position WME over your country' +
  5824. '\n so the Wizard will know your country name' +
  5825. '\n\n2. Switch WME to your language' +
  5826. '\n so the Wizard will add translations into the package' +
  5827. '\n\n3. Enable any previous version of localization pack' +
  5828. '\n so the Wizard will preserve already translated text',
  5829. true)))
  5830. break;
  5831. var country = _RT.$topCity && _RT.$topCity.$country ? _RT.$topCity.$country : window.prompt(getMsg(wType, '\nWME country name (example: United Kingdom):', true));
  5832. if (!country) break;
  5833. var ucountry = country.toUpperCase();
  5834. var ccode = _I18n.getCountryCode(ucountry) ? _I18n.getCountryCode(ucountry) : window.prompt(getMsg(wType, '\nISO 3166-1 Alpha-2 country code (example: UK):', true));
  5835. if (!ccode) break;
  5836. ccode = ccode.toUpperCase();
  5837. var lng = window.prompt(
  5838. getMsg(
  5839. wType,
  5840. '\nPlease confirm the WME language code:' +
  5841. '\n\nfor "EN" no translations will be included into the package' +
  5842. '\nfor any other code the translations will be included',
  5843. true),
  5844. _RT.$lng);
  5845. if (!lng) break;
  5846. lng = lng.toUpperCase();
  5847. if (_I18n.$defLng === lng)
  5848. t = 'Minimal Localization for ' + country;
  5849. else
  5850. t = 'Localization and Translation for ' + country;
  5851. if (_I18n.$defLng === lng) lng = '';
  5852. var lPack = getHTMLHeader(t) + getHeader(t) + getTAHeader('400px') + getPackHeader(country, lng) + getPack(country, ccode, lng);
  5853. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5854. for (var i = 0; i < arrDepCodes.length; i++) {
  5855. var depCode = arrDepCodes[i];
  5856. var depCountry = _I18n.getCapitalizedCountry(depCode);
  5857. if (depCountry && depCode) {
  5858. lPack += '\n// Dependant package:';
  5859. lPack += getPack(depCountry, depCode, '')
  5860. }
  5861. }
  5862. openWindow(lPack + getTAFooter() + getHTMLFooter());
  5863. break;
  5864. case RF_LIST:
  5865. var countryID = 0;
  5866. var country = '';
  5867. t = trS('report.list.title') + ' ';
  5868. if (_RT.$topCity && _RT.$topCity.$country) {
  5869. countryID = _RT.$topCity.$countryID;
  5870. country = _RT.$topCity.$country;
  5871. t += country + ' (v' + WV_VERSION + ')'
  5872. } else
  5873. t += 'v' + WV_VERSION;
  5874. openWindow(getHTMLHeader(t) + getHeader(t) + getListOfChecks(countryID, country) + getTAHeader('200px') + getHeader(t) + getListOfChecks(countryID, country) + getTAFooter() + getHTMLFooter());
  5875. break;
  5876. case RF_HTML:
  5877. newWin = UW.open('', '_blank');
  5878. FR += getHTMLHeader(t);
  5879. FR += getHeader(t);
  5880. FRheader = FR;
  5881. FR = '';
  5882. getTOC();
  5883. getReport(RF_HTML);
  5884. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5885. if (newWin) newWin.close();
  5886. async(F_UPDATEUI);
  5887. break
  5888. }
  5889. FRfooter += getHTMLFooter();
  5890. openWindowFR(t);
  5891. break;
  5892. case RF_BB:
  5893. newWin = UW.open('', '_blank');
  5894. var tf = t + ' ' + trS('report.share');
  5895. FR += getHTMLHeader(tf);
  5896. FR += getHeader(tf);
  5897. FR += getTAHeader('200px');
  5898. var beforeShareLen = FR.length;
  5899. FR += getHeader(t);
  5900. getReport(RF_BB);
  5901. var shareLen = FR.length - beforeShareLen;
  5902. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5903. if (newWin) newWin.close();
  5904. async(F_UPDATEUI);
  5905. break
  5906. }
  5907. FR += getTAFooter();
  5908. FR += getSizeWarning(shareLen);
  5909. FR += getHTMLFooter();
  5910. openWindowFR();
  5911. break
  5912. }
  5913. resetFilter()
  5914. };
  5915. function F_VALIDATE(disabledHL) {
  5916. if (!_RT.$isMapChanged) return;
  5917. _RT.$isMapChanged = false;
  5918. var bUpdateMaxSeverity = false;
  5919. if (RTStateIs(ST_RUN)) beep(10);
  5920. var options;
  5921. var skippedObject = false;
  5922. if (disabledHL) {
  5923. updateObjectProperties([], true);
  5924. return
  5925. }
  5926. if (LIMIT_TOTAL < _REP.$counterTotal && !isErrorFlag()) {
  5927. setErrorFlag();
  5928. if (RTStateIs(ST_RUN)) {
  5929. window.alert(getMsg(trS('msg.autopaused'), '\n' + trS('msg.limit.segments') + trS('msg.limit.segments.continue'), true));
  5930. sync(F_PAUSE)
  5931. } else
  5932. warning(trS('msg.limit.segments') + trS('msg.limit.segments.clear'));
  5933. return
  5934. }
  5935. _RT.$topCenter = WM.getCenter();
  5936. if (_UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED) {
  5937. var el = document.getElementById(_RT.oReportWMECH.FORID);
  5938. if (el) {
  5939. var ev = new CustomEvent('click');
  5940. el.dispatchEvent(ev)
  5941. }
  5942. }
  5943. var _repC = _REP.$cities;
  5944. var _repCC = _REP.$cityCounters;
  5945. var _repRC = _REP.$reportCounters;
  5946. var _repS = _REP.$streets;
  5947. var _repU = _REP.$users;
  5948. function isLimitOk(id) {
  5949. if (DEF_DEBUG)
  5950. return true;
  5951. else
  5952. return !(LIMIT_PERCHECK < _repRC[id])
  5953. }
  5954. function formatDate(d) {
  5955. var n = new Date(d);
  5956. return n.toISOString().substr(0, 10)
  5957. }
  5958. function getUserName(objID) {
  5959. var u = WMo.users.getObjectById(objID);
  5960. return u ? u.userName : objID.toString()
  5961. }
  5962. function getUserLevel(objID) {
  5963. var u = WMo.users.getObjectById(objID);
  5964. return u ? u.normalizedLevel : 0
  5965. }
  5966. function SimpleNODE(objID, segID) {
  5967. this.$rawNode = null;
  5968. this.$nodeID = objID;
  5969. this._center = null;
  5970. this.$center = null;
  5971. this.$isUturn = false;
  5972. this.$isEditable = true;
  5973. this.$isPartial = true;
  5974. this._rawRestrictions = [];
  5975. this._rawRestrictionIDs = [];
  5976. this._restrictions = null;
  5977. this.$restrictions = null;
  5978. this._rawOtherSegments = [];
  5979. this._otherSegments = null;
  5980. this.$otherSegments = null;
  5981. this._rawOutConnections = [];
  5982. this._outConnections = null;
  5983. this.$outConnections = null;
  5984. this._rawInConnections = [];
  5985. this._inConnections = null;
  5986. this.$inConnections = null;
  5987. this.$restrictionsLen = 0;
  5988. this.$otherSegmentsLen = 0;
  5989. this.$outConnectionsLen = 0;
  5990. this.$inConnectionsLen = 0;
  5991. var n = WMo.nodes.getObjectById(objID);
  5992. this.$rawNode = n;
  5993. if (n) {
  5994. this.$isPartial = n.attributes.partial;
  5995. this.$isEditable = true;
  5996. var co = n.attributes.restrictions;
  5997. for (var k in co) {
  5998. if (!co[k]) continue;
  5999. var _con = k.split(',');
  6000. var con0 = +_con[0];
  6001. if (+segID === con0) {
  6002. var con1 = +_con[1];
  6003. var cok = co[k];
  6004. for (var j = 0, l = cok.length; j < l; j++) {
  6005. this._rawRestrictions.push(cok[j]);
  6006. this._rawRestrictionIDs.push(con1)
  6007. }
  6008. }
  6009. }
  6010. this.$restrictionsLen = this._rawRestrictions.length;
  6011. for (var i = 0; i < n.attributes.segIDs.length; i++) {
  6012. var si = n.attributes.segIDs[i];
  6013. if (+segID === +si || !WMo.segments.getObjectById(si)) continue;
  6014. this._rawOtherSegments.push(si)
  6015. }
  6016. this.$otherSegmentsLen = this._rawOtherSegments.length;
  6017. co = n.attributes.connections;
  6018. for (var k in co) {
  6019. if (!co[k]) continue;
  6020. var _con = k.split(',');
  6021. var con0 = +_con[0];
  6022. var con1 = +_con[1];
  6023. if (+segID === con0 && +segID === con1) {
  6024. this.$isUturn = true;
  6025. continue
  6026. }
  6027. if (+segID === con0) this._rawOutConnections.push(con1);
  6028. if (+segID === con1) this._rawInConnections.push(con0)
  6029. }
  6030. }
  6031. this.$outConnectionsLen = this._rawOutConnections.length;
  6032. this.$inConnectionsLen = this._rawInConnections.length;
  6033. Object.defineProperties(this, {
  6034. $rawNode: {enumerable: false},
  6035. $nodeID: {writable: false},
  6036. _center: {enumerable: false},
  6037. $center: {get: this.getCenter},
  6038. $isUturn: {writable: false},
  6039. $isEditable: {writable: false},
  6040. $isPartial: {writable: false},
  6041. _rawRestrictions: {enumerable: false},
  6042. _rawRestrictionIDs: {enumerable: false},
  6043. _restrictions: {enumerable: false},
  6044. $restrictions: {get: this.getRestrictions},
  6045. _rawOtherSegments: {enumerable: false},
  6046. _otherSegments: {enumerable: false},
  6047. $otherSegments: {get: this.getOtherSegments},
  6048. _rawOutConnections: {enumerable: false},
  6049. _outConnections: {enumerable: false},
  6050. $outConnections: {get: this.getOutConnections},
  6051. _rawInConnections: {enumerable: false},
  6052. _inConnections: {enumerable: false},
  6053. $inConnections: {get: this.getInConnections},
  6054. $restrictionsLen: {writable: false},
  6055. $otherSegmentsLen: {writable: false},
  6056. $outConnectionsLen: {writable: false},
  6057. $inConnectionsLen: {writable: false}
  6058. })
  6059. }
  6060. SimpleNODE.prototype.getCenter = function() {
  6061. if (this._center) return this._center;
  6062. if (!this.$rawNode) return null;
  6063. var bounds = this.$rawNode.geometry.bounds;
  6064. this._center = (new OpenLayers.LonLat(bounds.left, bounds.bottom)).transform(WM.projection, WM.displayProjection);
  6065. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6066. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6067. return this._center
  6068. };
  6069. SimpleNODE.prototype.getRestrictions = function() {
  6070. var t;
  6071. return this._restrictions ? this._restrictions : (t = this, this._restrictions = this._rawRestrictions.map(function(e, i) {
  6072. return new SimpleRESTRICTION(e, t._rawRestrictionIDs[i])
  6073. }))
  6074. };
  6075. SimpleNODE.prototype.getOutConnections = function() {
  6076. return this._outConnections ? this._outConnections : this._outConnections = this._rawOutConnections.map(function(e) {
  6077. return new SimpleOBJECT(e, WMo.segments)
  6078. })
  6079. };
  6080. SimpleNODE.prototype.getInConnections = function() {
  6081. return this._inConnections ? this._inConnections : this._inConnections = this._rawInConnections.map(function(e) {
  6082. return new SimpleOBJECT(e, WMo.segments)
  6083. })
  6084. };
  6085. SimpleNODE.prototype.getOtherSegments = function() {
  6086. return this._otherSegments ? this._otherSegments : this._otherSegments = this._rawOtherSegments.map(function(e) {
  6087. return new SimpleOBJECT(e, WMo.segments)
  6088. })
  6089. };
  6090. function SimpleROADCLOSURE(obj) {
  6091. this.$id = obj.id;
  6092. this.$segID = obj.segID;
  6093. this.$active = obj.active;
  6094. this.$updatedOn = '';
  6095. this.$updatedBy = '';
  6096. this.$updatedByID = 0;
  6097. this.$updatedByLevel = 0;
  6098. this.$createdOn = '';
  6099. this.$createdBy = '';
  6100. this.$createdByID = 0;
  6101. this.$createdByLevel = 0;
  6102. this.$startDate = Date.parse(obj.startDate);
  6103. this.$endDate = Date.parse(obj.endDate);
  6104. this.$location = obj.location;
  6105. this.$reason = obj.reason;
  6106. if (obj.updatedOn) this.$updatedOn = formatDate('' + obj.updatedOn);
  6107. if (0 < obj.updatedBy) {
  6108. this.$updatedByID = obj.updatedBy;
  6109. this.$updatedBy = getUserName(obj.updatedBy);
  6110. this.$updatedByLevel = getUserLevel(obj.updatedBy)
  6111. }
  6112. if (obj.createdOn) this.$createdOn = formatDate('' + obj.createdOn);
  6113. if (obj.createdBy) {
  6114. this.$createdByID = obj.createdBy;
  6115. this.$createdBy = getUserName(obj.createdBy);
  6116. this.$createdByLevel = getUserLevel(obj.createdBy)
  6117. }
  6118. var past = new Date;
  6119. past.setDate(past.getDate() - 2);
  6120. this.$isInThePast = this.$endDate < past
  6121. }
  6122. function SimpleRESTRICTION(obj, segID) {
  6123. var timeFrame = obj.getTimeFrame();
  6124. this._to = null;
  6125. this.$to = null;
  6126. this.$toID = segID;
  6127. this.$allDay = timeFrame.isAllDay() || false;
  6128. this.$days = timeFrame.getWeekdays();
  6129. this.$description = obj.getDescription() || '';
  6130. this.$isEnabled = true;
  6131. this.$fromDate = timeFrame.getStartDate() || '';
  6132. this.$fromTime = timeFrame.getFromTime() || '';
  6133. this.$toDate = timeFrame.getEndDate() || '';
  6134. this.$toTime = timeFrame.getToTime() || '';
  6135. var past = new Date;
  6136. past.setDate(past.getDate() - 2);
  6137. this.$isInThePast = new Date(this.$toDate + ' ' + this.$toTime) < past;
  6138. Object.defineProperties(this, {
  6139. _to: {enumerable: false},
  6140. $to: {get: this.getTo},
  6141. $toID: {writable: false},
  6142. $allDay: {writable: false},
  6143. $days: {writable: false},
  6144. $description: {writable: false},
  6145. $isInThePast: {writable: false},
  6146. $isEnabled: {writable: false},
  6147. $fromDate: {writable: false},
  6148. $fromTime: {writable: false},
  6149. $toDate: {writable: false},
  6150. $toTime: {writable: false}
  6151. })
  6152. }
  6153. SimpleRESTRICTION.prototype.getTo = function() {
  6154. return this._to ? this._to : this._to = new SimpleOBJECT('' + this.$toID, WMo.segments)
  6155. };
  6156. function SimpleOBJECT(objID, model) {
  6157. this.$model = model;
  6158. var raw = this.$model.getObjectById(objID);
  6159. this.$rawObject = raw;
  6160. this._nodeA = null;
  6161. this.$nodeA = null;
  6162. this.$nodeAID = 0;
  6163. this._nodeB = null;
  6164. this.$nodeB = null;
  6165. this.$nodeBID = 0;
  6166. this._center = null;
  6167. this.$center = null;
  6168. this._restrictions = null;
  6169. this.$restrictions = null;
  6170. this.$name = '';
  6171. this.$brand = '';
  6172. this.$objectID = objID;
  6173. this.$address = null;
  6174. this.$isPoint = false;
  6175. this.$isTurnALocked = false;
  6176. this.$isTurnBLocked = false;
  6177. this.$isRoundabout = false;
  6178. this.$hasHNs = false;
  6179. this.$isEditable = false;
  6180. this.$forceNonEditable = false;
  6181. this.$mainCategory = '';
  6182. this.$categories = [];
  6183. this.$openingHours = [];
  6184. this.$phone = '';
  6185. this.$url = '';
  6186. this.$services = [];
  6187. this.$externalProviders = [];
  6188. this.$type = 0;
  6189. this.$typeRank = 0;
  6190. this.$direction = 0;
  6191. this.$isToll = false;
  6192. this.$elevation = 0;
  6193. this.$lock = 0;
  6194. this.$rank = 0;
  6195. this.$length = 0;
  6196. this.$updatedOn = '';
  6197. this.$updatedBy = '';
  6198. this.$updatedByID = 0;
  6199. this.$updatedByLevel = 0;
  6200. this.$createdOn = '';
  6201. this.$createdBy = '';
  6202. this.$createdByID = 0;
  6203. this.$createdByLevel = 0;
  6204. this.$alts = [];
  6205. this.restrictionsLen = 0;
  6206. this.$fwdMaxSpeed = 0;
  6207. this.$fwdMaxSpeedUnverified = true;
  6208. this.$revMaxSpeed = 0;
  6209. this.$revMaxSpeedUnverified = false;
  6210. this.$flags = null;
  6211. this.$hasClosures = false;
  6212. if (classCodeIs(raw, CC_UNDEFINED) || classCodeIs(raw, CC_NULL)) return;
  6213. var attrs = raw.attributes;
  6214. if (this.$model === WMo.segments) {
  6215. this.$nodeAID = attrs.fromNodeID;
  6216. this.$nodeBID = attrs.toNodeID;
  6217. this.$isRoutable = this.isRoutable();
  6218. this.$isTurnALocked = attrs.revTurnsLocked;
  6219. this.$isTurnBLocked = attrs.fwdTurnsLocked;
  6220. this.$isRoundabout = classCodeDefined(attrs.junctionID) && null !== attrs.junctionID;
  6221. this.$hasHNs = attrs.hasHNs;
  6222. this.$hasRestrictions = raw.hasRestrictions();
  6223. this.$restrictions = attrs.restrictions;
  6224. this.$type = attrs.roadType;
  6225. this.$typeRank = this.getTypeRank(attrs.roadType);
  6226. this.$direction = getDirection(raw);
  6227. this.$elevation = attrs.level;
  6228. if ('length' in attrs)
  6229. this.$length = attrs.length;
  6230. else
  6231. this.$length = Math.round(raw.geometry.getGeodesicLength(WM.projection));
  6232. this.$alts = attrs.streetIDs.map(function(objID) {
  6233. return new _WV.SimpleADDRESS(objID)
  6234. });
  6235. this.$restrictionsLen = attrs.restrictions.length;
  6236. this.$address = new _WV.SimpleADDRESS(attrs.primaryStreetID);
  6237. this.$fwdMaxSpeed = getLocalizedValue(+attrs.fwdMaxSpeed, this.$address.$country);
  6238. this.$fwdMaxSpeedUnverified = attrs.fwdMaxSpeedUnverified;
  6239. this.$revMaxSpeed = getLocalizedValue(+attrs.revMaxSpeed, this.$address.$country);
  6240. this.$revMaxSpeedUnverified = attrs.revMaxSpeedUnverified;
  6241. this.$hasClosures = attrs.hasClosures;
  6242. if (raw.getFlagAttributes) this.$flags = raw.getFlagAttributes()
  6243. } else {
  6244. this.$name = attrs.name;
  6245. this.$brand = attrs.brand;
  6246. if (this.$brand === null) this.$brand = '';
  6247. this.$isApproved = attrs.approved;
  6248. this.$mainCategory = raw.getMainCategory();
  6249. this.$categories = attrs.categories;
  6250. this.$categoryAttributes = attrs.categoryAttributes;
  6251. this.$openingHours = attrs.openingHours;
  6252. this.$services = attrs.services;
  6253. this.$externalProviders = attrs.externalProviderIDs;
  6254. this.$entryExitPoints = attrs.entryExitPoints;
  6255. this.$alts = attrs.aliases;
  6256. this.$address = new _WV.SimpleADDRESS(attrs.streetID);
  6257. this.$geometry = attrs.geometry;
  6258. this.$phone = attrs.phone;
  6259. this.$url = attrs.url;
  6260. this.$isPoint = raw.isPoint()
  6261. }
  6262. this.$isEditable = raw.arePropertiesEditable();
  6263. this.$lock = attrs.lockRank + 1;
  6264. this.$rank = attrs.rank + 1;
  6265. if (attrs.updatedOn) this.$updatedOn = formatDate(attrs.updatedOn);
  6266. if (0 < attrs.updatedBy) {
  6267. this.$updatedByID = attrs.updatedBy;
  6268. this.$updatedBy = getUserName(attrs.updatedBy);
  6269. this.$updatedByLevel = getUserLevel(attrs.updatedBy)
  6270. }
  6271. if (attrs.createdOn) this.$createdOn = formatDate(attrs.createdOn);
  6272. if (attrs.createdBy) {
  6273. this.$createdByID = attrs.createdBy;
  6274. this.$createdBy = getUserName(attrs.createdBy);
  6275. this.$createdByLevel = getUserLevel(attrs.createdBy)
  6276. }
  6277. Object.defineProperties(this, {
  6278. $rawSegment: {enumerable: false},
  6279. _nodeA: {enumerable: false},
  6280. $nodeA: {get: this.getNodeA},
  6281. $nodeAID: {writable: false},
  6282. _nodeB: {enumerable: false},
  6283. $nodeB: {get: this.getNodeB},
  6284. $nodeBID: {writable: false},
  6285. _center: {enumerable: false},
  6286. $center: {get: this.getCenter},
  6287. _restrictions: {enumerable: false},
  6288. $restrictions: {get: this.getRestrictions},
  6289. $segmentID: {writable: false},
  6290. $isRoutable: {writable: false},
  6291. $isPoint: {writable: false},
  6292. $isTurnALocked: {writable: false},
  6293. $isTurnBLocked: {writable: false},
  6294. $isRoundabout: {writable: false},
  6295. $hasHNs: {writable: false},
  6296. $typeRank: {writable: false},
  6297. $isEditable: {writable: false},
  6298. $rank: {writable: false},
  6299. $length: {writable: false},
  6300. $mainCategory: {writable: false},
  6301. $updatedOn: {writable: false},
  6302. $updatedBy: {writable: false},
  6303. $updatedByID: {writable: false},
  6304. $updatedByLevel: {writable: false},
  6305. $createdOn: {writable: false},
  6306. $createdBy: {writable: false},
  6307. $createdByID: {writable: false},
  6308. $createdByLevel: {writable: false},
  6309. $restrictionsLen: {writable: false}
  6310. })
  6311. }
  6312. SimpleOBJECT.prototype.isRoutable = function() {
  6313. var routeableRoadTypes = [RT_STREET, RT_PRIMARY, RT_MINOR, RT_MAJOR, RT_FREEWAY];
  6314. return routeableRoadTypes.includes(this.$type)
  6315. };
  6316. SimpleOBJECT.prototype.getTypeRank = function(typeID) {
  6317. 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]
  6318. };
  6319. SimpleOBJECT.prototype.getNodeA = function() {
  6320. return this._nodeA ? this._nodeA : this._nodeA = new SimpleNODE(this.$nodeAID, this.$objectID)
  6321. };
  6322. SimpleOBJECT.prototype.getNodeB = function() {
  6323. return this._nodeB ? this._nodeB : this._nodeB = new SimpleNODE(this.$nodeBID, this.$objectID)
  6324. };
  6325. SimpleOBJECT.prototype.getCenter = function() {
  6326. if (this._center) return this._center;
  6327. this._center = this.$rawObject.geometry.bounds.getCenterLonLat().clone().transform(WM.projection, WM.displayProjection);
  6328. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6329. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6330. return this._center
  6331. };
  6332. SimpleOBJECT.prototype.getRestrictions = function() {
  6333. var t;
  6334. return this._restrictions ? this._restrictions : this._restrictions = this.$model == WMo.venues ? [] : (t = this, this.$rawObject.attributes.restrictions.map(function(e) {
  6335. return new SimpleRESTRICTION(e, t.$objectID)
  6336. }))
  6337. };
  6338. SimpleOBJECT.prototype.report = function(params) {
  6339. if (classCodeIs(params, CC_NUMBER)) params = {$checkID: params};
  6340. var id = params.$checkID;
  6341. if (!id || !isLimitOk(id)) return;
  6342. function getObjectCopy(ss) {
  6343. return {
  6344. $objectID: ss.$objectID, $model: ss.$model, $name: ss.$name, $countryID: +ss.$address.$countryID, $cityID: +ss.$address.$cityID, $streetID: +ss.$address.$streetID, $reportIDs: {},
  6345. $updated: ss.$updatedOn ? ss.$rawObject.attributes.updatedOn : ss.$createdOn ? ss.$rawObject.attributes.createdOn : 0,
  6346. $userID: ss.$updatedByID ? +ss.$updatedByID : ss.$createdByID ? +ss.$createdByID : 0,
  6347. $isEditable: ss.$isEditable && (ss.$nodeA.$isEditable || ss.$nodeA.$isPartial) && (ss.$nodeB.$isEditable || ss.$nodeB.$isPartial), $typeRank: +ss.$typeRank, $center: ss.$center,
  6348. $length: +ss.$length
  6349. }
  6350. }
  6351. var rep = _REP.$cityIDs[this.$address.$cityID];
  6352. var check = _RT.$checks[id];
  6353. if (_repRC[id])
  6354. _repRC[id]++;
  6355. else
  6356. _repRC[id] = 1;
  6357. if (LIMIT_PERCHECK < _repRC[id]) {
  6358. _REP.$isLimitPerCheck = true;
  6359. return
  6360. }
  6361. if (params.$cityParam) rep.$params[id] = params.$cityParam;
  6362. var sid = this.$address.$streetID;
  6363. if (!(sid in rep.$streetIDs)) {
  6364. rep.$unsortedStreetIDs.push(sid);
  6365. _repS[sid] = this.$address.$street;
  6366. rep.$streetIDs[sid] = {};
  6367. rep.$streetIDs[sid].$params = {};
  6368. rep.$streetIDs[sid].$objectIDs = {};
  6369. rep.$streetIDs[sid].$unsortedObjectIDs = [];
  6370. rep.$streetIDs[sid].$sortedObjectIDs = []
  6371. }
  6372. rep = rep.$streetIDs[sid];
  6373. if (params.$streetParam) rep.$params[id] = params.$streetParam;
  6374. if (!(this.$objectID in rep.$objectIDs)) {
  6375. rep.$unsortedObjectIDs.push(this.$objectID);
  6376. rep.$objectIDs[this.$objectID] = getObjectCopy(this)
  6377. }
  6378. var objectCopy = rep.$objectIDs[this.$objectID];
  6379. var uid = objectCopy.$userID;
  6380. if (!(uid in _repU)) {
  6381. var n = '';
  6382. if (uid === this.$createdByID)
  6383. n = this.$createdBy;
  6384. else if (uid === this.$updatedByID)
  6385. n = this.$updatedBy;
  6386. _repU[uid] = n
  6387. }
  6388. var seenObj = _RT.$seen[this.$objectID];
  6389. if (this.$forceNonEditable) {
  6390. this.$forceNonEditable = false;
  6391. objectCopy.$isEditable = false;
  6392. if (_REP.$maxSeverity <= seenObj[I_SEVERITY] || _REP.$maxSeverity <= check.SEVERITY) bUpdateMaxSeverity = true
  6393. }
  6394. objectCopy.$reportIDs[id] = params.$param;
  6395. if (_REP.$maxSeverity < check.SEVERITY)
  6396. if (checkFilter(check.SEVERITY, objectCopy, null) && getFilteredSeverity(check.SEVERITY, id, true)) _REP.$maxSeverity = check.SEVERITY;
  6397. if (!check.REPORTONLY && seenObj[I_SEVERITY] < check.SEVERITY) seenObj[I_SEVERITY] = check.SEVERITY;
  6398. seenObj[I_OBJECTCOPY] = objectCopy
  6399. };
  6400. SimpleOBJECT.prototype.incCityCounter = function() {
  6401. var rep = _REP.$cityIDs;
  6402. var cid = this.$address.$cityID;
  6403. if (!(cid in rep)) {
  6404. _REP.$countries[this.$address.$countryID] = this.$address.$country;
  6405. _REP.$unsortedCityIDs.push(cid);
  6406. _repC[cid] = this.$address.$city;
  6407. _repCC[cid] = 0;
  6408. rep[cid] = {};
  6409. rep[cid].$params = {};
  6410. rep[cid].$streetIDs = {};
  6411. rep[cid].$unsortedStreetIDs = [];
  6412. rep[cid].$sortedStreetIDs = []
  6413. }
  6414. _repCC[cid]++;
  6415. _REP.$counterTotal++
  6416. };
  6417. function deleteCityCheck(cityID, checkID) {
  6418. var repS = _REP.$cityIDs[cityID].$streetIDs;
  6419. for (var sid in repS) {
  6420. if (!repS.hasOwnProperty(sid)) continue;
  6421. var repSG = repS[sid].$objectIDs;
  6422. for (var sgid in repSG) {
  6423. if (!repSG.hasOwnProperty(sgid)) continue;
  6424. var reportIDs = repSG[sgid].$reportIDs;
  6425. if (!(checkID in reportIDs)) continue;
  6426. var seen = _RT.$seen[sgid];
  6427. var maxSev = 0;
  6428. var filSev = 0;
  6429. delete reportIDs[checkID];
  6430. for (var repID in reportIDs) {
  6431. if (!reportIDs.hasOwnProperty(repID)) continue;
  6432. var check = _RT.$checks[repID];
  6433. if (!check) continue;
  6434. if (filSev < check.SEVERITY && getFilteredSeverity(check.SEVERITY, repID, true)) filSev = check.SEVERITY;
  6435. if (maxSev < check.SEVERITY) {
  6436. maxSev = check.SEVERITY;
  6437. if (_RT.$curMaxSeverity === maxSev) break
  6438. }
  6439. }
  6440. seen[I_SEVERITY] = maxSev;
  6441. reHLObjectID(+sgid, filSev)
  6442. }
  6443. }
  6444. }
  6445. function getCityCmpObj(cityID, city, otherCity) {
  6446. var obj = {
  6447. $cityID: cityID,
  6448. $counterReported: 0,
  6449. $limit: 0,
  6450. $city: city,
  6451. $otherCity: otherCity,
  6452. $CITY: city.toUpperCase(),
  6453. $noCountyCity: '',
  6454. $noAbbreviationCity: '',
  6455. $sortedCity: '',
  6456. $noSpaceCity: '',
  6457. $reason: ''
  6458. };
  6459. obj.$noCountyCity = obj.$CITY.replace(/ *\([^\)]+\) */g, '').replace(/ *,.*/g, '');
  6460. obj.$noAbbreviationCity = obj.$noCountyCity.replace(/ *[^\. ]+ *\. */g, '');
  6461. obj.$noDigitsCity = obj.$noCountyCity.replace(/ *\d+ */g, ' ');
  6462. obj.$sortedCity = obj.$noAbbreviationCity.split(' ').sort().join(' ');
  6463. obj.$noSpaceCity = obj.$noAbbreviationCity.split(' ').join('');
  6464. return obj
  6465. }
  6466. function setCmpObjLimits(obj1, obj2) {
  6467. var curCase = '';
  6468. if (obj1.$city === obj2.$city) {
  6469. curCase = trS('city.12') + ' ' + obj1.$cityID + ' & ' + obj2.$cityID;
  6470. obj1.$reason = obj2.$reason = curCase;
  6471. obj1.$limit = obj2.$limit = 100;
  6472. return
  6473. }
  6474. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity && obj1.$noSpaceCity === obj2.$noAbbreviationCity) {
  6475. obj1.$reason = trS('city.13r');
  6476. obj2.$reason = trS('city.13a');
  6477. obj1.$limit = 10;
  6478. obj2.$limit = 1E3;
  6479. return
  6480. }
  6481. if ((new RegExp('(^| )' + obj1.$sortedCity)).test(obj2.$sortedCity)) {
  6482. if (obj1.$noCountyCity.length !== obj1.$noAbbreviationCity.length) {
  6483. curCase = trS('city.2');
  6484. obj1.$reason = obj2.$reason = curCase;
  6485. obj1.$limit = 1E3;
  6486. obj2.$limit = 10;
  6487. return
  6488. }
  6489. if (3 > obj1.$city.length) {
  6490. curCase = trS('city.3');
  6491. obj1.$reason = obj2.$reason = curCase;
  6492. obj1.$limit = 1E3;
  6493. obj2.$limit = 0;
  6494. return
  6495. }
  6496. if (obj1.$CITY === obj2.$CITY) {
  6497. curCase = trS('city.5');
  6498. obj1.$reason = obj2.$reason = curCase;
  6499. if (obj1.$city.charAt(0) !== obj1.$CITY.charAt(0)) {
  6500. obj1.$limit = 1E3;
  6501. obj2.$limit = 10
  6502. } else {
  6503. obj1.$limit = 10;
  6504. obj2.$limit = 1E3
  6505. }
  6506. return
  6507. }
  6508. if (obj1.$sortedCity === obj2.$sortedCity) {
  6509. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity) {
  6510. curCase = trS('city.6');
  6511. obj1.$reason = obj2.$reason = curCase;
  6512. obj1.$limit = obj2.$limit = 1E3;
  6513. return
  6514. }
  6515. if (obj1.$city.length === obj1.$noCountyCity.length) {
  6516. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6517. curCase = trS('city.7');
  6518. obj1.$reason = obj2.$reason = curCase;
  6519. obj1.$limit = obj2.$limit = 1E3
  6520. } else {
  6521. obj1.$reason = trS('city.8a');
  6522. obj2.$reason = trS('city.8r');
  6523. obj1.$limit = 1E3;
  6524. obj2.$limit = 10
  6525. }
  6526. return
  6527. }
  6528. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6529. obj1.$reason = trS('city.8r');
  6530. obj2.$reason = trS('city.8a');
  6531. obj1.$limit = 10;
  6532. obj2.$limit = 1E3
  6533. } else {
  6534. curCase = trS('city.9');
  6535. obj1.$reason = obj2.$reason = curCase;
  6536. obj1.$limit = obj2.$limit = 1E3
  6537. }
  6538. return
  6539. }
  6540. if ((new RegExp(obj1.$sortedCity + '( |$)')).test(obj2.$sortedCity)) {
  6541. if (4 < obj2.$sortedCity.length - obj1.$sortedCity.length) {
  6542. obj1.$reason = trS('city.10a');
  6543. obj2.$reason = trS('city.10r');
  6544. obj1.$limit = obj2.$limit = 10;
  6545. return
  6546. }
  6547. if (obj1.$noDigitsCity === obj2.$noDigitsCity) {
  6548. curCase = trS('city.14');
  6549. obj1.$reason = obj2.$reason = curCase;
  6550. obj1.$limit = obj2.$limit = 1;
  6551. return
  6552. }
  6553. curCase = trS('city.11');
  6554. obj1.$reason = obj2.$reason = curCase;
  6555. obj1.$limit = 1E3;
  6556. obj2.$limit = 10;
  6557. return
  6558. }
  6559. curCase = trS('city.4');
  6560. obj1.$reason = obj2.$reason = curCase;
  6561. obj1.$limit = 1E3;
  6562. obj2.$limit = 10;
  6563. return
  6564. }
  6565. }
  6566. function addHLedObjects() {
  6567. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6568. var features = [];
  6569. for (var i in _RT.$HLedObjects) {
  6570. if (!_RT.$HLedObjects.hasOwnProperty(i)) continue;
  6571. var obj = _RT.$HLedObjects[i];
  6572. if (obj.$severity) features.push(new OpenLayers.Feature.Vector(obj.$geometry.clone(), {0: obj.$severity}))
  6573. }
  6574. _RT.$HLlayer.destroyFeatures();
  6575. _RT.$HLlayer.addFeatures(features)
  6576. }
  6577. function HLObject(rawObject) {
  6578. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6579. var objectID = rawObject.getID();
  6580. var seenObj = _RT.$seen[objectID];
  6581. var severity = seenObj[I_SEVERITY];
  6582. var objectCopy = seenObj[I_OBJECTCOPY];
  6583. if (!severity || !objectCopy || !checkFilter(severity, objectCopy, null)) return;
  6584. var filteredSeverity = getFilteredSeverityObj(severity, objectCopy.$reportIDs, true);
  6585. if (!filteredSeverity) return;
  6586. var obj = {$severity: filteredSeverity, $geometry: rawObject.geometry};
  6587. _RT.$HLedObjects[objectID] = obj
  6588. }
  6589. function reHLObjectID(objectID, newSeverity) {
  6590. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6591. if (_REP.$maxSeverity !== newSeverity) bUpdateMaxSeverity = true;
  6592. if (oExcludeNotes && RS_NOTE === newSeverity) newSeverity = 0;
  6593. if (objectID in _RT.$HLedObjects) {
  6594. var hlObj = _RT.$HLedObjects[objectID];
  6595. hlObj.$severity = newSeverity
  6596. }
  6597. }
  6598. function deleteSeenObject(objectID) {
  6599. reHLObjectID(objectID, 0);
  6600. var seen = null;
  6601. if (objectID in _RT.$seen) seen = _RT.$seen[objectID];
  6602. if (!seen) return;
  6603. if (_REP.$maxSeverity <= seen[I_SEVERITY]) bUpdateMaxSeverity = true;
  6604. var objectCopy = seen[I_OBJECTCOPY];
  6605. var cityID = seen[I_CITYID];
  6606. delete _RT.$seen[objectID];
  6607. if (0 < _REP.$counterTotal) _REP.$counterTotal--;
  6608. if (0 < _repCC[cityID]) _repCC[cityID]--;
  6609. if (!objectCopy) return;
  6610. var repC = _REP.$cityIDs;
  6611. for (var cid in repC) {
  6612. if (!repC.hasOwnProperty(cid)) continue;
  6613. var repS = repC[cid].$streetIDs;
  6614. for (var sid in repS) {
  6615. if (!repS.hasOwnProperty(sid)) continue;
  6616. var repSG = repS[sid].$objectIDs;
  6617. for (var sgid in repSG) {
  6618. if (!repSG.hasOwnProperty(sgid) || sgid !== objectID) continue;
  6619. var reportIDs = repSG[sgid].$reportIDs;
  6620. for (var repID in reportIDs) {
  6621. if (!reportIDs.hasOwnProperty(repID)) continue;
  6622. if (0 < _repRC[repID]) _repRC[repID]--
  6623. }
  6624. delete repSG[sgid];
  6625. var repUSG = repS[sid].$unsortedObjectIDs;
  6626. repUSG.splice(repUSG.indexOf(sgid), 1);
  6627. repS[sid].$sortedObjectIDs = [];
  6628. return
  6629. }
  6630. }
  6631. }
  6632. }
  6633. function updateObjectProperties(selectedObjects, disabledHL) {
  6634. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6635. var prop = document.getElementById('i' + ID_PROPERTY);
  6636. var propDis = document.getElementById('i' + ID_PROPERTY_DISABLED);
  6637. var defID = ID_PROPERTY;
  6638. var defHTML = '';
  6639. if (disabledHL) {
  6640. defID = ID_PROPERTY_DISABLED;
  6641. defHTML = '<div class="direction-message">' +
  6642. '<i class="fa fa-info-circle" aria-hidden="true"></i> ' + trS('props.disabled') + '</div> ';
  6643. if (prop) prop.parentNode.removeChild(prop);
  6644. prop = propDis
  6645. } else if (propDis)
  6646. propDis.parentNode.removeChild(propDis);
  6647. if (prop)
  6648. prop.innerHTML = defHTML;
  6649. else {
  6650. var objectProperties = document.getElementsByClassName('selection-icon')[0];
  6651. if (!objectProperties) objectProperties = document.getElementsByClassName('landmark')[0];
  6652. if (objectProperties) {
  6653. var d = document.createElement('div');
  6654. d.innerHTML = defHTML;
  6655. d.id = 'i' + defID;
  6656. d.style.cssText = 'text-transform: none; padding: 5px;';
  6657. prop = objectProperties.appendChild(d)
  6658. }
  6659. }
  6660. if (disabledHL) return;
  6661. if (!selectedObjects.length) return;
  6662. var selectedIssues = [];
  6663. for (var i = 0; i < selectedObjects.length; i++) {
  6664. var objectID = selectedObjects[i];
  6665. if (objectID in _RT.$seen) {
  6666. var objectCopy = _RT.$seen[objectID][I_OBJECTCOPY];
  6667. if (!objectCopy) continue;
  6668. for (var cid in objectCopy.$reportIDs)
  6669. if (objectCopy.$reportIDs.hasOwnProperty(cid)) {
  6670. var check = _RT.$checks[cid];
  6671. if (check.REPORTONLY) continue;
  6672. selectedIssues.push([check, objectCopy, cid])
  6673. }
  6674. }
  6675. }
  6676. var newProp = '<b style="display:block"><a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">WME Validator</a> ' + trS('props.reports') + ':</b>';
  6677. if (_REP.$isLimitPerCheck)
  6678. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6679. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6680. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.limit.title') + '</a></span>' +
  6681. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6682. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6683. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.limit.problem') + '.</div>' +
  6684. '<i class="fa fa-check-square-o fa-lg fa-pull-left" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6685. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6686. '<p>' + trS('props.limit.solution') + '.</p>' +
  6687. '</div></div><br></div>';
  6688. if (skippedObject)
  6689. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6690. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6691. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.skipped.title') + '</a></span>' +
  6692. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6693. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6694. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.skipped.problem') + '.</div>' +
  6695. '</div><br></div>';
  6696. if (!selectedIssues.length) {
  6697. if (prop && (_REP.$isLimitPerCheck || skippedObject)) prop.innerHTML = newProp;
  6698. return
  6699. }
  6700. selectedIssues.sort(function(a, b) {
  6701. return cmpCheckIDs(a[2], b[2])
  6702. });
  6703. var selectedCounters = {};
  6704. selectedIssues = selectedIssues.filter(function(e, i, arr) {
  6705. var checkID = e[2];
  6706. if (i && arr[i - 1][2] === checkID) {
  6707. selectedCounters[checkID]++;
  6708. return false
  6709. }
  6710. selectedCounters[checkID] = 1;
  6711. return true
  6712. });
  6713. selectedIssues.forEach(function(e) {
  6714. var check = e[0];
  6715. var objectCopy = e[1];
  6716. var checkID = e[2];
  6717. var checkCounter = selectedCounters[checkID];
  6718. var sevClass = 0;
  6719. var sevIcon = '';
  6720. var sevBG = '';
  6721. var strCountry = _REP.$countries[objectCopy.$countryID];
  6722. var ccode = '';
  6723. if (strCountry)
  6724. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  6725. else
  6726. ccode = _RT.$cachedTopCCode;
  6727. options = trO(check.OPTIONS, ccode);
  6728. switch (check.SEVERITY) {
  6729. case RS_NOTE:
  6730. sevClass = CL_NOTE;
  6731. sevIcon = 'info-circle';
  6732. sevBG = GL_NOTEBGCOLOR;
  6733. break;
  6734. case RS_WARNING:
  6735. sevClass = CL_WARNING;
  6736. sevIcon = 'exclamation-triangle';
  6737. sevBG = GL_WARNINGBGCOLOR;
  6738. break;
  6739. case RS_ERROR:
  6740. sevClass = CL_ERROR;
  6741. sevIcon = 'times-circle';
  6742. sevBG = GL_ERRORBGCOLOR;
  6743. break;
  6744. case RS_CUSTOM1:
  6745. sevClass = CL_CUSTOM1;
  6746. sevIcon = 'user';
  6747. sevBG = GL_CUSTOM1BGCOLOR;
  6748. break;
  6749. case RS_CUSTOM2:
  6750. sevClass = CL_CUSTOM2;
  6751. sevIcon = 'user';
  6752. sevBG = GL_CUSTOM2BGCOLOR;
  6753. break
  6754. }
  6755. var shortTitle = exSOS(check.TITLE, options, 'titleEN').replace('WME Color Highlights', 'WMECH').replace('WME Toolbox', 'WMETB');
  6756. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + sevClass + '">' +
  6757. '<span><i class="fa fa-' + sevIcon + '" aria-hidden="true"></i>' +
  6758. ' <a class="c' + sevClass + '" href="#">' + shortTitle + (1 < checkCounter ? ' (' + checkCounter + ')' : '') + '</a></span>' +
  6759. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6760. '<i class="fa fa-' + sevIcon + ' fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6761. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6762. '#' + checkID + ' ' + exSOS(check.PROBLEM, options, 'problemEN');
  6763. var pl = trO(check.PROBLEMLINK, ccode);
  6764. if (pl)
  6765. newProp += ': <a target="_blank" href="' + pl + '">' + trO(check.PROBLEMLINKTEXT, ccode) + '</a>';
  6766. else
  6767. newProp += '.';
  6768. newProp += '</div>';
  6769. if (objectCopy.$isEditable) {
  6770. newProp += '<i class="fa fa-check-square-o fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6771. '<div class="c' + CL_RIGHTTIPDESCR + '">';
  6772. if (check.SOLUTION) {
  6773. newProp += '<p>' + exSOS(check.SOLUTION, options, 'solutionEN');
  6774. var sl = trO(check.SOLUTIONLINK, ccode);
  6775. if (sl)
  6776. newProp += ': <a target="_blank" href="' + sl + '">' + trO(check.SOLUTIONLINKTEXT, ccode) + '</a>';
  6777. else
  6778. newProp += '.';
  6779. newProp += '</p>'
  6780. }
  6781. } else
  6782. newProp += '<i class="fa fa-ban fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6783. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6784. '<p>' + trS('props.noneditable') + '.</p>';
  6785. var cityID = objectCopy.$cityID;
  6786. var cityParam = _REP.$cityIDs[cityID].$params[checkID];
  6787. if (cityParam) newProp += '<p>' + cityParam + '</p>';
  6788. var streetID = objectCopy.$streetID;
  6789. var streetParam = _REP.$cityIDs[cityID].$streetIDs[streetID].$params[checkID];
  6790. if (streetParam) newProp += '<p>' + streetParam + '</p>';
  6791. newProp += '</div></div><br></div>'
  6792. });
  6793. if (prop) prop.innerHTML = newProp
  6794. }
  6795. function matchRegExp(checkID, objectID, expandedString, options) {
  6796. var optRegExp = options[CO_REGEXP];
  6797. if (!optRegExp) return false;
  6798. var optString = options[CO_STRING];
  6799. var optBool = options[CO_BOOL];
  6800. if (options[CO_NUMBER] && 0 < _REP.$debugCounter) {
  6801. var checkTitle = '';
  6802. if (_RT.$checks[checkID] && _RT.$checks[checkID].TITLE) checkTitle = _RT.$checks[checkID].TITLE;
  6803. var reported = optRegExp.test(expandedString) ? optBool ? false : true : optBool ? true : false;
  6804. _REP.$debugCounter--;
  6805. log(getMsg(
  6806. 'debug log for segment ' + objectID + ', check #' + checkID,
  6807. '\n1. ' + (optString ? 'Expand template: ' + optString + ' -> ' : 'String: ') + expandedString + '\n2. Match RegExp: ' + (optBool ? 'not ' : '') + optRegExp + ' -> ' +
  6808. JSON.stringify(expandedString.match(optRegExp)) + '\n=> ' + (reported ? 'REPORT the segment as #' + checkID + ' \'' + checkTitle + '\'' : 'skip the segment') +
  6809. (0 < _REP.$debugCounter ? '' : '\nEnd of debug log. Click \'✘\' (Clear report) button to start debug over.')))
  6810. }
  6811. if (optRegExp.test(expandedString)) {
  6812. if (!optBool) return true
  6813. } else if (optBool)
  6814. return true;
  6815. return false
  6816. }
  6817. function checkPublicConnection(seg, ignoreSegment) {
  6818. var foundPublicConnection = false;
  6819. if (!seg.$nodeA.$isPartial && seg.$nodeA.$otherSegmentsLen > 0)
  6820. for (var i = 0; i < seg.$nodeA.$otherSegmentsLen; i++) {
  6821. var otherSegment = seg.$nodeA.$otherSegments[i];
  6822. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6823. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6824. foundPublicConnection = true;
  6825. break
  6826. }
  6827. }
  6828. if (!seg.$nodeB.$isPartial && seg.$nodeB.$otherSegmentsLen > 0)
  6829. for (var i = 0; i < seg.$nodeB.$otherSegmentsLen; i++) {
  6830. var otherSegment = seg.$nodeB.$otherSegments[i];
  6831. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6832. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6833. foundPublicConnection = true;
  6834. break
  6835. }
  6836. }
  6837. return foundPublicConnection
  6838. }
  6839. var reportWMECH = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED;
  6840. var reportToolbox = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportToolbox.CHECKED;
  6841. var currentZoom = WM.getZoom();
  6842. var slowChecks = _UI.pSettings.pScanner.oSlowChecks.CHECKED && 3 < currentZoom;
  6843. var oExcludeNotes = _UI.pMain.pFilter.oExcludeNotes.CHECKED;
  6844. var selectedObjects = [];
  6845. _RT.$HLedObjects = {};
  6846. for (var segmentKey in WMo.segments.objects) {
  6847. var rawSegment = WMo.segments.objects[segmentKey];
  6848. var segmentID = rawSegment.getID();
  6849. if (_RT.$topUser.$userLevel <= rawSegment.attributes.lockRank && rawSegment.attributes.updatedOn && 13989024E5 < rawSegment.attributes.updatedOn) {
  6850. if (rawSegment.selected) {
  6851. skippedObject = true;
  6852. if (!DEF_DEBUG) selectedObjects.push(segmentID)
  6853. }
  6854. if (!DEF_DEBUG) continue
  6855. }
  6856. if (rawSegment.layer && rawSegment.id in rawSegment.layer.unrenderedFeatures) continue;
  6857. if ('Delete' === rawSegment.state) continue;
  6858. var seen = null;
  6859. if (segmentID in _RT.$seen) seen = _RT.$seen[segmentID];
  6860. if (rawSegment.selected) {
  6861. selectedObjects.push(segmentID);
  6862. _RT.$revalidate[segmentID] = true;
  6863. if (seen && !seen[I_ISWMECHCOLOR]) {
  6864. deleteSeenObject(segmentID);
  6865. seen = null
  6866. }
  6867. } else if (segmentID in _RT.$revalidate) {
  6868. deleteSeenObject(segmentID);
  6869. seen = null;
  6870. delete _RT.$revalidate[segmentID];
  6871. delete rawSegment[GL_WMECHCOLOR]
  6872. }
  6873. var segmentGeometry = document.getElementById(rawSegment.geometry.id);
  6874. if (segmentGeometry) {
  6875. var strokeColor = segmentGeometry.getAttribute('stroke').toUpperCase();
  6876. if (4 === strokeColor.length) strokeColor = '#' + strokeColor.charAt(1) + strokeColor.charAt(1) + strokeColor.charAt(2) + strokeColor.charAt(2) + strokeColor.charAt(3) + strokeColor.charAt(3);
  6877. if (strokeColor in _RT.$WMECHcolors) rawSegment[GL_WMECHCOLOR] = strokeColor
  6878. }
  6879. if (seen) {
  6880. var isTBColor = GL_TBCOLOR in rawSegment;
  6881. var isWMECHColor = GL_WMECHCOLOR in rawSegment;
  6882. if (!seen[I_ISPARTIAL] && isTBColor === seen[I_ISTBCOLOR] && isWMECHColor === seen[I_ISWMECHCOLOR]) {
  6883. HLObject(rawSegment);
  6884. continue
  6885. }
  6886. }
  6887. var segment = new SimpleOBJECT(segmentID, WMo.segments);
  6888. Object.seal(segment);
  6889. var address = segment.$address;
  6890. var country = address.$country;
  6891. var countryLen = country.length;
  6892. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  6893. var city = address.$city;
  6894. var cityLen = city.length;
  6895. var cityID = address.$cityID;
  6896. var street = address.$street;
  6897. var state = address.$state;
  6898. var streetLen = street.length;
  6899. var alts = segment.$alts;
  6900. var roadType = segment.$type;
  6901. var typeRank = segment.$typeRank;
  6902. var isToll = segment.$isToll;
  6903. var direction = segment.$direction;
  6904. var elevation = segment.$elevation;
  6905. var lock = Math.max(segment.$lock, segment.$rank);
  6906. var segmentLen = segment.$length;
  6907. var isRoundabout = segment.$isRoundabout;
  6908. var hasHNs = segment.$hasHNs;
  6909. var isDrivable = RR_TRAIL < typeRank;
  6910. var nodeA = segment.$nodeA;
  6911. var nodeB = segment.$nodeB;
  6912. var nodeAID = segment.$nodeAID;
  6913. var nodeBID = segment.$nodeBID;
  6914. var isPartial = nodeA.$isPartial || nodeB.$isPartial;
  6915. var forwardSpeed = segment.$fwdMaxSpeed;
  6916. var reverseSpeed = segment.$revMaxSpeed;
  6917. var forwardSpeedUnverified = segment.$fwdMaxSpeedUnverified;
  6918. var reverseSpeedUnverified = segment.$revMaxSpeedUnverified;
  6919. var hasRestrictions = segment.$hasRestrictions;
  6920. var hasClosures = segment.$hasClosures;
  6921. var flags = segment.$flags;
  6922. var now = Date.now();
  6923. if (seen) {
  6924. if (seen[I_ISPARTIAL] && isPartial) {
  6925. HLObject(rawSegment);
  6926. continue
  6927. }
  6928. deleteSeenObject(segmentID);
  6929. seen = null
  6930. }
  6931. _RT.$seen[segmentID] = seen = [0, null, GL_TBCOLOR in rawSegment, GL_WMECHCOLOR in rawSegment, isPartial || 4 > currentZoom, cityID];
  6932. segment.incCityCounter();
  6933. if (segment.$isEditable) _REP.$isEditableFound = true;
  6934. if (GL_NOID === street) {
  6935. deleteSeenObject(segmentID);
  6936. continue
  6937. }
  6938. _RT.$isGlobalAccess = true;
  6939. if (!address.isOkFor(0)) {
  6940. _RT.$isGlobalAccess = false;
  6941. continue
  6942. }
  6943. if (slowChecks && RT_RAILROAD !== roadType) {
  6944. if (nodeA.$otherSegmentsLen && isLimitOk(118)) {
  6945. var rawNode = nodeA.$rawNode;
  6946. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6947. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  6948. var otherSegment = nodeA.$otherSegments[i];
  6949. if (!otherSegment.$rawSegment) continue;
  6950. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  6951. var angle = Math.abs(baseAngle - curAngle);
  6952. if (angle > 180) angle = 360 - angle;
  6953. if (2 > angle && address.isOkFor(118)) {
  6954. segment.report(118);
  6955. break
  6956. }
  6957. }
  6958. }
  6959. if (nodeB.$otherSegmentsLen && isLimitOk(119)) {
  6960. var rawNode = nodeB.$rawNode;
  6961. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6962. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  6963. var otherSegment = nodeB.$otherSegments[i];
  6964. if (!otherSegment.$rawSegment) continue;
  6965. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  6966. var angle = Math.abs(baseAngle - curAngle);
  6967. if (angle > 180) angle = 360 - angle;
  6968. if (2 > angle && address.isOkFor(119)) {
  6969. segment.report(119);
  6970. break
  6971. }
  6972. }
  6973. }
  6974. }
  6975. if (!countryLen && isLimitOk(23)) {
  6976. seen[I_ISPARTIAL] = false;
  6977. if (address.isOkFor(23)) {
  6978. segment.report(23);
  6979. HLObject(rawSegment)
  6980. }
  6981. continue
  6982. }
  6983. if (streetLen && address.isOkFor(101)) {
  6984. options = getCheckOptions(101, countryCode);
  6985. if (options[CO_REGEXP].test(street)) {
  6986. segment.report(101);
  6987. HLObject(rawSegment);
  6988. continue
  6989. }
  6990. }
  6991. if (!state && address.isOkFor(106)) segment.report(106);
  6992. if (reportToolbox && address.isOkFor(CK_TBFIRST)) {
  6993. var col = rawSegment[GL_TBCOLOR];
  6994. if (col) {
  6995. col = col.toUpperCase();
  6996. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  6997. var check = _RT.$checks[i];
  6998. if (check.COLOR === col) {
  6999. segment.report(i);
  7000. break
  7001. }
  7002. }
  7003. }
  7004. }
  7005. if (reportWMECH && address.isOkFor(CK_WMECHFIRST)) {
  7006. var col = rawSegment[GL_WMECHCOLOR];
  7007. if (col)
  7008. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7009. var check = _RT.$checks[i];
  7010. if (check && check.COLOR === col) {
  7011. segment.report(i);
  7012. break
  7013. }
  7014. }
  7015. }
  7016. if (alts.length && address.isOkFor(34))
  7017. for (var i = 0; i < alts.length; i++)
  7018. if (!alts[i].$street) {
  7019. segment.report(34);
  7020. break
  7021. }
  7022. if (slowChecks && segment.$restrictionsLen && isLimitOk(38) && address.isOkFor(38)) {
  7023. var restrictions = segment.$restrictions;
  7024. for (var i = 0; i < restrictions.length; i++)
  7025. if (restrictions[i].$isInThePast) {
  7026. segment.report(38);
  7027. break
  7028. }
  7029. }
  7030. if (slowChecks && (nodeA.$restrictionsLen || nodeB.$restrictionsLen) && isLimitOk(39) && address.isOkFor(39)) {
  7031. var restrictions = nodeA.$restrictions.concat(nodeB.$restrictions);
  7032. for (var i = 0; i < restrictions.length; i++) {
  7033. var restriction = restrictions[i];
  7034. if (restriction.$isInThePast) {
  7035. var param = '';
  7036. if (restriction.$to.$address && restriction.$to.$address.$street) param = 'turn to ' + restriction.$to.$address.$street;
  7037. segment.report({$checkID: 39, $streetParam: param});
  7038. break
  7039. }
  7040. }
  7041. }
  7042. if (nodeAID && nodeAID === nodeBID && address.isOkFor(43)) segment.report(43);
  7043. if (RT_RAILROAD === roadType && 100 > segmentLen && !isPartial && !nodeA.$otherSegmentsLen && !nodeB.$otherSegmentsLen && address.isOkFor(104)) segment.report(104);
  7044. if (RT_TRAIL === roadType && -5 === elevation && address.isOkFor(105)) segment.report(105);
  7045. if ((9 < elevation || -5 > elevation) && address.isOkFor(116)) segment.report(116);
  7046. var expandOptions = {
  7047. 'country': country,
  7048. 'state': state,
  7049. 'city': city,
  7050. 'street': street,
  7051. 'altStreet': alts.map(function(e) {
  7052. return e.$street
  7053. }),
  7054. 'altCity': alts.map(function(e) {
  7055. return e.$city
  7056. }),
  7057. 'type': roadType,
  7058. 'typeRank': typeRank,
  7059. 'toll': +isToll,
  7060. 'direction': direction,
  7061. 'elevation': elevation,
  7062. 'lock': lock,
  7063. 'length': segmentLen,
  7064. 'ID': segmentID,
  7065. 'roundabout': +isRoundabout,
  7066. 'hasHNs': +hasHNs,
  7067. 'drivable': +isDrivable,
  7068. 'Uturn': +(nodeA.$isUturn || nodeB.$isUturn),
  7069. 'deadEnd': +!(isPartial || nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen),
  7070. 'partialA': +nodeA.$isPartial,
  7071. 'deadEndA': +!(nodeA.$isPartial || nodeA.$otherSegmentsLen),
  7072. 'segmentsA': nodeA.$otherSegmentsLen,
  7073. 'inA': nodeA.$inConnectionsLen,
  7074. 'outA': nodeA.$outConnectionsLen,
  7075. 'UturnA': +nodeA.$isUturn,
  7076. 'partialB': +nodeB.$isPartial,
  7077. 'deadEndB': +!(nodeB.$isPartial || nodeB.$otherSegmentsLen),
  7078. 'segmentsB': nodeB.$otherSegmentsLen,
  7079. 'inB': nodeB.$inConnectionsLen,
  7080. 'outB': nodeB.$outConnectionsLen,
  7081. 'UturnB': +nodeB.$isUturn,
  7082. 'softTurns': +!(segment.$isTurnALocked && segment.$isTurnBLocked),
  7083. 'speedLimit': forwardSpeed || reverseSpeed,
  7084. 'speedLimitAB': forwardSpeed,
  7085. 'speedLimitBA': reverseSpeed,
  7086. 'checkSpeedLimit': isDrivable && (reverseSpeedUnverified || forwardSpeedUnverified)
  7087. };
  7088. for (var i = CK_MATCHFIRST; i <= CK_MATCHLAST; i++) {
  7089. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7090. options = getCheckOptions(i, countryCode);
  7091. var optString = options[CO_STRING];
  7092. var optRegExp = options[CO_REGEXP];
  7093. if (!optString || !optRegExp) continue;
  7094. var expandedString = _I18n.expandSO(optString, expandOptions);
  7095. if (matchRegExp(i, segmentID, expandedString, options)) segment.report(i)
  7096. }
  7097. if (!cityLen && RT_FREEWAY === roadType && isLimitOk(69) && address.isOkFor(69)) segment.report(69);
  7098. if (slowChecks) {
  7099. if (1 === nodeA.$otherSegmentsLen && DIR_UNKNOWN !== direction && !nodeA.$isPartial && !nodeA.$isUturn && !nodeA.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(36) &&
  7100. address.isOkFor(36)) {
  7101. var otherSegment = nodeA.$otherSegments[0];
  7102. var otherNode, nextNode;
  7103. if (otherSegment.$nodeAID === nodeAID) {
  7104. otherNode = otherSegment.$nodeA;
  7105. nextNode = otherSegment.$nodeB
  7106. } else {
  7107. otherNode = otherSegment.$nodeB;
  7108. nextNode = otherSegment.$nodeA
  7109. }
  7110. if ((!nodeB.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawSegment && (1E4 > otherSegment.$length + segmentLen || 1E3 > segmentLen) &&
  7111. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7112. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7113. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7114. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7115. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7116. otherSegment.$nodeAID !== nodeBID && otherSegment.$nodeBID !== nodeBID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7117. var loopFound = false;
  7118. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7119. var thirdSegment = nextNode.$otherSegments[i];
  7120. if (thirdSegment.$nodeAID === nodeBID || thirdSegment.$nodeBID === nodeBID) {
  7121. loopFound = true;
  7122. break
  7123. }
  7124. }
  7125. if (!loopFound) segment.report(36)
  7126. }
  7127. }
  7128. if (DIR_UNKNOWN !== direction && !nodeB.$isPartial && 1 === nodeB.$otherSegmentsLen && !nodeB.$isUturn && !nodeB.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(37) &&
  7129. address.isOkFor(37)) {
  7130. var otherSegment = nodeB.$otherSegments[0];
  7131. var otherNode, nextNode;
  7132. if (otherSegment.$nodeAID === nodeBID) {
  7133. otherNode = otherSegment.$nodeA;
  7134. nextNode = otherSegment.$nodeB
  7135. } else {
  7136. otherNode = otherSegment.$nodeB;
  7137. nextNode = otherSegment.$nodeA
  7138. }
  7139. if ((!nodeA.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawSegment && 1E4 > otherSegment.$length + segmentLen &&
  7140. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7141. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7142. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7143. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7144. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7145. otherSegment.$nodeAID !== nodeAID && otherSegment.$nodeBID !== nodeAID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7146. var loopFound = false;
  7147. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7148. var thirdSegment = nextNode.$otherSegments[i];
  7149. if (thirdSegment.$nodeAID === nodeAID || thirdSegment.$nodeBID === nodeAID) {
  7150. loopFound = true;
  7151. break
  7152. }
  7153. }
  7154. if (!loopFound) segment.report(37)
  7155. }
  7156. }
  7157. }
  7158. if (cityLen) {
  7159. for (var i = CK_CITYNAMEFIRST; i <= CK_CITYNAMELAST; i++) {
  7160. if (!address.isOkFor(i) || !isLimitOk(i)) continue;
  7161. if (matchRegExp(i, segmentID, city, getCheckOptions(i, countryCode))) segment.report(i)
  7162. }
  7163. if (isLimitOk(24) && address.isOkFor(24)) {
  7164. var param = trS('city.1');
  7165. var r = 3 > cityLen ? true : false;
  7166. var cityCounter = _repCC[cityID];
  7167. if (1 === cityCounter || cityID in _REP.$incompleteIDs && !_REP.$incompleteIDs[cityID].$counterReported)
  7168. for (var i = 0, len = _REP.$unsortedCityIDs.length; i < len; i++) {
  7169. var cid = _REP.$unsortedCityIDs[i];
  7170. if (cid === cityID) continue;
  7171. var c = _repC[cid];
  7172. var cLen = c.length;
  7173. if (1 > cLen) continue;
  7174. var cityObj = getCityCmpObj(cityID, city, c);
  7175. var cObj = getCityCmpObj(cid, c, city);
  7176. setCmpObjLimits(cityObj, cObj);
  7177. setCmpObjLimits(cObj, cityObj);
  7178. if (cityObj.$limit) _REP.$incompleteIDs[cityID] = cityObj;
  7179. if (cObj.$limit && !_REP.$incompleteIDs[cid]) _REP.$incompleteIDs[cid] = cObj;
  7180. if (cityObj.$limit || cObj.$limit) break
  7181. }
  7182. if (cityID in _REP.$incompleteIDs) {
  7183. var incompleteCity = _REP.$incompleteIDs[cityID];
  7184. incompleteCity.$counterReported++;
  7185. if (incompleteCity.$limit < cityCounter) {
  7186. r = false;
  7187. deleteCityCheck(cityID, 24);
  7188. delete _REP.$incompleteIDs[cityID]
  7189. } else {
  7190. r = true;
  7191. param = trS('city.consider') + ' ' + incompleteCity.$otherCity + ' [' + incompleteCity.$reason + ']'
  7192. }
  7193. }
  7194. if (r) segment.report({$checkID: 24, $cityParam: param})
  7195. }
  7196. if (RT_RAILROAD === roadType && isLimitOk(24) && address.isOkFor(27)) segment.report(27);
  7197. if (RT_FREEWAY === roadType && isLimitOk(59) && address.isOkFor(59)) segment.report(59)
  7198. }
  7199. if (isDrivable) {
  7200. if (slowChecks) {
  7201. if (nodeA.$outConnectionsLen && (DIR_TWO === direction || DIR_BA === direction) && isLimitOk(120)) {
  7202. var rawNode = nodeA.$rawNode;
  7203. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7204. for (var i = 0; i < nodeA.$outConnectionsLen; i++) {
  7205. var otherSegment = nodeA.$outConnections[i];
  7206. if (!otherSegment.$rawSegment) continue;
  7207. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  7208. var angle = Math.abs(baseAngle - curAngle);
  7209. if (angle > 180) angle = 360 - angle;
  7210. if (30 > angle && 2 <= angle && address.isOkFor(120))
  7211. if (10 > angle) {
  7212. segment.report(120);
  7213. break
  7214. } else if (!nodeA.$isPartial && 3 > nodeA.$otherSegmentsLen && RR_STREET < typeRank) {
  7215. segment.report(120);
  7216. break
  7217. }
  7218. }
  7219. }
  7220. if (nodeB.$outConnectionsLen && (DIR_TWO === direction || DIR_AB === direction) && isLimitOk(121)) {
  7221. var rawNode = nodeB.$rawNode;
  7222. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7223. for (var i = 0; i < nodeB.$outConnectionsLen; i++) {
  7224. var otherSegment = nodeB.$outConnections[i];
  7225. if (!otherSegment.$rawSegment) continue;
  7226. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  7227. var angle = Math.abs(baseAngle - curAngle);
  7228. if (angle > 180) angle = 360 - angle;
  7229. if (30 > angle && 2 <= angle && address.isOkFor(121))
  7230. if (10 > angle) {
  7231. segment.report(121);
  7232. break
  7233. } else if (!nodeB.$isPartial && 3 > nodeB.$otherSegmentsLen && RR_STREET < typeRank) {
  7234. segment.report(121);
  7235. break
  7236. }
  7237. }
  7238. }
  7239. }
  7240. if (RT_PRIVATE !== roadType && isLimitOk(45) && address.isOkFor(45))
  7241. if (!nodeA.$isPartial && !nodeA.$inConnectionsLen)
  7242. if (DIR_AB === direction)
  7243. segment.report(45);
  7244. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7245. segment.report(45);
  7246. else {
  7247. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(46))
  7248. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7249. var otherSegment = nodeA.$otherSegments[i];
  7250. if (!otherSegment.$rawSegment) continue;
  7251. if (RR_TRAIL < otherSegment.$typeRank &&
  7252. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7253. DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7254. segment.report(46);
  7255. break
  7256. }
  7257. }
  7258. }
  7259. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7260. if (DIR_BA === direction)
  7261. segment.report(45);
  7262. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(47))
  7263. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7264. var otherSegment = nodeB.$otherSegments[i];
  7265. if (!otherSegment.$rawSegment) continue;
  7266. if (RR_TRAIL < otherSegment.$typeRank &&
  7267. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7268. DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7269. segment.report(47);
  7270. break
  7271. }
  7272. }
  7273. if (5 < segmentLen && isLimitOk(44) && address.isOkFor(44))
  7274. if (!nodeA.$isPartial && !nodeA.$outConnectionsLen)
  7275. if (DIR_BA === direction)
  7276. segment.report(44);
  7277. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7278. segment.report(44);
  7279. else {
  7280. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(102))
  7281. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7282. var otherSegment = nodeA.$otherSegments[i];
  7283. if (!otherSegment.$rawSegment) continue;
  7284. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7285. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7286. DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7287. segment.report(102);
  7288. break
  7289. }
  7290. }
  7291. }
  7292. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7293. if (DIR_AB === direction)
  7294. segment.report(44);
  7295. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(103))
  7296. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7297. var otherSegment = nodeB.$otherSegments[i];
  7298. if (!otherSegment.$rawSegment) continue;
  7299. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7300. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7301. DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7302. segment.report(103);
  7303. break
  7304. }
  7305. }
  7306. if (slowChecks && segment.$isRoutable && !nodeA.$isPartial && !nodeB.$isPartial && nodeA.$otherSegmentsLen > 0 && nodeB.$otherSegmentsLen > 0 && isLimitOk(202) && address.isOkFor(202)) {
  7307. var foundPublicConnection = checkPublicConnection(segment, null);
  7308. if (!foundPublicConnection)
  7309. if (nodeA.$otherSegmentsLen == 1 && nodeB.$otherSegmentsLen == 1) {
  7310. var nodeASegment = nodeA.$otherSegments[0];
  7311. var nodeBSegment = nodeB.$otherSegments[0];
  7312. if (checkPublicConnection(nodeASegment, segment) && checkPublicConnection(nodeBSegment, segment)) foundPublicConnection = true
  7313. }
  7314. if (!foundPublicConnection) segment.report(202)
  7315. }
  7316. if (RR_STREET < typeRank && RT_RAMP !== roadType && !segment.$isRoundabout && segmentLen > 5) {
  7317. if (DIR_AB === direction || DIR_TWO === direction) {
  7318. if (forwardSpeedUnverified && isLimitOk(210) && address.isOkFor(210)) segment.report(210);
  7319. if (!forwardSpeed && isLimitOk(212) && address.isOkFor(212)) segment.report(212);
  7320. if (forwardSpeed) {
  7321. options = getCheckOptions(214, countryCode);
  7322. if (!options[CO_REGEXP].test(forwardSpeed) && isLimitOk(214) && address.isOkFor(214)) segment.report(214)
  7323. }
  7324. }
  7325. if (DIR_BA === direction || DIR_TWO == direction) {
  7326. if (reverseSpeedUnverified && isLimitOk(211) && address.isOkFor(211)) segment.report(211);
  7327. if (!reverseSpeed && isLimitOk(213) && address.isOkFor(213)) segment.report(213);
  7328. if (reverseSpeed) {
  7329. options = getCheckOptions(215, countryCode);
  7330. if (!options[CO_REGEXP].test(reverseSpeed) && isLimitOk(215) && address.isOkFor(215)) segment.report(215)
  7331. }
  7332. }
  7333. }
  7334. if (DIR_UNKNOWN === direction && isLimitOk(25) && address.isOkFor(25)) segment.report(25);
  7335. if (!(nodeAID && nodeBID) && isLimitOk(35) && address.isOkFor(35)) segment.report(35);
  7336. if (RR_PRIMARY > typeRank) {
  7337. if (nodeAID && nodeBID && address.isOkFor(200)) {
  7338. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(200)) segment.report(200);
  7339. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(300)) segment.report(300)
  7340. }
  7341. } else if (nodeAID && nodeBID && address.isOkFor(201)) {
  7342. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(201)) segment.report(201);
  7343. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(301)) segment.report(301)
  7344. }
  7345. if ((DIR_AB === direction && nodeA.$outConnectionsLen || DIR_BA === direction && nodeA.$inConnectionsLen) && isLimitOk(41) && address.isOkFor(41)) segment.report(41);
  7346. if ((DIR_BA === direction && nodeB.$outConnectionsLen || DIR_AB === direction && nodeB.$inConnectionsLen) && isLimitOk(42) && address.isOkFor(42)) segment.report(42);
  7347. if (!nodeA.$isPartial) {
  7348. if (slowChecks && 5 < segmentLen && !nodeA.$otherSegmentsLen && nodeA.$rawNode.geometry.bounds && isLimitOk(107) && address.isOkFor(107)) {
  7349. var IDs = nodeA.$rawNode.attributes.segIDs;
  7350. var pt = new OpenLayers.Geometry.Point(nodeA.$rawNode.geometry.bounds.left, nodeA.$rawNode.geometry.bounds.bottom);
  7351. for (var segKey in WMo.segments.objects) {
  7352. var seg = WMo.segments.objects[segKey];
  7353. if (segmentID === seg.getID()) continue;
  7354. if (!seg.geometry) continue;
  7355. if (elevation !== seg.attributes.level) continue;
  7356. if ('Delete' === seg.state) continue;
  7357. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7358. if (LIMIT_TOLERANCE > seg.geometry.distanceTo(pt, null)) {
  7359. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7360. segment.report(107);
  7361. break
  7362. }
  7363. }
  7364. }
  7365. if (nodeA.$isUturn)
  7366. if (slowChecks && 1 === nodeA.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeA.$outConnections[0].$isRoundabout) segment.report(99);
  7367. if (slowChecks && nodeA.$otherSegmentsLen && !isRoundabout && isLimitOk(78) && address.isOkFor(78))
  7368. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7369. var otherSegment = nodeA.$otherSegments[i];
  7370. if (!otherSegment.$rawSegment) continue;
  7371. if (RR_TRAIL < otherSegment.$typeRank && nodeAID && nodeBID &&
  7372. (otherSegment.$nodeAID === nodeAID && otherSegment.$nodeBID === nodeBID || otherSegment.$nodeAID === nodeBID && otherSegment.$nodeBID === nodeAID))
  7373. if (otherSegment.$typeRank > typeRank || otherSegment.$length < segmentLen && otherSegment.$typeRank === typeRank ||
  7374. otherSegment.$segmentID < segmentID && otherSegment.$length === segmentLen && otherSegment.$typeRank === typeRank) {
  7375. segment.report(78);
  7376. break
  7377. }
  7378. }
  7379. if (!nodeB.$isPartial) {
  7380. options = getCheckOptions(109, countryCode);
  7381. if (options[CO_NUMBER] > segmentLen && nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen && !isRoundabout && address.isOkFor(109)) segment.report(109);
  7382. if (slowChecks && 15 > segmentLen && !streetLen && 2 === nodeA.$otherSegmentsLen && 2 === nodeB.$otherSegmentsLen && isLimitOk(79) && address.isOkFor(79) &&
  7383. nodeA.$otherSegments[0].$rawSegment && nodeA.$otherSegments[1].$rawSegment && nodeB.$otherSegments[0].$rawSegment && nodeB.$otherSegments[1].$rawSegment &&
  7384. nodeA.$otherSegments[0].$address.$street && nodeA.$otherSegments[0].$type === nodeA.$otherSegments[1].$type && nodeB.$otherSegments[0].$type === nodeB.$otherSegments[1].$type &&
  7385. nodeA.$otherSegments[0].$address.$street === nodeA.$otherSegments[1].$address.$street && nodeB.$otherSegments[0].$address.$street === nodeB.$otherSegments[1].$address.$street &&
  7386. nodeA.$otherSegments[0].$address.$street === nodeB.$otherSegments[0].$address.$street) {
  7387. if ((DIR_TWO === direction || DIR_BA === direction) && 1 === nodeA.$outConnectionsLen && 2 > nodeA.$inConnectionsLen && 1 === nodeB.$inConnectionsLen && 2 > nodeB.$outConnectionsLen)
  7388. segment.report(79);
  7389. if ((DIR_TWO === direction || DIR_AB === direction) && 1 === nodeB.$outConnectionsLen && 2 > nodeB.$inConnectionsLen && 1 === nodeA.$inConnectionsLen && 2 > nodeA.$outConnectionsLen)
  7390. segment.report(79)
  7391. }
  7392. }
  7393. }
  7394. if (!nodeB.$isPartial) {
  7395. if (slowChecks && 5 < segmentLen && !nodeB.$otherSegmentsLen && nodeB.$rawNode.geometry.bounds && isLimitOk(108) && address.isOkFor(108)) {
  7396. var IDs = nodeB.$rawNode.attributes.segIDs;
  7397. var pt = new OpenLayers.Geometry.Point(nodeB.$rawNode.geometry.bounds.left, nodeB.$rawNode.geometry.bounds.bottom);
  7398. for (var segKey in WMo.segments.objects) {
  7399. var seg = WMo.segments.objects[segKey];
  7400. if (segmentID === seg.getID()) continue;
  7401. if (!seg.geometry) continue;
  7402. if (elevation !== seg.attributes.level) continue;
  7403. if ('Delete' === seg.state) continue;
  7404. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7405. if (LIMIT_TOLERANCE > seg.geometry.distanceTo(pt, null)) {
  7406. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7407. segment.report(108);
  7408. break
  7409. }
  7410. }
  7411. }
  7412. if (nodeB.$isUturn) {
  7413. if (!nodeB.$otherSegmentsLen && isLimitOk(77) && address.isOkFor(77)) segment.report(77);
  7414. if (slowChecks && 1 === nodeB.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeB.$outConnections[0].$isRoundabout) segment.report(99)
  7415. }
  7416. }
  7417. if (RT_FREEWAY === roadType) {
  7418. if (0 !== elevation && isLimitOk(110) && address.isOkFor(110)) segment.report(110);
  7419. options = getCheckOptions(150, countryCode);
  7420. if (options[CO_NUMBER] > lock && isLimitOk(150) && address.isOkFor(150)) segment.report(150);
  7421. if (DIR_TWO === direction && address.isOkFor(90)) segment.report(90)
  7422. }
  7423. if (RT_MAJOR === roadType) {
  7424. options = getCheckOptions(151, countryCode);
  7425. if (options[CO_NUMBER] > lock && isLimitOk(151) && address.isOkFor(151)) segment.report(151)
  7426. }
  7427. if (RT_MINOR === roadType) {
  7428. options = getCheckOptions(152, countryCode);
  7429. if (options[CO_NUMBER] > lock && isLimitOk(152) && address.isOkFor(152)) segment.report(152)
  7430. }
  7431. if (RT_RAMP === roadType) {
  7432. if (DIR_TWO === direction && isLimitOk(91) && address.isOkFor(91)) segment.report(91);
  7433. options = getCheckOptions(153, countryCode);
  7434. if (options[CO_NUMBER] > lock && isLimitOk(153) && address.isOkFor(153)) segment.report(153)
  7435. }
  7436. if (RT_PRIMARY === roadType) {
  7437. options = getCheckOptions(154, countryCode);
  7438. if (options[CO_NUMBER] > lock && isLimitOk(154) && address.isOkFor(154)) segment.report(154)
  7439. }
  7440. if (RT_STREET === roadType) {
  7441. options = getCheckOptions(155, countryCode);
  7442. if (options[CO_NUMBER] > lock && isLimitOk(155) && address.isOkFor(155)) segment.report(155)
  7443. }
  7444. if (RT_PARKING === roadType) {
  7445. options = getCheckOptions(156, countryCode);
  7446. if (options[CO_NUMBER] > lock && isLimitOk(156) && address.isOkFor(156)) segment.report(156)
  7447. }
  7448. if (RT_RAILROAD === roadType) {
  7449. options = getCheckOptions(157, countryCode);
  7450. if (options[CO_NUMBER] > lock && isLimitOk(157) && address.isOkFor(157)) segment.report(157)
  7451. }
  7452. if (RT_PRIVATE === roadType) {
  7453. options = getCheckOptions(158, countryCode);
  7454. if (options[CO_NUMBER] > lock && isLimitOk(158) && address.isOkFor(158)) segment.report(158)
  7455. }
  7456. } else if (slowChecks && !hasHNs && RT_RAILROAD !== roadType) {
  7457. if (nodeA.$otherSegmentsLen && (nodeB.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(114) && address.isOkFor(114))
  7458. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7459. var otherSegment = nodeA.$otherSegments[i];
  7460. if (!otherSegment.$rawSegment) continue;
  7461. if (RR_TRAIL < otherSegment.$typeRank) {
  7462. segment.report(114);
  7463. break
  7464. }
  7465. }
  7466. if (nodeB.$otherSegmentsLen && (nodeA.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(115) && address.isOkFor(115))
  7467. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7468. var otherSegment = nodeB.$otherSegments[i];
  7469. if (!otherSegment.$rawSegment) continue;
  7470. if (RR_TRAIL < otherSegment.$typeRank) {
  7471. segment.report(115);
  7472. break
  7473. }
  7474. }
  7475. }
  7476. if (streetLen) {
  7477. 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};
  7478. var checkIDID = {160: 70, 161: 71, 162: 72};
  7479. for (var i in checkIDType) {
  7480. i = +i;
  7481. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7482. var rType = checkIDType[i];
  7483. options = getCheckOptions(i, countryCode);
  7484. if (rType === roadType || !rType) {
  7485. if (matchRegExp(i, segmentID, street, options)) segment.report(i)
  7486. } else {
  7487. var mi = checkIDID[i];
  7488. if (mi && address.isOkFor(mi) && !matchRegExp(i, segmentID, street, options)) segment.report(mi)
  7489. }
  7490. }
  7491. for (var i = CK_STREETNAMEFIRST; i <= CK_STREETNAMELAST; i++) {
  7492. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7493. if (matchRegExp(i, segmentID, street, getCheckOptions(i, countryCode))) segment.report(i)
  7494. }
  7495. if (cityLen && RT_RAMP === roadType && isLimitOk(57) && address.isOkFor(57)) segment.report(57);
  7496. if (-1 !== street.indexOf('CONST ZN') && isLimitOk(117) && address.isOkFor(117)) segment.report(117);
  7497. if (RT_RAMP !== roadType && -1 !== street.indexOf('.') && isLimitOk(95) && address.isOkFor(95)) segment.report(95);
  7498. if (RT_RAMP === roadType)
  7499. if (DIR_TWO === direction)
  7500. if (isLimitOk(28) && address.isOkFor(28)) segment.report(28);
  7501. if (RR_RAMP > typeRank) {
  7502. options = getCheckOptions(73, countryCode);
  7503. if (options[CO_NUMBER] > streetLen && isLimitOk(73) && address.isOkFor(73)) segment.report(73)
  7504. }
  7505. if (isDrivable)
  7506. if (RT_RAMP === roadType) {
  7507. options = getCheckOptions(112, countryCode);
  7508. if (options[CO_NUMBER] < streetLen && isLimitOk(112) && address.isOkFor(112)) segment.report(112)
  7509. } else {
  7510. options = getCheckOptions(52, countryCode);
  7511. if (options[CO_NUMBER] < streetLen && isLimitOk(52) && address.isOkFor(52)) segment.report(52)
  7512. }
  7513. }
  7514. if (isRoundabout && isDrivable) {
  7515. if (streetLen && isLimitOk(29) && address.isOkFor(29)) segment.report(29);
  7516. if (DIR_TWO === direction && address.isOkFor(48)) segment.report(48);
  7517. if (!nodeA.$isPartial && 2 < nodeA.$otherSegmentsLen)
  7518. if (2 < nodeA.$outConnectionsLen) {
  7519. if (address.isOkFor(87)) segment.report(87)
  7520. } else if (address.isOkFor(74))
  7521. segment.report(74);
  7522. if (slowChecks && !isPartial && (DIR_AB === direction || DIR_BA === direction)) {
  7523. var okA = false;
  7524. var okB = false;
  7525. var anode, bnode;
  7526. if (DIR_AB === direction)
  7527. anode = nodeA, bnode = nodeB;
  7528. else
  7529. anode = nodeB, bnode = nodeA;
  7530. for (var i = 0; i < bnode.$outConnectionsLen; i++) {
  7531. var otherSegment = bnode.$outConnections[i];
  7532. if (otherSegment.$isRoundabout) {
  7533. okB = true;
  7534. break
  7535. }
  7536. }
  7537. if (okB)
  7538. for (var i = 0; i < anode.$inConnectionsLen; i++) {
  7539. var otherSegment = anode.$inConnections[i];
  7540. if (otherSegment.$isRoundabout) {
  7541. okA = true;
  7542. break
  7543. }
  7544. }
  7545. if ((!okB || !okA) && address.isOkFor(50)) segment.report(50)
  7546. }
  7547. }
  7548. HLObject(rawSegment)
  7549. }
  7550. if (_UI.pMain.pFilter.oEnablePlaces.CHECKED)
  7551. for (var venueKey in WMo.venues.objects) {
  7552. var rawVenue = WMo.venues.objects[venueKey];
  7553. var venueID = rawVenue.getID();
  7554. if (rawVenue.layer && rawVenue.id in rawVenue.layer.unrenderedFeatures) continue;
  7555. if ('Delete' === rawVenue.state) continue;
  7556. if (rawVenue.outOfScope) continue;
  7557. var seen = null;
  7558. if (venueID in _RT.$seen) seen = _RT.$seen[venueID];
  7559. if (rawVenue.selected) {
  7560. selectedObjects.push(venueID);
  7561. _RT.$revalidate[venueID] = true;
  7562. if (seen) {
  7563. deleteSeenObject(venueID);
  7564. seen = null
  7565. }
  7566. } else if (segmentID in _RT.$revalidate) {
  7567. deleteSeenObject(venueID);
  7568. seen = null;
  7569. delete _RT.$revalidate[segmentID]
  7570. }
  7571. if (seen) {
  7572. HLObject(rawVenue);
  7573. continue
  7574. }
  7575. var venue = new SimpleOBJECT(venueID, WMo.venues);
  7576. Object.seal(venue);
  7577. var address = venue.$address;
  7578. var country = address.$country;
  7579. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  7580. var city = address.$city;
  7581. var cityLen = city.length;
  7582. var cityID = address.$cityID;
  7583. var street = address.$street;
  7584. var streetLen = street.length;
  7585. var lock = venue.$lock;
  7586. _RT.$seen[venueID] = seen = [0, null, false, false, 4 > currentZoom, cityID];
  7587. venue.incCityCounter();
  7588. if (venue.$isEditable) _REP.$isEditableFound = true;
  7589. if (!cityLen && isLimitOk(250)) {
  7590. options = getCheckOptions(250, countryCode);
  7591. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(250)) venue.report(250)
  7592. }
  7593. if (!streetLen && isLimitOk(251)) {
  7594. options = getCheckOptions(251, countryCode);
  7595. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(251)) venue.report(251)
  7596. }
  7597. if (isLimitOk(252)) {
  7598. options = getCheckOptions(252, countryCode);
  7599. if (options[CO_REGEXP].test(venue.$updatedByID.toString()) || options[CO_REGEXP].test(venue.$updatedBy.toString()) && address.isOkFor(252)) venue.report(252)
  7600. }
  7601. if (venue.$categories.indexOf('OTHER') > -1 && isLimitOk(253) && address.isOkFor(253)) venue.report(253);
  7602. if (venue.$entryExitPoints && venue.$entryExitPoints.length && isLimitOk(254)) {
  7603. var stopPoint = venue.$entryExitPoints[0].getPoint();
  7604. var areaCenter = venue.$geometry.getCentroid();
  7605. if (stopPoint.equals(areaCenter) && address.isOkFor(254)) venue.report(254)
  7606. }
  7607. if (venue.$phone && isLimitOk(255)) {
  7608. options = getCheckOptions(255, countryCode);
  7609. if (!options[CO_REGEXP].test(venue.$phone) && address.isOkFor(255)) venue.report(255)
  7610. }
  7611. if (venue.$url && isLimitOk(256)) {
  7612. options = getCheckOptions(256, countryCode);
  7613. if (!options[CO_REGEXP].test(venue.$url) && address.isOkFor(256)) venue.report(256)
  7614. }
  7615. if (venue.$isPoint && isLimitOk(257)) {
  7616. options = getCheckOptions(257, countryCode);
  7617. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(257)) venue.report(257)
  7618. } else if (isLimitOk(258)) {
  7619. options = getCheckOptions(258, countryCode);
  7620. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(258)) venue.report(258)
  7621. }
  7622. if (isLimitOk(259)) {
  7623. options = getCheckOptions(259, countryCode);
  7624. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(259)) venue.report(259)
  7625. }
  7626. if (isLimitOk(260)) {
  7627. options = getCheckOptions(260, countryCode);
  7628. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(260)) venue.report(260)
  7629. }
  7630. if (venue.$rawObject.isParkingLot()) {
  7631. var catAttr = venue.$categoryAttributes;
  7632. var parkAttr = catAttr ? catAttr.PARKING_LOT : undefined;
  7633. if ((!parkAttr || !parkAttr.parkingType) && address.isOkFor(270)) venue.report(270);
  7634. if ((!parkAttr || !parkAttr.costType || parkAttr.costType === 'UNKNOWN') && address.isOkFor(271)) venue.report(271);
  7635. if (parkAttr && parkAttr.costType && parkAttr.costType !== 'FREE' && parkAttr.costType !== 'UNKNOWN' && (!parkAttr.paymentType || !parkAttr.paymentType.length) && address.isOkFor(272))
  7636. venue.report(272);
  7637. if ((!parkAttr || !parkAttr.lotType || parkAttr.lotType.length === 0) && address.isOkFor(273)) venue.report(273);
  7638. if ((!venue.$entryExitPoints || !venue.$entryExitPoints.length) && address.isOkFor(274)) venue.report(274)
  7639. }
  7640. if (venue.$rawObject.isGasStation())
  7641. if (isLimitOk(275) && venue.$name.toLowerCase().indexOf(venue.$brand.toLowerCase().split(' ')[0]) === -1 && address.isOkFor(275)) venue.report(275)
  7642. }
  7643. if (bUpdateMaxSeverity && (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))) async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  7644. updateObjectProperties(selectedObjects, false);
  7645. addHLedObjects()
  7646. };
  7647. function F_LOGIN() {
  7648. log('login ' + WLM.user.userName);
  7649. _WV.parseAccessList = function(s) {
  7650. var a = s.split(/\s*,\s*/);
  7651. var res = [];
  7652. a.forEach(function(r, i) {
  7653. var n = false;
  7654. if ('!' === r.charAt(0)) n = true, r = r.slice(1);
  7655. res[i] = { $id: r, $not: n }
  7656. });
  7657. return res
  7658. };
  7659. _WV.checkAccessFor = function(forStr, cmpFunc) {
  7660. if (!forStr) return true;
  7661. var l = _WV.parseAccessList(forStr);
  7662. if (!l.length) return true;
  7663. for (var i = 0; i < l.length; i++) {
  7664. var r = l[i];
  7665. if ('*' === r.$id || cmpFunc(r.$id))
  7666. if (r.$not)
  7667. return false;
  7668. else
  7669. return true
  7670. }
  7671. return false
  7672. };
  7673. function mirrorChecks(defTranslation) {
  7674. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  7675. for (var i = CK_MIRRORFIRST; i <= CK_MIRRORLAST; i++)
  7676. allLabels.forEach(function(l) {
  7677. var label = i + '.' + l;
  7678. if (!(label in defTranslation)) return;
  7679. var value = defTranslation[label];
  7680. var mLabel = i + 100 + '.' + l;
  7681. switch (l) {
  7682. case 'title':
  7683. case 'problem':
  7684. case 'solution':
  7685. defTranslation[mLabel] = value.replace(/ A($|\b)/g, ' B');
  7686. break;
  7687. case 'params':
  7688. defTranslation[mLabel] = deepCopy(value);
  7689. break;
  7690. default:
  7691. defTranslation[mLabel] = value;
  7692. break
  7693. }
  7694. })
  7695. }
  7696. _RT = {
  7697. $textLabels: ['title', 'problem', 'solution'],
  7698. $otherLabels: ['enabled', 'color', 'severity', 'reportOnly', 'params', 'problemLink', 'solutionLink'],
  7699. $curMaxSeverity: RS_ERROR,
  7700. $RegExp1: '',
  7701. $RegExp2: '',
  7702. oReportWMECH: {FORID: '_cbHighlightLocked', CHECKED: false, NA: true},
  7703. oReportToolbox: {FORID: 'WMETB_NavBar', CHECKED: false, NA: true},
  7704. $isMapChanged: false,
  7705. $lng: I18n.locale.toUpperCase(),
  7706. $includeUpdatedByCache: {},
  7707. $includeUpdatedSinceTime: 0,
  7708. $includeCityNameCache: {},
  7709. $includeChecksCache: {},
  7710. $switchValidator: false,
  7711. $HLlayer: null,
  7712. $HLedObjects: {},
  7713. $isGlobalAccess: false,
  7714. $timer: {$secInRun: 0, $lastUpdate: 0},
  7715. $curMessage: {TEXT: '', TITLE: '', CLASS: CL_MSG},
  7716. $topCity: null,
  7717. $cachedTopCCode: '',
  7718. $topUser: {
  7719. $userID: WLM.user.id,
  7720. $userName: WLM.user.userName,
  7721. $userLevel: WLM.user.normalizedLevel,
  7722. $isCM: WLM.user.editableCountryIDs ? 0 !== WLM.user.editableCountryIDs.length : false,
  7723. $countryIDs: WLM.user.editableCountryIDs ? WLM.user.editableCountryIDs : []
  7724. },
  7725. $topCenter: null,
  7726. $WDmoveID: -1,
  7727. $WDloadID: -1,
  7728. $layersVisibility: '',
  7729. $state: ST_STOP,
  7730. $direction: DIR_L2R,
  7731. $firstStep: true,
  7732. $startExtent: null,
  7733. $startCenter: null,
  7734. $startZoom: null,
  7735. $nextCenter: null,
  7736. $moveEndCenter: null,
  7737. $seen: {},
  7738. $revalidate: {},
  7739. $curUserName: WLM.user.userName,
  7740. $error: false,
  7741. $reportEditableNotFound: false,
  7742. $checks: {},
  7743. $sortedCheckIDs: null,
  7744. $WMECHcolors: {},
  7745. $untranslatedLngs: ['IT']
  7746. };
  7747. _RT.$checks = {
  7748. 0: {
  7749. SEVERITY: RS_MAX,
  7750. REPORTONLY: false,
  7751. TITLE: 'Global access list to test before any of the checks below',
  7752. FORCOUNTRY: GA_FORCOUNTRY,
  7753. FORCITY: GA_FORCITY,
  7754. FORUSER: GA_FORUSER,
  7755. FORLEVEL: GA_FORLEVEL,
  7756. OPTIONS: {},
  7757. COLOR: '',
  7758. PROBLEM: '',
  7759. PROBLEMLINK: '',
  7760. PROBLEMLINKTEXT: '',
  7761. SOLUTION: '',
  7762. SOLUTIONLINK: '',
  7763. SOLUTIONLINKTEXT: ''
  7764. }
  7765. };
  7766. _I18n.init({$lng: _RT.$lng});
  7767. var defTranslation = _translations[_I18n.$defLng];
  7768. var defTBProblem = 'The segment is highlighted by WME Toolbox. It is not a problem';
  7769. var defTBProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Toolbox';
  7770. var TBchecks = [
  7771. [
  7772. '#3030FF', 'W', , 'Roundabout which may cause issues', 'Junction IDs of the roundabout segments are not consecutive', '', 'Redo the roundabout',
  7773. 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts'
  7774. ],
  7775. [
  7776. '#FF30FF', , , 'Simple segment', 'The segment has unneeded geometry nodes', , 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  7777. 'W:Creating_and_Editing_street_segments#Adjusting_road_geometry_.28nodes.29'
  7778. ],
  7779. ['#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'],
  7780. ['#00A8FF', , true, 'House numbers'], ['#F7B020', , true, 'Segment with time restrictions']
  7781. ];
  7782. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7783. var cc = TBchecks[i - CK_TBFIRST];
  7784. var cp = cc[4] || defTBProblem;
  7785. var cpl = cc[5];
  7786. if (!classCodeDefined(cpl)) cpl = defTBProblemLink;
  7787. defTranslation[i + '.enabled'] = true;
  7788. defTranslation[i + '.color'] = cc[0];
  7789. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7790. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7791. defTranslation[i + '.title'] = 'WME Toolbox: ' + cc[3];
  7792. defTranslation[i + '.problem'] = cp;
  7793. if (cpl) defTranslation[i + '.problemLink'] = cpl;
  7794. if (cc[6]) defTranslation[i + '.solution'] = cc[6];
  7795. if (cc[7]) defTranslation[i + '.solutionLink'] = cc[7]
  7796. }
  7797. var defWMECHProblem = 'The segment is highlighted by WME Color Highlights. It is not a problem';
  7798. var defWMECHProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Color_Highlights_.28WMECH.29';
  7799. var WMECHchecks = [
  7800. ['#000000', , true, 'Editor lock'], ['#0000FF', , true, 'Toll road / One way road'], ['#00FF00', , true, 'Recently edited'], ['#880000', , true, 'Road rank'], ['#888888', , true, 'No city'],
  7801. ['#990099', , true, 'Time restriction / Highlighted road type'], ['#FFBB00', , true, 'No name'], ['#FFFF00', , true, 'Filter by city'], ['#FFFF01', , true, 'Filter by city (alt. city)'],
  7802. ['#00FF00', , true, 'Filter by editor']
  7803. ];
  7804. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7805. var cc = WMECHchecks[i - CK_WMECHFIRST];
  7806. var cp = defWMECHProblem;
  7807. var cpl = defWMECHProblemLink;
  7808. defTranslation[i + '.enabled'] = true;
  7809. defTranslation[i + '.color'] = cc[0];
  7810. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7811. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7812. defTranslation[i + '.title'] = 'WME Color Highlights: ' + cc[3];
  7813. defTranslation[i + '.problem'] = cp;
  7814. if (cpl) defTranslation[i + '.problemLink'] = cpl
  7815. }
  7816. var streetNames = ['Freeway', 'Major Highway', 'Minor Highway', 'Ramp', 'Primary Street', 'Street', 'Parking Lot Road', 'Railroad', 'Private Road'];
  7817. for (var i = CK_TYPEFIRST; i <= CK_TYPELAST; i++) {
  7818. var streetName = streetNames[i - CK_TYPEFIRST];
  7819. defTranslation[i + '.severity'] = 'W';
  7820. defTranslation[i + '.title'] = 'Must be a ' + streetName;
  7821. defTranslation[i + '.problem'] = 'This segment must be a ' + streetName;
  7822. defTranslation[i + '.solution'] = 'Set the road type to ' + streetName + ' or change the road name'
  7823. }
  7824. for (var i = CK_CUSTOMFIRST; i <= CK_CUSTOMLAST; i++) {
  7825. defTranslation[i + '.title'] = 'Custom check';
  7826. defTranslation[i + '.severity'] = 'W';
  7827. defTranslation[i + '.problem'] = 'The segment matched custom conditions';
  7828. defTranslation[i + '.solution'] = 'Solve the issue';
  7829. defTranslation[i + '.params'] = {
  7830. 'template.title': '{string} expandable template',
  7831. 'template': '${street}',
  7832. 'regexp.title': '{string} regular expression to match the template',
  7833. 'regexp': '!/.+/',
  7834. 'titleEN.title': '{string} check title in English',
  7835. 'titleEN': '',
  7836. 'problemEN.title': '{string} problem description in English',
  7837. 'problemEN': '',
  7838. 'solutionEN.title': '{string} solution instructions in English',
  7839. 'solutionEN': ''
  7840. }
  7841. }
  7842. var lockLevels = {150: 5, 151: 4, 152: 3, 153: 4, 154: 2, 155: 0, 156: 0, 157: 2, 158: 2};
  7843. for (var i = CK_LOCKFIRST; i <= CK_LOCKLAST; i++) {
  7844. var lockName = streetNames[i - CK_LOCKFIRST];
  7845. var lockLevel = lockLevels[i];
  7846. defTranslation[i + '.title'] = 'No lock on ' + lockName;
  7847. defTranslation[i + '.problem'] = 'The ' + lockName + ' segment should be locked at least to Lvl ${n}';
  7848. defTranslation[i + '.solution'] = 'Lock the segment';
  7849. defTranslation[i + '.params'] = { 'n.title': '{number} minimum lock level', 'n': lockLevel }
  7850. }
  7851. var streetRegExps = {160: '!/^[AS][0-9]{1,2}/', 161: '!/^[0-9]{1,2}/', 162: '!/^[0-9]{1,3}/', 163: '!/^[AS]?[0-9]* ?> /'};
  7852. var streetDefRegExp = '!/.?/';
  7853. for (var i = CK_STREETTNFIRST; i <= CK_STREETTNLAST; i++) {
  7854. var streetName = streetNames[i - CK_STREETTNFIRST];
  7855. var streetRegExp = streetRegExps[CK_STREETTNFIRST] || streetDefRegExp;
  7856. if (i < 165 || i > 167) defTranslation[i + '.severity'] = 'W';
  7857. defTranslation[i + '.title'] = 'Incorrect ' + streetName + ' name';
  7858. defTranslation[i + '.problem'] = 'The ' + streetName + ' segment has incorrect street name';
  7859. defTranslation[i + '.solution'] = 'Rename the segment in accordance with the guidelines';
  7860. defTranslation[i + '.params'] = { 'regexp.title': '{string} regular expression to match incorrect ' + streetName + ' name', 'regexp': streetRegExp }
  7861. }
  7862. mirrorChecks(defTranslation);
  7863. var listOfIntPacks = '';
  7864. for (var translationsKey in _translations) {
  7865. var translation = _translations[translationsKey];
  7866. mirrorChecks(translation);
  7867. _I18n.addTranslation(translation);
  7868. var country = translation['.country'];
  7869. if (!country) continue;
  7870. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7871. country = country.split(' ').join('&nbsp;');
  7872. if (listOfIntPacks) listOfIntPacks += ', ';
  7873. if ('.lng' in translation)
  7874. listOfIntPacks += '<b>' + country + '*';
  7875. else
  7876. listOfIntPacks += country;
  7877. if ('.author' in translation) listOfIntPacks += ' by&nbsp;' + translation['.author'];
  7878. if ('.lng' in translation) listOfIntPacks += '</b>';
  7879. if ('.updated' in translation) listOfIntPacks += ' (' + translation['.updated'] + ')'
  7880. }
  7881. listOfIntPacks += '.';
  7882. listOfIntPacks += '<br>* localization pack with translations';
  7883. var listOfPacks = '';
  7884. for (var gObject in window) {
  7885. if (!window.hasOwnProperty(gObject)) continue;
  7886. if (-1 !== gObject.indexOf('WME_Validator')) {
  7887. var translation = window[gObject];
  7888. log('found localization pack: ' + gObject.replace('WME_Validator_', ''));
  7889. mirrorChecks(translation);
  7890. _I18n.addTranslation(translation);
  7891. if ('.country' in translation) {
  7892. var country = translation['.country'];
  7893. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7894. listOfPacks += '<b>' + country;
  7895. if ('.author' in translation) listOfPacks += ' by&nbsp;' + translation['.author'];
  7896. listOfPacks += '</b>';
  7897. if (!('.lng' in translation)) listOfPacks += '<br>(does not include translations)';
  7898. if ('.updated' in translation) {
  7899. listOfPacks += '<br>Updated: ' + translation['.updated'];
  7900. if ('.link' in translation && translation['.link']) listOfPacks += ' <a target="_blank" href="' + translation['.link'] + '">check&nbsp;for&nbsp;updates</a>'
  7901. }
  7902. listOfPacks += '<br>'
  7903. }
  7904. }
  7905. }
  7906. listOfPacks = listOfPacks ? listOfPacks : 'No external localization packs found';
  7907. listOfPacks += '<br><b>See</b> <a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">' +
  7908. 'how to create a localization pack</a>';
  7909. for (var i = 1; i < MAX_CHECKS; i++) {
  7910. var check = {ENABLED: {}, PROBLEMLINK: {}, PROBLEMLINKTEXT: {}, SOLUTIONLINK: {}, SOLUTIONLINKTEXT: {}};
  7911. var label = i + '.title';
  7912. if (!_I18n.isLabelExist(label)) continue;
  7913. check.TITLE = trS(label);
  7914. label = i + '.color';
  7915. if (_I18n.isLabelExist(label)) {
  7916. var col = trS(label).toUpperCase();
  7917. check.COLOR = col;
  7918. if (CK_WMECHFIRST <= i && CK_WMECHLAST >= i) _RT.$WMECHcolors[col] = true
  7919. }
  7920. label = i + '.problem';
  7921. if (_I18n.isLabelExist(label)) check.PROBLEM = trS(label);
  7922. label = i + '.solution';
  7923. if (_I18n.isLabelExist(label)) check.SOLUTION = trS(label);
  7924. label = i + '.reportOnly';
  7925. if (_I18n.isLabelExist(label)) check.REPORTONLY = trS(label);
  7926. label = i + '.severity';
  7927. var s = 'N';
  7928. if (_I18n.isLabelExist(label)) s = trS(label);
  7929. if (s) switch (s.charAt(0)) {
  7930. case 'w':
  7931. case 'W':
  7932. check.SEVERITY = RS_WARNING;
  7933. break;
  7934. case 'e':
  7935. case 'E':
  7936. check.SEVERITY = RS_ERROR;
  7937. break;
  7938. case '1':
  7939. check.SEVERITY = RS_CUSTOM1;
  7940. break;
  7941. case '2':
  7942. check.SEVERITY = RS_CUSTOM2;
  7943. break;
  7944. default:
  7945. check.SEVERITY = RS_NOTE;
  7946. break
  7947. }
  7948. else
  7949. check.SEVERITY = RS_NOTE;
  7950. label = i + '.enabled';
  7951. var labelP = i + '.params';
  7952. var labelPL = i + '.problemLink';
  7953. var labelSL = i + '.solutionLink';
  7954. var defEnabled = false;
  7955. var arrCodes = [];
  7956. for (var ccode in _I18n.$translations) {
  7957. var translation = _I18n.$translations[ccode];
  7958. if (label in translation) {
  7959. var e = translation[label];
  7960. check.ENABLED[ccode] = e;
  7961. if (_I18n.$defLng === ccode) {
  7962. if (e) defEnabled = true
  7963. } else if (e)
  7964. arrCodes.push(ccode);
  7965. else
  7966. arrCodes.push('!' + ccode)
  7967. }
  7968. if (labelPL in translation) {
  7969. var l = translation[labelPL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM);
  7970. check.PROBLEMLINK[ccode] = encodeURI(l);
  7971. if (-1 !== l.indexOf(PFX_WIKI) || -1 !== l.indexOf(PFX_PEDIA))
  7972. check.PROBLEMLINKTEXT[ccode] = trS('report.link.wiki');
  7973. else if (-1 !== l.indexOf(PFX_FORUM))
  7974. check.PROBLEMLINKTEXT[ccode] = trS('report.link.forum');
  7975. else
  7976. check.PROBLEMLINKTEXT[ccode] = trS('report.link.other')
  7977. }
  7978. if (labelSL in translation) {
  7979. var l = translation[labelSL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM);
  7980. check.SOLUTIONLINK[ccode] = encodeURI(l);
  7981. if (-1 !== l.indexOf(PFX_WIKI || -1 !== l.indexOf(PFX_PEDIA)))
  7982. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.wiki');
  7983. else if (-1 !== l.indexOf(PFX_FORUM))
  7984. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.forum');
  7985. else
  7986. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.other')
  7987. }
  7988. if (labelP in translation) {
  7989. var params = translation[labelP];
  7990. if (!check.OPTIONS) check.OPTIONS = {};
  7991. if (!(ccode in check.OPTIONS)) check.OPTIONS[ccode] = params;
  7992. if (params['template']) check.OPTIONS[ccode][CO_STRING] = params['template'];
  7993. if (params['regexp']) _WV.buildRegExp(i, check.OPTIONS[ccode], params['regexp']);
  7994. if (params['n']) check.OPTIONS[ccode][CO_NUMBER] = +params['n']
  7995. }
  7996. }
  7997. if (defEnabled) {
  7998. if (arrCodes.length) check.FORCOUNTRY = arrCodes.join(',') + ',*'
  7999. } else if (arrCodes.length)
  8000. check.FORCOUNTRY = arrCodes.join(',');
  8001. else
  8002. check.FORCOUNTRY = '!*';
  8003. _RT.$checks[i] = check
  8004. }
  8005. var dir = _I18n.getDir();
  8006. var dirLeft = trLeft(dir);
  8007. var dirRight = trRight(dir);
  8008. var cssRules, cssRules2, cssRulesA = '>a{text-decoration:underline;cursor:pointer;pointer-events:auto}';
  8009. _THUI.addElemetClassStyle('div', CL_TABS, '{border-bottom:2px solid #ddd;height:29px}');
  8010. _THUI.addElemetClassStyle('div', CL_TABS, '>input{display:none}');
  8011. _THUI.addElemetClassStyle(
  8012. 'div', CL_TABS,
  8013. '>label{white-space:nowrap;overflow:hidden;max-width:100px;text-overflow:ellipsis;cursor:pointer;display:inline-block;margin:0px;margin-' + dirRight +
  8014. ':3px;padding:4px 12px;border-radius:4px 4px 0 0;background-color:#dadbdc}');
  8015. _THUI.addElemetClassStyle(
  8016. 'div', CL_TABS,
  8017. '>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}');
  8018. _THUI.addElemetClassStyle('div', CL_TABS, '>input:disabled+label{font-weight:bold !important;padding-' + dirLeft + ':0px;color:#333;cursor:default;background-color:transparent}');
  8019. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label:hover{background-color:#fff}');
  8020. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label:hover{background-color:#fff}');
  8021. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label>span>span.c' + CL_COLLAPSE + '{display:none}');
  8022. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label>span>span.c' + CL_COLLAPSE + '{display:inline}');
  8023. _THUI.addElemetClassStyle(
  8024. 'div', CL_PANEL,
  8025. '{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:' +
  8026. SZ_PANEL_HEIGHT + 'px}');
  8027. _THUI.addElemetClassStyle('div', CL_PANEL, '>span' + cssRulesA);
  8028. _THUI.addElemetClassStyle('div', CL_PANEL, '>label>span' + cssRulesA);
  8029. _THUI.addElemetClassStyle('div', CL_PANEL, '>span>p' + cssRulesA);
  8030. cssRules = '>span{border-radius:5px;background-color:';
  8031. _THUI.addElemetClassStyle('label', 'c1', cssRules + GL_CUSTOM1COLOR + ';color:' + GL_CUSTOM1BGCOLOR + '}');
  8032. _THUI.addElemetClassStyle('label', 'c2', cssRules + GL_CUSTOM2COLOR + ';color:' + GL_CUSTOM2BGCOLOR + '}');
  8033. cssRules = '>span>a{color:white}';
  8034. _THUI.addElemetClassStyle('label', 'c1', cssRules);
  8035. _THUI.addElemetClassStyle('label', 'c2', cssRules);
  8036. _THUI.addElemetClassStyle('div', CL_BUTTONS, '{overflow:hidden;margin-bottom:1em}');
  8037. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button{font-weight:normal;padding:4px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8038. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button>i{pointer-events:none}');
  8039. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button:disabled{background-color:#eee;border-bottom:0px;cursor:default;pointer-events:auto}');
  8040. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox{display:block;height:24px;font-weight:normal;margin:0}');
  8041. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox>span{display:inline-block;height:20px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8042. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.date{display:block;height:32px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8043. _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}');
  8044. _THUI.addElemetClassStyle(
  8045. 'div', CL_PANEL,
  8046. '>label.date>input[type=date]{box-sizing:border-box;height:28px;padding:2px 10px;padding-' + dirRight + ':2px;float:' + dirRight + ';margin-' + dirRight + ':-155px;width:150px}');
  8047. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.text{display:block;height:30px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8048. _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}');
  8049. _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}');
  8050. cssRules = '{position:relative;height:2em;width:100%;margin-bottom:';
  8051. cssRules2 = '>span{position:absolute;' + dirLeft + ':0;bottom:0;display:inline-block;padding:4px 12px;margin:0px;border-radius:8px;border-bottom-' + dirLeft +
  8052. '-radius:0;box-shadow:3px 3px 3px #aaa;border:1px solid ';
  8053. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules + '12px}');
  8054. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules2 + '#aea;background-color:#cfc;' + dirLeft + ':auto;' + dirRight + ':0;border-radius:8px;border-bottom-' + dirRight + '-radius:0}');
  8055. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, '>span' + cssRulesA);
  8056. _THUI.addElemetClassStyle('div', CL_MSG, cssRules + '1em}');
  8057. _THUI.addElemetClassStyle('div', CL_MSG, cssRules2 + '#ded;background-color:#efe}');
  8058. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules + '1em}');
  8059. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules2 + '#ee9;background-color:#ffa}');
  8060. _THUI.addElemetIdStyle('div', ID_PROPERTY, '{padding-bottom:5px}');
  8061. _THUI.addElemetIdStyle('div', ID_PROPERTY, '>b' + cssRulesA);
  8062. cssRules = '{color:' + GL_NOTECOLOR + '}';
  8063. _THUI.addElemetClassStyle('div', CL_NOTE, cssRules);
  8064. _THUI.addElemetClassStyle('a', CL_NOTE, cssRules);
  8065. cssRules = '{color:' + GL_WARNINGCOLOR + '}';
  8066. _THUI.addElemetClassStyle('div', CL_WARNING, cssRules);
  8067. _THUI.addElemetClassStyle('a', CL_WARNING, cssRules);
  8068. cssRules = '{color:' + GL_ERRORCOLOR + '}';
  8069. _THUI.addElemetClassStyle('div', CL_ERROR, cssRules);
  8070. _THUI.addElemetClassStyle('a', CL_ERROR, cssRules);
  8071. cssRules = '{color:' + GL_CUSTOM1COLOR + '}';
  8072. _THUI.addElemetClassStyle('div', CL_CUSTOM1, cssRules);
  8073. _THUI.addElemetClassStyle('a', CL_CUSTOM1, cssRules);
  8074. cssRules = '{color:' + GL_CUSTOM2COLOR + '}';
  8075. _THUI.addElemetClassStyle('div', CL_CUSTOM2, cssRules);
  8076. _THUI.addElemetClassStyle('a', CL_CUSTOM2, cssRules);
  8077. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '{white-space:nowrap;position:relative;cursor:help}');
  8078. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span{display:inline-block;overflow:hidden;text-overflow:ellipsis;width:279px}');
  8079. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span' + cssRulesA);
  8080. cssRules = ';z-index:1000000;position:absolute;visibility:hidden;opacity:0;transition:0.1s ease;' + dirLeft + ':30px;top:-1.7em;cursor:default}';
  8081. _THUI.addElemetClassStyle(
  8082. 'div', CL_RIGHTTIP, ':before{content:"";position:absolute;border:1em solid transparent;border-' + dirRight + '-color:#ddd;margin-' + dirLeft + ':-2em;margin-top:1.5em' + cssRules);
  8083. _THUI.addElemetClassStyle(
  8084. '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);
  8085. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '{margin-' + dirLeft + ':2em}');
  8086. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, cssRulesA);
  8087. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p{color:black;margin-top:0.5em;margin-bottom:0.5em !important}');
  8088. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p' + cssRulesA);
  8089. cssRules = '{visibility:visible;opacity:1}';
  8090. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover:before' + cssRules);
  8091. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover>div' + cssRules);
  8092. _UI = {
  8093. _DISABLED: undefined,
  8094. _NODISPLAY: undefined,
  8095. MAXLENGTH: undefined,
  8096. REVERSE: undefined,
  8097. WARNING: undefined,
  8098. TYPE: undefined,
  8099. FORUSER: undefined,
  8100. FORCITY: undefined,
  8101. FORCOUNTRY: undefined,
  8102. FORLEVEL: undefined,
  8103. ACCESSKEY: undefined,
  8104. STYLEI: '',
  8105. DISCLOSE: 0,
  8106. _NAME: '',
  8107. READONLY: 0,
  8108. _STYLE: '',
  8109. ONWARNING: null,
  8110. ONCHANGE: null,
  8111. _ONCHANGE: undefined,
  8112. ONCLICKO: undefined,
  8113. MIN: undefined,
  8114. MAX: undefined,
  8115. STEP: undefined,
  8116. CLASS: CL_UI,
  8117. _TYPE: _THUI.DIV,
  8118. _ONWARNING: onWarning,
  8119. pTips: {},
  8120. pTranslateBanner: {
  8121. CLASS: CL_TRANSLATETIP,
  8122. TEXT: 'Please help to ' +
  8123. '<a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">' +
  8124. 'translate Validator!</a>',
  8125. TITLE: trS('about.tip')
  8126. },
  8127. pNoAccess: {CLASS: CL_PANEL, NODISPLAY: 1, STYLE: 'text-align:center', TEXT: trS('noaccess.text'), TITLE: trS('noaccess.tip')},
  8128. pMain: {
  8129. pTabs: {
  8130. CLASS: CL_TABS,
  8131. _DISCLOSE: 1,
  8132. _TYPE: _THUI.RADIO,
  8133. _ONCLICK: onUpdateUI,
  8134. tMain: {TEXT: '', TITLE: '', DISABLED: 1, STYLEO: 'cursor:pointer;max-width:97px', ONCLICKO: onUpdateUI},
  8135. tFilter: {
  8136. TEXT: '<i class="fa fa-filter" aria-hidden="true"></i>' +
  8137. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.filter.text') + '</span>',
  8138. TITLE: trS('tab.filter.tip'),
  8139. CHECKED: 1
  8140. },
  8141. tSearch: {
  8142. TEXT: '<i class="fa fa-search" aria-hidden="true"></i>' +
  8143. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.search.text') + '</span>',
  8144. TITLE: trS('tab.search.tip')
  8145. },
  8146. tHelp: {
  8147. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8148. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.help.text') + '</span>',
  8149. TITLE: trS('tab.help.tip'),
  8150. STYLEO: 'float:' + dirRight
  8151. }
  8152. },
  8153. pFilter: {
  8154. CLASS: CL_PANEL,
  8155. _CLASS: 'checkbox',
  8156. _TYPE: _THUI.CHECKBOX,
  8157. _REVERSE: 1,
  8158. _ONCHANGE: onUpdateUI,
  8159. oEnablePlaces: {TEXT: trS('filter.places.text'), TITLE: trS('filter.places.tip'), AUTOSAVE: AS_PLACES},
  8160. oExcludeNonEditables: {TEXT: trS('filter.noneditables.text'), TITLE: trS('filter.noneditables.tip'), AUTOSAVE: AS_NONEDITABLES},
  8161. oExcludeDuplicates: {TEXT: trS('filter.duplicates.text'), TITLE: trS('filter.duplicates.tip'), AUTOSAVE: AS_DUPLICATES},
  8162. oExcludeStreets: {TEXT: trS('filter.streets.text'), TITLE: trS('filter.streets.tip'), AUTOSAVE: AS_STREETS},
  8163. oExcludeOther: {TEXT: trS('filter.other.text'), TITLE: trS('filter.other.tip'), AUTOSAVE: AS_OTHERS},
  8164. oExcludeNotes: {TEXT: trS('filter.notes.text'), TITLE: trS('filter.notes.tip'), AUTOSAVE: AS_NOTES}
  8165. },
  8166. pSearch: {
  8167. CLASS: CL_PANEL,
  8168. NODISPLAY: 1,
  8169. _REVERSE: 1,
  8170. _ONCHANGE: onUpdateUI,
  8171. oIncludeYourEdits: {NODISPLAY: 1, TYPE: _THUI.CHECKBOX, TEXT: trS('search.youredits.text'), TITLE: trS('search.youredits.tip'), CLASS: 'checkbox', AUTOSAVE: AS_YOUREDITS},
  8172. oIncludeUpdatedBy: {
  8173. TYPE: _THUI.TEXT,
  8174. TEXT: trS('search.updatedby.text'),
  8175. TITLE: trS('search.updatedby.tip'),
  8176. PLACEHOLDER: trS('search.updatedby.example'),
  8177. CLASS: 'form-label text',
  8178. CLASSI: 'form-control',
  8179. AUTOSAVE: AS_UPDATEDBY
  8180. },
  8181. oIncludeUpdatedSince: {
  8182. TYPE: _THUI.DATE,
  8183. TEXT: trS('search.updatedsince.text'),
  8184. TITLE: trS('search.updatedsince.tip'),
  8185. PLACEHOLDER: trS('search.updatedsince.example'),
  8186. CLASS: 'form-label date',
  8187. CLASSI: 'form-control',
  8188. AUTOSAVE: AS_UPDATEDSINCE
  8189. },
  8190. oIncludeCityName: {
  8191. TYPE: _THUI.TEXT,
  8192. TEXT: trS('search.city.text'),
  8193. TITLE: trS('search.city.tip'),
  8194. PLACEHOLDER: trS('search.city.example'),
  8195. CLASS: 'form-label text',
  8196. CLASSI: 'form-control',
  8197. AUTOSAVE: AS_CITYNAME
  8198. },
  8199. oIncludeChecks: {
  8200. TYPE: _THUI.TEXT,
  8201. TEXT: trS('search.checks.text'),
  8202. TITLE: trS('search.checks.tip'),
  8203. PLACEHOLDER: trS('search.checks.example'),
  8204. CLASS: 'form-label text',
  8205. CLASSI: 'form-control',
  8206. AUTOSAVE: AS_CHECKS
  8207. }
  8208. },
  8209. pHelp: {CLASS: CL_PANEL, NODISPLAY: 1, TEXT: trS('help.text'), TITLE: trS('help.tip')},
  8210. pButtons: {
  8211. CLASS: CL_BUTTONS,
  8212. _CLASS: 'btn btn-default',
  8213. _TYPE: _THUI.BUTTON,
  8214. _ONCLICK: onUpdateUI,
  8215. bScan: {TEXT: '', TITLE: '', STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8216. bPause: {NODISPLAY: 1, TEXT: '', TITLE: trS('button.pause.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8217. bContinue: {TEXT: '', TITLE: trS('button.continue.tip'), NODISPLAY: 1, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8218. bStop: {TEXT: '', TITLE: trS('button.stop.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome;margin-' + dirRight + ':10px'},
  8219. bClear: {TEXT: '✘', TITLE: '', NODISPLAY: 1, DISABLED: 1, STYLE: 'float:' + dirLeft + ';width:38px;margin-' + dirRight + ':10px'},
  8220. bReport: {TEXT: trS('button.report.text'), TITLE: trS('button.report.tip'), STYLE: 'float:' + dirLeft + ';max-width:110px', ONCLICK: onShowReport},
  8221. bReportBB: {TEXT: '', TITLE: trS('button.BBreport.tip'), ONCLICK: onShareReport, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8222. bSettings: {TEXT: '', TITLE: trS('button.settings.tip'), STYLE: 'float:' + dirRight + ';width:38px;font-family:FontAwesome'}
  8223. }
  8224. },
  8225. pSettings: {
  8226. NODISPLAY: 1,
  8227. pTabs: {
  8228. CLASS: CL_TABS,
  8229. _DISCLOSE: 1,
  8230. _TYPE: _THUI.RADIO,
  8231. _ONCLICK: onUpdateUI,
  8232. tMain: {TEXT: trS('tab.settings.text') + ':', TITLE: 'WME Validator Version ' + WV_VERSION, STYLEO: 'max-width:85px', DISABLED: 1},
  8233. tCustom: {
  8234. TEXT: '<i class="fa fa-user" aria-hidden="true"></i>' +
  8235. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.custom.text') + '</span>',
  8236. STYLEO: 'max-width:110px',
  8237. TITLE: trS('tab.custom.tip'),
  8238. CHECKED: 1
  8239. },
  8240. tScanner: {
  8241. TEXT: '<i class="fa fa-wrench" aria-hidden="true"></i>' +
  8242. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.scanner.text') + '</span>',
  8243. TITLE: trS('tab.scanner.tip'),
  8244. STYLEO: 'max-width:110px'
  8245. },
  8246. tAbout: {
  8247. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8248. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.about.text') + '</span>',
  8249. TITLE: trS('tab.about.tip'),
  8250. STYLEO: 'float:' + dirRight + ';max-width:110px'
  8251. }
  8252. },
  8253. pCustom: {
  8254. CLASS: CL_PANEL,
  8255. _CLASS: 'form-label text',
  8256. _REVERSE: 1,
  8257. _ONCHANGE: onUpdateUI,
  8258. oTemplate1: {
  8259. TYPE: _THUI.TEXT,
  8260. TEXT: '&nbsp;' + trS('custom.template.text'),
  8261. TITLE: trS('custom.template.tip'),
  8262. PLACEHOLDER: trS('custom.template.example'),
  8263. CLASS: 'form-label text c1',
  8264. CLASSI: 'form-control',
  8265. AUTOSAVE: AS_CUSTOM1TEMPLATE
  8266. },
  8267. oRegExp1: {
  8268. TYPE: _THUI.TEXT,
  8269. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8270. TITLE: trS('custom.regexp.tip'),
  8271. PLACEHOLDER: trS('custom.regexp.example'),
  8272. CLASSI: 'form-control',
  8273. AUTOSAVE: AS_CUSTOM1REGEXP
  8274. },
  8275. oTemplate2: {
  8276. TYPE: _THUI.TEXT,
  8277. TEXT: '&nbsp;' + trS('custom.template.text'),
  8278. TITLE: trS('custom.template.tip'),
  8279. PLACEHOLDER: trS('custom.template.example'),
  8280. CLASS: 'form-label text c2',
  8281. CLASSI: 'form-control',
  8282. AUTOSAVE: AS_CUSTOM2TEMPLATE
  8283. },
  8284. oRegExp2: {
  8285. TYPE: _THUI.TEXT,
  8286. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8287. TITLE: trS('custom.regexp.tip'),
  8288. PLACEHOLDER: trS('custom.regexp.example'),
  8289. CLASSI: 'form-control',
  8290. AUTOSAVE: AS_CUSTOM2REGEXP
  8291. }
  8292. },
  8293. pScanner: {
  8294. NODISPLAY: 1,
  8295. CLASS: CL_PANEL,
  8296. _CLASS: 'checkbox',
  8297. _TYPE: _THUI.CHECKBOX,
  8298. _REVERSE: 1,
  8299. _ONCHANGE: onUpdateUI,
  8300. oSlowChecks: {TEXT: trS('scanner.slow.text'), TITLE: trS('scanner.slow.tip'), AUTOSAVE: AS_SLOWCHECKS},
  8301. oReportExt: {TEXT: trS('scanner.ext.text'), TITLE: trS('scanner.ext.tip'), AUTOSAVE: AS_REPORTEXT},
  8302. oHLReported: {TEXT: trS('scanner.highlight.text'), TITLE: trS('scanner.highlight.tip'), AUTOSAVE: AS_HLISSUES},
  8303. oSounds: {TEXT: trS('scanner.sounds.text'), TITLE: trS('scanner.sounds.tip'), NATITLE: trS('scanner.sounds.NA'), AUTOSAVE: AS_SOUNDS}
  8304. },
  8305. pAbout: {
  8306. CLASS: CL_PANEL,
  8307. NODISPLAY: 1,
  8308. TEXT: '<p><b>WME Validator</b>' +
  8309. '<br>Version ' + WV_VERSION + ' <a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">check for updates</a>' +
  8310. '<br>&copy; 2013-2018 Andriy Berestovskyy</p>' +
  8311. '<p><b>Built-in localization packs for:</b><br>' + listOfIntPacks + '<p><b>External localization packs for:</b><br>' + listOfPacks + '</p>' +
  8312. '<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>',
  8313. TITLE: trS('about.tip'),
  8314. STYLE: 'direction:ltr;text-align:center;white-space:normal'
  8315. },
  8316. pButtons: {
  8317. CLASS: CL_BUTTONS,
  8318. _CLASS: 'btn btn-default',
  8319. _TYPE: _THUI.BUTTON,
  8320. _ONCLICK: onUpdateUI,
  8321. 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'},
  8322. bList: {
  8323. NODISPLAY: 1,
  8324. TEXT: '<i class="fa fa-list" aria-hidden="true"></i> ' + trS('button.list.text'),
  8325. TITLE: trS('button.list.tip'),
  8326. STYLE: 'float:' + dirLeft + ';max-width:165px',
  8327. ONCLICK: onShowChecks
  8328. },
  8329. bWizard: {
  8330. NODISPLAY: 1,
  8331. TEXT: '<i class="fa fa-magic" aria-hidden="true"></i>',
  8332. TITLE: trS('button.wizard.tip'),
  8333. STYLE: 'float:' + dirLeft + ';margin-' + dirLeft + ':6px;width:38px',
  8334. ONCLICK: onCreatePack
  8335. },
  8336. 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'}
  8337. }
  8338. }
  8339. };
  8340. clearReport();
  8341. if (_RT.$topUser.$isCM) {
  8342. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 1;
  8343. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 0
  8344. } else {
  8345. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 0;
  8346. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 1
  8347. }
  8348. if (-1 !== _RT.$untranslatedLngs.indexOf(_RT.$lng.split('-')[0]))
  8349. _UI.pTranslateBanner.NODISPLAY = 0;
  8350. else
  8351. _UI.pTranslateBanner.NODISPLAY = 1;
  8352. if (!classCodeDefined(UW.AudioContext) && !classCodeDefined(UW.webkitAudioContext)) {
  8353. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  8354. _UI.pSettings.pScanner.oSounds.NA = true
  8355. }
  8356. resetDefaults();
  8357. var storageObj = null;
  8358. var s = null;
  8359. try {
  8360. s = window.localStorage.getItem(AS_NAME);
  8361. storageObj = s ? JSON.parse(s) : null;
  8362. if (!(AS_PASSWORD in storageObj)) storageObj = null
  8363. } catch (e) {
  8364. }
  8365. if (!storageObj || WV_LICENSE_VERSION !== storageObj[AS_LICENSE])
  8366. if (!confirm(WV_LICENSE)) {
  8367. _UI = {};
  8368. WLM.events.un({'afterloginchanged': onLogin, 'login': onLogin});
  8369. return
  8370. }
  8371. var showWhatsNew = false;
  8372. if (s && !storageObj) {
  8373. warning('\nDue to the major changes in Validator, all filter options\nand settings have been RESET to their DEFAULTS.');
  8374. showWhatsNew = true
  8375. }
  8376. if (storageObj && WV_VERSION !== storageObj[AS_VERSION]) showWhatsNew = true;
  8377. if (showWhatsNew) info(WV_WHATSNEW);
  8378. _THUI.loadValues(_UI, storageObj);
  8379. var styleMap = new OpenLayers.StyleMap({strokeWidth: HL_WIDTH});
  8380. var lookup = {};
  8381. lookup[RS_NOTE] = {strokeColor: GL_NOTECOLOR, graphicZIndex: 10};
  8382. lookup[RS_WARNING] = {strokeColor: GL_WARNINGCOLOR, graphicZIndex: 20};
  8383. lookup[RS_ERROR] = {strokeColor: GL_ERRORCOLOR, graphicZIndex: 30};
  8384. lookup[RS_CUSTOM2] = {strokeColor: GL_CUSTOM2COLOR, graphicZIndex: 40};
  8385. lookup[RS_CUSTOM1] = {strokeColor: GL_CUSTOM1COLOR, graphicZIndex: 50};
  8386. styleMap.addUniqueValueRules('default', 0, lookup);
  8387. _RT.$HLlayer = new OpenLayers.Layer.Vector(GL_LAYERNAME, {
  8388. uniqueName: GL_LAYERUNAME,
  8389. shortcutKey: GL_LAYERSHORTCUT,
  8390. accelerator: GL_LAYERACCEL,
  8391. units: 'm',
  8392. styleMap: styleMap,
  8393. projection: new OpenLayers.Projection('EPSG:4326'),
  8394. visibility: _UI.pSettings.pScanner.oHLReported.CHECKED
  8395. });
  8396. I18n.translations[I18n.currentLocale()].layers.name[GL_LAYERUNAME] = GL_LAYERNAME;
  8397. _RT.$HLlayer.setOpacity(HL_OPACITY);
  8398. WM.addLayer(_RT.$HLlayer);
  8399. _RT.$HLlayer.setVisibility(_UI.pSettings.pScanner.oHLReported.CHECKED);
  8400. WM.raiseLayer(_RT.$HLlayer, 99);
  8401. $('#sidepanel-' + ID_PREFIX + '').remove();
  8402. $('#tab-' + ID_PREFIX + '').remove();
  8403. $('#user-tabs ul')
  8404. .append(
  8405. '<li id="tab-' + ID_PREFIX + '">' +
  8406. '<a data-toggle="tab" href="#sidepanel-' + ID_PREFIX + '">' +
  8407. '<span class="fa fa-check-square-o"></span>' +
  8408. ' Validator' +
  8409. '</a></li>');
  8410. $('#user-tabs+div.tab-content').append('<div class="tab-pane" id="sidepanel-' + ID_PREFIX + '"></div>');
  8411. _THUI.appendUI(document.getElementById('sidepanel-' + ID_PREFIX), _UI, 'i' + ID_PREFIX);
  8412. async(F_UPDATEUI);
  8413. async(ForceHLAllObjects, null, 700);
  8414. WMo.events.on({'mergeend': onMergeEnd});
  8415. WM.events.on({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  8416. WSM.events.on({'selectionchanged': ForceHLAllObjects});
  8417. WC.events.on({'loadstart': onLoadStart});
  8418. WMo.segments.on({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  8419. WMo.venues.on({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  8420. WMo.nodes.on({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved});
  8421. W.prefs.on({'change:isImperial': onChangeIsImperial})
  8422. };
  8423. function F_ONSEGMENTSCHANGED(e) {
  8424. var changedNodes = [];
  8425. for (var i = 0; i < e.length; i++) {
  8426. var nodeIDs = [e[i].attributes.fromNodeID, e[i].attributes.toNodeID];
  8427. for (var j = 0; j < nodeIDs.length; j++) {
  8428. var nodeID = nodeIDs[j];
  8429. if (!nodeID) continue;
  8430. var node = WMo.nodes.getObjectById(nodeID);
  8431. if (node) changedNodes.push(node)
  8432. }
  8433. }
  8434. if (changedNodes.length) sync(F_ONNODESCHANGED, changedNodes)
  8435. }
  8436. function F_ONNODESCHANGED(e) {
  8437. var reHL = false;
  8438. for (var i = 0; i < e.length; i++) {
  8439. var ids = e[i].attributes.segIDs;
  8440. for (var j = 0; j < ids.length; j++) _RT.$revalidate[ids[j]] = true, reHL = true
  8441. }
  8442. if (reHL) HLAllObjects()
  8443. }
  8444. function F_ONVENUESCHANGED(e) {
  8445. var reHL = false;
  8446. for (var i = e.length - 1; i >= 0; i--) {
  8447. var id = e[i].attributes.id;
  8448. _RT.$revalidate[id] = true;
  8449. reHL = true
  8450. }
  8451. if (reHL) HLAllObjects()
  8452. }
  8453. function F_ONCHANGELAYER(e) {
  8454. if (!e.hasOwnProperty('layer')) return;
  8455. if (-1 !== e.layer.id.indexOf(GL_TBPREFIX)) {
  8456. if (!e.layer.visibility)
  8457. for (var segmentID in WMo.segments.objects) {
  8458. if (!WMo.segments.objects.hasOwnProperty(segmentID)) continue;
  8459. delete WMo.segments.objects[segmentID][GL_TBCOLOR]
  8460. }
  8461. ForceHLAllObjects()
  8462. } else if (GL_LAYERUNAME === e.layer.uniqueName && e.layer.visibility !== _UI.pSettings.pScanner.oHLReported.CHECKED) {
  8463. _RT.$switchValidator = true;
  8464. async(F_UPDATEUI)
  8465. }
  8466. }
  8467. function F_ONMOVEEND() {
  8468. var c = WM.getCenter();
  8469. if (-1 === _RT.$WDmoveID && -1 === _RT.$WDloadID && c.equals(_RT.$nextCenter))
  8470. _RT.$WDmoveID = window.setTimeout(onMergeEnd, WD_SHORT);
  8471. else if (RTStateIs(ST_RUN) && !_RT.$firstStep && !c.equals(_RT.$nextCenter) && !c.equals(_RT.$startCenter)) {
  8472. _RT.$curMessage = {TEXT: trS('msg.autopaused.text'), TITLE: trS('msg.autopaused.tip')};
  8473. async(F_PAUSE)
  8474. }
  8475. _RT.$moveEndCenter = c
  8476. }
  8477. function F_ONLOADSTART() {
  8478. var c = WM.getCenter();
  8479. window.clearTimeout(_RT.$WDmoveID);
  8480. if (-1 === _RT.$WDloadID && c.equals(_RT.$nextCenter)) _RT.$WDloadID = window.setTimeout(onMergeEnd, WD_LONG);
  8481. _RT.$WDmoveID = -1
  8482. }
  8483. function F_LAYERSOFF() {
  8484. _RT.$HLlayer.destroyFeatures();
  8485. if (_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8486. WM.layers.forEach(function(el) {
  8487. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName) {
  8488. if (el.getVisibility())
  8489. _RT.$layersVisibility += 'T';
  8490. else
  8491. _RT.$layersVisibility += 'F';
  8492. el.setVisibility(false)
  8493. }
  8494. })
  8495. }
  8496. function F_LAYERSON() {
  8497. if (!_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8498. var j = 0;
  8499. WM.layers.forEach(function(el) {
  8500. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName)
  8501. if (_RT.$layersVisibility.length > j) {
  8502. el.setVisibility('T' === _RT.$layersVisibility.charAt(j));
  8503. j++
  8504. }
  8505. });
  8506. _RT.$layersVisibility = ''
  8507. }
  8508. function F_PAUSE() {
  8509. if (!RTStateIs(ST_RUN)) return;
  8510. beep(50, 'square');
  8511. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8512. setRTState(ST_PAUSE);
  8513. async(F_LAYERSON)
  8514. }
  8515. function F_STOP() {
  8516. if (!RTStateIs(ST_STOP)) {
  8517. beep(100, 'square');
  8518. if (_RT.$startCenter) {
  8519. WM.panTo(_RT.$startCenter);
  8520. WM.zoomTo(_RT.$startZoom)
  8521. }
  8522. if (!_REP.$maxSeverity) _RT.$curMessage = { TEXT: trS('msg.noissues.text'), TITLE: trS('msg.noissues.tip') }
  8523. }
  8524. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8525. setRTState(ST_STOP);
  8526. async(F_LAYERSON)
  8527. }
  8528. function F_ONMERGEEND() {
  8529. var c = WM.getCenter();
  8530. if (RTStateIs(ST_RUN) && _RT.$nextCenter && !c.equals(_RT.$nextCenter)) return;
  8531. var e = WM.getExtent();
  8532. var ew = e.getWidth();
  8533. var eh = e.getHeight();
  8534. var ew2 = ew / 2;
  8535. var eh2 = eh / 2;
  8536. var s = _RT.$startExtent;
  8537. if (!s) s = new UW.OpenLayers.Bounds;
  8538. var cx = c.lon;
  8539. var cy = c.lat;
  8540. var dir = Math.round(_RT.$direction / Math.abs(_RT.$direction));
  8541. var sw = s.getWidth();
  8542. var sh = s.getHeight();
  8543. var kxMax = Math.ceil(sw / (ew * SCAN_STEP / 100));
  8544. var stepX = sw / kxMax;
  8545. var kyMax = Math.ceil(sh / (eh * SCAN_STEP / 100));
  8546. var stepY = sh / kyMax;
  8547. if (RTStateIs(ST_CONTINUE)) {
  8548. if (_RT.$nextCenter) {
  8549. setRTState(ST_RUN);
  8550. WM.zoomTo(SCAN_ZOOM);
  8551. WM.panTo(_RT.$nextCenter);
  8552. clearWD();
  8553. return
  8554. }
  8555. async(F_ONRUN);
  8556. return
  8557. }
  8558. if (!RTStateIs(ST_RUN)) {
  8559. HLAllObjects();
  8560. return
  8561. }
  8562. async(F_UPDATEUI);
  8563. if (_RT.$firstStep) {
  8564. _RT.$firstStep = false;
  8565. var newX = s.left + ew2;
  8566. var newY = s.top - eh2;
  8567. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8568. WM.zoomTo(SCAN_ZOOM);
  8569. WM.panTo(_RT.$nextCenter);
  8570. clearWD();
  8571. return
  8572. }
  8573. sync(F_VALIDATE, false);
  8574. var deltaX = Number.MAX_VALUE;
  8575. var deltaY = Number.MAX_VALUE;
  8576. var kx = 0;
  8577. var ky = 0;
  8578. for (var i = 0;; i++) {
  8579. var x = s.left + ew2 + i * stepX;
  8580. var y = s.top - eh2 - i * stepY;
  8581. if (x > s.right && y < s.bottom) break;
  8582. var cd = Math.abs(x - cx);
  8583. if (cd < deltaX) deltaX = cd, kx = i;
  8584. cd = Math.abs(y - cy);
  8585. if (cd < deltaY) deltaY = cd, ky = i
  8586. }
  8587. updateTimer(ST_RUN);
  8588. var curStep = ky * kxMax + (0 < dir ? kx : kxMax - kx);
  8589. if (4 < curStep)
  8590. if (0 === curStep % 5) {
  8591. var maxStep = kyMax * kxMax;
  8592. var minETA = (maxStep / curStep - 1) * _RT.$timer.$secInRun / 60;
  8593. var strMsg = 1 > minETA ? trS('msg.scanning.text.soon') : trSO('msg.scanning.text', {'n': Math.round(minETA)});
  8594. _RT.$curMessage = { TEXT: strMsg, TITLE: trS('msg.scanning.tip') }
  8595. }
  8596. kx = kx + dir;
  8597. var newX = s.left + ew2 + kx * stepX;
  8598. 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)) {
  8599. newX = s.left + ew2 + (kx - dir) * stepX;
  8600. _RT.$direction = -_RT.$direction;
  8601. ky++
  8602. }
  8603. var newY = s.top - eh2 - ky * stepY;
  8604. if (newY < s.bottom || Math.abs(newY - s.bottom) < Math.abs(newY - eh2 - s.bottom)) {
  8605. if (!_REP.$isEditableFound && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) _RT.$reportEditableNotFound = true;
  8606. async(F_STOP);
  8607. return
  8608. }
  8609. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8610. WM.zoomTo(SCAN_ZOOM);
  8611. WM.panTo(_RT.$nextCenter);
  8612. clearWD()
  8613. }
  8614. function F_ONRUN() {
  8615. clearErrorFlag();
  8616. if (RTStateIs(ST_RUN)) return;
  8617. async(F_LAYERSOFF);
  8618. _RT.$curMessage = {TEXT: trS('msg.starting.text'), TITLE: trS('msg.starting.tip')};
  8619. setRTState(ST_RUN);
  8620. clearWD();
  8621. _RT.$direction = DIR_L2R;
  8622. _RT.$firstStep = true;
  8623. var e = WM.getExtent();
  8624. _RT.$startExtent = e;
  8625. _RT.$startCenter = WM.getCenter();
  8626. _RT.$startZoom = WM.getZoom();
  8627. _RT.$nextCenter = null;
  8628. _RT.$moveEndCenter = null;
  8629. _RT.$nextCenter = new UW.OpenLayers.LonLat(e.left, e.top);
  8630. WM.panTo(_RT.$nextCenter);
  8631. WM.zoomTo(SCAN_ZOOM)
  8632. }
  8633. function F_ONLOGIN() {
  8634. if (WLM.user) {
  8635. if (!_WV.$loggedIn) {
  8636. _WV.$loggedIn = true;
  8637. async(F_LOGIN)
  8638. }
  8639. } else if (_WV.$loggedIn) {
  8640. _WV.$loggedIn = false;
  8641. async(F_LOGOUT)
  8642. } else {
  8643. log('waiting for login...');
  8644. async(F_ONLOGIN, null, 1E3)
  8645. }
  8646. }
  8647. function F_INIT() {
  8648. UW = window;
  8649. Wa = UW.W;
  8650. nW = UW.W;
  8651. WLM = nW.loginManager;
  8652. WSM = nW.selectionManager;
  8653. WM = nW.map;
  8654. WMo = nW.model;
  8655. WC = nW.controller;
  8656. if (!Wa || !WLM || !WLM.user || !WSM || !WM || !WMo || !WC || !$('#user-tabs')) {
  8657. log('waiting for WME...');
  8658. async(F_INIT, null, 1E3);
  8659. return
  8660. }
  8661. WM = nW.map.olMap;
  8662. if (classCodeDefined(UW.require)) {
  8663. R = UW.require;
  8664. WME_BETA = /beta/.test(location.href)
  8665. }
  8666. var _gaq = UW['_gaq'];
  8667. if (_gaq) {
  8668. _gaq.push(['WME_Validator._setAccount', 'UA-46853768-3']);
  8669. _gaq.push(['WME_Validator._setDomainName', 'waze.com']);
  8670. _gaq.push(['WME_Validator._trackPageview'])
  8671. }
  8672. _WV.$loggedIn = false;
  8673. WLM.events.on({'loginStatus': onLogin, 'login': onLogin});
  8674. W.app.modeController.model.bind('change:mode', F_INIT);
  8675. async(F_ONLOGIN);
  8676. _WV.buildRegExp = function(checkID, options, strRegExp) {
  8677. try {
  8678. while (strRegExp && ' ' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8679. if (strRegExp) {
  8680. if ('D' === strRegExp.charAt(0)) {
  8681. strRegExp = strRegExp.substr(1);
  8682. options[CO_NUMBER] = 1
  8683. } else
  8684. options[CO_NUMBER] = 0;
  8685. if ('!' === strRegExp.charAt(0)) {
  8686. strRegExp = strRegExp.substr(1);
  8687. options[CO_BOOL] = true
  8688. } else
  8689. options[CO_BOOL] = false;
  8690. if ('/' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8691. var strRegExpOptions = '';
  8692. var arrMatch = strRegExp.match(/\/([igmy]*)$/);
  8693. if (arrMatch) {
  8694. strRegExpOptions = arrMatch[1];
  8695. strRegExp = strRegExp.slice(0, -arrMatch[0].length)
  8696. }
  8697. options[CO_REGEXP] = new RegExp(strRegExp, strRegExpOptions)
  8698. } else {
  8699. options[CO_BOOL] = false;
  8700. options[CO_NUMBER] = 0;
  8701. options[CO_REGEXP] = null
  8702. }
  8703. } catch (e) {
  8704. error(trSO('err.regexp', {'n': checkID}) + '\n\n' + e);
  8705. options[CO_BOOL] = false;
  8706. options[CO_NUMBER] = 0;
  8707. options[CO_REGEXP] = null
  8708. }
  8709. };
  8710. _WV.SimpleCITY = function(objID) {
  8711. this.$hash = 0;
  8712. this.$cityID = 0;
  8713. this.$city = '';
  8714. this.$state = '';
  8715. this.$countryID = 0;
  8716. this.$country = '';
  8717. if (objID) {
  8718. this.$cityID = objID;
  8719. var oc = WMo.cities.getObjectById(objID);
  8720. if (oc) {
  8721. this.$city = oc.attributes.isEmpty ? '' : oc.attributes.name;
  8722. var o = WMo.states.getObjectById(oc.attributes.stateID);
  8723. if (o) this.$state = o.name;
  8724. this.$countryID = oc.attributes.countryID;
  8725. o = WMo.countries.getObjectById(oc.attributes.countryID);
  8726. if (o) this.$country = o.name
  8727. }
  8728. this.$hash = this.$cityID + this.$countryID;
  8729. Object.defineProperties(this, {$hash: {writable: false}, $cityID: {writable: false}, $state: {writable: false}, $countryID: {writable: false}, $country: {writable: false}})
  8730. }
  8731. };
  8732. _WV.SimpleCITY.prototype.isOkFor = function(checkID) {
  8733. if (!_RT.$isGlobalAccess) return false;
  8734. var rep = _RT.$checks[checkID];
  8735. if (!rep.$cache) rep.$cache = {};
  8736. var cache = rep.$cache;
  8737. var forCity = rep.FORCITY;
  8738. var hash = forCity ? this.$hash : this.$countryID;
  8739. if (hash in cache) return cache[hash];
  8740. cache[hash] = false;
  8741. var forLevel = rep.FORLEVEL;
  8742. if (forLevel && forLevel > _RT.$topUser.$userLevel) return false;
  8743. if (forCity) {
  8744. var curCity = this.$city.toUpperCase();
  8745. if (!_WV.checkAccessFor(forCity, function(e) {
  8746. return e.toUpperCase() === curCity
  8747. }))
  8748. return false
  8749. }
  8750. var forUser = rep.FORUSER;
  8751. if (forUser) {
  8752. var curUser = _RT.$topUser.$userName.toUpperCase();
  8753. if (!_WV.checkAccessFor(forUser, function(e) {
  8754. return e.toUpperCase() === curUser
  8755. }))
  8756. return false
  8757. }
  8758. var forCountry = rep.FORCOUNTRY;
  8759. if (forCountry) {
  8760. var curCountry = this.$country.toUpperCase();
  8761. if (!_WV.checkAccessFor(forCountry, function(e) {
  8762. if (e in _I18n.$code2country) return _I18n.$code2country[e] === curCountry;
  8763. error('Please report: fc=' + e);
  8764. return false
  8765. }))
  8766. return false
  8767. }
  8768. cache[hash] = true;
  8769. return true
  8770. };
  8771. _WV.SimpleADDRESS = function(objID) {
  8772. this.$streetID = 0;
  8773. this.$street = '';
  8774. if (objID) {
  8775. this.$streetID = objID;
  8776. var o = WMo.streets.getObjectById(objID);
  8777. if (o) {
  8778. this.$street = o.isEmpty ? '' : o.name;
  8779. _WV.SimpleCITY.call(this, o.cityID)
  8780. } else {
  8781. this.$street = GL_NOID;
  8782. _WV.SimpleCITY.call(this, 0)
  8783. }
  8784. }
  8785. Object.defineProperties(this, {$streetID: {writable: false}})
  8786. };
  8787. _WV.SimpleADDRESS.prototype = new _WV.SimpleCITY;
  8788. _WV.SimpleADDRESS.prototype.constructor = _WV.SimpleADDRESS
  8789. }
  8790. function F_ONWARNING(e) {
  8791. _THUI.viewToDoc(_UI);
  8792. var target = _THUI.getByDOM(_UI, e.target);
  8793. if (target && target.CHECKED && target.WARNING) warning(target.WARNING);
  8794. async(F_UPDATEUI)
  8795. }
  8796. function F_UPDATEUI(e) {
  8797. function destroyHLs() {
  8798. _RT.$HLedObjects = {};
  8799. _RT.$HLlayer.destroyFeatures()
  8800. }
  8801. function updateReportButtons() {
  8802. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) {
  8803. btns.bReport.CLASS = 'btn btn-default';
  8804. btns.bReport.DISABLED = true;
  8805. btns.bReportBB.DISABLED = true;
  8806. return
  8807. }
  8808. if (!_REP.$maxSeverity) {
  8809. btns.bReport.CLASS = 'btn btn-default';
  8810. btns.bReport.DISABLED = true;
  8811. btns.bReportBB.DISABLED = true
  8812. } else {
  8813. switch (_REP.$maxSeverity) {
  8814. case RS_NOTE:
  8815. btns.bReport.CLASS = 'btn btn-info';
  8816. break;
  8817. case RS_WARNING:
  8818. btns.bReport.CLASS = 'btn btn-warning';
  8819. break;
  8820. case RS_ERROR:
  8821. btns.bReport.CLASS = 'btn btn-danger';
  8822. break;
  8823. case RS_CUSTOM1:
  8824. btns.bReport.CLASS = 'btn btn-success';
  8825. break;
  8826. case RS_CUSTOM2:
  8827. btns.bReport.CLASS = 'btn btn-primary';
  8828. break
  8829. }
  8830. btns.bReport.DISABLED = false;
  8831. btns.bReportBB.DISABLED = false
  8832. }
  8833. if (3 < WM.getZoom()) {
  8834. btns.bScan.CLASS = 'btn btn-default';
  8835. btns.bScan.DISABLED = true;
  8836. btns.bScan.TITLE = trS('button.scan.tip.NA')
  8837. } else {
  8838. btns.bScan.CLASS = 'btn btn-success';
  8839. btns.bScan.DISABLED = false;
  8840. btns.bScan.TITLE = trS('button.scan.tip')
  8841. }
  8842. if (_REP.$isLimitPerCheck) {
  8843. btns.bClear.CLASS = 'btn btn-danger';
  8844. btns.bClear.TITLE = trS('button.clear.tip.red')
  8845. } else {
  8846. btns.bClear.CLASS = 'btn btn-default';
  8847. btns.bClear.TITLE = trS('button.clear.tip')
  8848. }
  8849. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  8850. _UI.pMain.pTabs.tMain.TEXT = '<i class="fa fa-check-square-o" aria-hidden="true"></i> ' +
  8851. 'Validator:';
  8852. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.off')
  8853. } else {
  8854. _UI.pMain.pTabs.tMain.TEXT = '<font color="#ccc"><i class="fa fa-power-off" aria-hidden="true"></i> ' +
  8855. 'Validator:</font>';
  8856. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.on')
  8857. }
  8858. _UI.pMain.pTabs.tMain.TITLE += '\nWME Validator Version ' + WV_VERSION
  8859. }
  8860. function getTopCity() {
  8861. var i = WMo.segments.topCityID;
  8862. if (i) return new _WV.SimpleCITY(i);
  8863. return new _WV.SimpleCITY(0)
  8864. }
  8865. _RT.$topCity = getTopCity();
  8866. if (_RT.$topCity.$country) _RT.$cachedTopCCode = _I18n.getCountryCode(_RT.$topCity.$country.toUpperCase());
  8867. _THUI.viewToDoc(_UI);
  8868. _RT.$isGlobalAccess = true;
  8869. if (!_RT.$topCity.isOkFor(0)) _RT.$isGlobalAccess = false;
  8870. if (!_RT.$isGlobalAccess) {
  8871. _UI.pMain.NODISPLAY = 1;
  8872. _UI.pSettings.NODISPLAY = 1;
  8873. _UI.pTips.NODISPLAY = 1;
  8874. _UI.pNoAccess.NODISPLAY = 0;
  8875. _THUI.docToView(_UI);
  8876. return
  8877. } else if (!_UI.pNoAccess.NODISPLAY) {
  8878. _UI.pMain.NODISPLAY = 0;
  8879. _UI.pTips.NODISPLAY = 0;
  8880. _UI.pNoAccess.NODISPLAY = 1
  8881. }
  8882. if (_RT.oReportToolbox.NA && null !== document.getElementById(_RT.oReportToolbox.FORID)) {
  8883. _RT.oReportToolbox.CHECKED = true;
  8884. _RT.oReportToolbox.NA = false;
  8885. clearReport();
  8886. async(ForceHLAllObjects, null, 1E3)
  8887. }
  8888. if (_RT.oReportWMECH.NA && null !== document.getElementById(_RT.oReportWMECH.FORID)) {
  8889. _RT.oReportWMECH.CHECKED = true;
  8890. _RT.oReportWMECH.NA = false;
  8891. clearReport();
  8892. async(ForceHLAllObjects, null, 1E3)
  8893. }
  8894. var customOptions = _RT.$checks[128].OPTIONS[_I18n.$defLng];
  8895. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate1.VALUE || _RT.$RegExp1 !== _UI.pSettings.pCustom.oRegExp1.VALUE) {
  8896. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate1.VALUE;
  8897. if (customOptions[CO_STRING]) {
  8898. clearErrorFlag();
  8899. _RT.$RegExp1 = _UI.pSettings.pCustom.oRegExp1.VALUE;
  8900. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp1.VALUE)
  8901. } else
  8902. customOptions[CO_REGEXP] = null
  8903. }
  8904. customOptions = _RT.$checks[129].OPTIONS[_I18n.$defLng];
  8905. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate2.VALUE || _RT.$RegExp2 !== _UI.pSettings.pCustom.oRegExp2.VALUE) {
  8906. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate2.VALUE;
  8907. if (customOptions[CO_STRING]) {
  8908. clearErrorFlag();
  8909. _RT.$RegExp2 = _UI.pSettings.pCustom.oRegExp2.VALUE;
  8910. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp2.VALUE)
  8911. } else
  8912. customOptions[CO_REGEXP] = null
  8913. }
  8914. if (_RT.$checks[128].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8915. _RT.$curMaxSeverity = RS_CUSTOM1;
  8916. else if (_RT.$checks[129].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8917. _RT.$curMaxSeverity = RS_CUSTOM2;
  8918. else
  8919. _RT.$curMaxSeverity = RS_ERROR;
  8920. if (e) {
  8921. switch (_THUI.getByDOM(_UI, e.target)) {
  8922. case _UI.pMain.pTabs.tMain:
  8923. _RT.$switchValidator = true;
  8924. break;
  8925. case _UI.pSettings.pCustom.oTemplate1:
  8926. case _UI.pSettings.pCustom.oRegExp1:
  8927. case _UI.pSettings.pCustom.oTemplate2:
  8928. case _UI.pSettings.pCustom.oRegExp2:
  8929. _RT.$isMapChanged = true;
  8930. clearReport();
  8931. async(ForceHLAllObjects);
  8932. break;
  8933. case _UI.pMain.pFilter.oEnablePlaces:
  8934. case _UI.pMain.pFilter.oExcludeNonEditables:
  8935. case _UI.pMain.pFilter.oExcludeDuplicates:
  8936. case _UI.pMain.pFilter.oExcludeStreets:
  8937. case _UI.pMain.pFilter.oExcludeOther:
  8938. case _UI.pMain.pFilter.oExcludeNotes:
  8939. case _UI.pMain.pSearch.oIncludeYourEdits:
  8940. case _UI.pMain.pSearch.oIncludeUpdatedBy:
  8941. case _UI.pMain.pSearch.oIncludeUpdatedSince:
  8942. case _UI.pMain.pSearch.oIncludeCityName:
  8943. case _UI.pMain.pSearch.oIncludeChecks:
  8944. _RT.$includeUpdatedByCache = {};
  8945. _RT.$includeUpdatedSinceTime = 0;
  8946. _RT.$includeCityNameCache = {};
  8947. _RT.$includeChecksCache = {};
  8948. async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8949. async(ForceHLAllObjects);
  8950. break;
  8951. case _UI.pMain.pButtons.bScan:
  8952. async(F_ONRUN);
  8953. break;
  8954. case _UI.pMain.pButtons.bStop:
  8955. async(F_STOP);
  8956. break;
  8957. case _UI.pMain.pButtons.bClear:
  8958. _RT.$isMapChanged = true;
  8959. clearErrorFlag();
  8960. clearReport();
  8961. destroyHLs();
  8962. break;
  8963. case _UI.pMain.pButtons.bPause:
  8964. _RT.$curMessage = {TEXT: trS('msg.paused.text'), TITLE: trS('msg.paused.tip')};
  8965. async(F_PAUSE);
  8966. break;
  8967. case _UI.pMain.pButtons.bContinue:
  8968. clearErrorFlag();
  8969. if (!RTStateIs(ST_PAUSE)) break;
  8970. if (LIMIT_TOTAL < _REP.$counterTotal) clearReport();
  8971. async(F_LAYERSOFF);
  8972. _RT.$curMessage = {TEXT: trS('msg.continuing.text'), TITLE: trS('msg.continuing.tip')};
  8973. setRTState(ST_CONTINUE);
  8974. if (_RT.$startCenter) {
  8975. WM.zoomTo(_RT.$startZoom);
  8976. WM.panTo(_RT.$startCenter)
  8977. }
  8978. clearWD();
  8979. break;
  8980. case _UI.pMain.pButtons.bSettings:
  8981. _UI.pMain.NODISPLAY = true;
  8982. _UI.pSettings.NODISPLAY = false;
  8983. _RT.$curMessage = {TEXT: trS('msg.settings.text'), TITLE: trS('msg.settings.tip')};
  8984. break;
  8985. case _UI.pSettings.pButtons.bReset:
  8986. resetDefaults();
  8987. _RT.$curMessage = {TEXT: trS('msg.reset.text'), TITLE: trS('msg.reset.tip')};
  8988. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8989. async(ForceHLAllObjects);
  8990. break;
  8991. case _UI.pSettings.pButtons.bBack:
  8992. _UI.pMain.NODISPLAY = false;
  8993. _UI.pSettings.NODISPLAY = true;
  8994. break;
  8995. case _UI.pSettings.pScanner.oHLReported:
  8996. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  8997. _RT.$switchValidator = true;
  8998. break
  8999. }
  9000. async(F_ONWARNING, e)
  9001. }
  9002. if (_RT.$switchValidator) {
  9003. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  9004. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  9005. ForceHLAllObjects();
  9006. _RT.$HLlayer.setVisibility(true)
  9007. } else {
  9008. ForceHLAllObjects();
  9009. destroyHLs();
  9010. _RT.$HLlayer.setVisibility(false)
  9011. }
  9012. _RT.$switchValidator = false
  9013. }
  9014. if (_RT.$reportEditableNotFound) {
  9015. _RT.$reportEditableNotFound = false;
  9016. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = false;
  9017. info(trS('filter.noneditables.reverted'))
  9018. }
  9019. _UI.pMain.pHelp.NODISPLAY = !_UI.pMain.pTabs.tHelp.CHECKED;
  9020. _UI.pMain.pFilter.NODISPLAY = !_UI.pMain.pTabs.tFilter.CHECKED;
  9021. _UI.pMain.pSearch.NODISPLAY = !_UI.pMain.pTabs.tSearch.CHECKED;
  9022. _UI.pSettings.pScanner.NODISPLAY = !_UI.pSettings.pTabs.tScanner.CHECKED;
  9023. _UI.pSettings.pCustom.NODISPLAY = !_UI.pSettings.pTabs.tCustom.CHECKED;
  9024. _UI.pSettings.pAbout.NODISPLAY = !_UI.pSettings.pTabs.tAbout.CHECKED;
  9025. if (_UI.pSettings.pTabs.tAbout.CHECKED) {
  9026. _UI.pSettings.pButtons.bReset.NODISPLAY = 1;
  9027. _UI.pSettings.pButtons.bList.NODISPLAY = 0;
  9028. _UI.pSettings.pButtons.bWizard.NODISPLAY = 0
  9029. } else {
  9030. _UI.pSettings.pButtons.bReset.NODISPLAY = 0;
  9031. _UI.pSettings.pButtons.bList.NODISPLAY = 1;
  9032. _UI.pSettings.pButtons.bWizard.NODISPLAY = 1
  9033. }
  9034. var btns = _UI.pMain.pButtons;
  9035. switch (getRTState()) {
  9036. case ST_CONTINUE:
  9037. case ST_RUN:
  9038. btns.bScan.NODISPLAY = true;
  9039. btns.bPause.NODISPLAY = false;
  9040. btns.bContinue.NODISPLAY = true;
  9041. btns.bStop.NODISPLAY = false;
  9042. btns.bClear.NODISPLAY = true;
  9043. updateReportButtons();
  9044. btns.bSettings.DISABLED = true;
  9045. _UI.pMain.pFilter._DISABLED = true;
  9046. _UI.pMain.pSearch._DISABLED = true;
  9047. break;
  9048. case ST_STOP:
  9049. btns.bScan.NODISPLAY = false;
  9050. btns.bPause.NODISPLAY = true;
  9051. btns.bContinue.NODISPLAY = true;
  9052. btns.bStop.NODISPLAY = true;
  9053. btns.bClear.NODISPLAY = false;
  9054. if (isEmpty(_RT.$seen))
  9055. btns.bClear.DISABLED = true;
  9056. else
  9057. btns.bClear.DISABLED = false;
  9058. updateReportButtons();
  9059. if (_REP.$maxSeverity && !_UI.pMain.NODISPLAY) _RT.$curMessage = {TEXT: trS('msg.finished.text'), TITLE: trS('msg.finished.tip'), CLASS: CL_MSGY};
  9060. btns.bSettings.DISABLED = false;
  9061. _UI.pMain.pFilter._DISABLED = false;
  9062. _UI.pMain.pSearch._DISABLED = false;
  9063. break;
  9064. case ST_PAUSE:
  9065. btns.bScan.NODISPLAY = true;
  9066. btns.bPause.NODISPLAY = true;
  9067. btns.bContinue.NODISPLAY = false;
  9068. btns.bContinue.DISABLED = false;
  9069. btns.bStop.NODISPLAY = false;
  9070. btns.bClear.NODISPLAY = true;
  9071. updateReportButtons();
  9072. btns.bSettings.DISABLED = false;
  9073. _UI.pMain.pFilter._DISABLED = false;
  9074. _UI.pMain.pSearch._DISABLED = false;
  9075. break
  9076. }
  9077. if (RTStateIs(ST_STOP) && !_REP.$maxSeverity)
  9078. if (!_UI.pMain.NODISPLAY)
  9079. if (3 < WM.getZoom())
  9080. _RT.$curMessage = {TEXT: _UI.pSettings.pScanner.oHLReported.CHECKED ? trS('msg.pan.text') : trS('msg.zoomout.text'), TITLE: '', CLASS: CL_MSGY};
  9081. else
  9082. _RT.$curMessage = {TEXT: trS('msg.click.text'), TITLE: '', CLASS: CL_MSGY};
  9083. _UI.pTips.TEXT = _RT.$curMessage.TEXT;
  9084. if (_RT.$curMessage.TITLE)
  9085. _UI.pTips.TITLE = _RT.$curMessage.TITLE;
  9086. else
  9087. _UI.pTips.TITLE = '';
  9088. if (_RT.$curMessage.CLASS)
  9089. _UI.pTips.CLASS = _RT.$curMessage.CLASS;
  9090. else
  9091. _UI.pTips.CLASS = CL_MSG;
  9092. var storageObj = _THUI.saveValues(_UI);
  9093. storageObj[AS_VERSION] = WV_VERSION;
  9094. storageObj[AS_LICENSE] = WV_LICENSE_VERSION;
  9095. storageObj[AS_PASSWORD] = 1;
  9096. try {
  9097. window.localStorage.setItem(AS_NAME, JSON.stringify(storageObj))
  9098. } catch (err) {
  9099. }
  9100. _THUI.docToView(_UI)
  9101. }
  9102. function F_LOGOUT() {
  9103. log('logout');
  9104. _UI = {};
  9105. WMo.events.un({'mergeend': onMergeEnd});
  9106. WM.events.un({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  9107. WSM.events.un({'selectionchanged': ForceHLAllObjects});
  9108. WC.events.un({'loadstart': onLoadStart});
  9109. WMo.segments.events.un({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  9110. WMo.venues.events.un({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  9111. WMo.nodes.events.un({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved})
  9112. }
  9113. async(F_INIT, null, 0);
  9114. var _I18n = {
  9115. $defLng: 'EN',
  9116. $lng: '',
  9117. $translations: null,
  9118. $curSet: null,
  9119. $curCode: '',
  9120. $fallbackSet: null,
  9121. $fallbackCode: '',
  9122. $defSet: null,
  9123. $country2code: null,
  9124. $code2country: null,
  9125. $code2code: null,
  9126. $lng2code: null,
  9127. $code2dir: null
  9128. };
  9129. _I18n.init = function(options) {
  9130. _I18n.$lng = options.$lng || _I18n.$defLng;
  9131. _I18n.$translations = options.$translations || {};
  9132. _I18n.$country2code = options.$country2code || {};
  9133. _I18n.$code2country = options.$code2country || {};
  9134. _I18n.$code2code = options.$code2code || {};
  9135. _I18n.$lng2code = options.$lng2code || {};
  9136. _I18n.$code2dir = options.$code2dir || {}
  9137. };
  9138. _I18n.addTranslation = function(translation) {
  9139. var ccode = translation['.codeISO'];
  9140. if (!ccode) return;
  9141. ccode = ccode.toUpperCase();
  9142. _I18n.$translations[ccode] = translation;
  9143. if (_I18n.$defLng !== ccode) {
  9144. var country = translation['.country'];
  9145. if (country) {
  9146. if (!classCodeIs(country, CC_ARRAY)) country = [country];
  9147. for (var i = 0; i < country.length; i++) {
  9148. var ucountry = country[i].toUpperCase();
  9149. _I18n.$country2code[ucountry] = ccode;
  9150. if (!(ccode in _I18n.$code2country)) _I18n.$code2country[ccode] = ucountry
  9151. }
  9152. }
  9153. var lng = translation['.lng'];
  9154. if (lng) {
  9155. if (!classCodeIs(lng, CC_ARRAY)) lng = [lng];
  9156. for (var i = 0; i < lng.length; i++) {
  9157. var ulng = lng[i].toUpperCase();
  9158. _I18n.$lng2code[ulng] = ccode
  9159. }
  9160. }
  9161. var dir = translation['.dir'];
  9162. if (dir) _I18n.$code2dir[ccode] = dir.toLowerCase();
  9163. var fcode = translation['.fallbackCode'];
  9164. if (fcode) {
  9165. fcode = fcode.toUpperCase();
  9166. if (_I18n.$defLng !== fcode) _I18n.$code2code[ccode] = fcode
  9167. }
  9168. }
  9169. _I18n.$curCode = _I18n.getCodeOL(_I18n.$translations, _I18n.$lng);
  9170. _I18n.$curSet = _I18n.getValueOC(_I18n.$translations, _I18n.$curCode);
  9171. _I18n.$fallbackCode = _I18n.getFallbackCodeOC(_I18n.$translations, _I18n.$curCode);
  9172. _I18n.$fallbackSet = _I18n.getValueOC(_I18n.$translations, _I18n.$fallbackCode);
  9173. _I18n.$defSet = _I18n.$translations[_I18n.$defLng]
  9174. };
  9175. _I18n.getDependantCodes = function(uc) {
  9176. var ret = [];
  9177. for (var depCode in _I18n.$code2code)
  9178. if (_I18n.$code2code[depCode] === uc) ret.push(depCode);
  9179. return ret
  9180. };
  9181. _I18n.getCountryCode = function(uc) {
  9182. if (uc in _I18n.$country2code) return _I18n.$country2code[uc];
  9183. return ''
  9184. };
  9185. _I18n.getCountry = function(ucc) {
  9186. if (ucc in _I18n.$code2country) return _I18n.$code2country[ucc];
  9187. return ''
  9188. };
  9189. _I18n.getCapitalizedCountry = function(ucc) {
  9190. return _I18n.capitalize(_I18n.getCountry(ucc)).toLowerCase().replace(/\b./g, function(c) {
  9191. return c.toUpperCase()
  9192. })
  9193. };
  9194. _I18n.capitalize = function(str) {
  9195. return str.toLowerCase().replace(/\b./g, function(c) {
  9196. return c.toUpperCase()
  9197. })
  9198. };
  9199. _I18n.getDir = function() {
  9200. if (_I18n.$curCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$curCode];
  9201. if (_I18n.$fallbackCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$fallbackCode];
  9202. return 'ltr'
  9203. };
  9204. _I18n.getString = function(label) {
  9205. if (label in _I18n.$curSet) return _I18n.$curSet[label];
  9206. if (label in _I18n.$fallbackSet) return _I18n.$fallbackSet[label];
  9207. if (label in _I18n.$defSet) return _I18n.$defSet[label];
  9208. var ret = '[missing ' + label + ']';
  9209. return ret
  9210. };
  9211. _I18n.isLabelExist = function(label) {
  9212. if (label in _I18n.$curSet) return true;
  9213. if (label in _I18n.$fallbackSet) return true;
  9214. if (label in _I18n.$defSet) return true;
  9215. return false
  9216. };
  9217. _I18n.getCodeOL = function(obj, lng) {
  9218. var ccode = _I18n.$lng2code[lng];
  9219. if (ccode)
  9220. if (ccode in obj)
  9221. return ccode;
  9222. else
  9223. return _I18n.getFallbackCodeOC(obj, ccode);
  9224. else
  9225. return _I18n.$defLng
  9226. };
  9227. _I18n.getFallbackCodeOC = function(obj, ccode) {
  9228. var fcode = _I18n.$code2code[ccode];
  9229. if (fcode && fcode in obj) return fcode;
  9230. return _I18n.$defLng
  9231. };
  9232. _I18n.getValueOL = function(obj, lng) {
  9233. return _I18n.getValueOC(obj, _I18n.getCodeOL(obj, lng))
  9234. };
  9235. _I18n.getValueOC = function(obj, ccode) {
  9236. if (ccode in obj)
  9237. return obj[ccode];
  9238. else if (ccode in _I18n.$code2code) {
  9239. var fcode = _I18n.$code2code[ccode];
  9240. if (fcode in obj) return obj[fcode]
  9241. }
  9242. return obj[_I18n.$defLng]
  9243. };
  9244. _I18n.expandSO = function(str, options) {
  9245. if (!options) return str;
  9246. return str.replace(/\$\{(\w+)(\[(\d+)\]|\[(\W*)\])?\}/g, function(all, name, arr, idx, delims) {
  9247. if (arr) {
  9248. if (idx) return options[name][idx] || '';
  9249. return options[name].join(delims)
  9250. } else
  9251. return options[name]
  9252. })
  9253. };
  9254. _I18n.t = function(obj, ccode, options) {
  9255. return _I18n.expandSO(_I18n.getValueOC(obj, ccode), options)
  9256. };
  9257. _I18n.tL = function(obj, options) {
  9258. return _I18n.expandSO(_I18n.getValueOL(obj, _I18n.$lng), options)
  9259. };
  9260. var _AUDIO = {};
  9261. _AUDIO.beep = function(dur, oscType) {
  9262. try {
  9263. _AUDIO._context = new (window.AudioContext || window.webkitAudioContext);
  9264. var osc = _AUDIO._context.createOscillator();
  9265. osc.connect(_AUDIO._context.destination);
  9266. osc.type = oscType || 'sine';
  9267. osc.start(0);
  9268. setTimeout(function() {
  9269. osc.stop(0)
  9270. }, dur)
  9271. } catch (e) {
  9272. log('beep!')
  9273. }
  9274. };
  9275. _THUI.$def = {
  9276. _class: '',
  9277. _disclose: 0,
  9278. _name: '',
  9279. _nodisplay: 0,
  9280. _disabled: 0,
  9281. _reverse: 0,
  9282. _style: '',
  9283. _type: '',
  9284. _onclick: null,
  9285. _onwarning: null,
  9286. _onchange: null
  9287. };
  9288. _THUI.loadValues = function(uiObj, storageObj) {
  9289. if (!storageObj) return;
  9290. if (uiObj.AUTOSAVE && uiObj.AUTOSAVE in storageObj) {
  9291. switch (uiObj.TYPE) {
  9292. case _THUI.TEXT:
  9293. case _THUI.DATE:
  9294. uiObj.VALUE = storageObj[uiObj.AUTOSAVE];
  9295. break;
  9296. default:
  9297. uiObj.CHECKED = storageObj[uiObj.AUTOSAVE];
  9298. break
  9299. }
  9300. return
  9301. }
  9302. for (var i in uiObj) {
  9303. if (!uiObj.hasOwnProperty(i)) continue;
  9304. var o = uiObj[i];
  9305. switch (classCode(o)) {
  9306. case CC_OBJECT:
  9307. _THUI.loadValues(o, storageObj);
  9308. break;
  9309. case CC_ARRAY:
  9310. for (var j = 0; j < o.length; j++) _THUI.loadValues(o[j], storageObj);
  9311. break
  9312. }
  9313. }
  9314. };
  9315. _THUI.saveValues = function(uiObj, storageObj) {
  9316. if (!storageObj) storageObj = {};
  9317. if (uiObj.AUTOSAVE) {
  9318. switch (uiObj.TYPE) {
  9319. case _THUI.TEXT:
  9320. case _THUI.DATE:
  9321. storageObj[uiObj.AUTOSAVE] = uiObj.VALUE;
  9322. break;
  9323. default:
  9324. storageObj[uiObj.AUTOSAVE] = uiObj.CHECKED;
  9325. break
  9326. }
  9327. return storageObj
  9328. }
  9329. for (var i in uiObj) {
  9330. if (!uiObj.hasOwnProperty(i)) continue;
  9331. var o = uiObj[i];
  9332. switch (classCode(o)) {
  9333. case CC_OBJECT:
  9334. _THUI.saveValues(o, storageObj);
  9335. break;
  9336. case CC_ARRAY:
  9337. for (var j = 0; j < o.length; j++) _THUI.saveValues(o[j], storageObj);
  9338. break
  9339. }
  9340. }
  9341. return storageObj
  9342. };
  9343. _THUI.storage = {
  9344. get: function(name) {
  9345. try {
  9346. var s = window.localStorage.getItem(name);
  9347. return s ? JSON.parse(s) : null
  9348. } catch (e) {
  9349. return null
  9350. }
  9351. },
  9352. set: function(name, obj) {
  9353. try {
  9354. var s = JSON.stringify(obj);
  9355. window.localStorage.setItem(name, s);
  9356. return true
  9357. } catch (e) {
  9358. return false
  9359. }
  9360. }
  9361. };
  9362. _THUI.addElemetClassStyle = function(elem, cl, newStyle) {
  9363. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9364. return _THUI.addStyle(elem + '.' + cl + newStyle)
  9365. };
  9366. _THUI.addElemetIdStyle = function(elem, id, newStyle) {
  9367. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9368. return _THUI.addStyle(elem + '#' + id + newStyle)
  9369. };
  9370. _THUI.addStyle = function(newStyle) {
  9371. for (var i = 0; i < 10; i++) {
  9372. var sheet = document.styleSheets[i];
  9373. try {
  9374. if ('cssRules' in sheet) return sheet.insertRule(newStyle, sheet.cssRules.length)
  9375. } catch (e) {
  9376. }
  9377. }
  9378. };
  9379. _THUI.getByDOM = function(uiObj, elem) {
  9380. if (uiObj.IDOM == elem || uiObj.ODOM == elem) return uiObj;
  9381. var ret = null;
  9382. for (var i in uiObj) {
  9383. if (!uiObj.hasOwnProperty(i)) continue;
  9384. var o = uiObj[i];
  9385. switch (classCode(o)) {
  9386. case CC_OBJECT:
  9387. if (ret = _THUI.getByDOM(o, elem)) return ret;
  9388. break;
  9389. case CC_ARRAY:
  9390. for (var j = 0; j < o.length; j++)
  9391. if (ret = _THUI.getByDOM(o[j], elem)) return ret;
  9392. break
  9393. }
  9394. }
  9395. return null
  9396. };
  9397. _THUI.getById = function(uiObj, id) {
  9398. if (uiObj.ID && uiObj.ID == id) return uiObj;
  9399. var ret = null;
  9400. for (var i in uiObj) {
  9401. if (!uiObj.hasOwnProperty(i)) continue;
  9402. var o = uiObj[i];
  9403. switch (classCode(o)) {
  9404. case CC_OBJECT:
  9405. if (ret = _THUI.getById(o, id)) return ret;
  9406. break;
  9407. case CC_ARRAY:
  9408. for (var j = 0; j < o.length; j++)
  9409. if (ret = _THUI.getById(o[j], id)) return ret;
  9410. break
  9411. }
  9412. }
  9413. return null
  9414. };
  9415. _THUI.docToView = function(uiObj) {
  9416. _THUI.appendUI(null, uiObj)
  9417. };
  9418. _THUI.viewToDoc = function(uiObj) {
  9419. if (uiObj.IDOM) {
  9420. if (classCodeDefined(uiObj.IDOM.value)) {
  9421. var val = uiObj.IDOM.value;
  9422. if (classCodeDefined(uiObj.MAX) && val > uiObj.MAX) val = uiObj.MAX;
  9423. if (classCodeDefined(uiObj.MIN) && val < uiObj.MIN) val = uiObj.MIN;
  9424. uiObj.VALUE = val
  9425. }
  9426. if (classCodeDefined(uiObj.IDOM.checked)) uiObj.CHECKED = uiObj.IDOM.checked
  9427. }
  9428. for (var i in uiObj) {
  9429. if (!uiObj.hasOwnProperty(i)) continue;
  9430. var o = uiObj[i];
  9431. switch (classCode(o)) {
  9432. case CC_OBJECT:
  9433. _THUI.viewToDoc(o);
  9434. break;
  9435. case CC_ARRAY:
  9436. o.forEach(_THUI.viewToDoc);
  9437. break
  9438. }
  9439. }
  9440. };
  9441. _THUI.appendUI = function(parent, uiObj, uiPrefix, uiName) {
  9442. uiPrefix = uiPrefix || '';
  9443. uiName = uiName || '';
  9444. var id = uiObj.ID;
  9445. if (!classCodeDefined(id)) id = '';
  9446. var NA = uiObj.NA || false;
  9447. var NAti = uiObj.NATITLE || '';
  9448. var ch = uiObj.CHECKED || false;
  9449. var cl = classCodeDefined(uiObj.CLASS) ? uiObj.CLASS : _THUI.$def._class;
  9450. var cli = uiObj.CLASSI;
  9451. var _cl = uiObj._CLASS;
  9452. var va = uiObj.VALUE;
  9453. var disc = classCodeDefined(uiObj.DISCLOSE) ? uiObj.DISCLOSE : _THUI.$def._disclose;
  9454. var _disc = uiObj._DISCLOSE;
  9455. var di = NA ? NA : classCodeDefined(uiObj.DISABLED) ? uiObj.DISABLED : _THUI.$def._disabled;
  9456. var _di = uiObj._DISABLED;
  9457. var no = classCodeDefined(uiObj.NODISPLAY) ? uiObj.NODISPLAY : _THUI.$def._nodisplay;
  9458. var _no = uiObj._NODISPLAY;
  9459. var ma = uiObj.MAX;
  9460. var mal = uiObj.MAXLENGTH;
  9461. var plh = uiObj.PLACEHOLDER;
  9462. var mi = uiObj.MIN;
  9463. var name = classCodeDefined(uiObj.NAME) ? uiObj.NAME : _THUI.$def._name;
  9464. var _name = uiObj._NAME;
  9465. var ro = uiObj.READONLY || false;
  9466. var re = classCodeDefined(uiObj.REVERSE) ? uiObj.REVERSE : _THUI.$def._reverse;
  9467. var _re = uiObj._REVERSE;
  9468. var step = uiObj.STEP;
  9469. var st = classCodeDefined(uiObj.STYLE) ? uiObj.STYLE : _THUI.$def._style;
  9470. var _st = uiObj._STYLE;
  9471. var sti = classCodeDefined(uiObj.STYLEI) ? uiObj.STYLEI : '';
  9472. var sto = classCodeDefined(uiObj.STYLEO) ? uiObj.STYLEO : '';
  9473. var te = uiObj.TEXT || '';
  9474. var ti = NA ? NAti ? NAti : 'Not available' : uiObj.TITLE;
  9475. var ty = classCodeDefined(uiObj.TYPE) ? uiObj.TYPE : _THUI.$def._type;
  9476. var _ty = uiObj._TYPE;
  9477. var accK = uiObj.ACCESSKEY || '';
  9478. var oncl = uiObj.ONCLICK || _THUI.$def._onclick;
  9479. var onclo = uiObj.ONCLICKO;
  9480. var _oncl = uiObj._ONCLICK;
  9481. var onwa = uiObj.ONWARNING || _THUI.$def._onwarning;
  9482. var _onwa = uiObj._ONWARNING;
  9483. var onch = uiObj.ONCHANGE || _THUI.$def._onchange;
  9484. var _onch = uiObj._ONCHANGE;
  9485. var els = [];
  9486. var iel = document.createElement('input');
  9487. var oel = document.createElement('label');
  9488. var ote = te;
  9489. if (classCodeIs(uiPrefix, CC_NUMBER)) uiPrefix = 'p' + uiPrefix;
  9490. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9491. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9492. if (classCodeIs(cli, CC_NUMBER)) cli = 'c' + cli;
  9493. if (classCodeIs(name, CC_NUMBER)) name = 'n' + name;
  9494. switch (ty) {
  9495. case _THUI.NONE:
  9496. iel = oel = null;
  9497. ote = '';
  9498. break;
  9499. case _THUI.NUMBER:
  9500. iel.type = 'number';
  9501. break;
  9502. case _THUI.RADIO:
  9503. if (disc && !id) id = uiPrefix + uiName + 'i';
  9504. if (!name) name = uiPrefix + 'n';
  9505. iel.type = 'radio';
  9506. if (disc) oel.htmlFor = id;
  9507. break;
  9508. case _THUI.CHECKBOX:
  9509. if (disc && !id) id = uiPrefix + uiName + 'i';
  9510. iel.type = 'checkbox';
  9511. if (disc) oel.htmlFor = id;
  9512. break;
  9513. case _THUI.BUTTON:
  9514. iel = document.createElement('button');
  9515. if (te) iel.innerHTML = te;
  9516. oel = null;
  9517. ote = '';
  9518. break;
  9519. case _THUI.TEXT:
  9520. iel.type = 'text';
  9521. break;
  9522. case _THUI.PASSWORD:
  9523. iel.type = 'password';
  9524. break;
  9525. case _THUI.DATE:
  9526. iel.type = 'date';
  9527. break;
  9528. default:
  9529. iel = null;
  9530. oel = document.createElement('div');
  9531. break
  9532. }
  9533. if (oel && iel && !disc)
  9534. if (re)
  9535. oel.appendChild(iel);
  9536. else
  9537. oel.insertBefore(iel, oel.firstChild);
  9538. if (classCodeDefined(uiObj.ODOM)) oel = uiObj.ODOM;
  9539. if (classCodeDefined(uiObj.IDOM)) iel = uiObj.IDOM;
  9540. if (ote) {
  9541. var spanEl = document.createElement('span');
  9542. spanEl.innerHTML = ote;
  9543. spanEl.style.pointerEvents = 'none';
  9544. var oldSpans = oel.getElementsByTagName('span');
  9545. var bInserted = false;
  9546. for (var i = 0; i < oldSpans.length; i++) oel.removeChild(oldSpans[i]);
  9547. oel.insertBefore(spanEl, oel.firstChild)
  9548. }
  9549. if (oel && iel)
  9550. if (disc)
  9551. if (re)
  9552. els.push(oel, iel);
  9553. else
  9554. els.push(iel, oel);
  9555. else
  9556. els.push(oel);
  9557. else {
  9558. if (oel) els.push(oel);
  9559. if (iel) els.push(iel)
  9560. }
  9561. if (id) {
  9562. if (iel)
  9563. iel.id = id;
  9564. else if (oel)
  9565. oel.id = id;
  9566. uiObj.ID = id
  9567. }
  9568. if (name) uiObj.NAME = name;
  9569. if (iel) {
  9570. if (cli) iel.className = cli;
  9571. if (accK) iel.accessKey = accK;
  9572. if (classCodeDefined(ch)) iel.checked = ch;
  9573. iel.disabled = di;
  9574. if (classCodeDefined(ma)) iel.max = ma;
  9575. if (classCodeDefined(mal)) iel.maxLength = mal;
  9576. if (classCodeDefined(mi)) iel.min = mi;
  9577. if (plh) iel.placeholder = plh;
  9578. if (name) iel.name = name;
  9579. if (classCodeDefined(ro)) iel.readonly = ro;
  9580. if (classCodeDefined(step)) iel.step = step;
  9581. if (classCodeDefined(va)) iel.value = va;
  9582. if (classCodeDefined(oncl)) iel.onclick = oncl;
  9583. if (classCodeDefined(onch)) iel.onchange = onch;
  9584. if (classCodeDefined(onwa) && uiObj.WARNING) iel.onchange = onwa;
  9585. if (sti) iel.style.cssText = sti
  9586. }
  9587. if (oel) {
  9588. if (classCodeDefined(onclo)) oel.onclick = onclo;
  9589. if (sto) oel.style.cssText = sto
  9590. }
  9591. var fel = els[0];
  9592. if (fel) {
  9593. if (cl) fel.className = cl;
  9594. if (st) fel.style.cssText = st
  9595. } else
  9596. fel = parent;
  9597. var oldDef = deepCopy(_THUI.$def);
  9598. if (classCodeDefined(_cl)) _THUI.$def._class = _cl;
  9599. if (classCodeDefined(_disc)) _THUI.$def._disclose = _disc;
  9600. if (classCodeDefined(_name)) _THUI.$def._name = _name;
  9601. if (classCodeDefined(_di)) _THUI.$def._disabled = _di;
  9602. if (classCodeDefined(_no)) _THUI.$def._nodisplay = _no;
  9603. if (classCodeDefined(_re)) _THUI.$def._reverse = _re;
  9604. if (classCodeDefined(_st)) _THUI.$def._style = _st;
  9605. if (classCodeDefined(_ty)) _THUI.$def._type = _ty;
  9606. if (_oncl) _THUI.$def._onclick = _oncl;
  9607. if (_onch) _THUI.$def._onchange = _onch;
  9608. if (_onwa) _THUI.$def._onwarning = _onwa;
  9609. for (var i in uiObj) {
  9610. if (!uiObj.hasOwnProperty(i)) continue;
  9611. var o = uiObj[i];
  9612. switch (classCode(o)) {
  9613. case CC_OBJECT:
  9614. fel = _THUI.appendUI(fel, o, uiPrefix + uiName, i);
  9615. break;
  9616. case CC_ARRAY:
  9617. for (var j = 0; j < o.length; j++)
  9618. if (classCodeIs(o[j], CC_OBJECT)) fel = _THUI.appendUI(fel, o[j], uiPrefix + uiName, i);
  9619. break
  9620. }
  9621. }
  9622. _THUI.$def = oldDef;
  9623. els.forEach(function(e) {
  9624. if (no)
  9625. e.style.display = 'none';
  9626. else
  9627. e.style.display = '';
  9628. if (classCodeDefined(ti)) e.title = ti;
  9629. if (e !== uiObj.IDOM && e !== uiObj.ODOM) parent.appendChild(e)
  9630. });
  9631. uiObj.IDOM = iel;
  9632. uiObj.ODOM = oel;
  9633. Object.defineProperties(uiObj, {IDOM: {enumerable: false}, ODOM: {enumerable: false}});
  9634. return parent
  9635. };
  9636. })()