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

目前為 2021-09-06 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name WME Validator
  3. // @version 2021.9.7
  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. // @contributor Glodenox
  19. // ==/UserScript==
  20. /*
  21. * WME Validator uses Open Source GPLv3 license, i.e. you may copy,
  22. * distribute and modify the software as long as you track changes/dates
  23. * in source files. Any modifications to or software including
  24. * (via compiler) GPL-licensed code must also be made available under
  25. * the GPL along with build & install instructions.
  26. *
  27. * WME Validator source code is available on GitHub:
  28. * https://github.com/WMEValidator/
  29. *
  30. * For questions please use official forum:
  31. * https://www.waze.com/forum/viewtopic.php?f=819&t=76488
  32. *
  33. * Report bugs on GitHub Issues Tracker:
  34. * https://github.com/WMEValidator/validator/issues
  35. */
  36.  
  37. (function() {
  38. var WV_VERSION = '2021.9.7';
  39. var AS_PASSWORD = 'v1';
  40. var WV_WHATSNEW =
  41. 'v2021.9.7:\n- Glodenox: fixes for the latest WME version\n\nv2021.3.5:\n- Glodenox: fixes for the latest WME version\n\nv2020.11.1:\n- paulvdwyn: update Motorway naming for BE\n\nv2020.10.25:\n- davidakachaos: updated Wiki links for BE/NL\n\nv2020.04.12:\n- davidakachaos: fixes for the latest WME\n\nv2019.09.24:\n- davidakachaos: Added new places checks!\n- davidakachaos: Added Dutch translations for places checks\n- other minor fixes\nPlease report any issues/suggestions on the forum:\nhttps://www.waze.com/forum/viewtopic.php?t=76488\n\nSee the full Change Log:\nhttps://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=787161#p787161';
  42. var WV_LICENSE_VERSION = '1';
  43. var WV_LICENSE =
  44. 'LICENSE:\nWME Validator uses Open Source GPLv3 license,\ni.e. you may copy, distribute and modify the software\nas long as you track changes/dates in source files.\nAny modifications to or software including (via compiler)\nGPL-licensed code must also be made available\nunder the GPL along with build & install instructions.\n\nWME Validator source code is available on GitHub:\nhttps://github.com/WMEValidator/\n\nFor questions please use official forum:\nhttps://www.waze.com/forum/viewtopic.php?f=819&t=76488\n\nReport bugs on GitHub Issues Tracker:\nhttps://github.com/WMEValidator/validator/issues\n\nNote: WME Validator uses local storage to remember\nyour choices and preferences.';
  45. var GA_FORLEVEL = 1;
  46. var GA_FORUSER = '!Dekis,*';
  47. var GA_FORCOUNTRY = '';
  48. var GA_FORCITY = '!Kraków,*';
  49. var LIMIT_TOTAL = 2E4;
  50. var MAX_CHECKS = 310;
  51. var PFX_WIKI = 'https://www.waze.com/wiki/';
  52. var PFX_PEDIA = 'https://wazeopedia.waze.com/wiki/';
  53. var PFX_FORUM = 'https://www.waze.com/forum/viewtopic.php?';
  54. var FORUM_HOME = 't=76488';
  55. var FORUM_FAQ = 't=76488&p=666476#p666476';
  56. var FORUM_LOCAL = 't=76488&p=661300#p661185';
  57. var FORUM_CUSTOM = 't=76488&p=749456#p749456';
  58. var
  59. _translations =
  60. {
  61. 'EN':
  62. {
  63. '.codeISO': 'EN',
  64. 'city.consider': 'consider this city name:',
  65. 'city.1': 'city name is too short',
  66. 'city.2': 'expand the abbreviation',
  67. 'city.3': 'complete short name',
  68. 'city.4': 'complete city name',
  69. 'city.5': 'correct letter case',
  70. 'city.6': 'check word order',
  71. 'city.7': 'check abbreviations',
  72. 'city.8a': 'add county name',
  73. 'city.8r': 'remove county name',
  74. 'city.9': 'check county name',
  75. 'city.10a': 'add a word',
  76. 'city.10r': 'remove a word',
  77. 'city.11': 'add county code',
  78. 'city.12': 'identical names, but different city IDs',
  79. 'city.13a': 'add a space',
  80. 'city.13r': 'remove a space',
  81. 'city.14': 'check the number',
  82. 'props.skipped.title': 'The segment is not checked',
  83. 'props.skipped.problem': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  84. 'err.regexp': 'Error parsing option for check #${n}:',
  85. 'props.disabled': 'WME Validator is disabled',
  86. 'props.limit.title': 'Too many issues reported',
  87. 'props.limit.problem': 'There are too many issues reported, so some of them might not be shown',
  88. 'props.limit.solution': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  89. 'props.reports': 'reports',
  90. 'props.noneditable': 'You cannot edit this segment',
  91. 'report.save': 'Save this report',
  92. 'report.list.andUp': 'and up',
  93. 'report.list.severity': 'Severity:',
  94. 'report.list.reportOnly': 'only in report',
  95. 'report.list.forEditors': 'For editors level:',
  96. 'report.list.forCountries': 'For countries:',
  97. 'report.list.forStates': 'For states:',
  98. 'report.list.forCities': 'For cities:',
  99. 'report.list.params': 'Params to configure in localization pack:',
  100. 'report.list.params.set': 'Current configuration for ${country}:',
  101. 'report.list.enabled': '${n} checks are enabled for',
  102. 'report.list.disabled': '${n} checks are disabled for',
  103. 'report.list.total': 'There are ${n} checks available',
  104. 'report.list.title': 'Complete List of Checks for',
  105. 'report.list.see': 'See',
  106. 'report.list.checks': 'Settings->About->Available checks',
  107. 'report.list.fallback': 'Localization Fallback Rules:',
  108. 'report.and': 'and',
  109. 'report.segments': 'Total number of segments checked:',
  110. 'report.customs': 'Custom checks matched (green/blue):',
  111. 'report.reported': 'Reported',
  112. 'report.errors': 'errors',
  113. 'report.warnings': 'warnings',
  114. 'report.notes': 'notes',
  115. 'report.link.wiki': 'wiki',
  116. 'report.link.forum': 'forum',
  117. 'report.link.other': 'link',
  118. 'report.contents': 'Contents:',
  119. 'report.summary': 'Summary',
  120. 'report.title': 'WME Validator Report',
  121. 'report.share': 'to Share',
  122. 'report.generated.by': 'generated by',
  123. 'report.generated.on': 'on',
  124. 'report.source': 'Report source:',
  125. 'report.filter.duplicate': 'duplicate segments',
  126. 'report.filter.places': 'Places',
  127. 'report.filter.streets': 'Streets and Service Roads',
  128. 'report.filter.other': 'Other drivable and Non-drivable',
  129. 'report.filter.noneditable': 'non-editable segments',
  130. 'report.filter.notes': 'notes',
  131. 'report.filter.title': 'Filter:',
  132. 'report.filter.excluded': 'are excluded from this report.',
  133. 'report.search.updated.by': 'updated by',
  134. 'report.search.updated.since': 'updated since',
  135. 'report.search.city': 'from',
  136. 'report.search.reported': 'reported as',
  137. 'report.search.title': 'Search:',
  138. 'report.search.only': 'only segments',
  139. 'report.search.included': 'are included into the report.',
  140. 'report.beta.warning': 'WME Beta Warning!',
  141. 'report.beta.text': 'This report is generated in beta WME with beta permalinks.',
  142. 'report.beta.share': 'Please do not share those permalinks!',
  143. 'report.size.warning': '<b>Warning!</b><br>The report is ${n}' +
  144. ' characters long' +
  145. ' so <b>it will not fit</b> into a single forum or private message.' +
  146. '\n<br>Please add <b>more filters</b> to reduce the size of the report.',
  147. 'report.note.limit': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  148. 'report.forum': 'To motivate further development please leave your comment on the',
  149. 'report.forum.link': 'Waze forum thread.',
  150. 'report.thanks': 'Thank you for using WME Validator!',
  151. 'msg.limit.segments': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  152. 'msg.limit.segments.continue': 'click \'▶\' (Play) to continue.',
  153. 'msg.limit.segments.clear': 'click \'✘\' (Clear) to clear the report.',
  154. 'msg.pan.text': 'Pan around to validate the map',
  155. 'msg.zoomout.text': 'Zoom out to start WME Validator',
  156. 'msg.click.text': 'Click \'▶\' (Play) to validate visible map area',
  157. 'msg.autopaused': 'autopaused',
  158. 'msg.autopaused.text': 'Auto paused! Click \'▶\' (Play) to continue.',
  159. 'msg.autopaused.tip': 'WME Validator automatically paused on map drag or window size change',
  160. 'msg.finished.text': 'Click <b>\'Show report\'</b> to review map issues',
  161. 'msg.finished.tip': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  162. 'msg.noissues.text': 'Finished! No issues found!',
  163. 'msg.noissues.tip': 'Try to uncheck some filter options or start WME Validator over another map area!',
  164. 'msg.scanning.text': 'Scanning! Finishing in ~ ${n} min',
  165. 'msg.scanning.text.soon': 'Scanning! Finishing in a minute!',
  166. 'msg.scanning.tip': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  167. 'msg.starting.text': 'Starting! Layers are off to scan faster!',
  168. 'msg.starting.tip': 'Use \'Pause\' button to pause or \'■\' button to stop',
  169. 'msg.paused.text': 'On pause! Click \'▶\' (Play) button to continue.',
  170. 'msg.paused.tip': 'To view the report click \'Show report\' button (if available)',
  171. 'msg.continuing.text': 'Continuing!',
  172. 'msg.continuing.tip': 'WME Validator will continue from the location it was paused',
  173. 'msg.settings.text': 'Click <b>\'Back\'</b> to return to main view',
  174. 'msg.settings.tip': 'Click \'Reset defaults\' button to reset all settings in one click!',
  175. 'msg.reset.text': 'All filter options and settings have been reset to their defaults',
  176. 'msg.reset.tip': 'Click \'Back\' button to return to main view',
  177. 'msg.textarea.pack':
  178. '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',
  179. 'msg.textarea': 'Please copy the text below and then paste it into your forum post or private message',
  180. 'noaccess.text': '<b>Sorry,</b><br>You cannot use WME Validator over here.<br>Please check <a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_HOME +
  181. '\'>the forum thread</a><br>for more information.',
  182. 'noaccess.tip': 'Please check the forum thread for more information!',
  183. 'tab.switch.tip.on': 'Click to switch highlighting on (Alt+V)',
  184. 'tab.switch.tip.off': 'Click to switch highlighting off (Alt+V)',
  185. 'tab.filter.text': 'filter',
  186. 'tab.filter.tip': 'Options to filter the report and highlighted segments',
  187. 'tab.search.text': 'search',
  188. 'tab.search.tip': 'Advanced filter options to include only specific segments',
  189. 'tab.help.text': 'help',
  190. 'tab.help.tip': 'Need help?',
  191. 'filter.places.text': '<span style=\'color:#c00000\'><b>BETA:</b> Enable <b>Places</b> checks</span>',
  192. 'filter.places.tip': 'Do not run places checks',
  193. 'filter.noneditables.reverted':
  194. '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!',
  195. 'filter.noneditables.text': 'Exclude <b>non-editable</b> objects',
  196. 'filter.noneditables.tip': 'Do not report locked objects or\nobjects outside of your editable areas',
  197. 'filter.duplicates.text': 'Exclude <b>duplicate</b> objects',
  198. 'filter.duplicates.tip': 'Do not show the same object in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  199. 'filter.streets.text': 'Exclude <b>Streets and Service Roads</b>',
  200. 'filter.streets.tip': 'Do not report Streets and Service Roads',
  201. 'filter.other.text': 'Exclude <b>Other drivable and Non-drivable</b>',
  202. 'filter.other.tip': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  203. 'filter.notes.text': 'Exclude <b>notes</b>',
  204. 'filter.notes.tip': 'Report only warnings and errors',
  205. 'search.youredits.text': 'Include <b>only your edits</b>',
  206. 'search.youredits.tip': 'Include only segments edited by you',
  207. 'search.updatedby.text': '<b>Updated by*:</b>',
  208. 'search.updatedby.tip': 'Include only segments updated by the specified editor' +
  209. '\n* Note: this option is available for country managers only' +
  210. '\nThis field supports:' +
  211. '\n - lists: me, otherEditor' +
  212. '\n - wildcards: world*' +
  213. '\n - negation: !me, *' +
  214. '\n* Note: you may use \'me\' to match yourself',
  215. 'search.updatedby.example': 'Example: me',
  216. 'search.updatedsince.text': '<b>Updated since:</b>',
  217. 'search.updatedsince.tip': 'Include only segments edited since the date specified' +
  218. '\nFirefox date format: YYYY-MM-DD',
  219. 'search.updatedsince.example': 'YYYY-MM-DD',
  220. 'search.city.text': '<b>City name:</b>',
  221. 'search.city.tip': 'Include only segments with specified city name' +
  222. '\nThis field supports:' +
  223. '\n - lists: Paris, Meudon' +
  224. '\n - wildcards: Greater * Area' +
  225. '\n - negation: !Paris, *',
  226. 'search.city.example': 'Example: !Paris, *',
  227. 'search.checks.text': '<b>Reported as:</b>',
  228. 'search.checks.tip': 'Include only segments reported as specified' +
  229. '\nThis field matches:' +
  230. '\n - severities: error|warning|note|custom1|custom2' +
  231. '\n - check names: New road' +
  232. '\n - check IDs: 200' +
  233. '\nThis field supports:' +
  234. '\n - lists: 36, 37' +
  235. '\n - wildcards: *roundabout*' +
  236. '\n - negation: !unconfirmed*, *',
  237. 'search.checks.example': 'Example: reverse*',
  238. 'help.text': '<b>Help Topics:</b>' +
  239. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_FAQ + '">F.A.Q.</a>' +
  240. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">Ask your question on the forum</a>' +
  241. '<br><a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">How to adjust Validator for your country</a>' +
  242. '<br><a target="_blank" href="' + PFX_FORUM + 't=76488&p=663286#p663286">About the "Might be Incorrect City Name"</a>',
  243. 'help.tip': 'Open in a new browser tab',
  244. 'button.scan.tip': 'Start scanning current map area\n* Note: this might take few minutes',
  245. 'button.scan.tip.NA': 'Zoom out to start scanning current map area',
  246. 'button.pause.tip': 'Pause scanning',
  247. 'button.continue.tip': 'Continue scanning the map area',
  248. 'button.stop.tip': 'Stop scanning and return to the start position',
  249. 'button.clear.tip': 'Clear report and segment cache',
  250. '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.',
  251. 'button.report.text': 'Show report',
  252. 'button.report.tip': 'Apply the filter and generate HTML report in a new tab',
  253. 'button.BBreport.tip': 'Share the report on Waze forum or in a private message',
  254. 'button.settings.tip': 'Configure settings',
  255. 'tab.custom.text': 'custom',
  256. 'tab.custom.tip': 'User-defined custom checks settings',
  257. 'tab.settings.text': 'Settings',
  258. 'tab.scanner.text': 'scanner',
  259. 'tab.scanner.tip': 'Map scanner settings',
  260. 'tab.about.text': 'about</span>',
  261. 'tab.about.tip': 'About WME Validator',
  262. 'scanner.sounds.text': 'Enable sounds',
  263. 'scanner.sounds.tip': 'Bleeps and the bloops while scanning',
  264. 'scanner.sounds.NA': 'Your browser does not support AudioContext',
  265. 'scanner.highlight.text': 'Highlight issues on the map',
  266. 'scanner.highlight.tip': 'Highlight reported issues on the map',
  267. 'scanner.slow.text': 'Enable "slow" checks',
  268. 'scanner.slow.tip': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  269. 'scanner.ext.text': 'Report external highlights',
  270. 'scanner.ext.tip': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  271. 'advanced.atbottom.text': 'At the bottom',
  272. 'advanced.atbottom.tip': 'Put WME Validator at the bottom of the page',
  273. 'custom.template.text': '<a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_CUSTOM + '\'>Custom template</a>',
  274. 'custom.template.tip': 'User-defined custom check expandable template.' +
  275. '\n\nYou may use the following expandable variables:' +
  276. '\nAddress:' +
  277. '\n ${country}, ${state}, ${city}, ${street},' +
  278. '\n ${altCity[index or delimeter]}, ${altStreet[index or delimeter]}' +
  279. '\nSegment properties:' +
  280. '\n ${type}, ${typeRank}, ${toll}, ${direction}, ${elevation}, ${lock},' +
  281. '\n ${length}, ${ID}, ${speedLimit}, ${speedLimitAB}, ${speedLimitBA}' +
  282. '\nHelpers:' +
  283. '\n ${drivable}, ${roundabout}, ${hasHNs},' +
  284. '\n ${Uturn}, ${deadEnd}, ${softTurns},' +
  285. '\n ${deadEndA}, ${partialA},' +
  286. '\n ${deadEndB}, ${partialB},' +
  287. '\n ${checkSpeedLimit}' +
  288. '\nConnectivity:' +
  289. '\n ${segmentsA}, ${inA}, ${outA}, ${UturnA},' +
  290. '\n ${segmentsB}, ${inB}, ${outB}, ${UturnB}',
  291. 'custom.template.example': 'Example: ${street}',
  292. 'custom.regexp.text': 'Custom <a target=\'_blank\' href=\'' + PFX_FORUM + FORUM_CUSTOM + '\'>RegExp</a>',
  293. 'custom.regexp.tip': 'User-defined custom check regular expression to match the template.' +
  294. '\n\nCase-insensitive match: /regexp/i' +
  295. '\nNegation (do not match): !/regexp/' +
  296. '\nLog debug information on console: D/regexp/',
  297. 'custom.regexp.example': 'Example: !/.+/',
  298. 'about.tip': 'Open link in a new tab',
  299. 'button.reset.text': 'Reset defaults',
  300. 'button.reset.tip': 'Revert filter options and settings to their defaults',
  301. 'button.list.text': 'Available checks...',
  302. 'button.list.tip': 'Show a list of checks available in WME Validator',
  303. 'button.wizard.tip': 'Create localization package',
  304. 'button.back.text': 'Back',
  305. 'button.back.tip': 'Close settings and return to main view',
  306. '23.enabled': true,
  307. '23.title': 'Unconfirmed road',
  308. '23.problem': 'Each segment must minimally have the Country and State information',
  309. '23.problemLink': 'W:Map_Editing_Quick-start_Guide#Create_a_Road',
  310. '23.solution': 'Confirm the road by updating its details',
  311. '23.solutionLink': 'W:How_to_label_and_name_roads',
  312. '24.enabled': true,
  313. '24.severity': 'W',
  314. '24.reportOnly': true,
  315. '24.title': 'Might be incorrect city name (only available in the report)',
  316. '24.problem': 'The segment might have incorrect city name',
  317. '24.problemLink': 'W:Fixing_"smudged"_cities',
  318. '24.solution': 'Consider suggested city name and use this form to rename the city',
  319. '24.solutionLink': 'F:t=50314#p450378',
  320. '25.enabled': true,
  321. '25.severity': 'W',
  322. '25.title': 'Unknown direction of drivable road',
  323. '25.problem': '\'Unknown\' road direction will not prevent routing on the road',
  324. '25.problemLink': 'W:How_to_handle_road_closures#NOTES_for_all_durations',
  325. '25.solution': 'Set the road direction',
  326. '27.title': 'City name on Railroad',
  327. '27.problem': 'City name on the Railroad may cause a city smudge',
  328. '27.problemLink': 'W:Fixing_"smudged"_cities',
  329. '27.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  330. '27.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  331. '28.enabled': true,
  332. '28.severity': 'W',
  333. '28.title': 'Street name on two-way Ramp',
  334. '28.problem': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  335. '28.problemLink': 'W:Junction_Style_Guide#Ramp_to_Ramp_Splits',
  336. '28.solution': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  337. '28.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  338. '29.enabled': true,
  339. '29.severity': 'W',
  340. '29.title': 'Street name on roundabout',
  341. '29.problem': 'In Waze, we do not name roundabout segments',
  342. '29.problemLink': 'W:Creating_and_Editing_a_roundabout#Creating_a_roundabout_from_an_intersection',
  343. '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',
  344. '29.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  345. '34.enabled': true,
  346. '34.title': 'Empty alternate street',
  347. '34.problem': 'Alternate street name is empty',
  348. '34.solution': 'Remove empty alternate street name',
  349. '35.enabled': true,
  350. '35.severity': 'W',
  351. '35.title': 'Unterminated drivable road',
  352. '35.problem': 'Waze will not route from the unterminated segment',
  353. '35.solution': 'Move the segment a bit so the terminating node will be added automatically',
  354. '36.enabled': false,
  355. '36.title': 'Node A: Unneeded (slow)',
  356. '36.problem': 'Adjacent segments at node A are identical',
  357. '36.problemLink': 'W:Creating_and_Editing_street_segments#Removing_junctions_with_only_two_segments',
  358. '36.solution': 'Select node A and press Delete key to join the segments',
  359. '36.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  360. '37.enabled': false,
  361. '37.title': 'Node B: Unneeded (slow)',
  362. '37.problem': 'Adjacent segments at node B are identical',
  363. '37.problemLink': 'W:Creating_and_Editing_street_segments#Removing_junctions_with_only_two_segments',
  364. '37.solution': 'Select node B and press Delete key to join the segments',
  365. '37.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  366. '38.enabled': true,
  367. '38.title': 'Expired segment restriction (slow)',
  368. '38.problem': 'The segment has an expired restriction',
  369. '38.problemLink': 'W:Scheduled_Restrictions#Segments',
  370. '38.solution': 'Click \'Edit restrictions\' and delete the expired restriction',
  371. '39.enabled': true,
  372. '39.title': 'Expired turn restriction (slow)',
  373. '39.problem': 'The segment has a turn with an expired restriction',
  374. '39.problemLink': 'W:Scheduled_Restrictions#Turns',
  375. '39.solution': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  376. '41.enabled': true,
  377. '41.title': 'Node A: Reverse connectivity of drivable road',
  378. '41.problem': 'There is a turn which goes against the directionality of the segment at node A',
  379. '41.problemLink': 'W:Glossary#Reverse_Connectivity',
  380. '41.solution': 'Make the segment \'Two-way\', restrict all the turns at node A and then make the segment \'One way (A→B)\' again',
  381. '42.enabled': true,
  382. '42.title': 'Node B: Reverse connectivity of drivable road',
  383. '42.problem': 'There is a turn which goes against the directionality of the segment at node B',
  384. '42.problemLink': 'W:Glossary#Reverse_Connectivity',
  385. '42.solution': 'Make the segment \'Two-way\', restrict all the turns at node B and then make the segment \'One way (B→A)\' again',
  386. '43.enabled': true,
  387. '43.severity': 'E',
  388. '43.title': 'Self connectivity',
  389. '43.problem': 'The segment is connected back to itself',
  390. '43.problemLink': 'W:Glossary#Self_Connectivity',
  391. '43.solution': 'Split the segment into THREE pieces',
  392. '43.solutionLink': 'W:Map_Editing_Quick-start_Guide#Splitting_a_segment',
  393. '44.enabled': false,
  394. '44.severity': 'E',
  395. '44.title': 'No outward connectivity',
  396. '44.problem': 'The drivable segment has no single outward turn enabled',
  397. '44.solution': 'Enable at least one outward turn from the segment',
  398. '44.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  399. '45.enabled': false,
  400. '45.severity': 'E',
  401. '45.title': 'No inward connectivity',
  402. '45.problem': 'The drivable non-private segment has no single inward turn enabled',
  403. '45.solution': 'Select an adjacent segment and enable at least one turn to the segment',
  404. '45.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  405. '46.enabled': true,
  406. '46.severity': 'W',
  407. '46.title': 'Node A: No inward connectivity of drivable road (slow)',
  408. '46.problem': 'The drivable non-private segment has no single inward turn enabled at node A',
  409. '46.solution': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  410. '46.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  411. '47.enabled': true,
  412. '47.severity': 'W',
  413. '47.title': 'Node B: No inward connectivity of drivable road (slow)',
  414. '47.problem': 'The drivable non-private segment has no single inward turn enabled at node B',
  415. '47.solution': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  416. '47.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  417. '48.enabled': true,
  418. '48.severity': 'E',
  419. '48.title': 'Two-way drivable roundabout segment',
  420. '48.problem': 'The drivable roundabout segment is bidirectional',
  421. '48.solution': 'Redo the roundabout',
  422. '48.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  423. '50.enabled': false,
  424. '50.severity': 'E',
  425. '50.title': 'No connectivity on roundabout (slow)',
  426. '50.problem': 'The drivable roundabout segment has no connectivity with adjacent roundabout segment',
  427. '50.solution': 'Enable a turn to the adjacent segment or redo the roundabout',
  428. '50.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  429. '52.title': 'Too long street name',
  430. '52.problem': 'The name of the drivable segment is more than ${n} letters long and it is not a Ramp',
  431. '52.solution': 'Consider an abbreviation for the street name',
  432. '52.params': {'n.title': '{number} maximum street name length', 'n': 30},
  433. '57.severity': 'W',
  434. '57.title': 'City name on named Ramp',
  435. '57.problem': 'City name on the named Ramp may affect search results',
  436. '57.problemLink': 'F:t=68015',
  437. '57.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  438. '57.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  439. '59.title': 'City name on Freeway',
  440. '59.problem': 'City name on the Freeway may cause a city smudge',
  441. '59.problemLink': 'W:Fixing_"smudged"_cities',
  442. '59.solution': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  443. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  444. '69.title': 'No city name on Freeway',
  445. '69.problem': 'The Freeway has no city name set',
  446. '69.solution': 'Set the city name',
  447. '73.title': 'Too short street name',
  448. '73.problem': 'The street name is less than ${n} letters long and it is not a highway',
  449. '73.solution': 'Correct the street name',
  450. '73.params': {'n.title': '{number} minimum street name length', 'n': 3},
  451. '74.enabled': false,
  452. '74.severity': 'W',
  453. '74.title': 'Node A: Multiple segments connected at roundabout',
  454. '74.problem': 'The drivable roundabout node A has more than one segment connected',
  455. '74.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  456. '74.solution': 'Redo the roundabout',
  457. '74.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  458. '77.enabled': false,
  459. '77.severity': 'W',
  460. '77.title': 'Dead-end U-turn',
  461. '77.problem': 'The drivable dead-end road has a U-turn enabled',
  462. '77.problemLink': 'W:Map_Editing_Quick-start_Guide#U-Turns_at_the_end_of_dead-end-streets',
  463. '77.solution': 'Disable U-turn',
  464. '78.enabled': true,
  465. '78.severity': 'W',
  466. '78.title': 'Same endpoints drivable segments (slow)',
  467. '78.problem': 'Two drivable segments share the same two endpoints',
  468. '78.problemLink': 'W:Junction_Style_Guide#Two-segment_loops',
  469. '78.solution': 'Split the segment. You might also remove one of the segments if they are identical',
  470. '78.solutionLink': 'W:Map_Editing_Quick-start_Guide#Splitting_a_segment',
  471. '79.enabled': false,
  472. '79.severity': 'W',
  473. '79.title': 'Too short U-turn connector (slow)',
  474. '79.problem': 'The length of the segment is less than 15m long so U-turn is not possible here',
  475. '79.problemLink': 'W:Classification_of_crossings',
  476. '79.solution': 'Increase the length of the segment',
  477. '87.enabled': true,
  478. '87.severity': 'E',
  479. '87.title': 'Node A: Multiple outgoing segments at roundabout',
  480. '87.problem': 'The drivable roundabout node A has more than one outgoing segment connected',
  481. '87.problemLink': 'W:Map_Legend#Types_of_segments_.28Roundabouts.29',
  482. '87.solution': 'Redo the roundabout',
  483. '87.solutionLink': 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts',
  484. '90.severity': 'W',
  485. '90.title': 'Two-way Freeway segment',
  486. '90.problem': 'Most of the Freeways are split into two one-way roads, so this two-way segment might be a mistake',
  487. '90.solution': 'Check Freeway direction',
  488. '91.severity': 'W',
  489. '91.title': 'Two-way Ramp segment',
  490. '91.problem': 'Most of the Ramps are one-way roads, so this two-way segment might be a mistake',
  491. '91.solution': 'Check Ramp direction',
  492. '95.severity': 'W',
  493. '95.title': 'Street name with a dot',
  494. '95.problem': 'There is a dot in the street name (excluding Ramps)',
  495. '95.solution': 'Expand the abbreviation or remove the dot',
  496. '99.enabled': true,
  497. '99.severity': 'W',
  498. '99.title': 'U-turn at roundabout entrance (slow)',
  499. '99.problem': 'The roundabout entrance segment has a U-turn enabled',
  500. '99.problemLink': 'W:Map_Editing_Quick-start_Guide#U-Turns_at_the_end_of_dead-end-streets',
  501. '99.solution': 'Disable U-turn',
  502. '101.enabled': true,
  503. '101.severity': 'E',
  504. '101.reportOnly': true,
  505. '101.title': 'Closed road (only available in the report)',
  506. '101.problem': 'The segment is marked as closed',
  507. '101.problemLink': 'W:How_to_handle_road_closures',
  508. '101.solution': 'If the construction is done, restore the segment connectivity and remove the suffix',
  509. '101.solutionLink': 'W:Road_Naming_(USA)#Construction_zones_and_closed_roads',
  510. '101.params': {'regexp.title': '{string} regular expression to match closed road', 'regexp': '/(^|\\b)closed(\\b|$)/i'},
  511. '102.enabled': true,
  512. '102.severity': 'W',
  513. '102.title': 'Node A: No outward connectivity of drivable road (slow)',
  514. '102.problem': 'The drivable segment has no single outward turn enabled at node A',
  515. '102.solution': 'Enable at least one outward turn from the segment at node A',
  516. '102.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  517. '103.enabled': true,
  518. '103.severity': 'W',
  519. '103.title': 'Node B: No outward connectivity of drivable road (slow)',
  520. '103.problem': 'The drivable segment has no single outward turn enabled at node B',
  521. '103.solution': 'Enable at least one outward turn from the segment at node B',
  522. '103.solutionLink': 'W:Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29',
  523. '104.enabled': true,
  524. '104.title': 'Railroad used for comments',
  525. '104.problem': 'The Railroad segment is probably used as a map comment',
  526. '104.problemLink': 'F:t=61546',
  527. '104.solution': 'Remove the comment as Railroads will be added to the client display',
  528. '105.title': 'Walking Trail instead of a Railroad',
  529. '105.problem': 'The Walking Trail segment with elevation -5 is probably used instead of a Railroad',
  530. '105.problemLink': 'F:t=61546',
  531. '105.solution': 'Change road type to Railroad as Railroads will be added to the client display',
  532. '106.title': 'No state name selected',
  533. '106.problem': 'The segment has no state name selected',
  534. '106.solution': 'Select a state for the segment and apply the changes',
  535. '106.solutionLink': 'W:Creating_and_Editing_street_segments#Confirm_the_road_by_updating_details',
  536. '107.enabled': true,
  537. '107.severity': 'E',
  538. '107.title': 'Node A: No connection (slow)',
  539. '107.problem': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  540. '107.solution': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  541. '108.enabled': true,
  542. '108.severity': 'E',
  543. '108.title': 'Node B: No connection (slow)',
  544. '108.problem': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  545. '108.solution': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  546. '109.enabled': true,
  547. '109.severity': 'W',
  548. '109.title': 'Too short segment',
  549. '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',
  550. '109.problemLink': 'W:Segment_length',
  551. '109.solution': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  552. '109.solutionLink': 'W:Map_Editing_Quick-start_Guide#Delete_a_Junction',
  553. '109.params': {'n.title': '{number} minimum segment length', 'n': 5},
  554. '110.title': 'Incorrect Freeway elevation',
  555. '110.problem': 'The elevation of the Freeway segment is not a ground',
  556. '110.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#.C3.9Cber-_und_Unterf.C3.BChrungen',
  557. '110.solution': 'Set the Freeway elevation to ground',
  558. '112.enabled': true,
  559. '112.severity': 'W',
  560. '112.title': 'Too long Ramp name',
  561. '112.problem': 'The Ramp name is more than ${n} letters long',
  562. '112.solution': 'Shorten the Ramp name',
  563. '112.params': {'n.title': '{number} maximum Ramp name length', 'n': 55},
  564. '114.enabled': false,
  565. '114.severity': 'W',
  566. '114.title': 'Node A: Non-drivable connected to drivable (slow)',
  567. '114.problem': 'The non-drivable segment makes a junction with a drivable at node A',
  568. '114.problemLink': 'W:Road_Types_(USA)#Non-drivable_roads',
  569. '114.solution': 'Disconnect node A from all of the drivable segments',
  570. '115.enabled': false,
  571. '115.severity': 'W',
  572. '115.title': 'Node B: Non-drivable connected to drivable (slow)',
  573. '115.problem': 'The non-drivable segment makes a junction with a drivable at node B',
  574. '115.problemLink': 'W:Road_Types_(USA)#Non-drivable_roads',
  575. '115.solution': 'Disconnect node B from all of the drivable segments',
  576. '116.enabled': true,
  577. '116.severity': 'W',
  578. '116.title': 'Out of range elevation',
  579. '116.problem': 'The segment elevation is out of range',
  580. '116.solution': 'Correct the elevation',
  581. '117.enabled': true,
  582. '117.severity': 'W',
  583. '117.title': 'Obsolete CONST ZN marker',
  584. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  585. '117.solution': 'Change CONST ZN to (closed)',
  586. '117.solutionLink': 'W:Road_Naming_(USA)#Construction_zones_and_closed_roads',
  587. '118.enabled': true,
  588. '118.severity': 'E',
  589. '118.title': 'Node A: Overlapping segments (slow)',
  590. '118.problem': 'The segment is overlapping with the adjacent segment at node A',
  591. '118.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  592. '119.enabled': true,
  593. '119.severity': 'E',
  594. '119.title': 'Node B: Overlapping segments (slow)',
  595. '119.problem': 'The segment is overlapping with the adjacent segment at node B',
  596. '119.solution': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  597. '120.enabled': true,
  598. '120.severity': 'W',
  599. '120.title': 'Node A: Too sharp turn (slow)',
  600. '120.problem': 'The drivable segment has a very acute turn at node A',
  601. '120.solution': 'Disable the sharp turn at node A or spread the segments at 30°',
  602. '121.enabled': true,
  603. '121.severity': 'W',
  604. '121.title': 'Node B: Too sharp turn (slow)',
  605. '121.problem': 'The drivable segment has a very acute turn at node B',
  606. '121.solution': 'Disable the sharp turn at node B or spread the segments at 30°',
  607. '128.enabled': true,
  608. '128.severity': '1',
  609. '128.title': 'User-defined custom check (green)',
  610. '128.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  611. '128.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  612. '128.solution': 'Solve the issue',
  613. '128.params': {},
  614. '129.enabled': true,
  615. '129.severity': '2',
  616. '129.title': 'User-defined custom check (blue)',
  617. '129.problem': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  618. '129.problemLink': 'https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions',
  619. '129.solution': 'Solve the issue',
  620. '129.params': {},
  621. '169.severity': 'W',
  622. '169.title': 'Incorrectly named street',
  623. '169.problem': 'The street named incorrectly, illegal chars or words used',
  624. '169.solution': 'Rename the segment in accordance with the guidelines',
  625. '169.params': {'regexp.title': '{string} regular expression to match incorrect street name', 'regexp': '!/^[a-zA-Z0-9\\. :"\'(/)-]+$/'},
  626. '170.severity': 'W',
  627. '170.title': 'Lowercase street name',
  628. '170.problem': 'The street name starts with a lowercase word',
  629. '170.solution': 'Correct lettercase in the street name',
  630. '170.params': {'regexp.title': '{string} regular expression to match a lowercase name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  631. '171.severity': 'W',
  632. '171.title': 'Incorrectly abbreviated street name',
  633. '171.problem': 'The street name has incorrect abbreviation',
  634. '171.solution': 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table',
  635. '171.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\.$/'},
  636. '172.enabled': true,
  637. '172.title': 'Unneeded spaces in street name',
  638. '172.problem': 'Leading/trailing/double space in the street name',
  639. '172.solution': 'Remove unneeded spaces from the street name',
  640. '172.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  641. '173.enabled': true,
  642. '173.severity': 'W',
  643. '173.title': 'No space before/after street abbreviation',
  644. '173.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  645. '173.solution': 'Add a space before/after the abbreviation',
  646. '173.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  647. '174.severity': 'W',
  648. '174.title': 'Street name spelling mistake',
  649. '174.problem': 'The is a spelling mistake in the street name',
  650. '174.solution': 'Add/correct the mistake, check accented letters',
  651. '174.params': {
  652. 'regexp.title': '{string} regular expression to match spelling mistakes',
  653. 'regexp': '/(^|\\b)(accross|cemetary|fourty|foward|goverment|independant|liason|pavillion|portugese|posession|prefered|shcool|wat|wich)($|\\b)/i'
  654. },
  655. '175.enabled': true,
  656. '175.severity': 'W',
  657. '175.title': 'Empty street name',
  658. '175.problem': 'The street name has only space characters or a dot',
  659. '175.solution': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  660. '175.solutionLink': 'W:Creating_and_Editing_street_segments#Confirm_the_road_by_updating_details',
  661. '175.params': {'regexp': '/^[\\s\\.]*$/'},
  662. '190.severity': 'W',
  663. '190.enabled': true,
  664. '190.title': 'Lowercase city name',
  665. '190.problem': 'The city name starts with a lowercase letter',
  666. '190.solution': 'Use this form to rename the city',
  667. '190.solutionLink': 'F:t=50314#p450378',
  668. '190.params': {'regexp.title': '{string} regular expression to match a lowercase city name', 'regexp': '/^[a-zа-яёіїєґ]/'},
  669. '191.severity': 'W',
  670. '191.title': 'Incorrectly abbreviated city name',
  671. '191.problem': 'The city name has incorrect abbreviation',
  672. '191.solution': 'Use this form to rename the city',
  673. '191.solutionLink': 'F:t=50314#p450378',
  674. '191.params': {'regexp.title': '{string} regular expression to match incorrect abbreviations', 'regexp': '/\\./'},
  675. '192.enabled': true,
  676. '192.title': 'Unneeded spaces in city name',
  677. '192.problem': 'Leading/trailing/double space in the city name',
  678. '192.solution': 'Use this form to rename the city',
  679. '192.solutionLink': 'F:t=50314#p450378',
  680. '192.params': {'regexp': '/^\\s|\\s$|\\s\\s/'},
  681. '193.enabled': true,
  682. '193.title': 'No space before/after city abbreviation',
  683. '193.problem': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  684. '193.solution': 'Use this form to rename the city',
  685. '193.solutionLink': 'F:t=50314#p450378',
  686. '193.params': {'regexp': '/([^\\s]\\.[^\\s0-9-][^\\s0-9\\.])|([0-9][^\\s0-9]+\\.[^0-9-])/'},
  687. '200.enabled': true,
  688. '200.title': 'Node A: Unconfirmed turn on minor road',
  689. '200.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  690. '200.problemLink': 'W:Soft_and_hard_turns',
  691. '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',
  692. '200.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  693. '300.enabled': true,
  694. '300.title': 'Node B: Unconfirmed turn on minor road',
  695. '300.problem': 'The minor drivable segment has an unconfirmed (soft) turn at node B',
  696. '300.problemLink': 'W:Soft_and_hard_turns',
  697. '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',
  698. '300.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  699. '201.enabled': true,
  700. '201.severity': 'W',
  701. '201.title': 'Node A: Unconfirmed turn on primary road',
  702. '201.problem': 'The primary segment has an unconfirmed (soft) turn at node A',
  703. '201.problemLink': 'W:Soft_and_hard_turns',
  704. '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',
  705. '201.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  706. '301.enabled': true,
  707. '301.severity': 'W',
  708. '301.title': 'Node B: Unconfirmed turn on primary road',
  709. '301.problem': 'The primary segment has an unconfirmed (soft) turn at node B',
  710. '301.problemLink': 'W:Soft_and_hard_turns',
  711. '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',
  712. '301.solutionLink': 'W:Soft_and_hard_turns#Best_practices',
  713. '202.enabled': true,
  714. '202.severity': 'W',
  715. '202.title': 'BETA: No public connection for public segment (slow)',
  716. '202.problem': 'The public segment is not connected to any other public segment',
  717. '202.solution': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  718. '210.enabled': true,
  719. '210.title': 'Segment has unverified speed limits from A to B',
  720. '210.problem': 'Segment has speed limit set from A to B that is unverified',
  721. '210.solution': 'Verify the speed limit on the segment and confirm or correct it',
  722. '210.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  723. '211.enabled': true,
  724. '211.title': 'Segment has unverified speed limits from B to A',
  725. '211.problem': 'Segment has speed limit set from B to A that is unverified',
  726. '211.solution': 'Verify the speed limit on the segment and confirm or correct it',
  727. '211.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  728. '212.enabled': true,
  729. '212.title': 'Segment has no speed limit set from A to B',
  730. '212.problem': 'Segment has no speed limit set from A to B',
  731. '212.solution': 'Verify the speed limit on the segment and set it',
  732. '212.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  733. '213.enabled': true,
  734. '213.title': 'Segment has no speed limit set from B to A',
  735. '213.problem': 'Segment has no speed limit set from B to A',
  736. '213.solution': 'Verify the speed limit on the segment and set it',
  737. '213.solutionLink': 'W:Global/Creating_and_editing_road_segments#Speed_limit',
  738. '214.enabled': true,
  739. '214.title': 'Segment has possibly wrong speed limit from A to B',
  740. '214.problem': 'Segment has a speed limit that seems to be incorrect',
  741. '214.solution': 'Verify the speed limit on the segment and correct it if needed',
  742. '214.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  743. '215.enabled': true,
  744. '215.title': 'Segment has possibly wrong speed limit from B to A',
  745. '215.problem': 'Segment has a speed limit that seems to be incorrect',
  746. '215.params': {'regexp.title': '{string} regular expression to match valid speed limits', 'regexp': '/^.+[05]$/'},
  747. '215.solution': 'Verify the speed limit on the segment and correct it if needed',
  748. '250.enabled': true,
  749. '250.title': 'BETA: No city name on Place',
  750. '250.problem': 'The Place has no city name set',
  751. '250.solution': 'Set the city name',
  752. '250.params': {
  753. 'regexp.title': '{string} regular expression for categories to exclude from this check',
  754. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  755. },
  756. '251.enabled': true,
  757. '251.title': 'BETA: No street name on Place',
  758. '251.problem': 'The Place has no street name set',
  759. '251.solution': 'Set the street name',
  760. '251.params': {
  761. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  762. 'regexp': '/^(NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  763. },
  764. '252.enabled': true,
  765. '252.title': 'BETA: Automatically updated Place',
  766. '252.problem': 'The Place was updated automatically by Waze',
  767. '252.solution': 'Verify and update the Place details if needed',
  768. '252.params':
  769. {
  770. 'regexp.title': '{string} regular expression to match Waze bot names and ids',
  771. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  772. },
  773. '253.enabled': true,
  774. '253.title': 'BETA: Category \'OTHER\' should not be used',
  775. '253.problem': 'Users can search on category, and category \'OTHER\' doesn\'t give enough information',
  776. '253.solution': 'Set the correct category',
  777. '254.enabled': true,
  778. '254.title': 'BETA: No entry/exit points on Place',
  779. '254.problem': 'The Place entry/exit points are not set',
  780. '254.solution': 'Set the entry/exit points',
  781. '255.enabled': true,
  782. '255.title': 'BETA: Invalid phone number',
  783. '255.problem': 'The Place has an invalid phone number',
  784. '255.solution': 'Set the correct phone number',
  785. '255.params': {'regexp.title': '{string} regular expression to match a correct phone number', 'regexp': '/.+/'},
  786. '256.enabled': true,
  787. '256.title': 'BETA: Invalid website',
  788. '256.problem': 'The Place has an invalid website URL',
  789. '256.solution': 'Set the correct website URL',
  790. '256.params': {'regexp.title': '{string} regular expression to match a correct website URL', 'regexp': '/^(https?://)?[^\\s/$.?#].[^\\s]*$/i'},
  791. '256.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  792. '257.enabled': true,
  793. '257.title': 'BETA: Place should be an area place',
  794. '257.problem': 'The Place is set as a point place, but should be an area',
  795. '257.solution': 'Convert the Place to an area place',
  796. '257.params':
  797. {
  798. 'regexp.title': '{string} regular expression to match categories that should be a area',
  799. 'regexp':
  800. '/^(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)$/'
  801. },
  802. '257.solutionLink': 'P:Global/Places#When_to_use_Area_or_Point',
  803. '258.enabled': true,
  804. '258.title': 'BETA: Place should be a point place',
  805. '258.problem': 'The Place is set as an area place, but should be a point',
  806. '258.solution': 'Convert the Place to a point place',
  807. '258.params':
  808. {
  809. 'regexp.title': '{string} regular expression to match categories that should be a point',
  810. 'regexp':
  811. '/^(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)$/'
  812. },
  813. '259.enabled': true,
  814. '259.title': 'BETA: No lock on Place',
  815. '259.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  816. '259.solution': 'Lock the Place',
  817. '259.params':
  818. {
  819. 'n.title': '{number} minimum lock level',
  820. 'n': 2,
  821. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  822. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  823. },
  824. '260.enabled': true,
  825. '260.title': 'BETA: No lock on Place',
  826. '260.problem': 'According to the category, the Place should be locked at least to Lvl ${n}',
  827. '260.solution': 'Lock the Place',
  828. '260.params':
  829. {
  830. 'n.title': '{number} minimum lock level',
  831. 'n': 3,
  832. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  833. 'regexp': '/(GAS_STATION|AIRPORT)/'
  834. },
  835. '270.enabled': true,
  836. '270.title': 'BETA: No type on Parking Lot',
  837. '270.problem': 'The primary Parking Lot type is not set',
  838. '270.solution': 'Set the primary lot type',
  839. '271.enabled': true,
  840. '271.title': 'BETA: No cost on Parking Lot',
  841. '271.problem': 'The Parking Lot cost is not set',
  842. '271.solution': 'Set the Parking Lot cost',
  843. '272.enabled': true,
  844. '272.title': 'BETA: No payment types on Parking Lot',
  845. '272.problem': 'The Parking Lot payment types are not set',
  846. '272.solution': 'Set the payment types',
  847. '273.enabled': true,
  848. '273.title': 'BETA: No elevation on Parking Lot',
  849. '273.problem': 'The Parking Lot elevation is not set',
  850. '273.solution': 'Set the elevation',
  851. '274.enabled': true,
  852. '274.title': 'BETA: No Parking Lot entry/exit points',
  853. '274.problem': 'The Parking Lot entry/exit points are not set',
  854. '274.solution': 'Set the entry/exit points',
  855. '275.enabled': true,
  856. '275.title': 'BETA: No brand on Gas Station',
  857. '275.problem': 'The Gas Station brand is not in its name',
  858. '275.solution': 'Add or update brand in the Gas Station name'
  859. },
  860. 'US':
  861. {
  862. '.codeISO': 'US',
  863. '.country': 'United States',
  864. '27.enabled': true,
  865. '90.enabled': true,
  866. '106.enabled': true,
  867. '112.enabled': false,
  868. '150.enabled': true,
  869. '150.params': {'n': 2},
  870. '170.enabled': true,
  871. '170.params': {'regexp': '/^(?!(to) [^a-z])((S|N|W|E) )?[a-z]/'},
  872. '171.enabled': true,
  873. '171.solutionLink': 'W:Abbreviations_and_acronyms/USA#Standard_suffix_abbreviations',
  874. '171.params':
  875. {
  876. 'regexp':
  877. '/((?!(\\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/',
  878. 'problemEN': 'The street name has incorrect abbreviation, or character',
  879. 'solutionEN':
  880. 'Check upper/lower case, a space before/after the abbreviation and the accordance with the abbreviation table. Remove any comma (,), backslash (\\), or semicolon (;)'
  881. }
  882. },
  883. 'UK': {'.codeISO': 'UK', '.country': 'United Kingdom', '1.enabled': false, '200.enabled': false},
  884. 'SK':
  885. {
  886. '.codeISO': 'SK',
  887. '.country': 'Slovakia',
  888. '27.enabled': true,
  889. '52.enabled': true,
  890. '73.enabled': true,
  891. '90.enabled': true,
  892. '150.enabled': true,
  893. '150.problemLink': 'F:t=64980&p=572847#p572847',
  894. '150.params': {'n': 2},
  895. '151.enabled': true,
  896. '151.problemLink': 'F:t=64980&p=572847#p572847',
  897. '151.params': {'n': 2},
  898. '152.enabled': true,
  899. '152.problemLink': 'F:t=64980&p=572847#p572847',
  900. '152.params': {'n': 2},
  901. '170.enabled': true,
  902. '170.params': {'regexp': '/^(?!(exit) [^a-z])[a-z]/'}
  903. },
  904. 'SG':
  905. {
  906. '.codeISO': 'SG',
  907. '.country': 'Singapore',
  908. '69.enabled': true,
  909. '73.enabled': true,
  910. '150.enabled': true,
  911. '150.params': {'n': 2},
  912. '151.enabled': true,
  913. '151.params': {'n': 2},
  914. '152.enabled': true,
  915. '152.params': {'n': 2}
  916. },
  917. 'RU': {'.codeISO': 'RU', '.country': 'Russia', '77.enabled': false, '190.enabled': false},
  918. 'PL':
  919. {
  920. '.codeISO': 'PL',
  921. '.country': 'Poland',
  922. '.author': 'Zniwek',
  923. '.updated': '2014-10-01',
  924. '.lng': 'PL',
  925. 'city.consider': 'rozważ tę nazwę miasta:',
  926. 'city.1': 'nazwa miasta jest za krótka',
  927. 'city.2': 'rozwiń skrót',
  928. 'city.3': 'uzupełnij skróconą nazwę',
  929. 'city.4': 'uzupełnij nazwę miasta',
  930. 'city.5': 'popraw wielkość liter',
  931. 'city.6': 'sprawdź kolejność słów',
  932. 'city.7': 'sprawdź skróty',
  933. 'city.8a': 'dodaj nazwę państwa',
  934. 'city.8r': 'usuń nazwę państwa',
  935. 'city.9': 'sprawdź nazwę państwa',
  936. 'city.10a': 'dodaj słowo',
  937. 'city.10r': 'usuń słowo',
  938. 'city.11': 'dodaj kod państwa',
  939. 'city.12': 'identyczne nazwy, ale inne ID miasta',
  940. 'city.13a': 'dodaj spację',
  941. 'city.13r': 'usuń spację',
  942. 'city.14': 'sprawdź numer',
  943. 'props.skipped.title': 'Segment nie jest sprawdzony',
  944. 'props.skipped.problem': 'Segment jest zmodyfikowany po 2014-05-01 I zablokowany dla Ciebie, więc Validator go nie sprawdził',
  945. 'err.regexp': 'Błąd podczas parsowania opcji dla sprawdzenia #${n}:',
  946. 'props.disabled': 'WME Validator jest wyłączony',
  947. 'props.limit.title': 'Zgłoszono zbyt wiele problemów',
  948. 'props.limit.problem': 'Zgłoszono zbyt wiele problemów, więc niektóre z nich mogą nie być pokazane',
  949. 'props.limit.solution': 'Odznacz segment i zatrzymaj skanowanie. Następnie kliknij czerwony \'✘\', przycisk (Wyczyść raport)',
  950. 'props.reports': 'raporty',
  951. 'props.noneditable': 'Nie możesz edytować tego segmentu',
  952. 'report.save': 'Zapisz ten raport',
  953. 'report.list.andUp': 'i wyższe',
  954. 'report.list.severity': 'Ważność:',
  955. 'report.list.reportOnly': 'tylko w raporcie',
  956. 'report.list.forEditors': 'Dla edytorów poziomu:',
  957. 'report.list.forCountries': 'Dla państw:',
  958. 'report.list.forStates': 'Dla stanów:',
  959. 'report.list.forCities': 'Dla miast:',
  960. 'report.list.params': 'Parametry do skonfigurowania w paczce językowej:',
  961. 'report.list.params.set': 'Aktualna konfiguracja dla ${country}:',
  962. 'report.list.enabled': '${n} sprawdzenia włączone dla',
  963. 'report.list.disabled': '${n} sprawdzenia wyłączone dla',
  964. 'report.list.total': 'There are ${n} sprawdzenia dostępne',
  965. 'report.list.title': 'Pełna lista Sprawdzeń dla',
  966. 'report.list.see': 'Zobacz',
  967. 'report.list.checks': 'Ustawienia->O->Dostępne sprawdzenia',
  968. 'report.list.fallback': 'Zasady Cofnięcia Lokalizacji:',
  969. 'report.and': 'i',
  970. 'report.segments': 'Liczba sprawdzonych segmentów:',
  971. 'report.customs': 'Własne zaznaczone sprawdzenia (zielone/niebieskie):',
  972. 'report.reported': 'Zaraportowane',
  973. 'report.errors': 'błędy',
  974. 'report.warnings': 'ostrzeżenia',
  975. 'report.notes': 'notki',
  976. 'report.contents': 'Zawartość:',
  977. 'report.summary': 'Podsumowanie',
  978. 'report.title': 'WME Validator - Raport',
  979. 'report.share': 'by się Podzielić',
  980. 'report.generated.by': 'wygenerowane przez',
  981. 'report.generated.on': 'na',
  982. 'report.source': 'Źródło raportu:',
  983. 'report.filter.duplicate': 'duplikowane segmenty',
  984. 'report.filter.streets': 'Ulice i Drogi Serwisowe',
  985. 'report.filter.other': 'Pozostałe przejezdne/nieprzejezdne',
  986. 'report.filter.noneditable': 'segmenty bez możliwości edycji',
  987. 'report.filter.notes': 'notki',
  988. 'report.filter.title': 'Filtruj:',
  989. 'report.filter.excluded': 'są wyłączone z tego raportu.',
  990. 'report.search.updated.by': 'zaktualizowane przez',
  991. 'report.search.updated.since': 'zaktualizowane od',
  992. 'report.search.city': 'z',
  993. 'report.search.reported': 'zaraportowane jako',
  994. 'report.search.title': 'Szukaj:',
  995. 'report.search.only': 'tylko segmenty',
  996. 'report.search.included': 'są zawarte w tym raporcie.',
  997. 'report.beta.warning': 'Ostrzeżenie WME Beta!',
  998. 'report.beta.text': 'Ten raport jest wygenerowany w wersji beta WME z permalinkami beta.',
  999. 'report.beta.share': 'Proszę, nie dziel się raportem z tymi permalinkami!',
  1000. 'report.size.warning':
  1001. '<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.',
  1002. 'report.note.limit': '* Info: było zbyt wiele zgłoszonych problemów, więc niektóre z nich nie są policzone w podsumowaniu.',
  1003. 'report.forum': 'Żeby zmotywować mnie do pracy nad skrpytem, zostaw komentarz w',
  1004. 'report.thanks': 'Dziękuję za używanie WME Validator!',
  1005. 'msg.limit.segments': 'Zbyt wiele segmentów.\n\nKliknij \'Pokaż raport\' żeby go przejrzeć, a potem\n',
  1006. 'msg.limit.segments.continue': 'kliknij \'▶\' (Start) by kontynuować.',
  1007. 'msg.limit.segments.clear': 'kliknij \'✘\' (Wyczyść) by wyczyścić raport.',
  1008. 'msg.pan.text': 'Przesuwaj mapę, by ją sprawdzić',
  1009. 'msg.zoomout.text': 'Oddal widok, by uruchomić WME Validator',
  1010. 'msg.click.text': 'Kliknij \'▶\' (Start), by sprawdzić widoczny obszar mapy',
  1011. 'msg.autopaused': 'autopauza',
  1012. 'msg.autopaused.text': 'Spauzowano automatycznie! Kliknij \'▶\' (Start) by kontynuować.',
  1013. 'msg.autopaused.tip': 'WME Validator wstrzymany automatycznie przy przesunięciu mapy lub skalowaniu okna',
  1014. 'msg.finished.text': 'Kliknij <b>\'Pokaż raport\'</b> by przejrzeć błędy',
  1015. 'msg.finished.tip': 'Kliknij przycisk \'✉\' (Podziel się), żeby umieścić raport na\nforum lub w prywatnej wiadomości',
  1016. 'msg.noissues.text': 'Ukończono! Nie znaleziono błędów!',
  1017. 'msg.noissues.tip': 'Spróbuj odznaczyć niektóre opcje filtrowania lub odpal WME Validator na innym obszarze!',
  1018. 'msg.scanning.text': 'Skanowanie! Koniec za ~ ${n} min',
  1019. 'msg.scanning.text.soon': 'Skanowanie! Koniec w ciągu minuty!',
  1020. 'msg.scanning.tip': 'Kliknij przycisk \'Pauza\' by wstrzymać lub \'■\' (Stop) by zatrzymać',
  1021. 'msg.starting.text': 'Start! Warstwy są wyłączone, by skanować szybciej!',
  1022. 'msg.starting.tip': 'Użyj przycisku \'Pauza\' by wstrzymać lub przycisku \'■\' by zatrzymać',
  1023. 'msg.paused.text': 'Wstrzymane! Kliknij przycisk \'▶\' (Start) by kontynuować.',
  1024. 'msg.paused.tip': 'Żeby zobaczyć raport, kliknij przycisk \'Pokaż raport\' (jeżeli dostępne)',
  1025. 'msg.continuing.text': 'Kontynuowanie!',
  1026. 'msg.continuing.tip': 'WME Validator zacznie ponownie z miejsca, gdzie włączono pauzę',
  1027. 'msg.settings.text': 'Kliknij <b>\'Wstecz\'</b>, by powrócić do głównego widoku',
  1028. 'msg.settings.tip': 'Kliknij przycisk \'Resetuj domyślne\' aby zresetować wszystkie ustawienia za jednym zamachem!',
  1029. 'msg.reset.text': 'Wszystkie opcje filtrowania i ustawienia zostały zresetowane do domyślnych',
  1030. 'msg.reset.tip': 'Kliknij przycisk \'Wstecz\', by powrócić do głównego widoku',
  1031. 'msg.textarea.pack':
  1032. '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',
  1033. 'msg.textarea': 'Skopiuj proszę tekst poniżej, a następnie wklej do posta lub wiadomości prywatnej',
  1034. 'noaccess.text':
  1035. '<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.',
  1036. 'noaccess.tip': 'Sprawdź proszę wątek na forum po więcej informacji!',
  1037. 'tab.switch.tip.on': 'Kliknij by włączyć podświetlanie (Alt+V)',
  1038. 'tab.switch.tip.off': 'Kliknij by wyłączyć podświetlanie (Alt+V)',
  1039. 'tab.filter.text': 'filtruj',
  1040. 'tab.filter.tip': 'Opcje filtrowania raportu i podświetlonych segmentów',
  1041. 'tab.search.text': 'szukaj',
  1042. 'tab.search.tip': 'Zaawansowane opcje filtrowania, żeby załączyć tylko specyficzne segmenty',
  1043. 'tab.help.text': 'pomoc',
  1044. 'tab.help.tip': 'Potrzebujesz pomocy?',
  1045. 'filter.noneditables.text': 'Wyklucz <b>nieedytowalne</b> segmenty',
  1046. 'filter.noneditables.tip': 'Nie raportuj zablokowanych segmentów lub\nsegmentów poza Twoim obszarem edycji',
  1047. 'filter.duplicates.text': 'Wyklucz <b>duplikowane</b> segmenty',
  1048. 'filter.duplicates.tip': 'Nie pokazuj tego samego segmentu w różnych\nczęściach raportu\n* Info: ta opcja NIE WPŁYWA na podświetlanie',
  1049. 'filter.streets.text': 'Wyklucz <b>Ulice i Drogi Serwisowe</b>',
  1050. 'filter.streets.tip': 'Nie raportuj Ulic i Dróg Serwisowych',
  1051. 'filter.other.text': 'Wyklucz <b>Pozostałe przejezdne i nieprzejezdne</b>',
  1052. 'filter.other.tip': 'Nie raportuj Gruntowych, Wewnętrznych, Prywatnych Dróg\ni nieprzejezdnych segmentów',
  1053. 'filter.notes.text': 'Wyklucz <b>notki</b>',
  1054. 'filter.notes.tip': 'Raportuj tylko ostrzeżenia i błędy',
  1055. 'search.youredits.text': 'Załącz <b>tylko Twoje edycje</b>',
  1056. 'search.youredits.tip': 'Załącz tylko segmenty edytowane przez Ciebie',
  1057. 'search.updatedby.text': '<b>Zaktualizowane przez*:</b>',
  1058. 'search.updatedby.tip':
  1059. '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',
  1060. 'search.updatedby.example': 'Przykład: me',
  1061. 'search.updatedsince.text': '<b>Zaktualizowane od:</b>',
  1062. 'search.updatedsince.tip': 'Załącz tylko segmenty edytowane od ustalonej daty\nformat daty Firefox: RRRR-MM-DD',
  1063. 'search.updatedsince.example': 'RRRR-MM-DD',
  1064. 'search.city.text': '<b>Nazwa miasta:</b>',
  1065. '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, *',
  1066. 'search.city.example': 'Przykład: !Paris, *',
  1067. 'search.checks.text': '<b>Zaraportowane jako:</b>',
  1068. 'search.checks.tip':
  1069. '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*, *',
  1070. 'search.checks.example': 'Przykład: reverse*',
  1071. 'help.text':
  1072. '<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>',
  1073. 'help.tip': 'Otwórz w nowej karcie przeglądarki',
  1074. 'button.scan.tip': 'Zacznij skanowanie aktualnego obszaru\n* Info: to może zająć kilka minut',
  1075. 'button.scan.tip.NA': 'Oddal widok by zacząć skanować aktualny obszar',
  1076. 'button.pause.tip': 'Wstrzymaj skanowanie',
  1077. 'button.continue.tip': 'Kontynuuj skanowanie obszaru mapy',
  1078. 'button.stop.tip': 'Zatrzymaj skanowanie i powróć do pozycji startowej',
  1079. 'button.clear.tip': 'Wyczyść raport i cache segmentu',
  1080. '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.',
  1081. 'button.report.text': 'Pokaż raport',
  1082. 'button.report.tip': 'Zatwierdź filtr i wygeneruj raport HTML w nowej karcie',
  1083. 'button.BBreport.tip': 'Podziel się raportem na forum Waze lub w prywatnej wiadomości',
  1084. 'button.settings.tip': 'Konfiguruj ustawienia',
  1085. 'tab.custom.text': 'własne',
  1086. 'tab.custom.tip': 'Ustawienia sprawdzeń zdefiniowanych przez użytkownika',
  1087. 'tab.settings.text': 'Ustawienia',
  1088. 'tab.scanner.text': 'skaner',
  1089. 'tab.scanner.tip': 'Ustawienia skanera mapy',
  1090. 'tab.about.text': 'o</span>',
  1091. 'tab.about.tip': 'Info o WME Validator',
  1092. 'scanner.sounds.text': 'Włącz dźwięki',
  1093. 'scanner.sounds.tip': 'Pikanie podczas skanowania',
  1094. 'scanner.sounds.NA': 'Twoja przeglądarka nie wspiera AudioContext',
  1095. 'scanner.highlight.text': 'Podświetl błędy na mapie',
  1096. 'scanner.highlight.tip': 'Podświetl zaraportowane błędy na mapie',
  1097. 'scanner.slow.text': 'Włącz sprawdzenia "slow"',
  1098. 'scanner.slow.tip': 'Włącza głęboką analizę mapy\n* Info: ta opcja może spowolnić proces skanowania',
  1099. 'scanner.ext.text': 'Raportuj zewnętrzne podświetlenia',
  1100. 'scanner.ext.tip': 'Raportuj segmenty podświetlone przez WME Toolbox lub WME Color Highlights',
  1101. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Własny szablon</a>',
  1102. 'custom.template.tip':
  1103. '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}',
  1104. 'custom.template.example': 'Przykład ${street}',
  1105. 'custom.regexp.text': 'Własne <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1106. 'custom.regexp.tip':
  1107. '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/',
  1108. 'custom.regexp.example': 'Przykład: !/.+/',
  1109. 'about.tip': 'Otwórz link w nowej karcie',
  1110. 'button.reset.text': 'Resetuj domyślne',
  1111. 'button.reset.tip': 'Przywróć opcje filtrowania i ustawienia na domyślne',
  1112. 'button.list.text': 'Dostępne sprawdzenia...',
  1113. 'button.list.tip': 'Wyświetl listę sprawdzeń dostępnych w WME Validatorze',
  1114. 'button.wizard.tip': 'Stwórz paczkę językową',
  1115. 'button.back.text': 'Powrót',
  1116. 'button.back.tip': 'Zamknij ustawienia i wróć do głównego widoku',
  1117. '1.title': 'WME Toolbox: Rondo może powodować problemy',
  1118. '1.problem': 'ID węzłów ronda nie są w kolejności',
  1119. '1.solution': 'Stwórz rondo na nowo',
  1120. '2.title': 'WME Toolbox: Pojedynczy segment',
  1121. '2.problem': 'Segment ma niepotrzebne węzły',
  1122. '2.solution': 'Uprość geometrię segmentu przez najechanie myszką i naciśnięcie przycisku "d"',
  1123. '3.title': 'WME Toolbox: Blokada na 2 poziom',
  1124. '3.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1125. '4.title': 'WME Toolbox: Blokada na 3 poziom',
  1126. '4.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1127. '5.title': 'WME Toolbox: Blokada na 4 poziom',
  1128. '5.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1129. '6.title': 'WME Toolbox: Blokada na 5 poziom',
  1130. '6.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1131. '7.title': 'WME Toolbox: Blokada na 6 poziom',
  1132. '7.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1133. '8.title': 'WME Toolbox: Numery domów',
  1134. '8.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1135. '9.title': 'WME Toolbox: Segment z ograniczeniami czasowymi',
  1136. '9.problem': 'Segment jest podświetlony przez WME Toolbox. To nie jest problem',
  1137. '13.title': 'WME Color Highlights: Blokada edytora',
  1138. '13.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1139. '14.title': 'WME Color Highlights: Płatna / Jednokierunkowa',
  1140. '14.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1141. '15.title': 'WME Color Highlights: Ostatnio edytowane',
  1142. '15.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1143. '16.title': 'WME Color Highlights: Ranga drogi',
  1144. '16.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1145. '17.title': 'WME Color Highlights: Brak miasta',
  1146. '17.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1147. '18.title': 'WME Color Highlights: Ograniczenie czasowe / Podświetlony typ drogi',
  1148. '18.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1149. '19.title': 'WME Color Highlights: Brak nazwy',
  1150. '19.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1151. '20.title': 'WME Color Highlights: Filtruj po mieście',
  1152. '20.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1153. '21.title': 'WME Color Highlights: Filtruj po mieście (alt. miasto)',
  1154. '21.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1155. '22.title': 'WME Color Highlights: Filtruj po edytorzer',
  1156. '22.problem': 'Segment jest podświetlony przez WME Color Highlights. To nie jest problem',
  1157. '23.solutionLink': 'W:Drogi',
  1158. '23.title': 'Niepotwierdzona droga',
  1159. '23.problem': 'Każdy segment musi mieć przynajmniej Państwo i Stan',
  1160. '23.solution': 'Potwierdź drogę, aktualizując jej szczegóły',
  1161. '24.title': 'Prawdopodobnie błędna nazwa miasta (tylko w raporcie)',
  1162. '24.problem': 'Segment może zawierać błędną nazwę miasta',
  1163. '24.solution': 'Rozważ zaproponowaną nazwę i użyj tego formularza do zmiany nazwy miasta',
  1164. '25.title': 'Nieznana kierunkowość przejezdnej drogi',
  1165. '25.problem': '\'Nieznana\' kierunkowość drogi, nie zapobiegnie wyznaczaniu tędy trasy',
  1166. '25.solution': 'Ustaw kierunkowość drogi',
  1167. '27.enabled': true,
  1168. '27.problemLink': 'W:Drogi#Tory.2C_szyny',
  1169. '27.title': 'Nazwa miasta na Torach',
  1170. '27.problem': 'Nazwa miasta na Torach, szynach',
  1171. '27.solution': 'Zaznacz pole \'brak\' przy nazwie miasta',
  1172. '28.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1173. '28.title': 'Nazwa ulicy na dwukierunkowym zjeździe',
  1174. '28.problem': 'Jeśli zjazd jest nienazwany, wyświetli się nazwa docelowej drogi',
  1175. '28.solution': 'Zmień nazwę ulicy na \'brak\'',
  1176. '29.problemLink': 'W:Drogi#Rondo',
  1177. '29.title': 'Nazwa ulicy na rondzie',
  1178. '29.problem': 'W Waze nie nazywamy segmentów ronda',
  1179. '29.solution': 'Zmień nazwę ulicy na \'brak\', a następnie dodaj punkt orientacyjny \'Węzeł drogowy\', żeby nazwać rondo',
  1180. '34.title': 'Pusta nazwa alternatywna',
  1181. '34.problem': 'Alternatywna nazwa ulicy jest pusta',
  1182. '34.solution': 'Usuń pustą nazwę alternatywną ulicy',
  1183. '35.title': 'Niezakończona droga',
  1184. '35.problem': 'Waze nie poprowadzi z niezakończonego segmentu',
  1185. '35.solution': 'Przesuń trochę segment, żeby pojawił się kończący węzeł',
  1186. '36.title': 'Węzeł A: Niepotrzebny (slow)',
  1187. '36.problem': 'Segmenty spotykające się w węźle A są identyczne',
  1188. '36.solution': 'Wybierz węzeł A i naciśnij przycisk Delete, by połączyć segmenty',
  1189. '37.title': 'Węzeł B: Niepotrzebny (slow)',
  1190. '37.problem': 'Segmenty spotykające się w węźle B są identyczne',
  1191. '37.solution': 'Wybierz węzeł B i naciśnij przycisk Delete, by połączyć segmenty',
  1192. '38.title': 'Upłynął czas ograniczenia segmentu (slow)',
  1193. '38.problem': 'Segment zawiera wygasłe ograniczenie',
  1194. '38.solution': 'Kliknij \'Edytuj ograniczenia\' i usuń wygasłe ograniczenie',
  1195. '39.title': 'Wygasłe ograniczenie skrętu (slow)',
  1196. '39.problem': 'Segment ma skręt z wygasłym ograniczeniem',
  1197. '39.solution': 'Kliknij ikonę zegara obok żółtej strzałki i usuń wygasłe ograniczenie',
  1198. '41.title': 'Węzeł A: Odwrócona łączność przejezdnej drogi',
  1199. '41.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle A',
  1200. '41.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (A→B)\'',
  1201. '42.title': 'Węzeł B: Odwrócona łączność przejezdnej drogi',
  1202. '42.problem': 'Jeden ze skrętów prowadzi naprzeciw kierunkowi segmentu, w węźle B',
  1203. '42.solution': 'Ustaw segment \'Dwukierunkowy\', zablokuj wszystkie skręty w węźle A i ponownie ustaw \'Jednokierunkowa (B→A)\'',
  1204. '43.title': 'Połączenie ze sobą',
  1205. '43.problem': 'Segment łączy się sam ze sobą',
  1206. '43.solution': 'Podziel segment na TRZY części',
  1207. '46.title': 'SLOW: Brak wjazdu na węźle A',
  1208. '46.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1209. '46.solution': 'Rozważ możliwość wjazdu na węźle A',
  1210. '47.title': 'SLOW: Brak wjazdu na węźle B',
  1211. '47.problem': 'Przejezdny segment nie ma wjazdu na węźle A',
  1212. '47.solution': 'Rozważ możliwość wjazdu na węźle A',
  1213. '48.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1214. '48.title': 'Dwukierunkowy segment ronda',
  1215. '48.problem': 'Segment ronda jest dwukierunkowy',
  1216. '48.solution': 'Stwórz rondo od nowa',
  1217. '50.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1218. '52.enabled': true,
  1219. '52.solutionLink': 'W:Tabela_skrótów',
  1220. '52.title': 'Za długa nazwa ulicy',
  1221. '52.problem': 'Nazwa przejezdnego segmentu jest dłuższa niż ${n} liter i nie jest Rampą',
  1222. '52.solution': 'Consider an abbreviation for the street name according to this table',
  1223. '52.params': {'n': 35},
  1224. '57.enabled': true,
  1225. '57.problemLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1226. '57.title': 'Nazwa miasta na nazwanym zjeździe',
  1227. '57.problem': 'Nazwa miasta na nazwanym zjeździe może wpłynąć na wyniki wyszukiwania',
  1228. '57.solution': 'Zmień nazwę miasta na \'brak\'',
  1229. '59.enabled': true,
  1230. '59.problemLink': 'W:Drogi#Autostrada_.2F_Droga_ekspresowa',
  1231. '59.title': 'Nazwa miasta na Autostradzie',
  1232. '59.problem': 'Nazwa miasta na Autostradzie, może spowodować że obszar miasta się rozciągnie',
  1233. '59.solution': 'W danych adresowych ustaw \'Brak\' obok nazwy miasta i kliknij \'Zatwierdź\'',
  1234. '73.enabled': true,
  1235. '73.title': 'Za krótka nazwa ulicy',
  1236. '73.problem': 'Nazwa ulicy jest krótsza niż ${n} liter i nie jest autostradą',
  1237. '73.solution': 'Popraw nazwę ulicy',
  1238. '74.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1239. '78.title': 'SLOW: Takie same punkty końcowe segmentów',
  1240. '78.problem': 'Dwa przejezdne segmenty mają takie same punkty końcowe',
  1241. '78.solution': 'Podziel segment. Możesz także usunąć segment, jeśli są identyczne',
  1242. '79.problemLink': 'W:Skrzyżowania#Najlepsze_praktyki_dla_r.C3.B3.C5.BCnych_typ.C3.B3w_skrzy.C5.BCowa.C5.84',
  1243. '87.problemLink': 'W:Drogi#Rondo',
  1244. '87.solutionLink': 'W:Ronda#Poprawianie_rond_naniesionych_r.C4.99cznie',
  1245. '87.title': 'Więcej niż jeden segment wychodzący z węzła A na rondzie',
  1246. '87.problem': 'Węzeł A na rondzie ma podłączony więcej niż jeden segment wychodzący',
  1247. '87.solution': 'Utwórz rondo ponownie',
  1248. '99.title': 'Nawrót na wjeździe na rondo (slow)',
  1249. '99.problem': 'Segment wjazdu na rondo ma włączoną możliwość zawracania',
  1250. '99.solution': 'Wyłącz nawrót',
  1251. '101.params': {'regexp': '/(^|\\b)remont(\\b|$)/i'},
  1252. '101.title': 'Droga zamknięta (dostępne tylko w raporcie)',
  1253. '101.problem': 'Segment jest oznaczony jako zamknięty',
  1254. '101.solution': 'Gdy remont się skończy, przywróć połączenia segmentu i usuń przyrostek',
  1255. '102.title': 'SLOW: Brak wyjazdu na węźle A',
  1256. '102.problem': 'Przejezdny segment nie ma wyjazdu na węźle A',
  1257. '102.solution': 'Rozważ możliwość wyjazdu na węźle A',
  1258. '103.title': 'SLOW: Brak wyjazdu na węźle B',
  1259. '103.problem': 'Przejezdny segment nie ma wyjazdu na węźle B',
  1260. '103.solution': 'Rozważ możliwość wyjazdu na węźle B',
  1261. '104.title': 'Tory użyte dla komentarzy',
  1262. '104.problem': 'Tory są prawdopodobnie użyte do komentarzy na mapie',
  1263. '104.solution': 'Usuń komentarze, ponieważ Tory będą wyświetlane w aplikacji',
  1264. '105.enabled': true,
  1265. '105.title': 'Ścieżka zamiast Torów',
  1266. '105.problem': 'Ścieżka o wysokości -5 jest zapewne użyta zamiast Torów',
  1267. '105.solution': 'Zmień typ drogi na Tory, by wyświetliły się w aplikacji',
  1268. '107.title': 'SLOW: Brak połączenia w węźle A',
  1269. '107.problem': 'Węzeł A segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1270. '107.solution': 'Przeciągnij węzeł A na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1271. '108.title': 'SLOW: Brak połączenia w węźle B',
  1272. '108.problem': 'Węzeł B segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem',
  1273. '108.solution': 'Przeciągnij węzeł B na najbliższy segment, by się dotykały, lub odsuń go dalej',
  1274. '109.title': 'Za krótki segment',
  1275. '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',
  1276. '109.solution': 'Zwiększ długość, usuń segment lub połącz go z jednym z przyległych segmentów',
  1277. '112.title': 'Za długa nazwa Rampy',
  1278. '112.problem': 'Nazwa Rampy jest dłuższa niż ${n} liter',
  1279. '112.solution': 'Skróć nazwę Rampy',
  1280. '114.title': 'Węzeł A: Nieprzejezdna połączona z przejezdną (slow)',
  1281. '114.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle A',
  1282. '114.solution': 'Odłącz węzeł A od wszystkich przejezdnych segmentów',
  1283. '115.title': 'Węzeł B: Nieprzejezdna połączona z przejezdną (slow)',
  1284. '115.problem': 'Nieprzejezdny segment tworzy skrzyżowanie z przejezdnym na węźle B',
  1285. '115.solution': 'Odłącz węzeł B od wszystkich przejezdnych segmentów',
  1286. '116.title': 'Poza skalą poziomu/wysokości',
  1287. '116.problem': 'Poziom/wysokość segmentu są poza skalą',
  1288. '116.solution': 'Popraw poziom/wysokość',
  1289. '117.title': 'Przestarzały znacznik CONST ZN',
  1290. '117.problem': 'Segmeny jest oznaczony przestarzałym przyrostkiem CONST ZN',
  1291. '117.solution': 'Zmień CONST ZN na (zamknięte)',
  1292. '118.title': 'Węzeł A: Nakładające się segmenty (slow)',
  1293. '118.problem': 'Segment pokrywa się z sąsiadującym, w węźle A',
  1294. '118.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle A',
  1295. '119.title': 'Węzeł B: Nakładające się segmenty (slow)',
  1296. '119.problem': 'Segment pokrywa się z sąsiadującym, w węźle B',
  1297. '119.solution': 'Rozszerz segmenty do 2°, usuń niepotrzebny punkt geometrii lub cały podwójny segment w węźle B',
  1298. '120.title': 'Węzeł A: Za ostry skręt (slow)',
  1299. '120.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle A',
  1300. '120.solution': 'Wyłącz ostry skręt na węźle A lub rozszerz segmenty do 30°',
  1301. '121.title': 'Węzeł B: Za ostry skręt (slow)',
  1302. '121.problem': 'Przejezdny segment ma bardzo ostry skręt na węźle B',
  1303. '121.solution': 'Wyłącz ostry skręt na węźle B lub rozszerz segmenty do 30°',
  1304. '128.title': 'Własne sprawdzenie (zielone)',
  1305. '128.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1306. '128.solution': 'Rozwiąż ten problem',
  1307. '129.title': 'Własne sprawdzenie (niebieskie)',
  1308. '129.problem': 'Niektóre właściwości segmentu są przeciwko ustawionemu przez użytkownika wyrażeniu regularnemu (Ustawienia→Własne)',
  1309. '129.solution': 'Rozwiąż ten problem',
  1310. '161.enabled': true,
  1311. '161.params':
  1312. {'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'},
  1313. '161.problemLink': 'W:Drogi#Droga_krajowa',
  1314. '161.title': 'Numer DK w nazwie ulicy',
  1315. '161.problem': 'Nazwa ulicy zawiera numer DK',
  1316. '161.solution': 'Usuń przedrostek z nazwy ulicy',
  1317. '162.enabled': true,
  1318. '162.params':
  1319. {'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'},
  1320. '162.problemLink': 'W:Drogi#Droga_wojew.C3.B3dzka',
  1321. '162.title': 'Numer DW w nazwie ulicy',
  1322. '162.problem': 'Nazwa ulicy zawiera numer DW',
  1323. '162.solution': 'Usuń przedrostek z nazwy ulicy',
  1324. '163.enabled': true,
  1325. '163.params': {
  1326. 'titleEN': '\'Węzel\' in Ramp name',
  1327. 'problemEN': 'The Ramp name contains word \'węzel\'',
  1328. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  1329. 'regexp': '/węze[lł]/i'
  1330. },
  1331. '163.solutionLink': 'W:Drogi#Wjazd.2Fzjazd_bezkolizyjny',
  1332. '163.title': '\'Węzel\' w nazwie zjazdu',
  1333. '163.problem': 'Zjazd zawiera w nazwie słowo \'węzel\'',
  1334. '163.solution': 'Zmień nazwę zjazdu zgodnie z wytycznymi',
  1335. '167.enabled': true,
  1336. '167.params': {
  1337. 'titleEN': 'Incorrect Railroad name',
  1338. 'problemEN': 'The Railroad name is not \'PKP\', \'SKM\' or \'MPK\'',
  1339. '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\'',
  1340. 'regexp': '!/^(PKP|MPK|SKM|Tramwaje Śląskie)$/'
  1341. },
  1342. '167.solutionLink': 'W:Drogi#Tory.2C_szyny',
  1343. '167.title': 'Nieprawidłowa nazwa Torów',
  1344. '167.problem': 'Segment Torów ma nieprawidłową nazwę',
  1345. '167.solution': 'Zmień nazwę segmentu zgodnie z wytycznymi',
  1346. '169.enabled': true,
  1347. '169.params': {
  1348. 'titleEN': '\'Rondo\' or \'ulica\' in street name',
  1349. 'problemEN': 'The street name contains word \'rondo\' or \'ulica\'',
  1350. 'solutionEN':
  1351. '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\'',
  1352. 'regexp': '/rondo |ulica/i'
  1353. },
  1354. '169.solutionLink': 'W:Drogi#Rondo',
  1355. '169.title': '\'Rondo\' lub \'ulica\' w nazwie ulicy',
  1356. '169.problem': 'Nazwa ulicy zawiera słowo \'rondo\' lub \'ulica\'',
  1357. '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',
  1358. '171.enabled': true,
  1359. '171.params': {
  1360. 'regexp':
  1361. '/(^| )(?!(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\\.)[^ ]+\\./'
  1362. },
  1363. '171.solutionLink': 'W:Tabela_skrótów',
  1364. '171.title': 'Nieprawidłowy skrót w nazwie ulicy',
  1365. '171.problem': 'Nazwa ulicy zawiera nieprawidłowy skrót',
  1366. '171.solution': 'Sprawdź wielkie/małe litery, przerwę przed/po skrócie i zgodność z tą tabelą',
  1367. '172.title': 'Niepotrzebne spacje w nazwie ulicy',
  1368. '172.problem': 'Spacja na początku, końcu lub podwójna w nazwie ulicy',
  1369. '172.solution': 'Usuń niepotrzebne spacje z nazwy ulicy',
  1370. '173.title': 'Nazwa ulicy bez spacji przed lub po skrócie',
  1371. '173.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie ulicy',
  1372. '173.solution': 'Dodaj spację przed/po skrócie',
  1373. '175.title': 'Nazwa ulicy złożona z samych spacji',
  1374. '175.problem': 'Nazwa ulicy zawiera tylko spacje',
  1375. '175.solution': 'Zmień nazwę ulicy na \'Brak\' lub nazwij odpowiednio ulicę',
  1376. '190.title': 'Nazwa miasta małą literą',
  1377. '190.problem': 'Nazwa miasta zaczyna się od małej litery',
  1378. '190.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1379. '192.title': 'Niepotrzebne spacje w nazwie miasta',
  1380. '192.problem': 'Spacja na początku, końcu lub podwójna w nazwie miasta',
  1381. '192.solution': 'Użyj tego formularza, by zmienić nazwę miasta',
  1382. '193.title': 'Brak spacji przed/po skrócie miasta',
  1383. '193.problem': 'Brak spacji przed (\'1943r.\') lub po (\'st.Jan\') skrócie w nazwie miasta',
  1384. '193.solution': 'Użyj tej formy, by zmienić nazwę miasta',
  1385. '200.problemLink': 'W:Skrzyżowania#Ograniczenia_skr.C4.99t.C3.B3w',
  1386. '200.title': 'Węzeł A: Wstępnie dopuszczony lub zakazany skręt na przejezdnej drodze',
  1387. '200.problem': 'Segment ma niepotwierdzony skręt na węźle A',
  1388. '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',
  1389. '201.title': 'Węzeł A: Niepotwierdzony skręt na głównej drodze',
  1390. '201.problem': 'Segment drogi głównej ma niepotwierdzony skręt na węźle A',
  1391. '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'
  1392. },
  1393. 'NZ': {'.codeISO': 'NZ', '.country': 'New Zealand'},
  1394. 'NL':
  1395. {
  1396. '.codeISO': 'NL',
  1397. '.country': 'Netherlands',
  1398. '.author': 'davidakachaos',
  1399. '.updated': '2018-08-01',
  1400. '.fallbackCode': 'BE',
  1401. '.lng': 'NL',
  1402. 'city.consider.en': 'consider this city name:',
  1403. 'city.consider': 'overweeg deze plaatsnaam:',
  1404. 'city.1.en': 'city name is too short',
  1405. 'city.1': 'plaatsnaam te kort',
  1406. 'city.2.en': 'expand the abbreviation',
  1407. 'city.2': 'De afkorting uitbreiden',
  1408. 'city.3.en': 'complete short name',
  1409. 'city.3': 'maak de korte naam compleet',
  1410. 'city.4.en': 'complete city name',
  1411. 'city.4': 'plaatsnaam aanvullen',
  1412. 'city.5.en': 'correct letter case',
  1413. 'city.5': 'juist hoofdlettergebruik',
  1414. 'city.6.en': 'check word order',
  1415. 'city.6': 'controleer woord volgorde',
  1416. 'city.7.en': 'check abbreviations',
  1417. 'city.7': 'controleer afkortingen',
  1418. 'city.8a.en': 'add county name',
  1419. 'city.8a': 'land naam toevoegen',
  1420. 'city.8r.en': 'remove county name',
  1421. 'city.8r': 'land naam verwijderen',
  1422. 'city.9.en': 'check county name',
  1423. 'city.9': 'controleer land naam',
  1424. 'city.10a.en': 'add a word',
  1425. 'city.10a': 'woord toevoegen',
  1426. 'city.10r.en': 'remove a word',
  1427. 'city.10r': 'woord verwijderen',
  1428. 'city.11.en': 'add county code',
  1429. 'city.11': 'landcode toevoegen',
  1430. 'city.12.en': 'identical names, but different city IDs',
  1431. 'city.12': 'identieke namen, maar verschillende plaats IDs',
  1432. 'city.13a.en': 'add a space',
  1433. 'city.13a': 'spatie invoegen',
  1434. 'city.13r.en': 'remove a space',
  1435. 'city.13r': 'spatie verwijderen',
  1436. 'city.14.en': 'check the number',
  1437. 'city.14': 'controleer het nummer',
  1438. 'props.skipped.title.en': 'The segment is not checked',
  1439. 'props.skipped.title': 'Dit segment is niet gecontroleerd',
  1440. 'props.skipped.problem.en': 'The segment is modified after 2014-05-01 AND locked for you, so Validator did not check it',
  1441. 'props.skipped.problem': 'Dit segment is na 2014-05-01 aangepast EN voor jou gelockt, Validator heeft dit niet gecontroleerd',
  1442. 'err.regexp.en': 'Error parsing option for check #${n}:',
  1443. 'err.regexp': 'Fout bij het verwerken van de opties voor de controle #${n}:',
  1444. 'props.disabled.en': 'WME Validator is disabled',
  1445. 'props.disabled': 'WME Validator is uitgeschakeld',
  1446. 'props.limit.title.en': 'Too many issues reported',
  1447. 'props.limit.title': 'Te veel problemen gevonden',
  1448. 'props.limit.problem.en': 'There are too many issues reported, so some of them might not be shown',
  1449. 'props.limit.problem': 'Er zijn te veel problemen gemeld, daarom wordt een aantal van hen niet getoond',
  1450. 'props.limit.solution.en': 'Deselect the segment and stop scanning process. Then click red \'✘\' (Clear report) button',
  1451. 'props.limit.solution': 'Deselecteer het segment en stop het scanproces. Klik dan op de rode \'✘\' (Clear report) knop',
  1452. 'props.reports.en': 'reports',
  1453. 'props.reports': 'meldingen',
  1454. 'props.noneditable.en': 'You cannot edit this segment',
  1455. 'props.noneditable': 'Je kunt dit segment niet bewerken',
  1456. 'report.save.en': 'Save this report',
  1457. 'report.save': 'Sla dit rapport op',
  1458. 'report.list.andUp.en': 'and up',
  1459. 'report.list.andUp': 'en meer',
  1460. 'report.list.severity.en': 'Severity:',
  1461. 'report.list.severity': 'Hevigheid:',
  1462. 'report.list.reportOnly.en': 'only in report',
  1463. 'report.list.reportOnly': 'alleen in rapportage',
  1464. 'report.list.forEditors.en': 'For editors level:',
  1465. 'report.list.forEditors': 'Voor bewerkers niveau:',
  1466. 'report.list.forCountries.en': 'For countries:',
  1467. 'report.list.forCountries': 'Voor landen:',
  1468. 'report.list.forStates.en': 'For states:',
  1469. 'report.list.forStates': 'Voor provincies:',
  1470. 'report.list.forCities.en': 'For cities:',
  1471. 'report.list.forCities': 'Voor steden:',
  1472. 'report.list.params.en': 'Params to configure in localization pack:',
  1473. 'report.list.params': 'Parameters om te configureren in lokalisatie:',
  1474. 'report.list.params.set.en': 'Current configuration for ${country}:',
  1475. 'report.list.params.set': 'Huidige configuratie voor ${country}:',
  1476. 'report.list.enabled.en': '${n} checks are enabled for',
  1477. 'report.list.enabled': '${n} controles zijn actief voor',
  1478. 'report.list.disabled.en': '${n} checks are disabled for',
  1479. 'report.list.disabled': '${n} controles zijn uitgeschakeld voor',
  1480. 'report.list.total.en': 'There are ${n} checks available',
  1481. 'report.list.total': 'Er zijn ${n} controles beschikbaar',
  1482. 'report.list.title.en': 'Complete List of Checks for',
  1483. 'report.list.title': 'Complete lijst met controles voor',
  1484. 'report.list.see.en': 'See',
  1485. 'report.list.see': 'Zie',
  1486. 'report.list.checks.en': 'Settings->About->Available checks',
  1487. 'report.list.checks': 'Instellingen->Over->Beschikbare controles',
  1488. 'report.list.fallback.en': 'Localization Fallback Rules:',
  1489. 'report.list.fallback': 'Lokalisatie terugval regels:',
  1490. 'report.and.en': 'and',
  1491. 'report.and': 'en',
  1492. 'report.segments.en': 'Total number of segments checked:',
  1493. 'report.segments': 'Totaal aantal gecontroleerde segmenten:',
  1494. 'report.customs.en': 'Custom checks matched (green/blue):',
  1495. 'report.customs': 'Er is een match aangepaste controles (groen/blauw):',
  1496. 'report.reported.en': 'Reported',
  1497. 'report.reported': 'Gerapporteerd',
  1498. 'report.errors.en': 'errors',
  1499. 'report.errors': 'fouten',
  1500. 'report.warnings.en': 'warnings',
  1501. 'report.warnings': 'waarschuwingen',
  1502. 'report.notes.en': 'notes',
  1503. 'report.notes': 'notities',
  1504. 'report.link.wiki.en': 'wiki',
  1505. 'report.link.wiki': 'wiki',
  1506. 'report.link.forum.en': 'forum',
  1507. 'report.link.forum': 'forum',
  1508. 'report.link.other.en': 'link',
  1509. 'report.link.other': 'link',
  1510. 'report.contents.en': 'Contents:',
  1511. 'report.contents': 'Inhoud:',
  1512. 'report.summary.en': 'Summary',
  1513. 'report.summary': 'Samenvatting',
  1514. 'report.title.en': 'WME Validator Report',
  1515. 'report.title': 'WME Validator Rapport',
  1516. 'report.share.en': 'to Share',
  1517. 'report.share': 'om te delen',
  1518. 'report.generated.by.en': 'generated by',
  1519. 'report.generated.by': 'gegenereerd door',
  1520. 'report.generated.on.en': 'on',
  1521. 'report.generated.on': 'op',
  1522. 'report.source.en': 'Report source:',
  1523. 'report.source': 'Rapportbron:',
  1524. 'report.filter.duplicate.en': 'duplicate segments',
  1525. 'report.filter.duplicate': 'dubbele segmenten',
  1526. 'report.filter.streets.en': 'Streets and Service Roads',
  1527. 'report.filter.streets': 'Straten en dienstwegen',
  1528. 'report.filter.other.en': 'Other drivable and Non-drivable',
  1529. 'report.filter.other': 'Andere berijdbare en niet berijdbare',
  1530. 'report.filter.noneditable.en': 'non-editable segments',
  1531. 'report.filter.noneditable': 'niet-bewerkbare segmenten',
  1532. 'report.filter.notes.en': 'notes',
  1533. 'report.filter.notes': 'notities',
  1534. 'report.filter.title.en': 'Filter:',
  1535. 'report.filter.title': 'Filter:',
  1536. 'report.filter.excluded.en': 'are excluded from this report.',
  1537. 'report.filter.excluded': 'zijn uitgezonderd van dit rapport.',
  1538. 'report.search.updated.by.en': 'updated by',
  1539. 'report.search.updated.by': 'bijgewerkt door',
  1540. 'report.search.updated.since.en': 'updated since',
  1541. 'report.search.updated.since': 'bijgewerkt sinds',
  1542. 'report.search.city.en': 'from',
  1543. 'report.search.city': 'van',
  1544. 'report.search.reported.en': 'reported as',
  1545. 'report.search.reported': 'gemeld',
  1546. 'report.search.title.en': 'Search:',
  1547. 'report.search.title': 'Zoeken:',
  1548. 'report.search.only.en': 'only segments',
  1549. 'report.search.only': 'alleen segmenten',
  1550. 'report.search.included.en': 'are included into the report.',
  1551. 'report.search.included': 'zijn opgenomen in het rapport.',
  1552. 'report.beta.warning.en': 'WME Beta Warning!',
  1553. 'report.beta.warning': 'WME Beta Waarschuwing!',
  1554. 'report.beta.text.en': 'This report is generated in beta WME with beta permalinks.',
  1555. 'report.beta.text': 'Dit rapport is gegenereerd in beta WME met bèta permalinks.',
  1556. 'report.beta.share.en': 'Please do not share those permalinks!',
  1557. 'report.beta.share': 'Gelieve deze permalinks niet te delen!',
  1558. 'report.size.warning.en':
  1559. '<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.',
  1560. 'report.size.warning':
  1561. '<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.',
  1562. 'report.note.limit.en': '* Note: there were too many issues reported, so some of them are not counted in the summary.',
  1563. 'report.note.limit': '* Let op: er waren te veel problemen gemeld, zodat een aantal van hen worden niet meegeteld in de samenvatting.',
  1564. 'report.forum.en': 'To motivate further development please leave your comment on the',
  1565. 'report.forum': 'Om verdere ontwikkeling te motiveren laat dan je commentaar achter op de',
  1566. 'report.forum.link.en': 'Waze forum thread.',
  1567. 'report.forum.link': 'Waze forum thread.',
  1568. 'report.thanks.en': 'Thank you for using WME Validator!',
  1569. 'report.thanks': 'Dank u voor het gebruik van de WME Validator!',
  1570. 'msg.limit.segments.en': 'There are too many segments.\n\nClick \'Show report\' to review the report, then\n',
  1571. 'msg.limit.segments': 'Er zijn te veel segmenten.\n\nKlik op \'Toon rapport\' om het rapport door te nemen, vervolgens\n',
  1572. 'msg.limit.segments.continue.en': 'click \'▶\' (Play) to continue.',
  1573. 'msg.limit.segments.continue': 'klik \'▶\' (Play) om verder te gaan.',
  1574. 'msg.limit.segments.clear.en': 'click \'✘\' (Clear) to clear the report.',
  1575. 'msg.limit.segments.clear': 'klik \'✘\' (Löschen) om het rapport te verwijderen.',
  1576. 'msg.pan.text.en': 'Pan around to validate the map',
  1577. 'msg.pan.text': 'Schuif de kaart rond om de kaart te valideren',
  1578. 'msg.zoomout.text.en': 'Zoom out to start WME Validator',
  1579. 'msg.zoomout.text': 'Uitzoomen om WME Validator te beginnen',
  1580. 'msg.click.text.en': 'Click \'▶\' (Play) to validate visible map area',
  1581. 'msg.click.text': 'Klik \'▶\' (Play), om het zichtbare gebied op de kaart te valideren',
  1582. 'msg.autopaused.en': 'autopaused',
  1583. 'msg.autopaused': 'automatisch gepauzeerd',
  1584. 'msg.autopaused.text.en': 'Auto paused! Click \'▶\' (Play) to continue.',
  1585. 'msg.autopaused.text': 'Automatisch gepauzeerd! Om door te gaan klik op \'▶\' (Play).',
  1586. 'msg.autopaused.tip.en': 'WME Validator automatically paused on map drag or window size change',
  1587. 'msg.autopaused.tip': 'WME Validator is automatisch onderbroken wegen het verschuiven van de kaart of door een aanpassing van de venstergrootte',
  1588. 'msg.finished.text.en': 'Click <b>\'Show report\'</b> to review map issues',
  1589. 'msg.finished.text': 'Klik <b>\'Toon rapport\'</b> om kaart problemen te beoordelen',
  1590. 'msg.finished.tip.en': 'Click \'✉\' (Share) button to post report on a\nforum or in a private message',
  1591. 'msg.finished.tip': 'Klik op \'✉\' (Delen) om het rapport op een\nforum of privebericht te plaatsen',
  1592. 'msg.noissues.text.en': 'Finished! No issues found!',
  1593. 'msg.noissues.text': 'Klaar! Geen problemen gevonden!',
  1594. 'msg.noissues.tip.en': 'Try to uncheck some filter options or start WME Validator over another map area!',
  1595. 'msg.noissues.tip': 'Probeer een aantal filteropties uit te vinken of start WME Validator over een ander gebied op de kaart!',
  1596. 'msg.scanning.text.en': 'Scanning! Finishing in ~ ${n} min',
  1597. 'msg.scanning.text': 'Scannen! Klaar over ~ ${n} min',
  1598. 'msg.scanning.text.soon.en': 'Scanning! Finishing in a minute!',
  1599. 'msg.scanning.text.soon': 'Scannen! Klaar binnen een minuut!',
  1600. 'msg.scanning.tip.en': 'Click \'Pause\' button to pause or \'■\' (Stop) to stop',
  1601. 'msg.scanning.tip': 'Klik op \'pauze\' knop om te pauzeren of \'■\' (Stop) om te stoppen',
  1602. 'msg.starting.text.en': 'Starting! Layers are off to scan faster!',
  1603. 'msg.starting.text': 'Begonnen! Layers zijn uitgeschakeld om sneller te scannen!',
  1604. 'msg.starting.tip.en': 'Use \'Pause\' button to pause or \'■\' button to stop',
  1605. 'msg.starting.tip': 'Gebruik de \'Pause\' knop om te pauzeren of \'■\' knop om te stoppen',
  1606. 'msg.paused.text.en': 'On pause! Click \'▶\' (Play) button to continue.',
  1607. 'msg.paused.text': 'Gepauzeerd! Klik op \'▶\' (Play) knop om door te gaan.',
  1608. 'msg.paused.tip.en': 'To view the report click \'Show report\' button (if available)',
  1609. 'msg.paused.tip': 'Om het rapport te bekijken klik je op de \'Toon rapport\' knop (indien beschikbaar)',
  1610. 'msg.continuing.text.en': 'Continuing!',
  1611. 'msg.continuing.text': 'Doorgaan!',
  1612. 'msg.continuing.tip.en': 'WME Validator will continue from the location it was paused',
  1613. 'msg.continuing.tip': 'WME Validator zal doorgaan van de locatie waar het werd onderbroken',
  1614. 'msg.settings.text.en': 'Click <b>\'Back\'</b> to return to main view',
  1615. 'msg.settings.text': 'Klik <b>\'Terug\'</b> om terug te keren naar hoofdweergave',
  1616. 'msg.settings.tip.en': 'Click \'Reset defaults\' button to reset all settings in one click!',
  1617. 'msg.settings.tip': 'Klik op \'Herstel standaardinstellingen\' knop om alle instellingen in één klik resetten!',
  1618. 'msg.reset.text.en': 'All filter options and settings have been reset to their defaults',
  1619. 'msg.reset.text': 'Alle filter opties en instellingen zijn terug gezet naar de standaardwaarden',
  1620. 'msg.reset.tip.en': 'Click \'Back\' button to return to main view',
  1621. 'msg.reset.tip': 'Klik <b>\'Terug\'</b> om terug te keren naar de hoofdweergave',
  1622. 'msg.textarea.pack.en':
  1623. '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',
  1624. 'msg.textarea.pack':
  1625. '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',
  1626. 'msg.textarea.en': 'Please copy the text below and then paste it into your forum post or private message',
  1627. 'msg.textarea': 'Kopieer de onderstaande tekst en plak deze in je forum post of privebericht',
  1628. 'noaccess.text.en':
  1629. '<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.',
  1630. 'noaccess.text':
  1631. '<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>.',
  1632. 'noaccess.tip.en': 'Please check the forum thread for more information!',
  1633. 'noaccess.tip': 'Controleer de forum thread voor meer informatie!',
  1634. 'tab.switch.tip.on.en': 'Click to switch highlighting on (Alt+V)',
  1635. 'tab.switch.tip.on': 'Klik om het markeren aan te schakelen (Alt + V)',
  1636. 'tab.switch.tip.off.en': 'Click to switch highlighting off (Alt+V)',
  1637. 'tab.switch.tip.off': 'Klik om het markeren uit te schakelen (Alt+V)',
  1638. 'tab.filter.text.en': 'filter',
  1639. 'tab.filter.text': 'filter',
  1640. 'tab.filter.tip.en': 'Options to filter the report and highlighted segments',
  1641. 'tab.filter.tip': 'Opties om het rapport te filteren en gemarkeerd segmenten',
  1642. 'tab.search.text.en': 'search',
  1643. 'tab.search.text': 'zoeken',
  1644. 'tab.search.tip.en': 'Advanced filter options to include only specific segments',
  1645. 'tab.search.tip': 'Geavanceerde filteropties om alleen specifieke segmenten op te nemen',
  1646. 'tab.help.text.en': 'help',
  1647. 'tab.help.text': 'help',
  1648. 'tab.help.tip.en': 'Need help?',
  1649. 'tab.help.tip': 'Hulp nodig?',
  1650. 'filter.noneditables.text.en': 'Exclude <b>non-editable</b> segments',
  1651. 'filter.noneditables.text': 'Negeer <b>niet-bewerkbare</b> segmenten',
  1652. 'filter.noneditables.tip.en': 'Do not report locked segments or\nsegments outside of your editable areas',
  1653. 'filter.noneditables.tip': 'Rapporteer geen beveiligde segmenten of\nsegmenten buiten het gebied waar je mag bewerken',
  1654. 'filter.duplicates.text.en': 'Exclude <b>duplicate</b> segments',
  1655. 'filter.duplicates.text': '<b>Dubbele</b> segmenten uitsluiten',
  1656. 'filter.duplicates.tip.en': 'Do not show the same segment in different\nparts of report\n* Note: this option DOES NOT affect highlighting',
  1657. 'filter.duplicates.tip': 'Toon hetzelfde segment niet in verschillende\ndelen van het rapport\n* Opmerking: deze optie HEEFT GEEN invloed op het markeren',
  1658. 'filter.streets.text.en': 'Exclude <b>Streets and Service Roads</b>',
  1659. 'filter.streets.text': 'Negeer <b>wegen en dienstwegen</b>',
  1660. 'filter.streets.tip.en': 'Do not report Streets and Service Roads',
  1661. 'filter.streets.tip': 'Neem wegen en dienstwegen niet op in het rapport',
  1662. 'filter.other.text.en': 'Exclude <b>Other drivable and Non-drivable</b>',
  1663. 'filter.other.text': 'Negeer <b>Andere berijdbare en niet-berijdbare</b> segmenten',
  1664. 'filter.other.tip.en': 'Do not report Dirt, Parking Lot, Private Roads\nand non-drivable segments',
  1665. 'filter.other.tip': 'Niet melden van onverharde, parkeerplaats, privéwegen\n en niet-berijdbare segmenten',
  1666. 'filter.notes.text.en': 'Exclude <b>notes</b>',
  1667. 'filter.notes.text': 'Negeer <b>opmerkingen</b>',
  1668. 'filter.notes.tip.en': 'Report only warnings and errors',
  1669. 'filter.notes.tip': 'Rapporteer alleen waarschuwingen en fouten',
  1670. 'search.youredits.text.en': 'Include <b>only your edits</b>',
  1671. 'search.youredits.text': 'Toon <b>enkel eigen aanpassingen</b>',
  1672. 'search.youredits.tip.en': 'Include only segments edited by you',
  1673. 'search.youredits.tip': 'Omvat slechts segmenten bewerkt door u',
  1674. 'search.updatedby.text.en': '<b>Updated by*:</b>',
  1675. 'search.updatedby.text': '<b>Aangepast door*:</b>',
  1676. 'search.updatedby.tip.en':
  1677. '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',
  1678. 'search.updatedby.tip':
  1679. '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',
  1680. 'search.updatedby.example.en': 'Example: me',
  1681. 'search.updatedby.example': 'Voorbeeld: me',
  1682. 'search.updatedsince.text.en': '<b>Updated since:</b>',
  1683. 'search.updatedsince.text': '<b>Aangepast sinds:</b>',
  1684. 'search.updatedsince.tip.en': 'Include only segments edited since the date specified\nFirefox date format: YYYY-MM-DD',
  1685. 'search.updatedsince.tip': 'Toon enkel de segmenten die zijn gewijzigd sinds de opgegeven datum\nFirefox datum formaat: YYYY-MM-DD',
  1686. 'search.updatedsince.example.en': 'YYYY-MM-DD',
  1687. 'search.updatedsince.example': 'YYYY-MM-DD',
  1688. 'search.city.text.en': '<b>City name:</b>',
  1689. 'search.city.text': '<b>plaatsnaam:</b>',
  1690. '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, *',
  1691. 'search.city.tip': 'Neem alleen segmenten op met opgegeven plaatsnaam\nDit veld ondersteunt:\n - lijsten: Amsterdam, Potsdam\n - wildcards: Den * \n - Negation: !Amsterdam, *',
  1692. 'search.city.example.en': 'Example: !Paris, *',
  1693. 'search.city.example': 'Voorbeeld: !Amsterdam, *',
  1694. 'search.checks.text.en': '<b>Reported as:</b>',
  1695. 'search.checks.text': '<b>Rapporteer als:</b>',
  1696. 'search.checks.tip.en':
  1697. '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*, *',
  1698. 'search.checks.tip':
  1699. '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*, *',
  1700. 'search.checks.example.en': 'Example: reverse*',
  1701. 'search.checks.example': 'Voorbeeld: autoweg*',
  1702. 'help.text.en':
  1703. '<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>',
  1704. 'help.text':
  1705. '<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>',
  1706. 'help.tip.en': 'Open in a new browser tab',
  1707. 'help.tip': 'Open in een nieuw tabblad',
  1708. 'button.scan.tip.en': 'Start scanning current map area\n* Note: this might take few minutes',
  1709. 'button.scan.tip': 'Start het scannen van het huidige gebied op de kaart\n* Opmerking: dit kan een aantal minuten duren',
  1710. 'button.scan.tip.NA.en': 'Zoom out to start scanning current map area',
  1711. 'button.scan.tip.NA': 'Zoom uit om te beginnen met het scannen van het huidige gebied op de kaart',
  1712. 'button.pause.tip.en': 'Pause scanning',
  1713. 'button.pause.tip': 'Scannen pauzeren',
  1714. 'button.continue.tip.en': 'Continue scanning the map area',
  1715. 'button.continue.tip': 'Doorgaan met scannen van het gebied op de kaart',
  1716. 'button.stop.tip.en': 'Stop scanning and return to the start position',
  1717. 'button.stop.tip': 'Stop het scannen en keer terug naar de beginpositie',
  1718. 'button.clear.tip.en': 'Clear report and segment cache',
  1719. 'button.clear.tip': 'Wissen rapport en segment cache',
  1720. '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.',
  1721. 'button.clear.tip.red':
  1722. '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.',
  1723. 'button.report.text.en': 'Show report',
  1724. 'button.report.text': 'Toon rapport',
  1725. 'button.report.tip.en': 'Apply the filter and generate HTML report in a new tab',
  1726. 'button.report.tip': 'Pas het filter toe en genereer het HTML-rapport in een nieuw tabblad',
  1727. 'button.BBreport.tip.en': 'Share the report on Waze forum or in a private message',
  1728. 'button.BBreport.tip': 'Deel het rapport op het Waze forum of in een privé-bericht',
  1729. 'button.settings.tip.en': 'Configure settings',
  1730. 'button.settings.tip': 'Instellingen aanpassen',
  1731. 'tab.custom.text.en': 'custom',
  1732. 'tab.custom.text': 'eigen instelling',
  1733. 'tab.custom.tip.en': 'User-defined custom checks settings',
  1734. 'tab.custom.tip': 'Door gebruiker aangepaste controle instellingen',
  1735. 'tab.settings.text.en': 'Settings',
  1736. 'tab.settings.text': 'Instellingen',
  1737. 'tab.scanner.text.en': 'scanner',
  1738. 'tab.scanner.text': 'scanner',
  1739. 'tab.scanner.tip.en': 'Map scanner settings',
  1740. 'tab.scanner.tip': 'Instellingen Kaartscanner',
  1741. 'tab.about.text.en': 'about</span>',
  1742. 'tab.about.text': 'over</span>',
  1743. 'tab.about.tip.en': 'About WME Validator',
  1744. 'tab.about.tip': 'Over WME Validator',
  1745. 'scanner.sounds.text.en': 'Enable sounds',
  1746. 'scanner.sounds.text': 'Gebruik geluiden',
  1747. 'scanner.sounds.tip.en': 'Bleeps and the bloops while scanning',
  1748. 'scanner.sounds.tip': 'Activeer de geluiden tijden het scannen',
  1749. 'scanner.sounds.NA.en': 'Your browser does not support AudioContext',
  1750. 'scanner.sounds.NA': 'Je browser ondersteunt geen AudioContext',
  1751. 'scanner.highlight.text.en': 'Highlight issues on the map',
  1752. 'scanner.highlight.text': 'Markeer problemen op de kaart',
  1753. 'scanner.highlight.tip.en': 'Highlight reported issues on the map',
  1754. 'scanner.highlight.tip': 'Markeer gevonden problemen op de kaart',
  1755. 'scanner.slow.text.en': 'Enable "slow" checks',
  1756. 'scanner.slow.text': '"Langzame" controles activeren',
  1757. 'scanner.slow.tip.en': 'Enables deep map analysis\n* Note: this option might slow down the scanning process',
  1758. 'scanner.slow.tip': 'Activeert diepe kaartanalyse\n* Opmerking: deze optie zou het scanproces kunnen vertragen',
  1759. 'scanner.ext.text.en': 'Report external highlights',
  1760. 'scanner.ext.text': 'Meld externe markeringen',
  1761. 'scanner.ext.tip.en': 'Report segments highlighted by WME Toolbox or WME Color Highlights',
  1762. 'scanner.ext.tip': 'Rapporteer segmenten gemarkeerd door WME Toolbox of WME Color Highlights',
  1763. 'advanced.twoway.text.en': 'WME: Two-way segments by default',
  1764. 'advanced.twoway.text': 'WME: Nieuwe segmenten tweerichtingsverkeer standaard',
  1765. 'advanced.twoway.tip.en': 'Newly created streets in WME are bidirectional by default',
  1766. 'advanced.twoway.tip': 'Nieuwe segmenten zijn standaard tweerichtingsverkeer',
  1767. 'custom.template.text.en': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Custom template</a>',
  1768. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Aangepast sjabloon</a>',
  1769. 'custom.template.tip.en':
  1770. '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}',
  1771. 'custom.template.tip':
  1772. '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}',
  1773. 'custom.template.example.en': 'Example: ${street}',
  1774. 'custom.template.example': 'Voorbeeld: ${street}',
  1775. 'custom.regexp.text.en': 'Custom <a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>RegExp</a>',
  1776. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Eigen RegExp</a>',
  1777. 'custom.regexp.tip.en':
  1778. '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/',
  1779. 'custom.regexp.tip':
  1780. '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/',
  1781. 'custom.regexp.example.en': 'Example: !/.+/',
  1782. 'custom.regexp.example': 'Voorbeeld: !/.+/',
  1783. 'about.tip.en': 'Open link in a new tab',
  1784. 'about.tip': 'Link in nieuw tabblad openen',
  1785. 'button.reset.text.en': 'Reset defaults',
  1786. 'button.reset.text': 'Herstel standaardinstellingen',
  1787. 'button.reset.tip.en': 'Revert filter options and settings to their defaults',
  1788. 'button.reset.tip': 'Filter opties en instellingen herstellen naar de standaardwaarden',
  1789. 'button.list.text.en': 'Available checks...',
  1790. 'button.list.text': 'Beschikbare controles...',
  1791. 'button.list.tip.en': 'Show a list of checks available in WME Validator',
  1792. 'button.list.tip': 'Toon een lijst met beschikbare controles in WME Validator',
  1793. 'button.wizard.tip.en': 'Create localization package',
  1794. 'button.wizard.tip': 'Maak lokalisatie pakket aan',
  1795. 'button.back.text.en': 'Back',
  1796. 'button.back.text': 'Terug',
  1797. 'button.back.tip.en': 'Close settings and return to main view',
  1798. 'button.back.tip': 'Sluit de instellingen en keer terug naar de hoofdweergave',
  1799. '1.title.en': 'WME Toolbox: Roundabout which may cause issues',
  1800. '1.title': 'WME Toolbox: Rotonde die problemen kan veroorzaken (rotonde verkeer problematisch)',
  1801. '1.problem.en': 'Junction IDs of the roundabout segments are not consecutive',
  1802. '1.problem': 'Knooppunt-ID\'s van de rotonde segmenten zijn niet opeenvolgend',
  1803. '1.solution.en': 'Redo the roundabout',
  1804. '1.solution': 'Rotonde opnieuw doen',
  1805. '2.title.en': 'WME Toolbox: Simple segment',
  1806. '2.title': 'WME Toolbox: Moeilijk segment (Te veel geometrie knooppunten)',
  1807. '2.problem.en': 'The segment has unneeded geometry nodes',
  1808. '2.problem': 'Het segment heeft onnodige geometrie knooppunten',
  1809. '2.solution.en': 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  1810. '2.solution': 'Vereenvoudig segment geometrie door de muisaanwijzing boven het punt te brengen en de "d" toets in te drukken',
  1811. '3.title.en': 'WME Toolbox: Lvl 2 lock',
  1812. '3.title': 'WME Toolbox: Lvl 2 Lock',
  1813. '3.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1814. '3.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1815. '4.title.en': 'WME Toolbox: Lvl 3 lock',
  1816. '4.title': 'WME Toolbox: Lvl 3 Lock',
  1817. '4.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1818. '4.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem.',
  1819. '5.title.en': 'WME Toolbox: Lvl 4 lock',
  1820. '5.title': 'WME Toolbox: Lvl 4 Lock',
  1821. '5.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1822. '5.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1823. '6.title.en': 'WME Toolbox: Lvl 5 lock',
  1824. '6.title': 'WME Toolbox: Lvl 5 Lock',
  1825. '6.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1826. '6.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1827. '7.title.en': 'WME Toolbox: Lvl 6 lock',
  1828. '7.title': 'WME Toolbox: Lvl 6 Lock',
  1829. '7.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1830. '7.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1831. '8.title.en': 'WME Toolbox: House numbers',
  1832. '8.title': 'WME Toolbox: Huisnummers',
  1833. '8.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1834. '8.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1835. '9.title.en': 'WME Toolbox: Segment with time restrictions',
  1836. '9.title': 'WME Toolbox: Segment met tijdsrestricties',
  1837. '9.problem.en': 'The segment is highlighted by WME Toolbox. It is not a problem',
  1838. '9.problem': 'Het segment wordt gemarkeerd door WME Toolbox. Het is geen probleem',
  1839. '13.title.en': 'WME Color Highlights: Editor lock',
  1840. '13.title': 'WME Color Highlights: Editor lock',
  1841. '13.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1842. '13.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1843. '14.title.en': 'WME Color Highlights: Toll road / One way road',
  1844. '14.title': 'WME Color Highlights: Toll road / One way road (Tol- / Eenrichtings-straat)',
  1845. '14.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1846. '14.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1847. '15.title.en': 'WME Color Highlights: Recently edited',
  1848. '15.title': 'WME Color Highlights: Recently edited (Kürzlich editiert)',
  1849. '15.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1850. '15.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1851. '16.title.en': 'WME Color Highlights: Road rank',
  1852. '16.title': 'WME Color Highlights: Road type',
  1853. '16.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1854. '16.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1855. '17.title.en': 'WME Color Highlights: No city',
  1856. '17.title': 'WME Color Highlights: No city (Keine Stadt)',
  1857. '17.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1858. '17.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1859. '18.title.en': 'WME Color Highlights: Time restriction / Highlighted road type',
  1860. '18.title': 'WME Color Highlights: Time restriction / Highlighted road type',
  1861. '18.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1862. '18.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1863. '19.title.en': 'WME Color Highlights: No name',
  1864. '19.title': 'WME Color Highlights: No name (Kein Straßenname)',
  1865. '19.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1866. '19.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1867. '20.title.en': 'WME Color Highlights: Filter by city',
  1868. '20.title': 'WME Color Highlights: Filter by city (Stadt-Filter)',
  1869. '20.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1870. '20.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1871. '21.title.en': 'WME Color Highlights: Filter by city (alt. city)',
  1872. '21.title': 'WME Color Highlights: Filter by city (alt. city)',
  1873. '21.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1874. '21.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1875. '22.title.en': 'WME Color Highlights: Filter by editor',
  1876. '22.title': 'WME Color Highlights: Filter by editor (Editor-Filter)',
  1877. '22.problem.en': 'The segment is highlighted by WME Color Highlights. It is not a problem',
  1878. '22.problem': 'Het segment wordt gemarkeerd door WME Color Highlights. Het is geen probleem',
  1879. '23.title.en': 'Unconfirmed road',
  1880. '23.title': 'Onbevestigde straat',
  1881. '23.problem.en': 'Each segment must minimally have the Country and State information',
  1882. '23.problem': 'Elk segment moet minimaal informatie hebben over het land en plaats',
  1883. '23.solution.en': 'Confirm the road by updating its details',
  1884. '23.solution': 'Bevestig de straat door ofwel de plaats danwel de straatnaam in te voeren.',
  1885. '24.title.en': 'Might be incorrect city name (only available in the report)',
  1886. '24.title': 'Eventueel verkeerde plaatsnaam (alleen beschikbaar in het rapport)',
  1887. '24.problem.en': 'The segment might have incorrect city name',
  1888. '24.problem': 'Het segment heeft misschien een verkeerde plaatsnaam',
  1889. '24.solution.en': 'Consider suggested city name and use this form to rename the city',
  1890. '24.solution': 'Overweeg de voorgestelde plaatsnaam en gebruik dit formulier om de naam te wijzigen',
  1891. '25.title.en': 'Unknown direction of drivable road',
  1892. '25.title': 'Onbekende rijrichting van berijdbare weg',
  1893. '25.problem.en': '\'Unknown\' road direction will not prevent routing on the road',
  1894. '25.problem': '\'Onbekende\' rijrichting zal niet voorkomen dat er genavigeerd wordt over de weg',
  1895. '25.solution.en': 'Set the road direction',
  1896. '25.solution': 'Stel de rijrichting in',
  1897. '28.title.en': 'Street name on two-way Ramp',
  1898. '28.title': 'Straatnaam op tweebaans voegstrook',
  1899. '28.problem.en': 'If Ramp is unnamed, the name of a subsequent road will propagate backwards',
  1900. '28.problem': 'Als de op/afrit geen naam heeft, zal de naam van de volgende straat worden overgenomen',
  1901. '28.solution.en': 'In the address properties check the \'None\' box next to the street name and then click \'Apply\'',
  1902. '28.solution': 'In de adreseigenschappen vink \'Geen\' aan naast de straatnaam en klik op \'Toepassen\'',
  1903. '29.title.en': 'Street name on roundabout',
  1904. '29.title': 'Straatnaam op rotonde',
  1905. '29.problem.en': 'In Waze, we do not name roundabout segments',
  1906. '29.problem': 'In Waze geven we rotondes geen straatnamen',
  1907. '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',
  1908. '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',
  1909. '33.enabled': false,
  1910. '34.title.en': 'Empty alternate street',
  1911. '34.title': 'Lege alternatieve straatnaam',
  1912. '34.problem.en': 'Alternate street name is empty',
  1913. '34.problem': 'De alternatieve straatnaam is leeg',
  1914. '34.solution.en': 'Remove empty alternate street name',
  1915. '34.solution': 'Verwijder de lege alternatieve straatnaam',
  1916. '35.title.en': 'Unterminated drivable road',
  1917. '35.title': 'Geen eindnode op berijdbare weg',
  1918. '35.problem.en': 'Waze will not route from the unterminated segment',
  1919. '35.problem': 'Waze zal niet routeren vanaf segmenten zonder eindnode',
  1920. '35.solution.en': 'Move the segment a bit so the terminating node will be added automatically',
  1921. '35.solution': 'Verplaats het segment een beetje zodat de eindnode automatisch zal worden toegevoegd',
  1922. '36.enabled': true,
  1923. '36.title.en': 'Node A: Unneeded (slow)',
  1924. '36.title': 'Node A: Onnodig (langzaam)',
  1925. '36.problem.en': 'Adjacent segments at node A are identical',
  1926. '36.problem': 'De segmenten naast node A zijn identiek',
  1927. '36.solution.en': 'Select node A and press Delete key to join the segments',
  1928. '36.solution': 'Selecteer node A en druk op Delete om de segmenten samen te voegen',
  1929. '37.enabled': true,
  1930. '37.title.en': 'Node B: Unneeded (slow)',
  1931. '37.title': 'Node B: Onnodig (langzaam)',
  1932. '37.problem.en': 'Adjacent segments at node B are identical',
  1933. '37.problem': 'De segmenten naast node B zijn identiek',
  1934. '37.solution.en': 'Select node B and press Delete key to join the segments',
  1935. '37.solution': 'Selecteer node B en druk op Delete om de segmenten samen te voegen',
  1936. '38.title.en': 'Expired segment restriction (slow)',
  1937. '38.title': 'Verlopen segment beperking (langzaam)',
  1938. '38.problem.en': 'The segment has an expired restriction',
  1939. '38.problem': 'Het segment heeft een verlopen beperking',
  1940. '38.solution.en': 'Click \'Edit restrictions\' and delete the expired restriction',
  1941. '38.solution': 'Klik op \'Bewerken restricties\' en verwijder de verstreken beperking',
  1942. '39.title.en': 'Expired turn restriction (slow)',
  1943. '39.title': 'Verlopen beperking op afslag (langzaam)',
  1944. '39.problem.en': 'The segment has a turn with an expired restriction',
  1945. '39.problem': 'Het segment heeft een afslag met een verlopen beperking',
  1946. '39.solution.en': 'Click clock icon next to the yellow arrow and delete the expired restriction',
  1947. '39.solution': 'Klik klok pictogram naast de gele pijl en verwijder de verlopen beperking',
  1948. '41.title.en': 'Node A: Reverse connectivity of drivable road',
  1949. '41.title': 'Node A: Omgekeerde connectiviteit van berijdbare weg',
  1950. '41.problem.en': 'There is a turn which goes against the directionality of the segment at node A',
  1951. '41.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt A',
  1952. '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',
  1953. '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)\'',
  1954. '42.title.en': 'Node B: Reverse connectivity of drivable road',
  1955. '42.title': 'Node B: Omgekeerde connectiviteit van berijdbare weg',
  1956. '42.problem.en': 'There is a turn which goes against the directionality of the segment at node B',
  1957. '42.problem': 'Er is een afslag die indruist tegen de rijrichting van het segment op knooppunt B',
  1958. '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',
  1959. '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)\'',
  1960. '43.title.en': 'Self connectivity',
  1961. '43.title': 'Zelf verbinding',
  1962. '43.problem.en': 'The segment is connected back to itself',
  1963. '43.problem': 'Het segment is met zichzelf verbonden',
  1964. '43.solution.en': 'Split the segment into THREE pieces',
  1965. '43.solution': 'Verdeel het segment in DRIE stukken',
  1966. '44.title.en': 'No outward connectivity',
  1967. '44.title': 'Geen verbinding naar buiten',
  1968. '44.problem.en': 'The drivable segment has no single outward turn enabled',
  1969. '44.problem': 'Het berijdbare segment heeft geen enkele verbinding naar buiten',
  1970. '44.solution.en': 'Enable at least one outward turn from the segment',
  1971. '44.solution': 'Verbind het segment minstens eenmaal met het verkeersnet',
  1972. '45.title.en': 'No inward connectivity',
  1973. '45.title': 'Geen verbinding naar binnen',
  1974. '45.problem.en': 'The drivable non-private segment has no single inward turn enabled',
  1975. '45.problem': 'Het berijdbare niet-privé segment heeft geen enkele verbinding naar het segment toe',
  1976. '45.solution.en': 'Select an adjacent segment and enable at least one turn to the segment',
  1977. '45.solution': 'Selecteer het segment en sta minstens één inwaartse verbinding toe',
  1978. '46.title.en': 'Node A: No inward connectivity of drivable road (slow)',
  1979. '46.title': 'Node A: Geen naar binnen connectiviteit van berijdbare weg (langzaam)',
  1980. '46.problem.en': 'The drivable non-private segment has no single inward turn enabled at node A',
  1981. '46.problem': 'De berijdbare niet-particuliere segment heeft geen enkele naar binnen wijzende verbinding ingeschakeld op knooppunt A',
  1982. '46.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node A',
  1983. '46.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij knooppunt A in',
  1984. '47.title.en': 'Node B: No inward connectivity of drivable road (slow)',
  1985. '47.title': 'Node B: Het berijdbare segment heeft geen enkele verbinding naar het segment toe (langzaam)',
  1986. '47.problem.en': 'The drivable non-private segment has no single inward turn enabled at node B',
  1987. '47.problem': 'Het berijdbare (niet prive) segment heeft geen enkele verbinding naar het segment toe bij node B',
  1988. '47.solution.en': 'Select an adjacent segment and enable at least one turn to the segment at node B',
  1989. '47.solution': 'Selecteer een aangrenzend segment en stel tenminste één verbinding naar segment bij node B',
  1990. '48.title.en': 'Two-way drivable roundabout segment',
  1991. '48.title': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  1992. '48.problem.en': 'The drivable roundabout segment is bidirectional',
  1993. '48.problem': 'Berijdbare rotonde segment is niet eenrichtingsverkeer',
  1994. '48.solution.en': 'Redo the roundabout',
  1995. '48.solution': 'Maak de rotonde opnieuw',
  1996. '59.title.en': 'City name on Freeway',
  1997. '59.title': 'Plaatsnaam op snelweg',
  1998. '59.problem.en': 'City name on the Freeway may cause a city smudge',
  1999. '59.problem': 'Plaatsnaam op de snelweg kan het uitsmeren van een stad veroorzaken',
  2000. '59.problemLink': 'W:Netherlands/Freeway',
  2001. '59.solution.en': 'In the address properties check the \'None\' box next to the city name and then click \'Apply\'',
  2002. '59.solution': 'In de adreseigenschappen stel de plaatsnaam in op \'Geen\' en klik op \'toepassen\'',
  2003. '59.solutionLink': 'W:Creating_and_Editing_street_segments#Address_Properties',
  2004. '71.enabled': true,
  2005. '71.problemLink': 'W:Netherlands/Major_Highway',
  2006. '71.title.en': 'Must be a Major Highway',
  2007. '71.title': 'Moet een Major Highway zijn',
  2008. '71.problem.en': 'This segment must be a Major Highway',
  2009. '71.problem': 'Dit segment moet een Major Highway zijn',
  2010. '71.solution.en': 'Set the road type to Major Highway or change the road name',
  2011. '71.solution': 'Stel het wegtype in op Major Highway of verander de straatnaam',
  2012. '72.enabled': true,
  2013. '72.problemLink': 'W:Netherlands/Minor_Highway',
  2014. '72.title.en': 'Must be a Minor Highway',
  2015. '72.title': 'Dit moet een Minor Highway zijn',
  2016. '72.problem.en': 'This segment must be a Minor Highway',
  2017. '72.problem': 'Dit segment moet een Minor Highway zijn',
  2018. '72.solution.en': 'Set the road type to Minor Highway or change the road name',
  2019. '72.solution': 'Stel het wegtype in op Minor Highway of verander de straatnaam',
  2020. '78.title.en': 'Same endpoints drivable segments (slow)',
  2021. '78.title': 'Dezelfde eindpunten voor berijdbare segmenten (langzaam)',
  2022. '78.problem.en': 'Two drivable segments share the same two endpoints',
  2023. '78.problem': 'Twee berijdbare segmenten delen dezelfde twee eindpunten',
  2024. '78.solution.en': 'Split the segment. You might also remove one of the segments if they are identical',
  2025. '78.solution': 'Splits het segment. Je zou ook een segment kunnen verwijderen als ze identiek zijn',
  2026. '87.title.en': 'Node A: Multiple outgoing segments at roundabout',
  2027. '87.title': 'Node A: Meerdere uitgaande segmenten voor rotonde',
  2028. '87.problem.en': 'The drivable roundabout node A has more than one outgoing segment connected',
  2029. '87.problem': 'De berijdbare rotonde knooppunt A heeft meerdere uitgaande segmenten verbonden',
  2030. '87.solution.en': 'Redo the roundabout',
  2031. '87.solution': 'Maak de rotonde opnieuw',
  2032. '99.title.en': 'U-turn at roundabout entrance (slow)',
  2033. '99.title': 'U-bocht op rotonde (langzaam)',
  2034. '99.problem.en': 'The roundabout entrance segment has a U-turn enabled',
  2035. '99.problem': 'De berijdbare rotondenode heeft een U-bocht toegestaan',
  2036. '99.solution.en': 'Disable U-turn',
  2037. '99.solution': 'Zet de U-bocht uit',
  2038. '101.title.en': 'Closed road (only available in the report)',
  2039. '101.title': 'Afgesloten weg (enkel beschikbaar in het rapport)',
  2040. '101.problem.en': 'The segment is marked as closed',
  2041. '101.problem': 'Het segment is gemarkeerd als afgesloten',
  2042. '101.solution.en': 'If the construction is done, restore the segment connectivity and remove the suffix',
  2043. '101.solution': 'Als de wegwerkzaamheden klaar zijn, herstel dan de verbinding van het segment en verwijder de aanvulling',
  2044. '101.params': {'regexp': '/(^|\\b)afgesloten(\\b|$)/i'},
  2045. '102.title.en': 'Node A: No outward connectivity of drivable road (slow)',
  2046. '102.title': 'Node A: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2047. '102.problem.en': 'The drivable segment has no single outward turn enabled at node A',
  2048. '102.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node A',
  2049. '102.solution.en': 'Enable at least one outward turn from the segment at node A',
  2050. '102.solution': 'Zet minstens 1 uitgaande verbinding aan bij node A',
  2051. '103.title.en': 'Node B: No outward connectivity of drivable road (slow)',
  2052. '103.title': 'Node B: Geen uitgaande verbinding van berijdbare weg (langzaam)',
  2053. '103.problem.en': 'The drivable segment has no single outward turn enabled at node B',
  2054. '103.problem': 'Het berijdbare segment heeft geen enkele uitgaande verbinding aan staan bij node B',
  2055. '103.solution.en': 'Enable at least one outward turn from the segment at node B',
  2056. '103.solution': 'Zet minstens 1 uitgaande verbinding aan bij node B',
  2057. '104.title.en': 'Railroad used for comments',
  2058. '104.title': 'Spoorweg gebruikt als commentaar',
  2059. '104.problem.en': 'The Railroad segment is probably used as a map comment',
  2060. '104.problem': 'Het spoorweg segment wordt waarschijnelijk gebruikt als kaartopmerking',
  2061. '104.solution.en': 'Remove the comment as Railroads will be added to the client display',
  2062. '104.solution': 'Verwijder het commentaar, spoorwegen worden weergegeven in de client',
  2063. '107.title.en': 'Node A: No connection (slow)',
  2064. '107.title': 'Node A: Geen verbinding (langzaam)',
  2065. '107.problem.en': 'The node A of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2066. '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',
  2067. '107.solution.en': 'Drag the node A to the nearby segment so that it touches or move it a bit further away',
  2068. '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',
  2069. '108.title.en': 'Node B: No connection (slow)',
  2070. '108.title': 'Node B: Geen verbinding (langzaam)',
  2071. '108.problem.en': 'The node B of the drivable segment is within 5m from another drivable segment but not connected by a junction',
  2072. '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',
  2073. '108.solution.en': 'Drag the node B to the nearby segment so that it touches or move it a bit further away',
  2074. '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',
  2075. '109.title.en': 'Too short segment',
  2076. '109.title': 'Te kort segment',
  2077. '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',
  2078. '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',
  2079. '109.solution.en': 'Increase the length, or remove the segment, or join it with one of the adjacent segments',
  2080. '109.solution': 'Verleng het segment, of verwijder het segment, of voeg het segment samen met een van de omliggende segmenten',
  2081. '112.title.en': 'Too long Ramp name',
  2082. '112.title': 'Op/afrit naam te lang',
  2083. '112.problem.en': 'The Ramp name is more than ${n} letters long',
  2084. '112.problem': 'Op/afrit naam is langer dan ${n} tekens lang',
  2085. '112.solution.en': 'Shorten the Ramp name',
  2086. '112.solution': 'Verkort de naam',
  2087. '114.enabled': false,
  2088. '114.title.en': 'Node A: Non-drivable connected to drivable (slow)',
  2089. '114.title': 'Node A: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2090. '114.problem.en': 'The non-drivable segment makes a junction with a drivable at node A',
  2091. '114.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node A',
  2092. '114.solution.en': 'Disconnect node A from all of the drivable segments',
  2093. '114.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node A',
  2094. '115.enabled': false,
  2095. '115.title.en': 'Node B: Non-drivable connected to drivable (slow)',
  2096. '115.title': 'Node B: Niet-berijdbaar verbonden met berijdbaar (langzaam)',
  2097. '115.problem.en': 'The non-drivable segment makes a junction with a drivable at node B',
  2098. '115.problem': 'Het niet-berijdbare segment maakt verbinding met een berijdbaar segment bij node B',
  2099. '115.solution.en': 'Disconnect node B from all of the drivable segments',
  2100. '115.solution': 'Verbreek de vervinding van alle berijdbare segmenten bij node B',
  2101. '116.title.en': 'Out of range elevation',
  2102. '116.title': 'Hoogte buiten bereik',
  2103. '116.problem.en': 'The segment elevation is out of range',
  2104. '116.problem': 'De elevatie van het segment is buiten bereik',
  2105. '116.solution.en': 'Correct the elevation',
  2106. '116.solution': 'Corrigeer de hoogte',
  2107. '117.title.en': 'Obsolete CONST ZN marker',
  2108. '117.title': 'CONST ZN markering verouderd',
  2109. '117.problem.en': 'The segment is marked with obsolete CONST ZN suffix',
  2110. '117.problem': 'Het segment is gemarkeerd met een verouderde CONST ZN toevoeging',
  2111. '117.solution.en': 'Change CONST ZN to (closed)',
  2112. '117.solution': 'Verander CONST ZN naar (afgesloten)',
  2113. '118.title.en': 'Node A: Overlapping segments (slow)',
  2114. '118.title': 'Node A: Overlappende segmenten (langzaam)',
  2115. '118.problem.en': 'The segment is overlapping with the adjacent segment at node A',
  2116. '118.problem': 'Het segment overlapt het aangrenzende segment bij node A',
  2117. '118.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node A',
  2118. '118.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node A',
  2119. '119.title.en': 'Node B: Overlapping segments (slow)',
  2120. '119.title': 'Node B: Overlappende segmenten (langzaam)',
  2121. '119.problem.en': 'The segment is overlapping with the adjacent segment at node B',
  2122. '119.problem': 'Het segment overlapt het aangrenzende segment bij node B',
  2123. '119.solution.en': 'Spread the segments at 2° or delete unneeded geometry point or delete the duplicate segment at node B',
  2124. '119.solution': 'Verdeel de segmenten bij 2° of verwijder overbodige geometriepunt of verwijder het duplicaat-segment bij node B',
  2125. '120.title.en': 'Node A: Too sharp turn (slow)',
  2126. '120.title': 'Node A: Te scherpe bocht (langzaam)',
  2127. '120.problem.en': 'The drivable segment has a very acute turn at node A',
  2128. '120.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij node A',
  2129. '120.solution.en': 'Disable the sharp turn at node A or spread the segments at 30°',
  2130. '120.solution': 'Sta de scherpe bocht bij node A niet toe of maak de hoek groter dan 30°',
  2131. '121.title.en': 'Node B: Too sharp turn (slow)',
  2132. '121.title': 'Node B: Te scherpe bocht (langzaam)',
  2133. '121.problem.en': 'The drivable segment has a very acute turn at node B',
  2134. '121.problem': 'Het berijdbare segment heeft een zeer scherpe bocht bij B',
  2135. '121.solution.en': 'Disable the sharp turn at node B or spread the segments at 30°',
  2136. '121.solution': 'Sta de scherpe bocht bij node B niet toe of maak de hoek groter dan 30°',
  2137. '128.title.en': 'User-defined custom check (green)',
  2138. '128.title': 'Door de gebruiker gedefinieerde aangepaste controle (groen)',
  2139. '128.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2140. '128.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2141. '128.solution.en': 'Solve the issue',
  2142. '128.solution': 'Los het probleem op',
  2143. '129.title.en': 'User-defined custom check (blue)',
  2144. '129.title': 'Door de gebruiker gedefinieerde aangepaste controle (blauw)',
  2145. '129.problem.en': 'Some of the segment properties matched against the user-defined regular expression (see Settings→Custom)',
  2146. '129.problem': 'Sommige segmenteigenschappen komen overeen met door gebruiker gedefinieerde opgave (zie Instellingen→Aangepast)',
  2147. '129.solution.en': 'Solve the issue',
  2148. '129.solution': 'Los het probleem op',
  2149. '150.enabled': true,
  2150. '150.problemLink': 'W:Netherlands/Freeway',
  2151. '150.title.en': 'No lock on Freeway',
  2152. '150.title': 'Geen lock op snelweg',
  2153. '150.problem.en': 'The Freeway segment should be locked at least to Lvl ${n}',
  2154. '150.problem': 'De snelweg moet op tenminste Lvl ${n} gelockt zijn',
  2155. '150.solution.en': 'Lock the segment',
  2156. '150.solution': 'Lock het segment',
  2157. '151.enabled': true,
  2158. '151.problemLink': 'W:Netherlands/Major_Highway',
  2159. '151.title.en': 'No lock on Major Highway',
  2160. '151.title': 'Geen lock op Major Highway',
  2161. '151.problem.en': 'The Major Highway segment should be locked at least to Lvl ${n}',
  2162. '151.problem': 'Het Major Highway segment moet gelockt zijn op Lvl ${n}',
  2163. '151.solution.en': 'Lock the segment',
  2164. '151.solution': 'Lock het segment',
  2165. '152.enabled': true,
  2166. '152.problemLink': 'W:Netherlands/Minor_Highway',
  2167. '152.title.en': 'No lock on Minor Highway',
  2168. '152.title': 'Geen lock op Minor Highway',
  2169. '152.problem.en': 'The Minor Highway segment should be locked at least to Lvl ${n}',
  2170. '152.problem': 'Het Minor Highway segment moet gelockt zijn op Lvl ${n}',
  2171. '152.solution.en': 'Lock the segment',
  2172. '152.solution': 'Lock het segment',
  2173. '153.enabled': true,
  2174. '153.problemLink': 'W:Netherlands/Ramp',
  2175. '153.title.en': 'No lock on Ramp',
  2176. '153.title': 'Geen lock op op/afrit',
  2177. '153.problem.en': 'The Ramp segment should be locked at least to Lvl ${n}',
  2178. '153.problem': 'De op/afrit zou minimaal gelockt moeten zijn op Lvl ${n}',
  2179. '153.params': {'n': 4},
  2180. '154.enabled': true,
  2181. '154.problemLink': 'W:Netherlands/Primary_Street',
  2182. '154.title.en': 'No lock on Primary Street',
  2183. '154.title': 'Geen lock op hoofdweg',
  2184. '154.problem.en': 'The Primary Street segment should be locked at least to Lvl ${n}',
  2185. '154.problem': 'De hoofdweg zou minimaal gelockt moeten zijn op Lvl ${n}',
  2186. '154.solution.en': 'Lock the segment',
  2187. '154.solution': 'Lock het segment',
  2188. '160.enabled': false,
  2189. '161.enabled': true,
  2190. '161.params': {
  2191. 'solutionEN': 'Rename the Major Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2192. 'regexp': '!/^N([0-9]|[0-9][0-9]|[123][0-9][0-9])( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2193. },
  2194. '161.problemLink': 'W:Netherlands/Major_Highway',
  2195. '161.title.en': 'Incorrect Major Highway name',
  2196. '161.title': 'Verkeerde Major Highway naam',
  2197. '161.problem.en': 'The Major Highway segment has incorrect street name',
  2198. '161.problem': 'Het Major Highway segment heeft een verkeerde straatnaam',
  2199. '161.solution.en': 'Rename the segment in accordance with the guidelines',
  2200. '161.solution': 'Hernoem het segment volgens de richtlijnen',
  2201. '162.enabled': true,
  2202. '162.params': {
  2203. 'solutionEN': 'Rename the Minor Highway to \'Nnum[ - Nnum]\' or \'Nnum - streetname\' or \'Nnum ri Dir1 / Dir2\'',
  2204. 'regexp': '!/^(N[4-9][0-9][0-9]|[SU][0-9]+)( - [NS][0-9]+)?(( ri [^\\/]+( \\/ [^\\/]+)*)|( - .+))?$/'
  2205. },
  2206. '162.problemLink': 'W:Netherlands/Minor_Highway',
  2207. '162.title.en': 'Incorrect Minor Highway name',
  2208. '162.title': 'Verkeerde Minor Highway naam',
  2209. '162.problem.en': 'The Minor Highway segment has incorrect street name',
  2210. '162.problem': 'Het Minor Highway segment heeft een verkeerde straatnaam',
  2211. '162.solution.en': 'Rename the segment in accordance with the guidelines',
  2212. '162.solution': 'Hernoem het segment volgens de richtlijnen. LET OP! Er zijn uitzonderingen voor bepaalde belangrijke regionale wegen. In geval van twijfel, eerst overleggen!',
  2213. '172.title.en': 'Unneeded spaces in street name',
  2214. '172.title': 'Onnodige spaties in de straatnaam',
  2215. '172.problem.en': 'Leading/trailing/double space in the street name',
  2216. '172.problem': 'Overbodige spaties voor/achter/in de straatnaam',
  2217. '172.solution.en': 'Remove unneeded spaces from the street name',
  2218. '172.solution': 'Verwijder de overbodige spaties in de straatnaam',
  2219. '173.title.en': 'No space before/after street abbreviation',
  2220. '173.title': 'Geen spatie voor/achter de straat afkorting',
  2221. '173.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the street name',
  2222. '173.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de straatnaam',
  2223. '173.solution.en': 'Add a space before/after the abbreviation',
  2224. '173.solution': 'Voeg een spatie voor/achter de afkorting toe',
  2225. '175.title.en': 'Empty street name',
  2226. '175.title': 'Lege straatnaam',
  2227. '175.problem.en': 'The street name has only space characters or a dot',
  2228. '175.problem': 'De straatnaam heeft alleen spaties of punt(en)',
  2229. '175.solution.en': 'In the address properties check the \'None\' box next to the street name, click \'Apply\' OR set a proper street name',
  2230. '175.solution': 'In de adreseigenschappen vink de \'Geen\' optie aan naast de straatnaam, klik op \'Toepassen\' OF vul de juiste straatnaam in',
  2231. '190.title.en': 'Lowercase city name',
  2232. '190.title': 'Plaatsnaam in kleine letters',
  2233. '190.problem.en': 'The city name starts with a lowercase letter',
  2234. '190.problem': 'De plaatsnaam begint met een kleine letter',
  2235. '190.solution.en': 'Use this form to rename the city',
  2236. '190.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2237. '192.title.en': 'Unneeded spaces in city name',
  2238. '192.title': 'Onnodige spaties in de plaatsnaam',
  2239. '192.problem.en': 'Leading/trailing/double space in the city name',
  2240. '192.problem': 'Overbodige spaties voor/achter/in de plaatsnaam',
  2241. '192.solution.en': 'Use this form to rename the city',
  2242. '192.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2243. '193.title.en': 'No space before/after city abbreviation',
  2244. '193.title': 'Geen spatie voor/achter de afkorting in de plaatsnaam',
  2245. '193.problem.en': 'No space before (\'1943r.\') or after (\'st.Jan\') an abbreviation in the city name',
  2246. '193.problem': 'Geen spatie voor (\'1943r.\') of achter (\'st.Jan\') een afkorting in de plaatsnaam',
  2247. '193.solution.en': 'Use this form to rename the city',
  2248. '193.solution': 'Gebruik dit formulier om de plaatsnaam te hernoemen',
  2249. '200.title.en': 'Node A: Unconfirmed turn on minor road',
  2250. '200.title': 'Node A: Onbevestigde verbinding op weg',
  2251. '200.problem.en': 'The minor drivable segment has an unconfirmed (soft) turn at node A',
  2252. '200.problem': 'Het berijdbare segment heeft een onbevestigd (zachte) bocht op node A',
  2253. '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',
  2254. '200.solution':
  2255. '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',
  2256. '201.title.en': 'Node A: Unconfirmed turn on primary road',
  2257. '201.title': 'Node A: Onbevestigde verbinding op hoofdweg',
  2258. '201.problem.en': 'The primary segment has an unconfirmed (soft) turn at node A',
  2259. '201.problem': 'Het hoofdweg segment heeft een onbevestigde (zachte) verbinding bij node A',
  2260. '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',
  2261. '201.solution':
  2262. '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',
  2263. '202.title.en': 'BETA: No public connection for public segment (slow)',
  2264. '202.title': 'BETA: Routeerbaar segment lijkt geisoleerd (langzaam)',
  2265. '202.problem.en': 'The public segment is not connected to any other public segment',
  2266. '202.problem': 'Het segment lijkt een publiek toegankelijk segment in het midden van niet publieke segmenten te zijn',
  2267. '202.solution.en': 'Verify if the segment is meant to be a public accessible segment, or it should be changed to a private segment',
  2268. '202.solution': 'Controleer of dit segment wel publiek toegankelijk moet zijn, of van type moet wijzigen',
  2269. '214.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van A naar B',
  2270. '214.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2271. '214.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2272. '214.params': {'regexp': '/^5|15|25|.+0$/'},
  2273. '215.title': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld van B naar A',
  2274. '215.problem': 'Segment heeft waarschijnlijk verkeerde snelheidslimiet ingesteld',
  2275. '215.solution': 'Controleer de snelheidslimiet van het segment en corrigeer als het nodig is',
  2276. '215.params': {'regexp': '/^5|15|25|.+0$/'},
  2277. '250.title': 'Geen stad ingesteld bij plaats',
  2278. '250.problem': 'De plaats heeft geen stad ingesteld',
  2279. '250.solution': 'Stel de stad in voor de plaats',
  2280. '250.params': {
  2281. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2282. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2283. },
  2284. '251.title': 'Geen straatnaam ingesteld bij plaats',
  2285. '251.problem': 'De plaats heeft geen straatnaam ingesteld',
  2286. '251.solution': 'Stel de straatnaam in voor de plaats',
  2287. '251.params': {
  2288. 'regexp.title': '{string} regular expression to match categories that should be excepted from this check',
  2289. 'regexp': '/^(TRANSPORTATION|NATURAL_FEATURES|BRIDGE|ISLAND|FOREST_GROVE|SEA_LAKE_POOL|RIVER_STREAM|CANAL|DAM|TUNNEL|JUNCTION_INTERCHANGE)$/'
  2290. },
  2291. '252.title': 'Automatisch aangepaste plaats',
  2292. '252.problem': 'De plaats was automatisch aangepast door Waze',
  2293. '252.solution': 'Controleer de plaats details en pas deze aan als het nodig is',
  2294. '252.params': {
  2295. 'regexp.title': '{string} regular expression to match bot names and ids',
  2296. 'regexp': '/^waze-maint|^105774162$|^waze3rdparty$|^361008095$|^WazeParking1$|^338475699$|^admin$|^-1$|^avsus$|^107668852$/i'
  2297. },
  2298. '253.title': 'Categorie \'OVERIGE\' kan beter niet gebruikt worden',
  2299. '253.problem': 'De categorie \'OVERIGE\' is niet nuttig. Gebruikers kunnen zoeken op een categorie en OVERIGE bied geen houvast',
  2300. '253.solution': 'Selecteer de juiste categorie voor de plaats',
  2301. '254.title': 'Geen in-/uitgang punt ingesteld voor plaats',
  2302. '254.problem': 'Er is geen in-/uitgang punt ingesteld voor de plaats',
  2303. '254.solution': 'Stel de juiste in-/uitgang punt in voor de plaats',
  2304. '255.title': 'Fout telefoon nummer',
  2305. '255.problem': 'De plaats heeft een fout telefoon nummer',
  2306. '255.solution':
  2307. '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',
  2308. '255.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2309. '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})/'},
  2310. '256.title': 'Onjuiste URL',
  2311. '256.problem': 'De plaats heeft een onjuiste URL',
  2312. '256.solution': 'Controleer de URL. Binnen Nederland geven we de URL het format www.adress.extension en laten we de http(s):// vervallen',
  2313. '256.solutionLink': 'P:Netherlands/Places#More_Info_tab',
  2314. '256.params': {'regexp.title': '{string} regular expression to match a correct URL', 'regexp': '/^([da-z.-]+.[a-z.]{2,6}|[d.]+)([/:?=&#]{1}[da-z.-]+)*[/?]?$/i'},
  2315. '257.enabled': true,
  2316. '257.title': 'Plaats moet een gebied zijn',
  2317. '257.problem': 'Plaats is ingesteld als een punt, maar moet een gebied zijn',
  2318. '257.solution': 'Converteer de plaats naar een gebied',
  2319. '257.solutionLink': 'P:Benelux/Place_categories',
  2320. '257.params': {
  2321. 'regexp.title': '{string} regular expression to match categories that should be a area',
  2322. 'regexp':
  2323. '/^(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)$/'
  2324. },
  2325. '258.enabled': true,
  2326. '258.title': 'Plaats moet een punt zijn',
  2327. '258.problem': 'Plaats is ingesteld als een gebied, maar zou een punt moeten zijn',
  2328. '258.solution': 'Converteer de plaats naar een punt',
  2329. '258.solutionLink': 'P:Netherlands/Place_categories',
  2330. '258.params': {
  2331. 'regexp.title': '{string} regular expression to match categories that should be a point',
  2332. 'regexp':
  2333. '/^(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)$/'
  2334. },
  2335. '259.enabled': true,
  2336. '259.title': 'Geen lock op plaats',
  2337. '259.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2338. '259.solution': 'Lock de plaats',
  2339. '259.solutionLink': 'P:Netherlands/Place_categories',
  2340. '259.params': {
  2341. 'n.title': '{number} minimum lock level',
  2342. 'n': 2,
  2343. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2344. 'regexp': '/^(PARKING_LOT|CHARGING_STATION)$/'
  2345. },
  2346. '260.enabled': true,
  2347. '260.title': 'Geen lock op plaats',
  2348. '260.problem': 'Volgens de categorie zou de plaats minimaal gelockt moeten zijn op Lvl ${n}',
  2349. '260.solution': 'Lock de plaats',
  2350. '260.solutionLink': 'P:Netherlands/Place_categories',
  2351. '260.params': {
  2352. 'n.title': '{number} minimum lock level',
  2353. 'n': 3,
  2354. 'regexp.title': '{string} regular expression to match categories that should be locked to {number}',
  2355. 'regexp': '/(GAS_STATION|AIRPORT)/'
  2356. },
  2357. '270.title': 'Geen type ingesteld voor parkeerplaats',
  2358. '270.problem': 'Het type is niet ingesteld voor de parkeerplaats',
  2359. '270.solution': 'Stel het type in op Openbaar, Beperkt of Privé',
  2360. '271.title': 'Geen kosten ingesteld voor parkeerplaats',
  2361. '271.problem': 'De kosten voor de parkeerplaats is niet ingesteld',
  2362. '271.solution': 'Stel de kosten in op Gratis, Laag, Gemiddeld of Hoog',
  2363. '272.title': 'Geen betaalmogelijkheden ingesteld voor parkeerplaats',
  2364. '272.problem': 'De betaalmogelijkheden zijn niet ingesteld voor de parkeerplaats',
  2365. '272.solution': 'Stel de juiste betaalmogelijkheden in',
  2366. '273.title': 'Geen niveau ingesteld voor parkeerplaats',
  2367. '273.problem': 'De hoogte is niet ingesteld voor de parkeerplaats',
  2368. '273.solution': 'Stel de juiste hoogte in voor de parkeerplaats',
  2369. '274.title': 'Geen in-/uitgang punt ingesteld voor parkeerplaats',
  2370. '274.problem': 'De parkeerplaats heeft geen in-/uitgang ingesteld',
  2371. '274.solution': 'Stel de juiste in-/uitgang in voor de parkeerplaats',
  2372. '275.title': 'Geen merk in naam van benzinepomp',
  2373. '275.problem': 'Het merk van de benzinepomp komt niet voor in de naam',
  2374. '275.solution': 'Voeg het merk toe in de naam van de benzinepomp',
  2375. '275.solutionLink': 'P:Netherlands/Gas_Station_Place'
  2376. },
  2377. 'MY': {
  2378. '.codeISO': 'MY',
  2379. '.country': 'Malaysia',
  2380. '69.enabled': true,
  2381. '73.enabled': true,
  2382. '150.enabled': true,
  2383. '150.params': {'n': 2},
  2384. '151.enabled': true,
  2385. '151.params': {'n': 2},
  2386. '152.enabled': true,
  2387. '152.params': {'n': 2}
  2388. },
  2389. 'MX': {
  2390. '.codeISO': 'MX',
  2391. '.country': 'Mexico',
  2392. '.updated': '2018-09-19',
  2393. '.author': 'carloslaso',
  2394. '.fallbackCode': 'ES',
  2395. '.lng': ['ES-419'],
  2396. 'city.consider': 'Considera el siguiente nombre de ciudad:',
  2397. 'city.1': 'El nombre de la ciudad es muy corto',
  2398. 'city.2': 'Poner la Abreviación con palabra completa',
  2399. 'city.3': 'Escribir el nombre corto',
  2400. 'city.4': 'Escribir el Nombre de Ciudad',
  2401. 'city.5': 'Corregir Mayúsculas / Minúsculas',
  2402. 'city.6': 'Checar el orden de las palabras',
  2403. 'city.7': 'Checar Abreviación',
  2404. 'city.8r': 'Quitar nombre de País',
  2405. 'city.9': 'Verificar nombre de País',
  2406. 'city.10r': 'Quitar palabra',
  2407. 'city.12': 'Existen nombres iguales con distinto número de Identificador de Ciudad',
  2408. 'city.13a': 'Añadir un espacio',
  2409. 'city.13r': 'Quitar un espacio',
  2410. 'city.14': 'Verificar el número',
  2411. '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ó',
  2412. 'err.regexp': 'Error analizando la opción #${n}:',
  2413. 'props.disabled': 'WME Validator está desactivado',
  2414. 'props.limit.title': 'Demasiados problemas reportados',
  2415. 'props.limit.problem': 'Hay demasiados problemas reportados por lo que algunos de ellos pueden no mostrarse',
  2416. '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)',
  2417. 'props.reports': 'Reportes',
  2418. 'report.save': 'Almacena el reporte',
  2419. 'report.list.andUp': 'y más',
  2420. 'report.list.reportOnly': 'Sólo en el reporte',
  2421. 'report.list.forCountries': 'Para Países:',
  2422. 'report.list.params': 'Parámetros pare configurar en el Paquete de localización:',
  2423. 'report.list.params.set': 'Configuración Actual para ${country}:',
  2424. 'report.list.enabled': 'Hay ${n} parámetros activados para',
  2425. 'report.list.disabled': 'Hay ${n} parámetros desactivados para',
  2426. 'report.list.total': 'Hay ${n} parámetros disponibles',
  2427. 'report.list.title': 'Complete la lista de parámetros para',
  2428. 'report.list.checks': 'Ajustes->Acerca de->Parámetros disponibles',
  2429. 'report.segments': 'Segmentos totales revisados:',
  2430. 'report.reported': 'Reportado(s)',
  2431. 'report.warnings': 'avisos',
  2432. 'report.link.forum': 'foro',
  2433. 'report.link.other': 'enlace',
  2434. 'report.title': 'Reporte del WME Validator',
  2435. 'report.source': 'Fuente del reporte:',
  2436. 'report.filter.streets': 'Calles y vías de Servicio',
  2437. 'report.filter.other': 'Otras vías transitables y no transitables',
  2438. 'report.filter.noneditable': 'segmentos no editables',
  2439. 'report.filter.excluded': 'están excluidas de este reporte',
  2440. 'report.search.updated.since': 'actualizado desde el',
  2441. 'report.search.title': 'Buscar:',
  2442. 'report.search.included': 'están incluidos en el reporte.',
  2443. 'report.beta.warning': 'Advertencia del WME Beta!',
  2444. 'report.beta.text': 'Este reporte está generado en el WME Beta con permalinks beta.',
  2445. 'report.beta.share': 'Por favor, no comparta estos permalinks!',
  2446. 'report.size.warning':
  2447. '<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.',
  2448. 'report.note.limit': '* Nota: Existieron muchas irregularidades en el reporte, por lo que algunas no están tomadas en cuenta en el resumen.',
  2449. 'report.forum': 'Para motivar mayor desarrollo, por favor deje su comentario en el',
  2450. 'report.forum.link': 'Hilo del foro de Waze.',
  2451. 'report.thanks': 'Gracias por usar el WME Validator!',
  2452. 'msg.limit.segments': 'Existen demasiados segmentos.\n\nPulse\'Show report\'para revisar el reporte, luego\n',
  2453. 'msg.limit.segments.continue': 'pulse \'▶\' (Play) para continuar.',
  2454. 'msg.limit.segments.clear': 'pulse \'✘\' (Clear) para borrar el reporte.',
  2455. 'msg.pan.text': 'Mueva el mapa para validarlo',
  2456. 'msg.zoomout.text': 'Aleje el zoom para comenzar el WME Validator',
  2457. 'msg.click.text': 'Pulse \'▶\' (Play) para validar el área visible del mapa',
  2458. 'msg.autopaused': 'paro automático',
  2459. 'msg.autopaused.text': '¡Paro automático! Pulse \'▶\' (Play) para continuar.',
  2460. 'msg.finished.text': 'Pulse <b>\'Show report\'</b> para revisar los problemas en el mapa',
  2461. 'msg.finished.tip': 'Pulse \'✉\' (Share) button para hacer un reporte en el\nforo o en un mensaje privado',
  2462. 'msg.noissues.tip': 'Trata de quitar algunas opciones de filtrado o inicia el WME Validator sobre otra área del mapa',
  2463. 'msg.scanning.text': '¡Analizando! Terminando en ~ ${n} min',
  2464. 'msg.scanning.text.soon': '¡Analizando! Terminando en un minuto!',
  2465. 'msg.scanning.tip': 'Pulse el botón de \'Pause\' para pausar o \'■\' (Stop) para detener el análisis',
  2466. 'msg.starting.text': '¡Comenzando! Las capas se han deshabilitado para analizar más rápido!',
  2467. 'msg.starting.tip': 'Utilice el botón\'Pause\' para pausar o el botón \'■\' para parar',
  2468. 'msg.paused.text': '¡En Pausa! pulse el botón de \'▶\' (Play) para continuar.',
  2469. 'msg.paused.tip': 'Para ver el reporte pulse el botón de \'Show report\' (si está disponible) ',
  2470. 'msg.continuing.tip': 'El WME Validator continuará desde la localización donde fue pausado',
  2471. 'msg.settings.text': 'Pulse <b>\'Back\'</b> para regresar a la vista principal',
  2472. 'msg.settings.tip': '¡Pulse el botón de \'Reset defaults\' para resetear todos los ajustes en un click!',
  2473. 'msg.reset.text': 'Todas las opciones y ajustes han sido devueltos a su estado original',
  2474. 'msg.reset.tip': 'Pulse el botón de \'Back\' para regresar a la vista principal',
  2475. 'msg.textarea.pack':
  2476. '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',
  2477. 'msg.textarea': 'Por favor copia el texto de abajo y pegalo en el foro o en un mensaje privado',
  2478. 'noaccess.text':
  2479. '<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.',
  2480. 'noaccess.tip': '¡Por favor revisa el hilo del foro para mayor información',
  2481. 'tab.switch.tip.on': 'Para encender el resaltado pulsa (Alt+V)',
  2482. 'tab.switch.tip.off': 'Para apagar el resaltado pulsa (Alt+V)',
  2483. 'tab.filter.tip': 'Opciones para filtrar el reporte y los segmentos resaltados',
  2484. 'tab.search.text': 'búsqueda',
  2485. 'tab.search.tip': 'Opciones avanzadas de filtrado para inculír segmentos específicos solamente',
  2486. 'tab.help.tip': '¿Necesita ayuda?',
  2487. 'filter.noneditables.text': 'Excluir los segmentos <b>no editables</b>',
  2488. 'filter.noneditables.tip': 'No reportar los segmentos bloqueados o\nsegmentos fuera de mis áreas de edción',
  2489. 'filter.duplicates.text': 'No incluir segmentos <b>duplicados</b>',
  2490. 'filter.duplicates.tip': 'No mostrar el mismo segmento en distintas\npartes del reporte\n* Nota: Esta opción NO afecta el resaltado',
  2491. 'filter.streets.text': 'No incluir <b>Calles y Vías de Servicio</b>',
  2492. 'filter.other.text': 'No incluir <b>Otras vías conducibles y no conducibles</b>',
  2493. 'filter.other.tip': 'No reportar Vías de Tierra, Vías de estacionamiento, Vías privadas ni \nsegmentos no conducibles',
  2494. 'filter.notes.text': 'No incluir <b>notas</b>',
  2495. 'filter.notes.tip': 'Reportar solamente advertencias y errores',
  2496. 'search.youredits.text': 'Incluir <b>sólo mis ediciones</b>',
  2497. 'search.youredits.tip': 'Incluir sólo los segmentos editados por mí',
  2498. 'search.updatedby.text': '<b>Actualizados por*:</b>',
  2499. 'search.updatedby.tip':
  2500. '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',
  2501. 'search.updatedsince.tip': 'Incluir segmentos editados desde el día epecificado\nFormato de fecha de Firefox: AAAA-MM-DD',
  2502. '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, *',
  2503. 'search.checks.tip':
  2504. '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*, *',
  2505. 'search.checks.example': 'Ejempo: revertir*',
  2506. 'help.text':
  2507. '<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>',
  2508. 'help.tip': 'Abrir en una nueva pestaña en el navegador',
  2509. 'button.scan.tip': 'Comenzar escaneando el área actual del mapa\n* Nota: Esto puede tomar algunos minutos',
  2510. 'button.scan.tip.NA': 'Aleje para comenzar a escanear el área actual del mapa',
  2511. 'button.stop.tip': 'Parar escaneo y regresar a la posición de inicio',
  2512. 'button.clear.tip': 'Borrar reporte y caché de segmento',
  2513. 'button.clear.tip.red':
  2514. '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.',
  2515. 'button.report.text': 'Muestra reporte',
  2516. 'button.report.tip': 'Aplicar el filtro y generar un reporte en HTML en una nueva pestaña',
  2517. 'button.BBreport.tip': 'Compartir el reporte en el Foro de Waze o en un Mensaje Privado',
  2518. 'tab.custom.text': 'Ajustes predefinidos',
  2519. 'tab.custom.tip': 'Ajustes predefinidos por el usuario',
  2520. 'tab.scanner.tip': 'Ajustes de escaneado del mapa',
  2521. 'tab.about.tip': 'Acerca del WME Validator',
  2522. 'scanner.sounds.NA': 'Su navegador no soporta AudioContext',
  2523. 'scanner.highlight.text': 'Resaltar problemas en el mapa',
  2524. 'scanner.highlight.tip': 'Resaltar problemas reportados en el mapa',
  2525. 'scanner.slow.text': 'Habilitar"chequeos" lentos',
  2526. 'scanner.slow.tip': 'Habilita análisis profundo del mapa\n* Nota: esta opción puede hacer lento el proceso de escaneo',
  2527. 'scanner.ext.text': 'Reportar resaltados externos',
  2528. 'scanner.ext.tip': 'Reportar segmentos resaltados por WME Toolbox o WME Color Highlights',
  2529. 'advanced.atbottom.text': 'Hasta abajo',
  2530. 'advanced.atbottom.tip': 'Poner WME Validator en la parte de abajo de la página',
  2531. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>Planilla Propia</a>',
  2532. 'custom.template.tip':
  2533. '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}',
  2534. 'about.tip': 'Abrir liga en una pestaña nueva',
  2535. 'button.reset.text': 'Regresar a los ajustes originales',
  2536. 'button.reset.tip': 'Revertir las opciones de filtrado y ajustes a los originales',
  2537. 'button.list.text': 'Revisiones disponibles...',
  2538. 'button.list.tip': 'Mostrar una lista de revisiones disponibles en WME Validator',
  2539. 'button.wizard.tip': 'Crear un paquete de localización',
  2540. 'button.back.text': 'Regresar',
  2541. 'button.back.tip': 'Cerrar ajustes y regresar a la vista principal',
  2542. '1.problem': 'Los números de salida de los segmentos de la rotonda no son consecutivos',
  2543. '2.problem': 'El segmento tiene nodos geométricos innecesarios',
  2544. '2.solution': 'Simplificar la geometría del segmento pasando el puntero encima del segmento y presionando la letra "d"',
  2545. '3.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2546. '4.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2547. '5.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2548. '6.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2549. '7.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2550. '8.title': 'WME Toolbox: Numeración de Casas',
  2551. '8.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2552. '9.problem': 'El segmento está resaltado por el WME Toolbox. No representa un problema',
  2553. '13.title': 'WME Color Highlights: Bloqueo de un editor',
  2554. '13.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2555. '14.title': 'WME Color Highlights: Vía de peaje / Vía de un sólo sentido',
  2556. '14.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2557. '15.title': 'WME Color Highlights: Recientemente editado',
  2558. '15.problem': 'El segmento está resaltado por elWME Color Highlights. No representa un problema',
  2559. '16.title': 'WME Color Highlights: Rango de v',
  2560. '16.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2561. '17.title': 'WME Color Highlights: Sin Ciudad',
  2562. '17.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2563. '18.title': 'WME Color Highlights: Restricción de tiempo / Tipo de camino resaltado',
  2564. '18.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2565. '19.title': 'WME Color Highlights: Sin nombre',
  2566. '19.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2567. '20.title': 'WME Color Highlights: Filtrar por Ciudad',
  2568. '20.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2569. '21.title': 'WME Color Highlights: Filtrar por nombre alterno de Ciudad (alt. city)',
  2570. '21.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2571. '22.title': 'WME Color Highlights: Filtrar por editor',
  2572. '22.problem': 'El segmento está resaltado por el WME Color Highlights. No representa un problema',
  2573. '23.title': 'Camino sin confirmar',
  2574. '23.problem': 'Cada segmento debe contener como mínimo Información de Estado y País',
  2575. '23.solution': 'Actualice el camino actualizando sus datos',
  2576. '24.enabled': false,
  2577. '24.title': 'Puede contener un nombre de ciudad incorrecto (sólo disponible en el reporte)',
  2578. '24.problem': 'El segmento puede contener el nombre de ciudad incorrecto',
  2579. '24.solution': 'Considere el nombre de ciudad Sugerido y use esta forma para renombrar la ciudad',
  2580. '25.title': 'Sentido desconocido en un camino conducible',
  2581. '25.problem': 'El sentido desconocido del segmento no prevendrá el ruteo por el mismo',
  2582. '25.solution': 'Coloque la dirección del segmento',
  2583. '28.title': 'Nombre de calle en una Rampa de doble sentido',
  2584. '28.problem': 'Si una rampa no tiene nombre, se aplicará el nombre del siguiente camino que lo tenga',
  2585. '28.solution': 'En las propiedades de dirección, active la casilla de \'Ninguno\' seguida del nombre de calle y entonces pulse \'Aplicar\'',
  2586. '29.problem': 'En Waze no se nombran los segmentos de las rotondas',
  2587. '29.solution':
  2588. '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',
  2589. '34.title': 'Vaciar el nombre alterno de calle',
  2590. '34.problem': 'El nombre alterno de calle está vacío',
  2591. '34.solution': 'Quitar los nombres alternos de calle vacíos',
  2592. '35.title': 'Camino conducible no terminado',
  2593. '35.problem': 'Waze no otorgará rutas por segmentos sin terminar',
  2594. '35.solution': 'Mueva un poco el segmento para que el nodo se añada de manera automática',
  2595. '38.title': 'Restricción de segmento vencida (no grave)',
  2596. '38.problem': 'El segmento tiene una restricción que ya venció',
  2597. '38.solution': 'Pulsar \'Editar restricciones\' y borrar las restricciones vencidas',
  2598. '39.title': 'Restricción de giro vencida (no grave)',
  2599. '39.problem': 'El segmento tiene un giro con restricció vencida',
  2600. '39.solution': 'Pulsar la figura del reloj en seguida de la flecha amarilla y borre las restricciones vencidas',
  2601. '41.enabled': false,
  2602. '41.title': 'Conectividad reversible en un segmento conducible',
  2603. '41.problem': 'Existe un giro que va contra la dirección del segmento en el nodo A',
  2604. '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',
  2605. '42.enabled': false,
  2606. '42.title': 'Nodo B: Conectividad reversible en segmento conducible',
  2607. '42.problem': 'Existe un giro que va en contra de la dirección del segmento en el nodo B',
  2608. '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',
  2609. '43.problem': 'El segmento está conectado en sí mismo',
  2610. '43.solution': 'Divida el segmento en tres',
  2611. '46.title': 'Nodo A: No existe conectividad hacia adentro del camino conducible',
  2612. '46.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo A',
  2613. '46.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo A',
  2614. '47.title': 'Nodo B: No existe conectividad hacia adentro del camino conducible (no grave) ',
  2615. '47.problem': 'El segmento conducible no privado no tiene ningún giro permitido en el nodo B',
  2616. '47.solution': 'Seleccione un segmento adyacente y active por lo menos un giro al segmento en el nodo B',
  2617. '48.title': 'Segmento de glorieta de doble sentido',
  2618. '48.problem': 'El segmento de la glorieta es bidireccional',
  2619. '48.solution': 'Rehacer la glorieta',
  2620. '78.title': 'El segmento que creó comienza y termina en un mismo segmento',
  2621. '78.problem': 'Los dos segmentos comparten los mismos puntos finales',
  2622. '78.solution': 'Parta el segmento. Puede también remover uno de ellos si son idénticos',
  2623. '87.title': 'Múltiples segmentos de salida de la glorieta en el nodo A',
  2624. '87.problem': 'El nodo A en la glorieta tiene más de un segmento de salida conectado',
  2625. '87.solution': 'Re hacer la glorieta',
  2626. '99.title': 'Vuelta en U habilitada en segmento de entrada a la glorieta (no grave)',
  2627. '99.problem': 'El segmento de entrada a la glorieta tiene una vuelta en U habilitada',
  2628. '99.solution': 'Deshabilite la vuelta en U',
  2629. '101.title': 'Camino Cerrado (Sólo disponible en el reporte)',
  2630. '101.problem': 'El segmento está marcado como Cerrado',
  2631. '101.solution': 'Si la construcción ya terminó, reactive la conectividad del segmento y remueva el sufijo',
  2632. '102.title': 'No existe conectividad hacia afuera del segmento en el nodo A (no grave)',
  2633. '102.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo A',
  2634. '102.solution': 'Permita por lo menos un giro hacia el segmento en el nodo A',
  2635. '103.title': 'No existe conectividad hacia afuera en el nodo B (no grave))',
  2636. '103.problem': 'El segmento no tiene habilitado ningún giro hacia afuera en el nodo B',
  2637. '103.solution': 'Permita por lo menos un giro desde el segmento en el nodo B',
  2638. '104.enabled': false,
  2639. '104.title': 'Segmento tipo ferrocarril usado para comentarios',
  2640. '104.problem': 'El segmentotipo ferrocarril etá siendo usado probablemente para comentarios del mapa',
  2641. '104.solution': 'Remover los comentarios ya que las vías férreas se verán en la aplicación',
  2642. '107.title': 'No hay conexion del Nodo A (no grave)',
  2643. '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',
  2644. '107.solution': 'Arrastre el nodo A al segmento más cercano de modo que se junten, o muévalo un poco más lejos.',
  2645. '108.title': 'No hay conexión en el nodo B (no grave)',
  2646. '108.problem': 'El nodo B del segmento está dentro del rango de 5m de otro segmento pero no está conectado por una intersección',
  2647. '108.solution': 'Arrastre el nodo B al segmento más cercano de modo que lo toque o muévalo un poco más lejos',
  2648. '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',
  2649. '109.solution': 'Aumente el largo del segmento, remuévalo o llévelo al nodo del segmento adyacente',
  2650. '112.title': 'Nombre de rampa demasiado largo',
  2651. '112.problem': 'El nombre de la rampa tiene más de ${n} letras',
  2652. '112.solution': 'Acorte el nombre de la rampa',
  2653. '116.solution': 'Corrija la elevación',
  2654. '117.title': 'Marcador de Zona de Construcción obsoleto',
  2655. '117.problem': 'El segmento está marcado con un sufijo de Zona de Construcción obsoleto',
  2656. '117.solution': 'Cambie el CONST ZN a (cerrado)',
  2657. '118.title': 'En el Nodo A: Segmentos encimados (no grave)',
  2658. '118.problem': 'El segmento está encimado con el segmento adyacente en el nodo A',
  2659. '118.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo A',
  2660. '119.title': 'Nodo B: Segmentos encimados',
  2661. '119.problem': 'El segmento está encimado con el segmento adyacente en el nodoB',
  2662. '119.solution': 'Abra los segmentos a 2°, borre el punto geométrico o el segmento duplicado en el nodo B',
  2663. '120.title': 'Nodo A: Giro demasiado cerrado (no grave)',
  2664. '120.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo A',
  2665. '120.solution': 'Prohíba la vuelta cerrada en el nodo A o abra los segmentos a 30°',
  2666. '121.title': 'Nodo B: Giro demasiado cerrado (no grave)',
  2667. '121.problem': 'El segmento conducible tiene un ángulo de giro muy cerrado en el nodo B',
  2668. '121.solution': 'Prohíba la vuelta cerrada en el nodo B o abra los segmentos a 30°',
  2669. '128.title': 'Revisión definida por el usuario (verde)',
  2670. '128.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2671. '128.solution': 'Resuelva el problema',
  2672. '129.title': 'Revisión definida por el usuario (azúl)',
  2673. '129.problem': 'Algunas propiedades del segmento van en contra de la expresión regular definida por el usuario (ver Settings→Custom)',
  2674. '129.solution': 'Resuelva el problema',
  2675. '150.enabled': false,
  2676. '151.enabled': false,
  2677. '152.enabled': false,
  2678. '172.title': 'Espacios innecesarios en el nombre de calle',
  2679. '172.solution': 'Eliminar espacios innecesarios del nombre de la calle',
  2680. '173.title': 'No hay espacio antes/después de la abreviatura en el nombre de calle',
  2681. '173.problem': 'No hay espacio antes de (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de calle',
  2682. '173.solution': 'Añadir un espacio antes/después de la abreviatura',
  2683. '175.title': 'Nombre de calle vacío',
  2684. '175.problem': 'El nombre de la calle tiene solamente espacios o un punto',
  2685. '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\'',
  2686. '190.enabled': false,
  2687. '190.title': 'Nombre de ciudad en minúsculas',
  2688. '190.solution': 'Use esta forma para renombrar la ciudad',
  2689. '192.enabled': false,
  2690. '192.title': 'Espacios innecesarios en el nombre de ciudad',
  2691. '192.solution': 'Use esta forma para renombrar la ciudad',
  2692. '193.title': 'No hay espacios antes/después de la abreviatura de la Ciudad',
  2693. '193.problem': 'No hay espacio antes (\'1943r.\') o después (\'Sn.Juan\') de una abreviatura en el nombre de ciudad',
  2694. '193.solution': 'Use esta forma para renombrar la ciudad',
  2695. '200.enabled': false,
  2696. '200.title': 'En el nodo A: Giro no confirmado en un camino menor',
  2697. '200.problem': 'El segmento del camino menor tiene un giro no confirmado (suave) en el nodo A',
  2698. '200.solution':
  2699. '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',
  2700. '201.enabled': false,
  2701. '201.title': 'En el nodo A: Giro no confirmado en una vía primaria',
  2702. '201.problem': 'El segmento de vía primaria tiene un giro no confirmado (suave) en el nodo A',
  2703. '201.solution':
  2704. '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',
  2705. '202.enabled': false
  2706. },
  2707. 'LU': {'.codeISO': 'LU', '.country': 'Luxembourg', '.fallbackCode': 'BE', '160.enabled': false},
  2708. 'IT': {
  2709. '.codeISO': 'IT',
  2710. '.country': 'Italy',
  2711. '57.enabled': true,
  2712. '59.enabled': true,
  2713. '90.enabled': true,
  2714. '95.enabled': true,
  2715. '150.enabled': true,
  2716. '151.enabled': true,
  2717. '151.params': {'n': 5},
  2718. '152.enabled': true,
  2719. '152.params': {'n': 4},
  2720. '163.enabled': true,
  2721. '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'},
  2722. '170.enabled': true
  2723. },
  2724. 'IL': {
  2725. '.codeISO': 'IL',
  2726. '.country': 'Israel',
  2727. '.author': 'gad_m',
  2728. '.updated': '2014-06-30',
  2729. '.lng': 'HE',
  2730. '.dir': 'rtl',
  2731. 'city.consider': 'בדוק את שם העיר:',
  2732. 'city.1': 'שם העיר קצר מדי',
  2733. 'city.2': 'אל תשתמש בשם מקוצר',
  2734. 'city.3': 'השלם את השם הקצר',
  2735. 'city.4': 'השלם את שם העיר',
  2736. 'city.5': 'תקן אותיות רישיות',
  2737. 'city.6': 'בדוק סדר המילה',
  2738. 'city.7': 'בדוק סימני קיצור',
  2739. 'city.8a': 'הוסף מדינה',
  2740. 'city.8r': 'מחק מדינה',
  2741. 'city.9': 'בדוק מדינה',
  2742. 'city.10a': 'הוסף מילה',
  2743. 'city.10r': 'הורד מילה',
  2744. 'city.11': 'הוסף קוד מדינה',
  2745. 'city.12': 'שמות זהים, אבל קוד זיהוי עיר שונה',
  2746. 'city.13a': 'הוסף רווח',
  2747. 'city.13r': 'הורד רווח',
  2748. 'city.14': 'בדוק את המספר',
  2749. 'props.skipped.title': 'המקטע לא נבדק',
  2750. 'props.skipped.problem': 'הקטע נערך לאחר 2014/5/1 ונעול לעריכה עבורך, אז Validator לא יכול לבדוק אותו',
  2751. 'err.regexp': 'אירעה שגיאה עבור בדיקה #${n}:',
  2752. 'props.disabled': 'התוסף אינו מופעל',
  2753. 'props.limit.title': 'יותר מדי בעיות דווחו',
  2754. 'props.limit.problem': 'ישנם בעיות רבות מדי שדווחו, כך שחלק מהם אולי לא יראו',
  2755. 'props.limit.solution': 'בטל את הבחירה של המקטע והפסק את תהליך סריקה. לאחר מכן לחץ על הכפתור האדום \'✘\' (מחק הדו"ח)',
  2756. 'props.reports': 'בעיות שנמצאו ע"י ',
  2757. 'props.noneditable': 'אינך יכול לערוך מקטע זה',
  2758. 'report.save': 'שמור את הדו"ח',
  2759. 'report.list.andUp': 'ולמעלה',
  2760. 'report.list.severity': 'חומרה',
  2761. 'report.list.reportOnly': 'רק בדיווח',
  2762. 'report.list.forEditors': 'לרמת עורכים',
  2763. 'report.list.forCountries': 'לארצות',
  2764. 'report.list.forStates': 'למדינות',
  2765. 'report.list.forCities': 'לערים',
  2766. 'report.list.params': 'משתנים להגדרת חבילת לוקליזציה',
  2767. 'report.list.params.set': 'תצורה נוכחית עבור ${country}:',
  2768. 'report.list.enabled': '${n} בדיקות מאופשרות עבור',
  2769. 'report.list.disabled': '${n} בדיקות כבויות עבור',
  2770. 'report.list.total': 'יש ${n} בדיקות זמינות',
  2771. 'report.list.title': 'רשימה מלאה של בדיקות עבור',
  2772. 'report.list.see': 'ראה',
  2773. 'report.list.checks': 'הגדרות->אודות->בדיקות זמינות',
  2774. 'report.list.fallback': 'כללי עתודה של תמיכת הלוקליזציה:',
  2775. 'report.and': 'וגם',
  2776. 'report.segments': 'סה"כ מקטעים שנבדקו:',
  2777. 'report.customs': 'בדיקות מותאמות אישית תואמים (#1/#2):',
  2778. 'report.reported': 'דווחו',
  2779. 'report.errors': 'טעויות',
  2780. 'report.warnings': 'אזהרות',
  2781. 'report.notes': 'הערות',
  2782. 'report.contents': 'תוכן:',
  2783. 'report.summary': 'סיכום',
  2784. 'report.title': 'דו"ח WME Validator',
  2785. 'report.share': 'לשתף',
  2786. 'report.generated.by': 'נוצר ע"י',
  2787. 'report.generated.on': 'ב',
  2788. 'report.source': 'מקור הדו"ח:',
  2789. 'report.filter.duplicate': 'מקטעים כפולים',
  2790. 'report.filter.streets': 'רחובות וכבישי שרות',
  2791. 'report.filter.other': 'אחרים - מותרים ואסורים לנהיגה',
  2792. 'report.filter.noneditable': 'מקטעים שלא ניתנים לעריכה',
  2793. 'report.filter.notes': 'הערות',
  2794. 'report.filter.title': 'מסננים:',
  2795. 'report.filter.excluded': 'אינם נכללים בדו"ח זה.',
  2796. 'report.search.updated.by': 'עודכן ע"י',
  2797. 'report.search.updated.since': 'עודכן ב',
  2798. 'report.search.city': 'מ',
  2799. 'report.search.reported': 'דווח כ',
  2800. 'report.search.title': 'חפש:',
  2801. 'report.search.only': 'מקטעים בלבד',
  2802. 'report.search.included': 'נכללים בדו"ח זה.',
  2803. 'report.beta.warning': 'אזהרות עורך בטא:',
  2804. 'report.beta.text': 'דו"ח זה חולל ע"י עורך גירסת בטא וכולל קישורים קבועים לבטא.',
  2805. 'report.beta.share': 'אנא אל תשתף את הפרמלינקים האלה!',
  2806. 'report.size.warning': '<b>אזהרה!</b><br>אורך הדו"ח הוא ${n} תווים<b>הוא לא מתאים להכנס</b> להודעה פרטית אחת בפורום\n<br>אנא הוסף<b>מסננים נוספים</b> על מנת להקטין את גודל הדו"ח',
  2807. 'report.note.limit': '* הערה: היו בעיות רבות מדי שדווחו, כך שחלק מהם אינם נספר בסיכום.',
  2808. 'report.forum': 'לעידוד פיתוח נוסף, אנא השאר משוב ב',
  2809. 'report.thanks': 'תודה שהשתמשת ב WME Validator!',
  2810. 'msg.limit.segments': 'יש יותר מדי מקטעים.\n\nלחץ \'צפה בדו"ח\' בכדי לצפות בדו"ח, אח"כ לחץ \'▶\' כדי להמשיך.',
  2811. 'msg.limit.segments.continue': 'לחץ \'▶\' (בצע) כדי להמשיך',
  2812. 'msg.limit.segments.clear': 'לחץ \'✘\' (מחק) כדי למחוק את הדו"ח.',
  2813. 'msg.pan.text': 'הזז מעט את המפה כדי להתחיל בבדיקה',
  2814. 'msg.zoomout.text': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח ע"י WME Validator',
  2815. 'msg.click.text': 'לניתוח שטח המפה הגלוי לחץ על \'▶\' ',
  2816. 'msg.autopaused': 'עצירה אוטומטית',
  2817. 'msg.autopaused.text': 'עצירה אוטומטית! לחץ על \'▶\' כדי להמשיך',
  2818. 'msg.autopaused.tip': 'כלי זה עוצר אוטומטית כשמזיזים את המפה או כשמשנים את גודל החלון',
  2819. 'msg.finished.text': 'לחץ <b>\'צפה בדו"ח\'</b> כדי לצפות בבעיות במפה',
  2820. 'msg.finished.tip': 'לחץ על \'✉\' (שתף) כדי לדווח בפורום\nאו כהודעה פרטית',
  2821. 'msg.noissues.text': 'הסריקה הסתיימה! לא נמצאו בעיות!',
  2822. 'msg.noissues.tip': 'נסה לכבות חלק מהמסננים או התחל מחדש את הסריקה',
  2823. 'msg.scanning.text': 'סורק! יסיים בעוד כ ${n} דקות לערך',
  2824. 'msg.scanning.text.soon': 'סורק! יסיים בעוד כדקה!',
  2825. 'msg.scanning.tip': 'לחץ על \'השהה\' כדי לעצור או על \'■\' כדי לעצור',
  2826. 'msg.starting.text': 'מכין את הדו"ח! השכבות מוסתרות כדי לסרוק מהר יותר',
  2827. 'msg.starting.tip': 'לחץ על \'השהה\' או על \'■\' כדי לעצור',
  2828. 'msg.paused.text': 'בהשהייה! לחץ \'▶\' כדי להמשיך',
  2829. 'msg.paused.tip': 'לצפיה בדו"ח לחץ על \'צפה בדו"ח\' (אם זמין)',
  2830. 'msg.continuing.text': 'ממשיך!',
  2831. 'msg.continuing.tip': 'WME Validator ימשיך מהמקום בו הפסיק',
  2832. 'msg.settings.text': 'לחץ <b>\'חזרה\'</b> לחזרה למסך הראשי',
  2833. 'msg.settings.tip': 'לחץ \'אפס לברירת מחדל\' כדי לאפס את כל ההגדרות',
  2834. 'msg.reset.text': 'כל אפשרויות הסינון וההגדרות אופסו לברירת המחדל שלהם',
  2835. 'msg.reset.tip': 'לחץ על \'חזרה\' כדי לחזור לתצוגה הראשית',
  2836. 'msg.textarea.pack': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בקובץ <b>.user.js</b> חדש',
  2837. 'msg.textarea': 'אנא העתק את הטקסט שלהלן ולאחר מכן הדבק אותו בשרשור בפורום או כהודעה פרטית',
  2838. 'noaccess.text':
  2839. '<b>מצטער,</b><br>אינך יכול להשתמש ב WME Validator כאן.<br>אנא בדוק <a target="_blank" href="https://www.waze.com/forum/viewtopic.php?t=76488">את השרשור בפורום</a><br>למידע נוסף.',
  2840. 'noaccess.tip': 'אנא בדוק את השרשור בפורום למידע נוסף!',
  2841. 'tab.switch.tip.on': 'לחץ להפעלה (Alt+V)',
  2842. 'tab.switch.tip.off': 'לחץ לכיבוי (Alt+V)',
  2843. 'tab.filter.text': 'מסננים',
  2844. 'tab.filter.tip': 'אפשרויות סינון הדו"ח והדגשות בעורך המפה',
  2845. 'tab.search.text': 'חיפוש',
  2846. 'tab.search.tip': 'אפשרויות סינון מתקדמות כדי לכלול מקטעים ספציפיים בלבד',
  2847. 'tab.help.text': 'עזרה',
  2848. 'tab.help.tip': 'צריך עזרה?',
  2849. 'filter.noneditables.text': 'הסתר מקטעים <b>שאינם ניתנים לעריכה</b>',
  2850. 'filter.noneditables.tip': 'אל תדווח על מקטעים נעולים או\nמקטעים מחוץ לאיזור העריכה שלך',
  2851. 'filter.duplicates.text': 'הסתר <b>כפילויות</b> במקטעים',
  2852. 'filter.duplicates.tip': 'אל תראה את אותו המקטע בחלקים\nשונים של הדו"ח\n* שים לב: אפשרות זו אינה משפיעה על ההדגשות',
  2853. 'filter.streets.text': 'הסתר <b>רחוב</b> ו<b>כביש שרות</b>',
  2854. 'filter.streets.tip': 'אל תכלול בדו"ח מקטעים מסוג רחוב וכביש שרות',
  2855. 'filter.other.text': 'הסתר אחרים ש<b>מותרים לנהיגה</b> וכל ה<b>אסורים לנהיגה</b>',
  2856. 'filter.other.tip': 'אל תכלול בדו"ח מקטעים מסוג דרך עפר, מגרש חניה, כביש פרטי\nומקטעים שאסורים לנהיגה',
  2857. 'filter.notes.text': 'הסתר <b>הערות</b>',
  2858. 'filter.notes.tip': 'דווח רק על אזהרות ושגיאות',
  2859. 'search.youredits.text': 'כלול <b>רק עריכות שלך</b>',
  2860. 'search.youredits.tip': 'כלול רק מקטעים שערכת בעצמך',
  2861. 'search.updatedby.text': '<b>עודכן על ידי:</b>',
  2862. 'search.updatedby.tip':
  2863. 'כלול סיגמנטים שנערכו ע"י עורך מסויים\nשדה זה תומך ב:\n- רשימות: me, otherEditorName\n- תווים חופשיים: world*\n- שלילה: !me, *\nשים לב: ניתן להשתמש ב me כהתאמה לעצמך',
  2864. 'search.updatedby.example': 'דוגמה: אני',
  2865. 'search.updatedsince.text': '<b>עודכן ב:</b>',
  2866. 'search.updatedsince.tip': 'כלול מקטעים שנערכו מאז תאריך מסויים\nפורמט תאריך: YYYY-MM-DD',
  2867. 'search.updatedsince.example': 'YYYY-MM-DD',
  2868. 'search.city.text': '<b>שם העיר:</b>',
  2869. 'search.city.tip': 'כלול מקטעים בעלי שם עיר מסויימת\nשדה זה תומך ב:\nרשימות: ירושלים, אשקלון\nתווים כלליים: תל *\nשלילה: !ירושלים, *',
  2870. 'search.city.example': 'דוגמה: !ירושלים, *',
  2871. 'search.checks.text': '<b>דווח כ:</b>',
  2872. 'search.checks.tip':
  2873. 'כלול רק מקטעים שדווחו לגביהם:\nשדה זה תואם:\n- חומרת הבעיה: errors\n- שמות קבועים: New road\n- מספרים מזהים: 40\nשדה זה תומך ב:\n- רשימות: 36,37\n- תווים כלליים: *roundabout*\n- שלילה: !soft turns*, *\n',
  2874. 'search.checks.example': 'דוגמה: *הפוך*',
  2875. 'help.text':
  2876. '<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>',
  2877. 'help.tip': 'פתח בכרטיסיית דפדפן חדשה',
  2878. 'button.scan.tip': 'התחל לסרוק את המפה הנוכחית\nשים לב: פעולה זו יכולה לקחת מספר דקות',
  2879. 'button.scan.tip.NA': 'הקטן את התצוגה כדי להתחיל את יצירת הדו"ח באיזור המפה הנוכחי',
  2880. 'button.pause.tip': 'עצור את הסריקה',
  2881. 'button.continue.tip': 'המשך לסרוק את המפה',
  2882. 'button.stop.tip': 'עצור את הסריקה וחזור להתחלה',
  2883. 'button.clear.tip': 'מחק הדו"ח ומקטעים מהזיכרון',
  2884. 'button.clear.tip.red': 'יותר מדי דיווחים על בעיות במקטעים:\n1. לחץ \'צפה בדו"ח להפיק את הדו"ח\'.\n2. לחץ על כפתור זה כדי למחוק את הדו"ח ולהתחיל מחדש.',
  2885. 'button.report.text': 'צפה בדו"ח',
  2886. 'button.report.tip': 'השתמש בהגדרות המסננים והפק דו"ח HTML שיפתח בכרטיסיית דפדפן חדשה',
  2887. 'button.BBreport.tip': 'שתף את הדו"ח בפורום של וייז או בהודעה פרטית',
  2888. 'button.settings.tip': 'הגדרות',
  2889. 'tab.custom.text': 'מותאם',
  2890. 'tab.custom.tip': 'הגדרת בדיקות מותאמות אישית לפי הגדרות המשתמש',
  2891. 'tab.settings.text': 'הגדרות',
  2892. 'tab.scanner.text': 'סורק',
  2893. 'tab.scanner.tip': 'הגדרות סריקה',
  2894. 'tab.about.text': 'אודות</span>',
  2895. 'tab.about.tip': 'אודות WME Validator',
  2896. 'scanner.sounds.text': 'אפשר צלילים',
  2897. 'scanner.sounds.tip': 'ציפצופים וביפים בזמן סריקה',
  2898. 'scanner.sounds.NA': 'הדפדפן שלך אינו תומך ב AudioContext',
  2899. 'scanner.highlight.text': 'הדגש בעיות על גבי המפה',
  2900. 'scanner.highlight.tip': 'הדגר בעיות מדווחות על גבי המפה',
  2901. 'scanner.slow.text': 'אפשר בדיקות המוגדרות כ"איטי"',
  2902. 'scanner.slow.tip': 'מאפשר ניתוח מעמיק של המפה\n* שים לב: אפשרות זו עלולה להאט את תהליך הסריקה',
  2903. 'scanner.ext.text': 'דווח על הדגשות ממקורות אחרים',
  2904. 'scanner.ext.tip': 'דווח על מקטעים שהודגשו ע"י WME Toolbox או WME Color Highlights',
  2905. 'custom.template.text': '<a target=\'_blank\' href=\'https://www.waze.com/forum/viewtopic.php?t=76488&p=749456#p749456\'>תבנית מותאמת אישית</a>',
  2906. 'custom.template.tip':
  2907. 'תבנית להרחבת בדיקות מותאמת אישית המוגדרת על ידי משתמש.\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}',
  2908. 'custom.template.example': 'דוגמה: ${city}',
  2909. 'custom.regexp.text': '<a target="_blank" href="https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions">ביטוי רגולרי</a> מותאם אישית',
  2910. 'custom.regexp.tip': 'ביטוי רגולרי מותאם אישית ע"י המשתמש התואם את התבנית\nהתאמה: /regexp/\nשלילה: !/regexp/\nכתוב מידע של התוכנית לקונסולה (debug)\n',
  2911. 'custom.regexp.example': 'דוגמה: /גבעת שמואל/',
  2912. 'about.tip': 'פתח קישור בכרטיסיית דפדפן חדשה',
  2913. 'button.reset.text': 'אפס לברירת מחדל',
  2914. 'button.reset.tip': 'אפס אפשרויות סינון והגדרות לברירת המחדל',
  2915. 'button.list.text': 'בדיקות זמינות...',
  2916. 'button.list.tip': 'הראה את רשימ הבדיקות הזמינות של WME Validator',
  2917. 'button.wizard.tip': 'צור קבצי לוקליזציה',
  2918. 'button.back.text': 'חזרה',
  2919. 'button.back.tip': 'סגור הגדרות וחזור לחלון ראשי',
  2920. '1.enabled': false,
  2921. '1.title': 'WME Toolbox: כיכר שעלול ליצור בעיות',
  2922. '1.problem': 'מספרים מזהים של צמתים של מקטעים בכיכר אינם רצופים',
  2923. '1.solution': 'בנה מחדש את הכיכר',
  2924. '2.title': 'WME Toolbox: מקטע פשוט',
  2925. '2.problem': 'למקטע יש מפרקים מיותרים',
  2926. '2.solution': 'פשט את מפרקי המקטע ע"י מעבר עם העכבר מעל המקטע ולחיצה על מקש "d"',
  2927. '3.title': 'WME Toolbox: נעילה ברמה 2',
  2928. '3.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2929. '4.title': 'WME Toolbox: נעילה ברמה 3',
  2930. '4.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2931. '5.title': 'WME Toolbox: נעילה ברמה 4',
  2932. '5.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2933. '6.title': 'WME Toolbox: נעילה ברמה 5',
  2934. '6.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2935. '7.title': 'WME Toolbox: נעילה ברמה 6',
  2936. '7.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2937. '8.title': 'WME Toolbox: מספרי בתים',
  2938. '8.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2939. '9.title': 'WME Toolbox: מקטע עם הגבלות לפי שעות',
  2940. '9.problem': 'המקטע מודגש ע"י WME Toolbox. זו אינה שגיאה',
  2941. '13.title': 'WME Color Highlights: נעילת עורך',
  2942. '13.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2943. '14.title': 'WME Color Highlights: כביש אגרה / כביש חד סיטרי',
  2944. '14.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2945. '15.title': 'WME Color Highlights: נערך לאחרונה',
  2946. '15.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2947. '16.title': 'WME Color Highlights: דרגה של כביש',
  2948. '16.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2949. '17.title': 'WME Color Highlights: ללא עיר',
  2950. '17.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2951. '18.title': 'WME Color Highlights: הגבלות לפי שעות / סוג כביש מודגש',
  2952. '18.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2953. '19.title': 'WME Color Highlights: ללא שם',
  2954. '19.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2955. '20.title': 'WME Color Highlights: מסנן לפי עיר',
  2956. '20.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2957. '21.title': 'WME Color Highlights: מסנן לפי עיר',
  2958. '21.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2959. '22.title': 'WME Color Highlights: מסנן לפי עורך',
  2960. '22.problem': 'המקטע מודגש ע"י WME Color Highlights. זו אינה שגיאה',
  2961. '23.title': 'מקטע ללא שם',
  2962. '23.problem': 'כל מקטע חייב לפחות הגדרת מדינה',
  2963. '23.solution': 'אשר את הכביש ע"י עריכת הפרטים שלו',
  2964. '24.title': 'יתכן ששם העיר שגוי (זמין רק בדו"ח)',
  2965. '24.problem': 'יתכן ששם העיר של המקטע שגוי (זמין רק בדו"ח)',
  2966. '24.solution': 'שקול להשתמש בשם העיר שמוצע והשתמש בטופס זה כדי לשנות שם עיר',
  2967. '25.title': 'כיוון לא ידוע של כביש מותר בנהיגה',
  2968. '25.problem': 'כיוון "לא ידוע" של כביש לא מונע ניווט דרכו',
  2969. '25.solution': 'קבע את כיוון הנסיעה של הכביש',
  2970. '27.enabled': true,
  2971. '27.title': 'שם עיר על מסילת רכבת',
  2972. '27.problem': 'שם עיר על מסילת רכבת עלול לטשטש את גבולות העיר',
  2973. '27.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  2974. '28.enabled': false,
  2975. '28.title': 'שם רחוב למחבר דו כיווני',
  2976. '28.problem': 'כשהמחבר ללא שם, הוא יקבל את שמו מהכביש אליו הוא מוביל',
  2977. '28.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  2978. '29.title': 'לכיכר יש שם רחוב',
  2979. '29.problem': 'בווויז לא נותנים שמות למקטעים השייכים לכיכר',
  2980. '29.solution': 'בשדה \'רחוב\' הדלק את האפשרות \'אין\', לחץ \'החל\'. כדי לתת שם לכיכר הוסף \'מקום\' עם קטגורית \'צומת\' ותן לו את שם הכיכר',
  2981. '34.title': '\'שם חלופי\' ריק',
  2982. '34.problem': 'שדה \'שם חלופי\' של הרחוב ריק',
  2983. '34.solution': 'הסר את ה\'שם חלופי\' של הרחוב',
  2984. '35.title': 'כביש מותר לנהיגה קטוע',
  2985. '35.problem': 'וייז לא ינווט מכביש קטוע',
  2986. '35.solution': 'הזז מעט את המקטע כך שיתווסף אוטומטית צומת המסיים את המקטע',
  2987. '36.title': 'צומת A: מיותר (איטי)',
  2988. '36.problem': 'מקטעים סמוכים בצומת A זהים',
  2989. '36.solution': 'בחר את צומת A ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  2990. '37.title': 'צומת B: מיותר (איטי)',
  2991. '37.problem': 'מקטעים סמוכים בצומת B זהים',
  2992. '37.solution': 'בחר את צומת B ולחץ על \'מחיקה\' כדי לאחד את המקטעים',
  2993. '38.title': 'פג תוקף של מגבלה על מקטע (איטי)',
  2994. '38.problem': 'למקטע יש מגבלות שפג תוקפם',
  2995. '38.solution': 'לחץ על "הוסף הגבלות" ומחק מגבלות שפג תוקפם',
  2996. '39.title': 'פג תוקף של מגבלה על פניה (איטי)',
  2997. '39.problem': 'במקטע יש פניה עם מגבלה שפג תוקפה',
  2998. '39.solution': 'לחץ על סימון השעון שליד החץ הצהוב של הפניה ומחק הגבלות שפג תוקפן',
  2999. '41.enabled': false,
  3000. '41.title': 'צומת A: קישוריות הפוכה של כביש מותר לנהיגה',
  3001. '41.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת A',
  3002. '41.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת A ואחר כך הפוך חזרה את המקטע ל"חד כיווני (A→B)"',
  3003. '42.enabled': false,
  3004. '42.title': 'צומת B: קישוריות הפוכה של כביש מותר לנהיגה',
  3005. '42.problem': 'יש פניה הפוכה לכיוון הנסיעה של המקטע בצומת B',
  3006. '42.solution': 'הפוך את המקטע לדו כיווני, אסור את כל הפניות בצומת B ואחר כך הפוך חזרה את המקטע ל"חד כיווני (B→A)"',
  3007. '43.title': 'קישור לעצמי',
  3008. '43.problem': 'המקטע יוצר צומת עם המקטע עצמו',
  3009. '43.solution': 'פצל את המקטע לשלושה מקטעים',
  3010. '44.title': 'אין חיבור ביציאה',
  3011. '44.problem': 'מקטע מותר בנהיגה ללא אף פניה מאופשרת ביציאה ממנו',
  3012. '44.solution': 'אפשר לפחות פניה אחת ביציאה מהמקטע',
  3013. '45.title': 'אין חיבור בכניסה',
  3014. '45.problem': 'אין אף פניה מאופשרת בכניסה למקטע המותר בנהיגה',
  3015. '45.solution': 'בחר מקטע סמוך ואפשר פניה למקטע זה',
  3016. '46.title': 'צומת A: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3017. '46.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת A',
  3018. '46.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת A',
  3019. '47.title': 'צומת B: אין מקטע מותר לנהיגה המוביל לצומת זו (איטי)',
  3020. '47.problem': 'לכביש מותר לנהיגה אין מקטע סמוך עם פניה מאופשרת המובילה אליו בצומת B',
  3021. '47.solution': 'בחר מקטע סמוך, אפשר פניה אל המקטע בצומת B',
  3022. '48.title': 'מקטע דו כיווני בכיכר',
  3023. '48.problem': 'מקטע מותר לנהיגה בכיכר הוא דו כיווני',
  3024. '48.solution': 'צור מחדש את הכיכר',
  3025. '50.title': 'אין חיבור לכיכר (איטי)',
  3026. '50.problem': 'למקטע מותר לנהיגה בכיכר אין חיבור למקטע סמוך בכיכר',
  3027. '50.solution': 'אפשר פניה במקטע סמוך או צור מחדש את הכיכר',
  3028. '57.enabled': true,
  3029. '57.title': 'שם עיר במחבר עם שם רחוב',
  3030. '57.problem': 'שם עיר במחבר עם שם רחוב עלול להשפיע על תוצאות החיפוש',
  3031. '57.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3032. '59.enabled': true,
  3033. '59.title': 'שם עיר בכביש מהיר',
  3034. '59.problem': 'שם עיר בכביש מהיר עלול לטשטש את גבולות העיר',
  3035. '59.solution': 'בשדה \'עיר\' הדלק את האפשרות \'אין\' ואז \'החל\'',
  3036. '77.enabled': false,
  3037. '77.title': 'פניית פרסה ברחוב ללא מוצא',
  3038. '77.problem': 'מאופשרת פניית פרסה במקטע מותר לנהיגה ללא מוצא',
  3039. '77.solution': 'אל תאפשר פניית פרסה',
  3040. '78.title': 'שני מקטעים המותרים לנהיגה מסתיימים באותן נקודות (איטי)',
  3041. '78.problem': 'שני מקטעים המותרים לנהיגה בעלי אותן נקודות קצה',
  3042. '78.solution': 'פצל את המקטע לשני מקטעים. יתכן ויש צורך למחוק את אחד המקטעים אם הם זהים',
  3043. '87.title': 'מקטעים מרובים יוצאים מצומת A',
  3044. '87.problem': 'לצומת A בכיכר מחובר יותר ממקטע יציאה אחד',
  3045. '87.solution': 'צור מחדש את הכיכר',
  3046. '90.enabled': true,
  3047. '90.title': 'כביש מהיר דו סיטרי',
  3048. '90.problem': 'רוב הכבישים המהירים מפוצלים לשני מקטעים חד סיטריים כך שיתכן שיש טעות במקטע',
  3049. '90.solution': 'בדוק את כיוון הנסיעה של הכביש המהיר',
  3050. '91.title': 'מחבר דו כיווני',
  3051. '91.problem': 'רוב המחברים הם חד סיטריים, כך שיתכן שזו שגיאה שמחבר זה מוגדר כדו-סיטרי',
  3052. '91.solution': 'בדוק כיווני נסיעה במחבר',
  3053. '99.title': 'פניית פרסה מאופשרת בכניסה לכיכר (איטי)',
  3054. '99.problem': 'פניית פרסה מאופשרת במקטע הנכנס לכיכר',
  3055. '99.solution': 'אל תאפשר פניית פרסה',
  3056. '101.title': 'כביש סגור (זמין רק בדו"ח)',
  3057. '101.problem': 'המקטע מסומן כסגור',
  3058. '101.solution': 'אם הבנייה הסתיימה, שחזר את קישוריות המקטע והסר את הסיומת',
  3059. '102.title': 'צומת A: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3060. '102.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת A',
  3061. '102.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת A',
  3062. '103.title': 'צומת B: אין חיבור ביציאה של כביש מותר בנהיגה (איטי)',
  3063. '103.problem': 'מקטע מותר בנהיגה ללא אף יציאה מאופשרת בצומת B',
  3064. '103.solution': 'אפשר לפחות יציאה אחת מהמקטע בצומת B',
  3065. '104.title': 'מסילת רכבת משמשת כהערה',
  3066. '104.problem': 'נראה שמקטע מסוג מסילת רכבת משמש כהערה',
  3067. '104.solution': 'הסר את המקטע כיוון שמסילת רכבת תיראה במסך של משתמש הקצה',
  3068. '107.title': 'צומת A: אין חיבור (איטי)',
  3069. '107.problem': 'צומת A של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3070. '107.solution': 'חבר את צומת A למקטע הקרוב ביותר או הרחק אותו מעט',
  3071. '108.title': 'צומת B: אין חיבור (איטי)',
  3072. '108.problem': 'צומת B של מקטע מותר לנהיגה נמצאת במרחק של 5 מטרים ממקטע אחר מותר לנהיגה שאינו מחובר',
  3073. '108.solution': 'חבר את צומת B למקטע הקרוב ביותר או הרחק אותו מעט',
  3074. '109.enabled': false,
  3075. '109.title': 'מקטע קצר מדי',
  3076. '109.problem': 'מקטע מותר לנהיגה ללא קצה הוא פחות מ 2 מטר. וקשה לראות זאת במפה',
  3077. '109.solution': 'הארך את המקטע, מחק אותו או חבר אותו למקטע סמוך',
  3078. '112.title': 'לשם המחבר יש יותר מ ${n} אותיות',
  3079. '112.problem': 'שם המחבר ארוך מדי',
  3080. '112.solution': 'קצר את שם המחבר',
  3081. '114.enabled': false,
  3082. '114.title': 'צומת A: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3083. '114.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת A',
  3084. '114.solution': 'נתק את צומת A ממקטעים מותרים לנהיגה',
  3085. '115.enabled': false,
  3086. '115.title': 'צומת B: מקטע אסור לנהיגה מחובר למקטע מותר לנהיגה (איטי)',
  3087. '115.problem': 'מקטע אסור לנהיגה יוצר צומת עם מקטע מותר לנהיגה בצומת B',
  3088. '115.solution': 'נתק את צומת B ממקטעים מותרים לנהיגה',
  3089. '116.title': 'גובה לא בטווח המותר',
  3090. '116.problem': 'גובה המקטע לא בטווח המותר',
  3091. '116.solution': 'תקן את הגובה',
  3092. '117.title': 'סימון של קבוע ישן ZN',
  3093. '117.problem': 'המקטע מסומן בסימון של קבוע שלא בתוקף: ZN',
  3094. '117.solution': 'שנה את הקבוע ZN ל: (סגור)',
  3095. '118.title': 'צומת A: מקטעים חופפים (איטי)',
  3096. '118.problem': 'המקטע חופף למקטע סמוך בצומת A',
  3097. '118.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת A',
  3098. '119.title': 'צומת B: מקטעים חופפים (איטי)',
  3099. '119.problem': 'המקטע חופף למקטע סמוך בצומת B',
  3100. '119.solution': 'הזז את המקטע ב 2° או מחק מפרקים או מחק את המקטע הכפול בצומת B',
  3101. '120.title': 'צומת A: פנייה חדה מדי (איטי)',
  3102. '120.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת A',
  3103. '120.solution': 'אסור את הפנייה החדה בצומת A או שנה את זווית הפניה ל 30°',
  3104. '121.title': 'צומת B: פנייה חדה מדי (איטי)',
  3105. '121.problem': 'במקטע מותר לנהיגה יש פנייה מאד חדה בצומת B',
  3106. '121.solution': 'אסור את הפנייה החדה בצומת B או שנה את זווית הפניה ל 30°',
  3107. '128.title': 'בדיקה מותאמת אישית ע"י המשתמש (ירוק)',
  3108. '128.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3109. '128.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3110. '129.title': 'בדיקה מותאמת אישית ע"י המשתמש (כחול)',
  3111. '129.problem': 'חלק ממאפייני המקטע תואמים לביטוי רגולרי שהוגדר ע"י המשתמש (ראה הגדרות->תבנית מותאמת אישית)',
  3112. '129.solution': 'פתור את הבעיה (מי שהגדיר בדיקה מותאמת אישית אמור לדעת כיצד לפתור את הבעיה)',
  3113. '171.enabled': false,
  3114. '171.title': 'שם רחוב מקוצר באופן שגוי',
  3115. '171.problem': 'בשם הרחוב יש קיצור שגוי',
  3116. '171.solution': 'בדוק אותיות קטנות / גדולות, רווח לפני / אחרי הקיצור ובהתאם לטבלת הקיצורים',
  3117. '172.title': 'מרווחים מיותרים בשם של רחוב',
  3118. '172.problem': 'מרווח כפול/לפני/אחרי שם של רחוב',
  3119. '172.solution': 'מחק מרווחים מיותרים בשם של הרחוב',
  3120. '173.enabled': false,
  3121. '173.title': 'אין רווח לפני/אחרי שם קיצור של רחוב',
  3122. '173.problem': 'חסר מרווח לפני או אחרי שימוש בקיצור בשם של רחוב',
  3123. '173.solution': 'הוסף רווח לפני/אחרי הקיצור',
  3124. '175.title': 'שם רחוב ריק',
  3125. '175.problem': 'שם הרחוב מכיל רק מרווחים או נקודות',
  3126. '175.solution': 'במאפייני הכתובת, סמן את תיבת \'אין\' ליד שם הרחוב, לחץ \'החל\', או תן שם תקין לרחוב',
  3127. '190.enabled': false,
  3128. '190.title': 'שם העיר באותיות קטנות',
  3129. '190.problem': 'שם העיר מתחיל באות קטנה',
  3130. '190.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3131. '192.title': 'מרווחים מיותרים בשם של עיר',
  3132. '192.problem': 'מרווח כפול/לפני/אחרי שם של עיר',
  3133. '192.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3134. '193.enabled': false,
  3135. '193.title': 'מרווחים לפני/אחרי קיצור של שם עיר',
  3136. '193.problem': 'מרווחים אסורים לפני או אחרי שימוש בקיצור בשם של עיר',
  3137. '193.solution': 'השתמש בטופס זה כדי לשנות שם עיר',
  3138. '200.enabled': false,
  3139. '200.title': 'צומת A: פניה שלא אושרה ברחוב משני',
  3140. '200.problem': 'במקטע המשני יש פניה שלא אושרה בצומת A',
  3141. '200.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו',
  3142. '201.title': 'צומת A: פניה שלא אושרה ברחוב ראשי',
  3143. '201.problem': 'במקטע הראשי יש פניה שלא אושרה בצומת A',
  3144. '201.solution': 'לחץ על הפניה שלידה סימן שאלה סגול כדי לאשר אותה. הערה: ייתכן שתצטרך להפוך את המקטע ל\'דו כיווני\' כדי לראות פניה זו'
  3145. },
  3146. 'IE': {
  3147. '.codeISO': 'IE',
  3148. '.country': 'Ireland',
  3149. '70.enabled': true,
  3150. '70.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3151. '71.enabled': true,
  3152. '71.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3153. '72.enabled': true,
  3154. '72.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3155. '160.enabled': true,
  3156. '160.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3157. '160.params': {'solutionEN': 'Rename the street to \'Mxx\' or \'Mxx N/S/W/E\' or change the road type', 'regexp': '!/^M[0-9]+( [NSWE])?$/'},
  3158. '161.enabled': true,
  3159. '161.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3160. '161.params': {'solutionEN': 'Rename the street to \'Nxx\' or \'Nxx Local Name\' or change the road type', 'regexp': '!/^N[0-9]+( .*)?$/'},
  3161. '162.enabled': true,
  3162. '162.problemLink': 'W:How_to_label_and_name_roads_(Ireland)#Road_Types',
  3163. '162.params': {'solutionEN': 'Rename the street to \'Rxxx\' or \'Rxxx Local Name\' or change the road type', 'regexp': '!/^R[0-9]+( .*)?$/'}
  3164. },
  3165. 'FR': {
  3166. '.codeISO': 'FR',
  3167. '.country': ['France', 'French Guiana', 'New Caledonia', 'Reunion'],
  3168. '.author': 'arbaot and ClementH44',
  3169. '.updated': '2014-03-27',
  3170. '.lng': 'FR',
  3171. 'err.regexp': 'Erreur d\'interprétation pour la vérification #${n}:',
  3172. 'props.disabled': 'WME Validator est désactivé',
  3173. 'props.limit.title': 'Trop de problèmes signalés',
  3174. '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',
  3175. 'props.limit.solution': 'Désélectionnez le segment et arrêtez le scan. Ensuite, cliquez sur le bouton rouge «✘» (Effacer le rapport)',
  3176. 'props.reports': 'Rapports',
  3177. 'props.noneditable': 'Vous ne pouvez éditer ce segment',
  3178. 'report.list.andUp': 'et jusqu\'à',
  3179. 'report.list.severity': 'Gravité :',
  3180. 'report.list.reportOnly': 'seulement dans le rapport',
  3181. 'report.list.forEditors': 'Pour le niveau d\'édition :',
  3182. 'report.list.forCountries': 'Pour les pays :',
  3183. 'report.list.forStates': 'Pour les états :',
  3184. 'report.list.forCities': 'Pour les villes :',
  3185. 'report.list.params': 'Paramètres à configurer dans le pack de localisation :',
  3186. 'report.list.enabled': '${n} vérifications sont activés pour',
  3187. 'report.list.disabled': '${n} vérifications sont désactivés pour',
  3188. 'report.list.total': 'Il y a ${n} points de contôles activés',
  3189. 'report.list.title': 'Liste complète des vérifications pour',
  3190. 'report.list.see': 'Voir',
  3191. 'report.list.checks': 'Paramètres->À propos->Les vérifications',
  3192. 'report.list.fallback': 'Règles de regroupement géographique :',
  3193. 'report.and': 'et',
  3194. 'report.segments': 'Nombre total de segments vérifiés :',
  3195. 'report.customs': 'Les vérifications personnalisés adaptés (vert/bleu):',
  3196. 'report.reported': 'Signalement',
  3197. 'report.errors': 'd\'erreurs',
  3198. 'report.warnings': 'd\'avertissements',
  3199. 'report.notes': 'de remarques',
  3200. 'report.contents': 'Contenus :',
  3201. 'report.summary': 'Récapitulatif',
  3202. 'report.title': 'Rapport de WME Validator',
  3203. 'report.share': 'à partager',
  3204. 'report.generated.by': 'généré par',
  3205. 'report.generated.on': 'le',
  3206. 'report.source': 'Source du rapport :',
  3207. 'report.filter.duplicate': 'les segments doublons',
  3208. 'report.filter.streets': 'Rue et Routes de service',
  3209. 'report.filter.other': 'Autres',
  3210. 'report.filter.noneditable': 'segments non modifiables',
  3211. 'report.filter.notes': 'notes',
  3212. 'report.filter.title': 'Filtre :',
  3213. 'report.filter.excluded': 'sont exclues de ce rapport.',
  3214. 'report.search.updated.by': 'mis à jour par',
  3215. 'report.search.updated.since': 'mis à jour depuis',
  3216. 'report.search.city': 'à partir de',
  3217. 'report.search.reported': 'signalé comme',
  3218. 'report.search.title': 'Rechercher:',
  3219. 'report.search.only': 'seulement les segments',
  3220. 'report.search.included': 'sont inclus dans le rapport.',
  3221. 'report.beta.warning': 'avertissement WME Beta !',
  3222. 'report.beta.text': 'Ce rapport est généré pour WME beta avec des permaliens en beta.',
  3223. 'report.beta.share': 'Ne pas partager ces permaliens !',
  3224. 'report.size.warning':
  3225. '<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.',
  3226. '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.',
  3227. 'report.forum': 'Pour soutenir le développement, merci de laisser un commentaire sur',
  3228. 'report.thanks': 'Merci d\'utiliser WME Validator !',
  3229. 'msg.limit.segments': 'Il y a trop de segments.\n\nCliquez sur \'Le rapport\' pour examiner le rapport, ensuite\n',
  3230. 'msg.limit.segments.continue': 'cliquez sur \'▶\' pour continuer.',
  3231. 'msg.pan.text': 'Déplacez-vous sur pour valider la carte',
  3232. 'msg.zoomout.text': 'Effectuer un zoom arrière pour démarrer WME Validator',
  3233. 'msg.click.text': 'Cliquez sur \'▶\' pour valider la zone visible de la carte',
  3234. 'msg.autopaused': 'Pause automatique',
  3235. 'msg.autopaused.text': 'Pause automatique ! Cliquez sur \'▶\' pour continuer.',
  3236. 'msg.autopaused.tip': 'WME Validator est automatiquement suspendu si la carte est déplacée ou si la taille de la fenêtre change',
  3237. 'msg.finished.text': 'Cliquez sur <b>\'Le rapport\'</b> pour examiner les problèmes de carte',
  3238. 'msg.finished.tip': 'Cliquez sur \'✉\' (Partager) pour poster un rapport sur un\nforum ou par message privé',
  3239. 'msg.noissues.text': 'Terminé ! Aucun problème trouvé !',
  3240. 'msg.noissues.tip': 'Essayez de désactiver quelques filtres ou démarrez WME Validator sur une autre zone de la carte !',
  3241. 'msg.scanning.text': 'Scan en cours ! Terminé dans ~ ${n} min',
  3242. 'msg.scanning.text.soon': 'Scan en cours ! Terminé dans une minute !',
  3243. 'msg.scanning.tip': 'Cliquez sur \'Pause\' pour suspendre ou \'■\' pour stopper',
  3244. 'msg.starting.text': 'Lancement ! Les calques ne peuvent scanner plus vite !',
  3245. 'msg.starting.tip': 'Utilisez le bouton \'Pause\' pour suspendre ou le bouton \'■\' pour stopper',
  3246. 'msg.paused.text': 'En pause ! Cliquez sur \'▶\' pour continuer.',
  3247. 'msg.paused.tip': 'Pour voirla raport, cliquez sur \'Le rapport\' (si disponible)',
  3248. 'msg.continuing.text': 'En cours !',
  3249. 'msg.continuing.tip': 'WME Validator continuera à l\'endroit où il a été suspendu',
  3250. 'msg.settings.text': 'Cliquez sur <b>\'Retour\'</b> pour retourner sur la vue principale',
  3251. 'msg.settings.tip': 'Cliquez sur \'Par défaut\' pour réinitialiser tous les réglages en un clic !',
  3252. 'msg.reset.text': 'Toutes les options de filtrage et les paramètres ont été remis à leurs valeurs par défaut',
  3253. 'msg.reset.tip': 'Cliquez sur \'Retour\' pour retourner sur la vue principale',
  3254. 'msg.textarea.pack': 'Merci de copier le texte ci-dessous et de le coller dans un nouveau fichier <b>.user.js</b>',
  3255. 'msg.textarea': 'Merci de copier le texte ci-dessous et de le coller dans votre forum pour par message privé',
  3256. 'noaccess.text':
  3257. '<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.',
  3258. 'noaccess.tip': 'Merci de visiter le forum du programme pour plus d\'informations !',
  3259. 'tab.switch.tip.on': 'Cliquez pour activer la surbrillance',
  3260. 'tab.switch.tip.off': 'Cliquez pour désactiver la surbrillance',
  3261. 'tab.filter.text': 'filtre',
  3262. 'tab.filter.tip': 'Options pour filtrer le rapport et les segments à mettre en évidence',
  3263. 'tab.search.text': 'cherche',
  3264. 'tab.search.tip': 'Options avancées de filtrage pour inclure uniquement des segments spécifiques',
  3265. 'tab.help.text': 'aide',
  3266. 'tab.help.tip': 'Besoins d\'aide ?',
  3267. 'filter.noneditables.text': 'Exclure les segments <b>non modifiables</b>',
  3268. 'filter.noneditables.tip': 'Ne pas éxaminer les segments verrouillés ou en dehors de vos zones modifiables',
  3269. 'filter.duplicates.text': 'Exclure les segments <b>doublons</b>',
  3270. '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',
  3271. 'filter.streets.text': 'Exclure les <b>Rues et Routes de service</b>',
  3272. 'filter.streets.tip': 'Ne pas éxaminer les rues et routes/chemins de service',
  3273. 'filter.other.text': 'Exclure les <b>autres rues carrossables</b>',
  3274. 'filter.other.tip': 'Ne pas éxaminer les chemins de terres, les parkings, les routes privées\net les segments non carrossables',
  3275. 'filter.notes.text': 'Exclure les <b>remarques</b>',
  3276. 'filter.notes.tip': 'Rapporte uniquement les avertissements et les erreurs',
  3277. 'search.youredits.text': 'Inclure <b>uniquement vos modifications</b>',
  3278. 'search.youredits.tip': 'Inclure uniquement les segments modifiés par vous',
  3279. 'search.updatedby.text': '<b>Mis à jour par:</b>',
  3280. 'search.updatedby.tip':
  3281. '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',
  3282. 'search.updatedby.example': 'Example: me',
  3283. 'search.updatedsince.text': '<b>Mis à jour depuis:</b>',
  3284. 'search.updatedsince.tip': 'Inclure uniquement les segments modifiés depuis la date spécifiée\nFormat de date Firefox: AAAA-MM-JJ',
  3285. 'search.updatedsince.example': 'AAAA-MM-JJ',
  3286. 'search.city.text': '<b>Nom de Ville:</b>',
  3287. 'search.city.tip':
  3288. '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, *',
  3289. 'search.city.example': 'Example: !Paris, *',
  3290. 'search.checks.text': '<b>Signalé comme:</b>',
  3291. 'search.checks.tip':
  3292. '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*, *',
  3293. 'search.checks.example': 'Example: reverse*',
  3294. 'help.text':
  3295. '<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>',
  3296. 'help.tip': 'S\'ouvre dans un nouvel onglet du navigateur',
  3297. 'button.scan.tip': 'Commencer à scanner la zone actuelle de la carte\n* Remarque: cela peut prendre quelques minutes',
  3298. 'button.scan.tip.NA': 'Dézoomez pour commencer à scanner la zone actuelle de la carte',
  3299. 'button.pause.tip': 'Scan en pause',
  3300. 'button.continue.tip': 'Continuer à scanner la zone de la carte',
  3301. 'button.stop.tip': 'Arrêter le scan et retourner à la position de départ',
  3302. 'button.clear.tip': 'Effacer la mémoire cache des rapports et segments',
  3303. '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.',
  3304. 'button.report.text': 'Le rapport',
  3305. 'button.report.tip': 'Appliquer le filtre et générer un rapport HTML dans un nouvel onglet.',
  3306. 'button.BBreport.tip': 'Partagez le rapport sur le forum Waze ou dans un message privé.',
  3307. 'button.settings.tip': 'Configurer les paramètres',
  3308. 'tab.custom.text': 'perso',
  3309. 'tab.custom.tip': 'Paramètres de vérification personnalisés définis par l\'utilisateur',
  3310. 'tab.settings.text': 'Params',
  3311. 'tab.scanner.text': 'scan',
  3312. 'tab.scanner.tip': 'Paramètres du scan de la carte',
  3313. 'tab.about.text': 'à propos</span>',
  3314. 'tab.about.tip': 'À propos de WME Validator',
  3315. 'scanner.sounds.text': 'Activer les sons',
  3316. 'scanner.sounds.tip': 'Joue un \'bip\' pendant le scan',
  3317. 'scanner.sounds.NA': 'Votre navigateur ne supporte pas AudioContext',
  3318. 'scanner.highlight.text': 'Mettre en surbrillance sur la carte',
  3319. 'scanner.highlight.tip': 'Mettre en surbrillance les problèmes repérés sur la carte',
  3320. 'scanner.slow.text': 'Activer le mode \'lent\'',
  3321. 'scanner.slow.tip': 'Permet un scan plus poussé et précis de la carte\n* Remarque: cette option peut ralentir le processus de scan',
  3322. 'scanner.ext.text': 'Signaler des surbrillances externes',
  3323. 'scanner.ext.tip': 'Signaler des segments mis en évidence par WME Toolbox ou WME Color Highlights',
  3324. 'custom.template.text': 'Modèle perso',
  3325. '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},' +
  3326. '\n${altCity[index or delimeter]} Example: ${altCity[0]},' +
  3327. '\n${altStreet[index or delimeter]} Example: ${altStreet[##]},' +
  3328. '\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}',
  3329. 'custom.template.example': 'Example: ${street}',
  3330. 'custom.regexp.text': '<a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a> perso',
  3331. 'custom.regexp.tip':
  3332. '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/',
  3333. 'custom.regexp.example': 'Example: !/.+/',
  3334. 'about.tip': 'Ouvre le lien dans un nouvel onglet',
  3335. 'button.reset.text': 'Par défaut',
  3336. 'button.reset.tip': 'Rétablir les options de filtrage et les paramètres par défaut',
  3337. 'button.list.text': 'Les vérifications...',
  3338. 'button.list.tip': 'Montre une liste des vérifications possibles dans WME Validator',
  3339. 'button.wizard.tip': 'Créer un pack géographique',
  3340. 'button.back.text': 'Ret.',
  3341. 'button.back.tip': 'Fermer les paramètres et revenir à l\'ecran principal',
  3342. '1.solutionLink': 'W:Tout_sur_les_ronds-points',
  3343. '1.title': 'WME Toolbox: Rond-point pouvant causer des problèmes',
  3344. '1.problem': 'Les ID des segments du rond-point ne sont pas consécutif',
  3345. '1.solution': 'Refaire le rond-point',
  3346. '2.title': 'WME Toolbox: Simple segment (une voie)',
  3347. '2.problem': 'Ce segments a des nœuds de géométrie inutile',
  3348. '2.solution': 'Simplifier le tracé du segment sélectionné en survolant les nœuds en trop en appuyant sur le \'d\' du clavier',
  3349. '3.title': 'WME Toolbox: Verrouillage de niveau 2',
  3350. '3.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3351. '4.title': 'WME Toolbox: Verrouillage de niveau 3',
  3352. '4.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3353. '5.title': 'WME Toolbox: Verrouillage de niveau 4',
  3354. '5.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3355. '6.title': 'WME Toolbox: Verrouillage de niveau 5',
  3356. '6.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3357. '7.title': 'WME Toolbox: Verrouillage de niveau 6',
  3358. '7.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3359. '8.title': 'WME Toolbox: Numéros de maison',
  3360. '8.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3361. '9.title': 'WME Toolbox: Segment avec une restriction programmée',
  3362. '9.problem': 'Segment surligné par WME Toolbox. Pas un problème',
  3363. '13.title': 'WME Color Highlights: Verrouillage de l\'éditeur',
  3364. '13.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3365. '14.title': 'WME Color Highlights: Péage / Route à sens unique',
  3366. '14.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3367. '15.title': 'WME Color Highlights: Récemment modifié',
  3368. '15.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3369. '16.title': 'WME Color Highlights: Rang de la route',
  3370. '16.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3371. '17.title': 'WME Color Highlights: Pas de ville',
  3372. '17.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3373. '18.title': 'WME Color Highlights: Restriction programmée / Type de route mis en évidence',
  3374. '18.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3375. '19.title': 'WME Color Highlights: Pas de nom',
  3376. '19.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3377. '20.title': 'WME Color Highlights: Filtrer par ville',
  3378. '20.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3379. '21.title': 'WME Color Highlights: Filtrer par ville (ville alt.)',
  3380. '21.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3381. '22.title': 'WME Color Highlights: Filtrer par éditeur',
  3382. '22.problem': 'Segment surligné par WME Color Highlights. Pas un problème',
  3383. '23.problemLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3384. '23.solutionLink': 'W:Nommage_France',
  3385. '23.title': 'Route non confirmée',
  3386. '23.problem': 'Création de segment incomplète ville et nom de rue non renseigné',
  3387. '23.solution': 'Terminer la création en complétant les propriétés',
  3388. '24.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3389. '24.solutionLink': 'F:t=29403',
  3390. '24.title': 'Nom de ville peut-être erroné (uniquement disponible dans le rapport)',
  3391. '24.problem': 'Le nom de la ville est peut-être incorrecte',
  3392. '24.solution': 'Comparer le nom avec celui proposé et éventuellement signaler le problème sur le forum',
  3393. '25.title': 'Direction inconnue de la route carrossable',
  3394. '25.problem': 'Un sens de circulation \'Inconnu\' n\'empêchera Waze de faire emprunter le segment',
  3395. '25.solution': 'Régler le sens de circulation du segment',
  3396. '27.enabled': true,
  3397. '27.title': 'Nom de ville sur une voie ferrée',
  3398. '27.problem': 'Un nom de ville sur les segment voie ferré provoque des incohérence des polygones Ville',
  3399. '27.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum ',
  3400. '28.problemLink': 'W:Guide_des_intersections#Noms_3',
  3401. '28.title': 'Nom de rue sur une rampe',
  3402. '28.problem': 'Une rampe sans nom \'hérite\' du nom du segment suivant',
  3403. '28.solution': 'Régler le nom du segment à \'Sans\'',
  3404. '29.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3405. '29.solutionLink': 'W:Tout_sur_les_ronds-points',
  3406. '29.title': 'Nom de rue sur rond-point',
  3407. '29.problem': 'Dans Waze pas de nom de rue sur les rond-point',
  3408. '29.solution': 'Régler le nom des segment du RP à \'Sans\' et créer un POI Jonction/ échangeur avec le nom du RP',
  3409. '34.title': 'Nom de rue alternatif vide',
  3410. '34.problem': 'Le nom de rue alternatif vide',
  3411. '34.solution': 'Supprimer le nom alternatif',
  3412. '35.title': 'Route carrossable non terminé',
  3413. '35.problem': 'Waze ne propose pas de guidage vers/dans les segment non terminés',
  3414. '35.solution': 'Déplacer légèrement l\'extrémité libre du segment pour afin que le nœuds de terminaison soit ajouté',
  3415. '36.title': 'Noeud A: inutil (mode lent)',
  3416. '36.problem': 'Les segments de part et d\'autres du nœud A ont les mêmes propriétés',
  3417. '36.solution': 'Sélectionner le nœud A et appuyer sur Suppr pour fusionner les 2 segments',
  3418. '37.title': 'Noeud B: inutil (mode lent)',
  3419. '37.problem': 'Les segments de part et d\'autres du nœud B ont les mêmes propriétés',
  3420. '37.solution': 'Sélectionner le nœud B et appuyer sur Suppr pour fusionner les 2 segments',
  3421. '38.problemLink': 'W:Les_fermetures_programmées#Segments',
  3422. '38.title': 'Fermetures programmées périmées (mode lent)',
  3423. '38.problem': 'Il y a des fermetures programmées périmées sur ce segment',
  3424. '38.solution': 'Cliquer \'Modifier les restrictions\' et supprimer les restrictions périmées',
  3425. '39.problemLink': 'W:Les_fermetures_programmées#Restriction_de_tourner',
  3426. '39.title': 'Restrictions de tourner périmés (mode lent)',
  3427. '39.problem': 'Il y a des restrictions de tourner périmées sur ce nœud de jonction',
  3428. '39.solution': 'Cliquer l\'icône horloge accolée à la flèche jaune et supprimer les restrictions périmées',
  3429. '41.title': 'Noeud A: Autorisation en sens interdit',
  3430. '41.problem': 'Au nœud A il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3431. '41.solution': 'Passer le segment à double sens, corriger la flèche au nœud A puis repasser en sens unique',
  3432. '42.title': 'Noeud B: Autorisation en sens interdit',
  3433. '42.problem': 'Au nœud B il y a une autorisation de tourner qui va à l\'encontre du sens unique',
  3434. '42.solution': 'Passer le segment à double sens, corriger la flèche au nœud B puis repasser en sens unique',
  3435. '43.title': 'Connecté à lui-même',
  3436. '43.problem': 'Le segment est connecté à lui même',
  3437. '43.solution': 'Couper le segment en deux',
  3438. '44.title': 'Pas ne connexion sortante',
  3439. '44.problem': 'Le segment carrossable n\'a pas de connexion sortante',
  3440. '44.solution': 'Activer au moins une connexion sortante = une flèche verte',
  3441. '45.title': 'Pas de connexion entrante',
  3442. '45.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante',
  3443. '45.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte)',
  3444. '46.title': 'Noeud A: Pas de connexion entrante pour le segment (mode lent)',
  3445. '46.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud A',
  3446. '46.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud A',
  3447. '47.title': 'Noeud B: Pas de connexion entrante pour le segment (mode lent)',
  3448. '47.problem': 'Le segment carrossable (non privé) n\'a pas de connexion entrante au nœud B',
  3449. '47.solution': 'Sélectionner un segment adjacent et autoriser au moins un accès (flèche rouge → verte) au nœud B',
  3450. '48.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3451. '48.title': 'Segment de rond-point à double sens',
  3452. '48.problem': 'Segment de rond-point à double sens de circulation',
  3453. '48.solution': 'Refaire le rond-point',
  3454. '50.solutionLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3455. '50.title': 'Pas de connectivité sur le rond-point (mode lent)',
  3456. '50.problem': 'Le segment du rond-point n\'a pas de connectivité avec le segment adjacent',
  3457. '50.solution': 'Autoriser un virage vers le segment adjacent = Corriger la flèche rouge',
  3458. '57.enabled': true,
  3459. '57.title': 'Nom de ville sur une rampe',
  3460. '57.problem': 'Un Nom de ville sur une rampe peu affecter la recherche dans Waze',
  3461. '57.solution': 'Cocher la case \'Sans\' pour ville',
  3462. '59.enabled': true,
  3463. '59.title': 'Nom de ville sur Freeway',
  3464. '59.problem': 'Un nom de ville sur les segment Freeway provoque des incohérence des polygones Ville',
  3465. '59.solution': 'Régler le nom de ville à \'Sans\' ou signaler le problème sur le Forum',
  3466. '74.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3467. '74.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3468. '74.title': 'Noeud A: Plusieurs segments connectés',
  3469. '74.problem': 'La jonction A du rond-point est connectée à plusieurs segments',
  3470. '74.solution': 'Refaire le rond-point',
  3471. '77.title': 'Demi-tour autorisé',
  3472. '77.problem': 'L\'impasse carrossable à un demi-tour autorisé à son extrémité',
  3473. '77.solution': 'Éventuellement Interdire le demi-tour',
  3474. '78.title': 'Mêmes extrémités des segments carrossables (mode lent)',
  3475. '78.problem': 'Deux segments carrossables partagent les deux mêmes extrémités',
  3476. '78.solution': 'Diviser le segment. Vous pouvez également supprimer l\'un des segments si ils sont identiques',
  3477. '79.title': 'Demi-tour trop court (mode lent)',
  3478. '79.problem': 'Le segment fait moins de 15m si nécessaire Waze ne proposera pas de demi-tour',
  3479. '79.solution': 'Agrandisseur le segment à 15m mini (si le demi-tour est autorisé)',
  3480. '87.problemLink': 'W:Tout_sur_les_ronds-points#A_retenir',
  3481. '87.solutionLink': 'W:Tout_sur_les_ronds-points#Remplacer_.2F_Editer_un_rond-point',
  3482. '87.title': 'Noeud A: Plusieurs sorties au rond-point',
  3483. '87.problem': 'La jonction A du rond-point est connectée à plusieurs segments sortant',
  3484. '87.solution': 'Refaire le rond-point',
  3485. '99.title': 'Demi-tour à l\'entrée du rond-point (mode lent)',
  3486. '99.problem': 'Le segment d\'entrée du rond-point à un demi-tour autorisé',
  3487. '99.solution': 'Désactiver le demi-tour',
  3488. '101.title': 'Route fermée (seulement disponible dans le rapport)',
  3489. '101.problem': 'Le segment est marqué comme étant fermé',
  3490. '101.solution': 'Si la construction est terminée, restaurez la connectivité du segment et supprimez le suffixe',
  3491. '101.params': {'regexp': '/(^|\\b)travaux(\\b|$)/i'},
  3492. '102.title': 'Noeud A: Pas de connexion sortante (mode lent)',
  3493. '102.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud A',
  3494. '102.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud A',
  3495. '103.title': 'Noeud B: Pas de connexion sortante (mode lent)',
  3496. '103.problem': 'Le segment carrossable n\'a pas de connexion sortante au nœud B',
  3497. '103.solution': 'Activer au moins une connexion sortante = une flèche verte au nœud B',
  3498. '104.title': 'Voie ferré utilisée pour des commentaires',
  3499. '104.problem': 'Le segment de voie ferré est probablement utilisé pour mettre un commentaire',
  3500. '104.solution': 'Supprimez le commentaire car les voies ferrée sont affichées pour le client',
  3501. '107.title': 'Noeud A: Pas de connexion (mode lent)',
  3502. '107.problem': 'Le noeud A du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3503. '107.solution': 'Connectez le noeud A à un segment à proximité ou le déplacer un peu plus loin',
  3504. '108.title': 'Noeud B: pas de connexion (mode lent)',
  3505. '108.problem': 'Le noeud B du segment carrossable est à moins de 5m d\'un autre secteur carrossable mais n\'y est pas connecté',
  3506. '108.solution': 'Connectez le noeud B à un segment à proximité ou le déplacer un peu plus loin',
  3507. '109.title': 'Segment trop court',
  3508. '109.problem': 'Le segment carrossables non-terminal est de moins de 2m de long, il est difficile de le voir sur la carte',
  3509. '109.solution': 'Augmentez sa taille, supprimez le ou connectez le à un segment adjacent',
  3510. '112.title': 'Plus de ${n} lettres en trop pour le nom de la rampe',
  3511. '112.problem': 'Le nom de la rampe est trop long',
  3512. '112.solution': 'Renommez de façon plus courte le nom de la rampe',
  3513. '114.title': 'Noeud A: non carrossable connecté à un carrossable (mode lent)',
  3514. '114.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud A',
  3515. '114.solution': 'Déconnectez le noeud A de tous les segments carrossables',
  3516. '115.title': 'Noeud B: non carrossable connecté à un carrossable (mode lent)',
  3517. '115.problem': 'Le segment non carrossable a une jonction avec un segment carrossable au noeud B',
  3518. '115.solution': 'Déconnectez le noeud B de tous les segments carrossables',
  3519. '116.title': 'Élévation hors de portée',
  3520. '116.problem': 'L\'élévation est en dehors des limites habituelle',
  3521. '116.solution': 'Corrigez l\'élévation',
  3522. '117.title': 'Obsolete CONST ZN marker',
  3523. '117.problem': 'The segment is marked with obsolete CONST ZN suffix',
  3524. '117.solution': 'Change CONST ZN to (closed)',
  3525. '118.title': 'Noeud A: Chevauchement des segments (mode lent)',
  3526. '118.problem': 'Le segment se chevauche avec le segment adjacent au noeud A',
  3527. '118.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud A',
  3528. '119.title': 'Noeud B: Chevauchement des segments (mode lent)',
  3529. '119.problem': 'Le segment se chevauche avec le segment adjacent au noeud B',
  3530. '119.solution': 'Divisez les segments à 2° ou supprimez le point de la géométrie inutile ou supprimez le segment double au noeud B',
  3531. '120.title': 'Noeud A: Virage trop fort (mode lent)',
  3532. '120.problem': 'Le segment carrossable a un virage très fort au noeud A',
  3533. '120.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3534. '121.title': 'Noeud B: Virage trop fort (mode lent)',
  3535. '121.problem': 'Le segment carrossable a un virage très fort au noeud B',
  3536. '121.solution': 'Désactiver le virage au noeud A ou écarter les segments à 30°',
  3537. '128.title': 'Vérification personnalisée définie par l\'utilisateur (vert)',
  3538. '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)',
  3539. '128.solution': 'Résoudre le problème',
  3540. '129.title': 'Vérification personnalisée définie par l\'utilisateur (bleu)',
  3541. '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)',
  3542. '129.solution': 'Résoudre le problème',
  3543. '163.enabled': true,
  3544. '163.title': '\'Vers\' dans le nom de la rue',
  3545. '163.problem': 'Nom de rue contenant \'vers\'',
  3546. '163.solution': 'Renommer le segment selon les règles du wiki ou signaler sur le forum',
  3547. '163.solutionLink': 'W:Nommage_France#Nommage_des_entr.C3.A9es.2C_sorties_et_des_embranchements_d.27autoroutes',
  3548. '163.params': {
  3549. 'titleEN': '\'Vers\' in Ramp name',
  3550. 'problemEN': 'The Ramp name contains word \'vers\'',
  3551. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  3552. 'regexp': '/(^|\\b)vers\\b/i'
  3553. },
  3554. '170.enabled': true,
  3555. '170.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3556. '170.title': 'Majuscule dans le nom de rue',
  3557. '170.problem': 'Le nom de la rue commence par une miniscule',
  3558. '170.solution': 'Passer la première lettre en majuscule',
  3559. '171.enabled': true,
  3560. '171.title': 'Abréviation dans le nom de rue',
  3561. '171.problem': 'Abréviation indésirable dans le nom de rue',
  3562. '171.solution': 'Écrire le mot abréger en toute lettre',
  3563. '171.params': {
  3564. 'regexp':
  3565. '/((^| )([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)\\.)[^ ]+\\.)/'
  3566. },
  3567. '172.title': 'Nom de rue avec des espaces inutiles',
  3568. '172.problem': 'Double espace dans le nom de rue',
  3569. '172.problemLink': 'W:Comment_nommer_les_routes_et_les_villes',
  3570. '172.solution': 'Supprimer les espaces inutiles',
  3571. '173.enabled': false,
  3572. '173.title': 'Nom de rue sans espace avant ou après une abrévation',
  3573. '173.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jan\') une abrévation dans le nom de rue',
  3574. '173.solution': 'Ajouter un espace avant/après l\'abrévation',
  3575. '174.enabled': true,
  3576. '174.title': 'Mauvais orthographe',
  3577. '174.problem': 'Mauvais orthographe qui provoque une mauvaise prononciation',
  3578. '174.solution': 'Corriger l\'orthographe (É = Alt-144 etc)',
  3579. '174.solutionLink': 'W:Nommage_France#R.C3.A8gles_de_nommage',
  3580. '174.params': {
  3581. 'regexp':
  3582. '/(^|\\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'
  3583. },
  3584. '175.title': 'Nom de rue avec uniquement des espaces',
  3585. '175.problem': 'Le nom de la rue n\'a que des espaces',
  3586. '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é',
  3587. '190.title': 'Minuscule dans le nom de ville',
  3588. '190.problem': 'Le nom de ville commence avec une lettre en majuscule',
  3589. '190.solution': 'Utilisé ce formulaire pour renommer la ville',
  3590. '192.problemLink': 'W:Comment_nommer_les_routes_et_les_villes#Nommage_des_villes_et_villages',
  3591. '192.solutionLink': 'F:t=29403',
  3592. '192.title': 'Nom de ville avec des espaces inutiles',
  3593. '192.problem': 'Double espace dans le nom de ville',
  3594. '192.solution': 'Utiliser le formulaire suivant pour faire une demande de modification',
  3595. '193.enabled': false,
  3596. '193.title': 'Nom de bille sans espace avant ou après une abrévation',
  3597. '193.problem': 'Pas d\'espace avant (\'1943r.\') ou après (\'st.Jana\') une abrévation dans le nom de rue',
  3598. '193.solution': 'Utiliser ce formulaire pour renommer la ville',
  3599. '200.problemLink': 'W:Soft_et_hard_turns',
  3600. '200.solutionLink': 'W:Soft_et_hard_turns#Bonnes_pratiques',
  3601. '200.title': 'Noeud A: Autorisation de tourner non confirmée',
  3602. '200.problem': 'Le segment carrossable à une autorisation de tourner non confirmée au noeud A',
  3603. '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'
  3604. },
  3605. 'ES': {
  3606. '.codeISO': 'ES',
  3607. '.country': [
  3608. 'Spain', 'Andorra', 'Bolivia', 'Costa Rica', 'Colombia', 'Cuba', 'Dominican Republic', 'Ecuador', 'Equatorial Guinea', 'Guatemala', 'Honduras', 'Nicaragua', 'Panama', 'Peru', 'Paraguay',
  3609. 'El Salvador', 'Uruguay', 'Venezuela'
  3610. ],
  3611. '.author': 'robindlc and fernandoanguita',
  3612. '.updated': '2014-08-30',
  3613. '.lng': ['ES', 'ES-419', 'GL'],
  3614. 'city.consider': 'considerar este nombre de ciudad:',
  3615. 'city.1': 'nombre de ciudad demasiado corto',
  3616. 'city.2': 'expandir la abreviación',
  3617. 'city.3': 'completar nombre corto',
  3618. 'city.4': 'completar nombre de ciudad',
  3619. 'city.5': 'corregir mayúsculas',
  3620. 'city.6': 'comprobar orden de palabras',
  3621. 'city.7': 'comprobar abreviaciones',
  3622. 'city.8a': 'añadir nombre de país',
  3623. 'city.8r': 'eliminar nombre de país',
  3624. 'city.9': 'comprobar nombre de país',
  3625. 'city.10a': 'añadir palabra',
  3626. 'city.10r': 'eliminar palabra',
  3627. 'city.11': 'añadir código de país',
  3628. 'city.12': 'nombres idénticos, pero ciudades con diferentes IDs',
  3629. 'city.13a': 'añadir espacio',
  3630. 'city.13r': 'eliminar espacio',
  3631. 'city.14': 'revisar el número',
  3632. 'props.skipped.title': 'El segmento no está revisado',
  3633. '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ó',
  3634. 'err.regexp': 'Error al analizar la opción de revisión #${n}:',
  3635. 'props.disabled': 'WME Validator deshabilitado',
  3636. 'props.limit.title': 'Demasiados problemas notificados',
  3637. 'props.limit.problem': 'Hay demasiados problemas notificados, puede que no se muestren todos',
  3638. 'props.limit.solution': 'Deselecciona el segmento y detiene el proceso de escaneo. Luego pincha el botón con la \'✘\' roja (Limpiar Reporte)',
  3639. 'props.reports': 'informes',
  3640. 'props.noneditable': 'No puedes editar este segmento',
  3641. 'report.save': 'Guardar este informe',
  3642. 'report.list.andUp': 'y subiendo',
  3643. 'report.list.severity': 'Severidad:',
  3644. 'report.list.reportOnly': 'sólo en el informe',
  3645. 'report.list.forEditors': 'Para editores nivel:',
  3646. 'report.list.forCountries': 'Para paises:',
  3647. 'report.list.forStates': 'Para estados:',
  3648. 'report.list.forCities': 'Para ciudades:',
  3649. 'report.list.params': 'Parámetros para configurar en el paquete de localización:',
  3650. 'report.list.params.set': 'Parámetros ajustados en el paquete de localización:',
  3651. 'report.list.enabled': '${n} revisiones están habilitadas para',
  3652. 'report.list.disabled': '${n} revisiones están deshabilitadas para',
  3653. 'report.list.total': 'Hay ${n} revisiones disponibles',
  3654. 'report.list.title': 'Lista Completa de Revisiones para',
  3655. 'report.list.see': 'Ver',
  3656. 'report.list.checks': 'Configuración>Acerca>Revisiones disponibles',
  3657. 'report.list.fallback': 'Reglas de Localización de respaldo:',
  3658. 'report.and': 'y',
  3659. 'report.segments': 'Número total de segmentos revisados:',
  3660. 'report.customs': 'Revisiones personalizadas combinadas (verde/azul):',
  3661. 'report.reported': 'Reportados',
  3662. 'report.errors': 'errores',
  3663. 'report.warnings': 'advertencias',
  3664. 'report.notes': 'notas',
  3665. 'report.contents': 'Contenidos:',
  3666. 'report.summary': 'Resumen',
  3667. 'report.title': 'Informe de WME Validator',
  3668. 'report.share': 'para Compartir',
  3669. 'report.generated.by': 'generado por',
  3670. 'report.generated.on': 'activo',
  3671. 'report.source': 'Fuente del informe:',
  3672. 'report.filter.duplicate': 'segmentos duplicados',
  3673. 'report.filter.streets': 'Calles y Calles de Servicio',
  3674. 'report.filter.other': 'Otros conducibles y no conducibles',
  3675. 'report.filter.noneditable': 'segmentos no-editables',
  3676. 'report.filter.notes': 'notas',
  3677. 'report.filter.title': 'Filtro:',
  3678. 'report.filter.excluded': 'están excluidos de este informe.',
  3679. 'report.search.updated.by': 'actualizado por',
  3680. 'report.search.updated.since': 'actualizado desde',
  3681. 'report.search.city': 'desde',
  3682. 'report.search.reported': 'reportado como',
  3683. 'report.search.title': 'Búsqueda:',
  3684. 'report.search.only': 'sólo segmentos',
  3685. 'report.search.included': 'están incluídos en el informe.',
  3686. 'report.beta.warning': '¡Advertencia WME Beta!',
  3687. 'report.beta.text': 'Este informe se genera en WME Beta con permalinks beta.',
  3688. 'report.beta.share': 'Por favor no comparta estos permalinks!',
  3689. 'report.size.warning':
  3690. '<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.',
  3691. 'report.note.limit': '* Nota: había demasiados problemas reportados, por lo que algunos de ellos no se incluyen en el resumen.',
  3692. 'report.forum': 'Para motivar futuros desarrollos, por favor deje su mensaje en el',
  3693. 'report.thanks': 'Gracias por usar WME Validator!',
  3694. 'msg.limit.segments': 'Hay demasiados segmentos.\n\nPincha \'Mostrar informe\' para revisar el informe, luego\n',
  3695. 'msg.limit.segments.continue': 'pincha \'▶\' para continuar.',
  3696. 'msg.limit.segments.clear': 'pulsa \'✘\' para borrar el informe.',
  3697. 'msg.pan.text': 'Desplaza el mapa para validarlo',
  3698. 'msg.zoomout.text': 'Aleja el zoom\tpara iniciar WME Validator',
  3699. 'msg.click.text': 'Pincha \'▶\' para validar el área visible del mapa',
  3700. 'msg.autopaused': 'autopausado',
  3701. 'msg.autopaused.text': '¡Autopausado! Pincha \'▶\' para continuar.',
  3702. 'msg.autopaused.tip': 'WME Validator automáticamente pausó al arrastrar el mapa o cambiar el tamaño de la ventana',
  3703. 'msg.finished.text': 'Pincha <b>\'Mostrar informe\'</b> para ver los problemas del mapa',
  3704. 'msg.finished.tip': 'Pincha el botón \'✉\' (Compartir) para publicar el informe en un \nforo o en un mensaje privado',
  3705. 'msg.noissues.text': '¡Terminado! ¡No se encontraron problemas!',
  3706. 'msg.noissues.tip': '¡Trata de deseleccionar algunas opciones de filtro o inicia WME Validator sobre otra zona del mapa!',
  3707. 'msg.scanning.text': '¡Escaneando! Finalizando en ~ ${n} minutos',
  3708. 'msg.scanning.text.soon': '¡Escaneando! ¡Finalizando en un minuto!',
  3709. 'msg.scanning.tip': 'Pincha el botón \'Pausa\' para pausar o \'■\' para detener',
  3710. 'msg.starting.text': '¡Comenzando! ¡Las capas están desactivadas para escanear más rápido!',
  3711. 'msg.starting.tip': 'Usa el botón \'Pausa\' para pausar o el botón \'■\' para detener',
  3712. 'msg.paused.text': '¡En pausa! Pincha el botón \'▶\' para continuar.',
  3713. 'msg.paused.tip': 'Para ver el informe pincha el botón \'Mostrar informe\' (si está disponible)',
  3714. 'msg.continuing.text': '¡Continuando!',
  3715. 'msg.continuing.tip': 'WME Validator continuará desde la ubicación en que fue pausado',
  3716. 'msg.settings.text': 'Pincha <b>\'Atrás\'</b> para retornar a la vista principal',
  3717. 'msg.settings.tip': 'Pincha el botón \'Restaurar valores predeterminados\' para resetear todos los parámetros en un clic!',
  3718. 'msg.reset.text': 'Todas las opciones de filtro y configuración han sido reseteadas a sus valores por defecto',
  3719. 'msg.reset.tip': 'Pincha el botón \'Atrás\' para retornar a la vista principal',
  3720. 'msg.textarea.pack': 'Por favor copia el texto abajo y luego pégalo en el nuevo archivo <b>.user.js</b>',
  3721. 'msg.textarea': 'Por favor copia el texto abajo y luego pégalo en tu publicación del foro o mensaje privado',
  3722. 'noaccess.text':
  3723. '<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.',
  3724. 'noaccess.tip': 'Por favor revisa el hilo del foro para más información!',
  3725. 'tab.switch.tip.on': 'Pincha para activar el resaltado',
  3726. 'tab.switch.tip.off': 'Pincha para desactivar el resaltado',
  3727. 'tab.filter.text': 'filtro',
  3728. 'tab.filter.tip': 'Opciones para filtrar el informe y los segmentos resaltados',
  3729. 'tab.search.text': 'buscar',
  3730. 'tab.search.tip': 'Opciones de filtro avanzadas para incluir sólo segmentos específicos',
  3731. 'tab.help.text': 'ayuda',
  3732. 'tab.help.tip': '¿Necesitas ayuda?',
  3733. 'filter.noneditables.text': 'Excluir segmentos <b>no-editables</b>',
  3734. 'filter.noneditables.tip': 'No reportar segmentos bloqueados o \nsegmentos fuera de su área de edición',
  3735. 'filter.duplicates.text': 'Excluir segmentos <b>duplicados</b>',
  3736. 'filter.duplicates.tip': 'No mostrar el mismo segmento en diferentes \npartes del reporte\n* Nota: esta opción NO AFECTA el resaltado',
  3737. 'filter.streets.text': 'Excluir <b>Calles y Vías de Servicio</b>',
  3738. 'filter.streets.tip': 'No reportar Calles y Vías de Servicio',
  3739. 'filter.other.text': 'Excluir <b>otros conducibles y no-conducibles</b>',
  3740. 'filter.other.tip': 'No reportar Caminos de Tierra, Vías de Estacionamiento y Caminos Privados\ny no-conducibles',
  3741. 'filter.notes.text': 'Excluir <b>notas</b>',
  3742. 'filter.notes.tip': 'Reportar sólo advertencias y errores',
  3743. 'search.youredits.text': 'Incluir <b>sólo tus ediciones</b>',
  3744. 'search.youredits.tip': 'Incluir sólo los segmentos editados por ti',
  3745. 'search.updatedby.text': '<b>Actualizado por:</b>',
  3746. 'search.updatedby.tip':
  3747. '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',
  3748. 'search.updatedby.example': 'Ejemplo: me',
  3749. 'search.updatedsince.text': '<b>Actualizado desde:</b>',
  3750. 'search.updatedsince.tip': 'Incluir sólo segmentos editados desde la fecha especificada formato de fecha\nFirefox: AAAA-MM-DD',
  3751. 'search.updatedsince.example': 'AAAA-MM-DD',
  3752. 'search.city.text': '<b>Nombre de ciudad:</b>',
  3753. '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, *',
  3754. 'search.city.example': 'Ejemplo: !Paris, *',
  3755. 'search.checks.text': '<b>Reportado como:</b>',
  3756. 'search.checks.tip':
  3757. '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*, *',
  3758. 'search.checks.example': 'Ejemplo: inverso*',
  3759. 'help.text':
  3760. ' <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>',
  3761. 'help.tip': 'Abrir en una nueva pestaña del explorador',
  3762. 'button.scan.tip': 'Comenzar escaneo del área del mapa actual \n* Nota: esto puede tomar unos minutos',
  3763. 'button.scan.tip.NA': 'Aleja el zoom para comenzar a escanear el área del mapa actual',
  3764. 'button.pause.tip': 'Pausar escaneo',
  3765. 'button.continue.tip': 'Continuar escaneando el área del mapa',
  3766. 'button.stop.tip': 'Detener el escaneo y volver a la posición de inicio',
  3767. 'button.clear.tip': 'Borrar informe y caché de segmentos',
  3768. '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.',
  3769. 'button.report.text': 'Mostrar informe',
  3770. 'button.report.tip': 'Aplicar el filtro y generar informe HTML en una nueva pestaña',
  3771. 'button.BBreport.tip': 'Compartir el informe en el foro Waze o en un mensaje privado',
  3772. 'button.settings.tip': 'Configurar ajustes',
  3773. 'tab.custom.text': 'personalizado',
  3774. 'tab.custom.tip': 'Ajustes de revisión personalizados definidos por el usuario',
  3775. 'tab.settings.text': 'Ajustes',
  3776. 'tab.scanner.text': 'escanear',
  3777. 'tab.scanner.tip': 'Ajustes de escaneo de mapa',
  3778. 'tab.about.text': 'acerca de</span>',
  3779. 'tab.about.tip': 'Acerca de WME Validator',
  3780. 'scanner.sounds.text': 'Habilitar sonidos',
  3781. 'scanner.sounds.tip': 'Pitidos y sonidos mientras escanea',
  3782. 'scanner.sounds.NA': 'Su navegador no admite AudioContext',
  3783. 'scanner.highlight.text': 'Resalta problemas en el mapa',
  3784. 'scanner.highlight.tip': 'Resalta problemas reportados en el mapa',
  3785. 'scanner.slow.text': 'Activa \'slow\' verificaciones',
  3786. 'scanner.slow.tip': 'Activa análisis profundo del mapa\n* Nota: esta opción puede ralentizar el proceso de escaneo',
  3787. 'scanner.ext.text': 'Informa de resaltados externos',
  3788. 'scanner.ext.tip': 'Informa de segmentos resaltados por WME Toolbox o WME Color Highlights',
  3789. 'custom.template.text': 'Plantilla personalizada',
  3790. 'custom.template.tip':
  3791. '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}',
  3792. 'custom.template.example': 'Ejemplo: ${street}',
  3793. 'custom.regexp.text': 'Personalizado <a target=\'_blank\' href=\'https://developer.mozilla.org/docs/JavaScript/Guide/Regular_Expressions\'>RegExp</a>',
  3794. 'custom.regexp.tip':
  3795. '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/',
  3796. 'custom.regexp.example': 'Ejemplo: !/.+/',
  3797. 'about.tip': 'Pincha \'actualizar\' para abrir el hilo del foro en una pestaña nueva',
  3798. 'button.reset.text': 'Restablecer predeterminados',
  3799. 'button.reset.tip': 'Revertir opciones de filtro y ajustes a sus valores predeterminados',
  3800. 'button.list.text': 'Comprobaciones disponibles...',
  3801. 'button.list.tip': 'Muestra una lista de las comprobaciones disponibles en WME Validator',
  3802. 'button.wizard.tip': 'Crear paquete de localización',
  3803. 'button.back.text': 'Atrás',
  3804. 'button.back.tip': 'Cerrar configuración y volver a la vista principal',
  3805. '1.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3806. '1.title': 'WME Toolbox: Rotonda que puede causar problemas',
  3807. '1.problem': 'Los números de identificación de los puntos de unión de los segmentos de la rotonda no son consecutivos',
  3808. '1.solution': 'Rehacer la rotonda',
  3809. '2.title': 'WME Toolbox: Segmento Simple',
  3810. '2.problem': 'El segmento tiene nodos de geometría innecesarios',
  3811. '2.solution': 'Simplifica la geometría del segmento pasando el puntero del ratón por encima y pulsando la tecla \'d\'',
  3812. '3.title': 'WME Toolbox: Bloqueo nivel 2',
  3813. '3.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3814. '4.title': 'WME Toolbox: Bloqueo nivel 3',
  3815. '4.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3816. '5.title': 'WME Toolbox: Bloqueo nivel 4',
  3817. '5.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3818. '6.title': 'WME Toolbox: Bloqueo nivel 5',
  3819. '6.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3820. '7.title': 'WME Toolbox: Bloqueo nivel 6',
  3821. '7.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3822. '8.title': 'WME Toolbox: Numeros de casas',
  3823. '8.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3824. '9.title': 'WME Toolbox: Segmento con restricciones de tiempo',
  3825. '9.problem': 'El segmento está resaltado por WME Toolbox. No es un problema',
  3826. '13.title': 'WME Colour Highlights: Bloqueo de editor',
  3827. '13.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3828. '14.title': 'WME Colour Highlights: Peaje / Vía de sentido único',
  3829. '14.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3830. '15.title': 'WME Colour Highlights: Editado recientemente',
  3831. '15.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3832. '16.title': 'WME Colour Highlights: Rango de vías',
  3833. '16.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3834. '17.title': 'WME Colour Highlights: Sin ciudad',
  3835. '17.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3836. '18.title': 'WME Colour Highlights: Restricción horaria / Tipo de vía resaltado',
  3837. '18.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3838. '19.title': 'WME Colour Highlights: Sin nombre',
  3839. '19.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3840. '20.title': 'WME Colour Highlights: Filtro por ciudad',
  3841. '20.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3842. '21.title': 'WME Colour Highlights: Filtro por ciudad (alt. ciudad)',
  3843. '21.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3844. '22.title': 'WME Colour Highlights: Filtro por editor',
  3845. '22.problem': 'El segmento está resaltado por WME Colour Highlights. No es un problema',
  3846. '23.title': 'Segmento no confirmado',
  3847. '23.problem': 'Cada segmento debe tener al menos el nombre del país o estado',
  3848. '23.solution': 'Confirma la vía actualizando sus detalles',
  3849. '24.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3850. '24.title': 'Puede haber nombre incorrecto de ciudad (sólo disponible en el informe)',
  3851. '24.problem': 'El segmento puede tener un nombre de ciudad incorrecto',
  3852. '24.solution': 'Considera el nombre de ciudad sugerido y use este formulario para renombrar la ciudad',
  3853. '25.title': 'Dirección del segmento marcada como desconocida',
  3854. '25.problem': 'La dirección del segmento \'Desconocida\' no impedirá enrutar por la vía',
  3855. '25.solution': 'Fijar la dirección de la vía',
  3856. '27.enabled': true,
  3857. '27.problemLink': 'W:Corrigiendo_ciudades_"manchadas"',
  3858. '27.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3859. '27.title': 'Nombre de ciudad en vía férrea',
  3860. '27.problem': 'Poner nombres de ciudad en la vía férrea puede generar ciudades manchadas',
  3861. '27.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3862. '28.problemLink': 'W:Puntos_de_Unión._Guía_de_estilo#Bifurcaciones_de_rampas',
  3863. '28.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3864. '28.title': 'Nombre de calle en una rampa bidireccional',
  3865. '28.problem': 'Si la rampa no tiene nombre, el nombre del segmento siguiente se propagará hacia atrás',
  3866. '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\'',
  3867. '29.problemLink': 'W:Crear_y_editar_rotondas#Creaci.C3.B3n_de_una_rotonda_a_partir_de_una_intersecci.C3.B3n',
  3868. '29.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3869. '29.title': 'Nombre de calle en rotonda',
  3870. '29.problem': 'En Waze, no nombramos los segmentos de las rotondas',
  3871. '29.solution':
  3872. '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',
  3873. '34.title': 'Nombre de calle alternativo vacío',
  3874. '34.problem': 'El nombre de calle alternativo está vacío',
  3875. '34.solution': 'Borrar el nombre alternativo de calle vacío',
  3876. '35.title': 'Segmento de vía sin terminar',
  3877. '35.problem': 'Waze no enrutará desde un segmento sin terminar',
  3878. '35.solution': 'Mover un poco el segmento para que el extremo sin terminar sea añadido automáticamente al punto de unión',
  3879. '36.title': 'Punto de unión A innecesario (slow)',
  3880. '36.problem': 'Los segmentos adyacentes al punto de unión A son idénticos',
  3881. '36.solution': 'Selecciona el punto de unión A y pulsa la tecla borrar para unir los dos segmentos',
  3882. '37.title': 'Punto de unión B innecesario (slow)',
  3883. '37.problem': 'Los segmentos adyacentes al punto de unión B son idénticos',
  3884. '37.solution': 'Selecciona el punto de unión B y pulsa la tecla borrar para unir los dos segmentos',
  3885. '38.problemLink': 'W:Restricciones_horarias#En_segmentos',
  3886. '38.title': 'Restricción de segmento caducada (slow)',
  3887. '38.problem': 'El segmento tiene una restricción caducada',
  3888. '38.solution': 'Hacer clic en \'Editar restricciones\' y borrar la restricción caducada',
  3889. '39.problemLink': 'W:Restricciones_horarias#En_giros',
  3890. '39.title': 'Restricción de giro caducada (slow)',
  3891. '39.problem': 'El segmento tiene un giro con una restricción caducada',
  3892. '39.solution': 'Hacer clic en el icono de reloj cerca de la flecha amarilla y borrar la restricción caducada',
  3893. '41.title': 'Conectividad inversa en punto de unión A del segmento',
  3894. '41.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión A del segmento',
  3895. '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',
  3896. '42.title': 'Conectividad inversa en punto de unión B del segmento',
  3897. '42.problem': 'Hay un giro que va contra la dirección del segmento en el punto de unión B del segmento',
  3898. '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',
  3899. '43.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  3900. '43.title': 'Auto conectividad',
  3901. '43.problem': 'El segmento está conectado a si mismo',
  3902. '43.solution': 'Divide el segmento en TRES partes',
  3903. '44.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3904. '44.title': 'Sin conexión de salida',
  3905. '44.problem': 'El segmento no tiene ningún giro de salida permitido',
  3906. '44.solution': 'Activa al menos un giro de salida desde el segmento',
  3907. '45.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3908. '45.title': 'Sin conexión de entrada',
  3909. '45.problem': 'El segmento no privado no tiene ningún giro de entrada permitido',
  3910. '45.solution': 'Selecciona un segmento adyacente y activa por lo menos un giro hacia el segmento',
  3911. '46.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3912. '46.title': 'Sin entrada en A (slow)',
  3913. '46.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión A',
  3914. '46.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión A',
  3915. '47.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3916. '47.title': 'Sin entrada en B (slow)',
  3917. '47.problem': 'El segmento no-privado no tiene ningún giro de entrada habilitado en el punto de unión B',
  3918. '47.solution': 'Selecciona un segmento adyacente y habilita al menos un giro hacia el segmento en el punto de unión B',
  3919. '48.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3920. '48.title': 'Segmento de rotonda bidireccional',
  3921. '48.problem': 'El segmento de rotonda es bidireccional',
  3922. '48.solution': 'Rehacer la rotonda',
  3923. '50.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3924. '50.title': 'No hay conectividad en la rotonda (slow)',
  3925. '50.problem': 'El segmento de la rotonda no tiene conectividad con el segmento de rotonda siguiente',
  3926. '50.solution': 'Permitir un giro al segmento adyacente o rehacer la rotonda',
  3927. '57.enabled': true,
  3928. '57.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3929. '57.title': 'Nombre de ciudad en rampa con nombre',
  3930. '57.problem': 'Poner el nombre de ciudad en las rampas puede afectar a los resultados de búsqueda',
  3931. '57.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3932. '59.enabled': true,
  3933. '59.problemLink': 'W:Corrigiendo_ciudades_\'manchadas\'',
  3934. '59.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  3935. '59.title': 'Nombre de Ciudad en Autopista',
  3936. '59.problem': 'Poner nombres de ciudad en la Autopista puede generar ciudades manchadas',
  3937. '59.solution': 'En las propiedades de dirección seleccione la casilla \'Ninguno\' cerca del nombre de ciudad, haz clic en \'Aplicar\'',
  3938. '73.enabled': true,
  3939. '73.title': 'Menos de 3 caracteres de longitud en el nombre de la calle',
  3940. '73.problem': 'El nombre de la calle tiene una longitud de menos de 3 caracteres',
  3941. '73.solution': 'Corrige el nombre de la calle',
  3942. '74.problemLink': 'W:Crear_y_editar_rotondas',
  3943. '74.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3944. '74.title': 'Varios segmentos en el punto de unión A de la rotonda',
  3945. '74.problem': 'La rotonda tiene en el punto de unión A más de un segmento conectado',
  3946. '74.solution': 'Rehacer la rotonda',
  3947. '77.title': 'Calle sin salida con giro en U',
  3948. '77.problem': 'La calle sin salida tiene un giro en U habilitado',
  3949. '77.solution': 'Deshabilitar el giro en U',
  3950. '78.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Dividir_un_segmento',
  3951. '78.title': 'Segmentos con los mismos puntos de inicio y final (slow)',
  3952. '78.problem': 'Dos segmentos comparten los puntos de inicio y final',
  3953. '78.solution': 'Divide el segmento. También puedes borrar uno de los segmentos si son idénticos',
  3954. '79.title': 'Conector para giros en U demasiado corto (slow)',
  3955. '79.problem': 'La longitud del segmento es menor de 15 metros por lo que el giro en U no es posible',
  3956. '79.solution': 'Aumente la longitud del segmento',
  3957. '87.problemLink': 'W:Crear_y_editar_rotondas',
  3958. '87.solutionLink': 'W:Crear_y_editar_rotondas#Arreglar_rotondas_editadas_manualmente',
  3959. '87.title': 'Más de un segmento de salida en el punto de unión A de la rotonda',
  3960. '87.problem': 'La rotonda tiene en el punto de unión A más de un segmento de salida conectado',
  3961. '87.solution': 'Rehacer la rotonda',
  3962. '90.enabled': true,
  3963. '90.title': 'Segmento de Autopista bidireccional',
  3964. '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',
  3965. '90.solution': 'Revisar dirección de Autopista',
  3966. '99.title': 'Giro en U en la entrada de rotonda (slow)',
  3967. '99.problem': 'El segmento de entrada a la rotonda tiene un giro en U habilitado',
  3968. '99.solution': 'Deshabilitar el giro en U',
  3969. '101.enabled': false,
  3970. '101.title': 'Zona en construcción (sólo disponible en el informe)',
  3971. '101.problem': 'El segmento está marcado como zona de construcción',
  3972. '101.solution': 'Si la construcción está terminada, volver a conectar el segmento y borrar el sufijo',
  3973. '102.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3974. '102.title': 'Sin salida en A (slow)',
  3975. '102.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión A',
  3976. '102.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión A',
  3977. '103.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Establecer_giros_permitidos_.28conexiones.29',
  3978. '103.title': 'Sin salida en B (slow)',
  3979. '103.problem': 'El segmento no tiene ningún giro de salida habilitado en el punto de unión B',
  3980. '103.solution': 'Habilita al menos un giro de salida desde el segmento en el punto de unión B',
  3981. '104.title': 'Vía férrea usada para comentarios',
  3982. '104.problem': 'El segmento de vía férrea es probablemente usado como comentario de mapa',
  3983. '104.solution': 'Borrar el comentario ya que las vías férreas serán añadidas al mapa del cliente',
  3984. '107.title': 'Sin conexión en punto de unión A (slow)',
  3985. '107.problem': 'El punto de unión A del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  3986. '107.solution': 'Conectar el punto de unión A a un segmento cercano o separarlos un poco más',
  3987. '108.title': 'Sin conexión en punto de unión B (slow)',
  3988. '108.problem': 'El punto de unión B del segmento está a menos de 5 metros de otro segmento pero no está conectado',
  3989. '108.solution': 'Conectar el punto de unión B a un segmento cercano o separarlos un poco más',
  3990. '109.solutionLink': 'W:Guía_rápida_de_edición_de_mapas#Eliminar_un_punto_de_uni.C3.B3n',
  3991. '109.title': 'Segmento muy corto',
  3992. '109.problem': 'El segmento tiene menos de 2 metros de longitud, así que es difícil de ver en el mapa',
  3993. '109.solution': 'Aumentar la longitud, borrar el segmento, o unirlo a un segmento adyacente',
  3994. '112.title': 'Más de 55 caracteres en el nombre de la Rampa',
  3995. '112.problem': 'El nombre de la Rampa tiene más de 55 caracteres',
  3996. '112.solution': 'Acorta el nombre de la Rampa',
  3997. '114.enabled': false,
  3998. '114.title': 'No transitable conectada a transitable en el punto de unión A (slow)',
  3999. '114.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo A',
  4000. '114.solution': 'Desconecta el extremo A de todos los segmentos transitables',
  4001. '115.enabled': false,
  4002. '115.title': 'No transitable conectada a transitable en el punto de unión B (slow)',
  4003. '115.problem': 'El segmento no transitable tiene un punto de unión con un segmento transitable en el extremo B',
  4004. '115.solution': 'Desconecta el extremo B de todos los segmentos transitables',
  4005. '116.title': 'Elevación fuera de rango',
  4006. '116.problem': 'La elevación del segmento está fuera de rango',
  4007. '116.solution': 'Corrige la elevación',
  4008. '117.enabled': false,
  4009. '117.title': 'Marcado obsoleto: CONST ZN',
  4010. '117.problem': 'El segmento está marcado con el sufijo obsoleto CONST ZN',
  4011. '117.solution': 'Cambiar CONST ZN a (closed)',
  4012. '118.title': 'Segmentos superpuestos en A (slow)',
  4013. '118.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión A',
  4014. '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',
  4015. '119.title': 'Segmentos superpuestos en B (slow)',
  4016. '119.problem': 'El segmento se solapa con el segmento adyacente en el punto de unión B',
  4017. '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',
  4018. '120.title': 'Giro demasiado cerrado en A (slow)',
  4019. '120.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión A',
  4020. '120.solution': 'Desactiva el giro cerrado en el punto de unión A o considera separar los segmentos hasta un ángulo de 30°',
  4021. '121.title': 'Giro demasiado cerrado en B (slow)',
  4022. '121.problem': 'El segmento tiene un giro demasiado cerrado en el punto de unión B',
  4023. '121.solution': 'Desactiva el giro cerrado en el punto de unión B o considera separar los segmentos hasta un ángulo de 30°',
  4024. '128.title': 'Comprobación personalizada por el usuario 1',
  4025. '128.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4026. '128.solution': 'Resolver el problema',
  4027. '129.title': 'Comprobación personalizada por el usuario 2',
  4028. '129.problem': 'Alguna de las propiedades del segmento coinciden con la expresión regular definida por el usuario (ver Ajustes→Personalización)',
  4029. '129.solution': 'Resolver el problema',
  4030. '130.enabled': true,
  4031. '130.severity': 'N',
  4032. '130.title': 'Nivel de bloqueo de Autopista incorrecto',
  4033. '130.problem': 'El segmento de Autopista no está bloqueado a nivel 4',
  4034. '130.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4035. '130.solution': 'Bloquear el segmento de Autopista a nivel 4',
  4036. '130.params':
  4037. {'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]/'},
  4038. '131.enabled': true,
  4039. '131.severity': 'N',
  4040. '131.title': 'No lock on Major Highway',
  4041. '131.problem': 'The Major Highway segment should be locked to Lvl 3',
  4042. '131.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4043. '131.solution': 'Lock the segment',
  4044. '131.params': {
  4045. 'titleEN': 'No lock on Major Highway',
  4046. 'problemEN': 'The Major Highway segment should be locked to Lvl 3',
  4047. 'solutionEN': 'Lock the segment',
  4048. 'template': '${type}:${lock}:${street}',
  4049. 'regexp': '/^6:[^3]:N-/'
  4050. },
  4051. '133.enabled': true,
  4052. '133.severity': 'N',
  4053. '133.title': 'No lock on Ramp',
  4054. '133.problem': 'The Ramp segment should be locked to Lvl 3',
  4055. '133.problemLink': 'W:Dudas_frecuentes_editando_mapas#.C2.BFDebo_.22bloquear.22_mis_ediciones.3F',
  4056. '133.solution': 'Lock the segment',
  4057. '133.params':
  4058. {'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]/'},
  4059. '150.title': 'Nivel de bloqueo de Autopista incorrecto',
  4060. '150.problem': 'El segmento de Autopista no está bloqueado a nivel ${n}',
  4061. '150.solution': 'Bloquear el segmento de Autopista a nivel ${n}',
  4062. '169.title': 'Calle nombrada incorrectamente',
  4063. '169.problem': 'La calle tiene el nombre incorrecto, usando caracteres o palabras ilegales',
  4064. '169.solution': 'Renombre la calle de acuerdo a los criterios establecidos',
  4065. '170.enabled': true,
  4066. '170.title': 'Nombre de calle comienza con minúscula',
  4067. '170.problem': 'El nombre de la calle comienza con minúscula',
  4068. '170.solution': 'Escribir en mayúscula la primera letra del nombre',
  4069. '172.title': 'Nombre de calle con espacios innecesarios',
  4070. '172.problem': 'Espacio en blanco inicial/final o doble en el nombre de la calle',
  4071. '172.solution': 'Borrar los espacios innecesarios del nombre de Calle',
  4072. '173.enabled': false,
  4073. '173.title': 'Nombre de segmento sin espacio antes o después de una abreviación',
  4074. '173.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jan\') de una abreviación en el nombre del segmento',
  4075. '173.solution': 'Agregar un espacio antes/después de la abreviación',
  4076. '175.solutionLink': 'W:Crear_y_editar_segmentos_de_vías#Address_Properties',
  4077. '175.title': 'Nombre del segmento sólo con espacios',
  4078. '175.problem': 'El nombre del segmento sólo tiene espacios en blanco en el nombre',
  4079. '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',
  4080. '190.title': 'Nombre de ciudad con minúscula',
  4081. '190.problem': 'El nombre de la ciudad comienza con minúscula',
  4082. '190.solution': 'Utiliza este formulario para renombrar la ciudad',
  4083. '192.title': 'Nombre de Ciudad con espacios innecesarios',
  4084. '192.problem': 'Espacio en blanco inicial/final o doble en el nombre de la ciudad',
  4085. '192.solution': 'Use este formulario para renombrar la Ciudad',
  4086. '193.enabled': false,
  4087. '193.title': 'Nombre de Ciudad sin espacio delante o atrás de una abreviación',
  4088. '193.problem': 'Sin espacio antes (\'1943r.\') o después (\'St.Jean\') de una abreviación en el nombre de la ciudad',
  4089. '193.solution': 'Use este formulario para renombrar la Ciudad',
  4090. '200.problemLink': 'W:Giros_implícitos_y_explícitos',
  4091. '200.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4092. '200.title': 'Unión A: Giro suave (implícito) en segmento',
  4093. '200.problem': 'El segmento tiene un giro no confirmado',
  4094. '200.solution':
  4095. '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',
  4096. '201.problemLink': 'W:Giros_implícitos_y_explícitos',
  4097. '201.solutionLink': 'W:Giros_implícitos_y_explícitos#Mejores_pr.C3.A1cticas',
  4098. '201.title': 'Unión A: Giro suave (implícito) en segmento principal',
  4099. '201.problem': 'El segmento principal tiene un giro no confirmado',
  4100. '201.solution':
  4101. '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'
  4102. },
  4103. 'DE': {
  4104. '.codeISO': 'DE',
  4105. '.country': 'Germany',
  4106. '59.enabled': true,
  4107. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4108. '90.enabled': true,
  4109. '110.enabled': true,
  4110. '150.enabled': true,
  4111. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen',
  4112. '214.params': {'regexp': '/^7|.+0$/'},
  4113. '215.params': {'regexp': '/^7|.+0$/'}
  4114. },
  4115. 'CZ': {
  4116. '.codeISO': 'CZ',
  4117. '.country': 'Czech Republic',
  4118. '27.enabled': true,
  4119. '52.enabled': true,
  4120. '73.enabled': true,
  4121. '90.enabled': true,
  4122. '105.enabled': true,
  4123. '150.enabled': true,
  4124. '150.problemLink': 'F:t=64980&p=572847#p572847',
  4125. '150.params': {'n': 4},
  4126. '151.enabled': true,
  4127. '151.problemLink': 'F:t=64980&p=572847#p572847',
  4128. '151.params': {'n': 4},
  4129. '152.enabled': true,
  4130. '152.problemLink': 'F:t=64980&p=572847#p572847',
  4131. '152.params': {'n': 4},
  4132. '153.enabled': true,
  4133. '153.problemLink': 'F:t=64980&p=572847#p572847',
  4134. '153.params': {'n': 4},
  4135. '154.enabled': true,
  4136. '154.problemLink': 'F:t=64980&p=572847#p572847',
  4137. '154.params': {'n': 3},
  4138. '170.enabled': true,
  4139. '170.params': {
  4140. 'regexp':
  4141. '/^(?!(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]/'
  4142. }
  4143. },
  4144. 'CL': {'.codeISO': 'CL', '.country': 'Chile', '.fallbackCode': 'ES', '59.enabled': true, '150.enabled': true, '170.enabled': true, '200.enabled': false},
  4145. 'CH': {
  4146. '.codeISO': 'CH',
  4147. '.country': 'Switzerland',
  4148. '59.enabled': true,
  4149. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4150. '90.enabled': true,
  4151. '110.enabled': true,
  4152. '150.enabled': true,
  4153. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4154. },
  4155. 'BN': {
  4156. '.codeISO': 'BN',
  4157. '.country': 'Brunei',
  4158. '69.enabled': true,
  4159. '73.enabled': true,
  4160. '150.enabled': true,
  4161. '150.params': {'n': 2},
  4162. '151.enabled': true,
  4163. '151.params': {'n': 2},
  4164. '152.enabled': true,
  4165. '152.params': {'n': 2}
  4166. },
  4167. 'BG': {'.codeISO': 'BG', '.country': 'Bulgaria', '27.enabled': true},
  4168. 'BE': {
  4169. '.codeISO': 'BE',
  4170. '.country': 'Belgium',
  4171. '109.params': {'n': 6},
  4172. '150.enabled': true,
  4173. '150.problemLink': 'W:Belgium/Freeway',
  4174. '151.enabled': true,
  4175. '151.problemLink': 'W:Belgium/Major_Highway',
  4176. '152.enabled': true,
  4177. '152.problemLink': 'W:Belgium/Minor_Highway',
  4178. '154.enabled': true,
  4179. '154.problemLink': 'W:Belgium/Primary_Street',
  4180. '160.enabled': true,
  4181. '160.problemLink': 'W:Belgium/Freeway',
  4182. '160.params':
  4183. {'solutionEN': 'Rename the Freeway segment to a \'Anum\' or \'Anum - Enum\' or \'Anum > Dir1 / Dir2\'', 'regexp': '!/^(A|B|E)[0-9]+( - (A|E)[0-9]+)*( > [^\\/]+( \\/ [^\\/]+)*)?$/'},
  4184. '163.enabled': true,
  4185. '163.problemLink': 'W:Belgium/Roads#Highways',
  4186. '163.solutionLink': 'W:Belgium/Ramp',
  4187. '163.params': {
  4188. 'titleEN': 'Ramp name starts with a number',
  4189. 'problemEN': 'The Ramp name starts with a number',
  4190. 'solutionEN': 'Rename the Ramp in accordance with the guidelines',
  4191. 'regexp': '/^([0-9]+)/'
  4192. },
  4193. '171.enabled': true,
  4194. '171.problemLink': 'W:Belgium/Ramp#Text_To_Speech_.28TTS.29_-_ri_-_di',
  4195. '171.params': {'problemEN': 'The street name contains incorrect \'ri.\' abbreviation', 'solutionEN': 'Change the \'ri.\' abbreviation to \'ri\' (no dot)', 'regexp': '/(^|\\b)ri\\./i'}
  4196. },
  4197. 'AU': {
  4198. '.codeISO': 'AU',
  4199. '.country': 'Australia',
  4200. '27.enabled': true,
  4201. '59.enabled': true,
  4202. '59.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4203. '112.enabled': false,
  4204. '150.enabled': true,
  4205. '150.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Freeway',
  4206. '151.enabled': true,
  4207. '151.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Major_Highway',
  4208. '151.params': {'n': 3},
  4209. '152.enabled': true,
  4210. '152.problemLink': 'W:How_to_label_and_name_roads_(Australia)#Minor_Highway'
  4211. },
  4212. 'AT': {
  4213. '.codeISO': 'AT',
  4214. '.country': 'Austria',
  4215. '59.enabled': true,
  4216. '59.problemLink': 'W:How_to_label_and_name_roads_(Austria)#Autobahnen_and_Schnellstra.C3.9Fen_.28A_.26_S.29',
  4217. '90.enabled': true,
  4218. '110.enabled': true,
  4219. '150.enabled': true,
  4220. '150.problemLink': 'W:Die_beste_Vorgehensweise_beim_Bearbeiten_der_Karte#Richtung_und_Sperren_von_Stra.C3.9Fen'
  4221. },
  4222. 'AR': {
  4223. '.codeISO': 'AR',
  4224. '.country': 'Argentina',
  4225. '.fallbackCode': 'ES',
  4226. '150.enabled': true,
  4227. '169.enabled': true,
  4228. '169.solutionLink': 'W:Como_categorizar_y_nombrar_calles_(Argentina)#Calles',
  4229. '169.params': {'regexp': '/(^|\\b)[Cc]alle(?! [0-9]+( ([A-Z]|bis))?$)/'}
  4230. }
  4231. };
  4232. var CC_UNDEFINED = 48;
  4233. var CC_NULL = 34;
  4234. var CC_BOOL = 46;
  4235. var CC_NUMBER = 44;
  4236. var CC_STRING = 58;
  4237. var CC_GLOBAL = 5;
  4238. var CC_FUNCTION = 37;
  4239. var CC_ARRAY = 32;
  4240. var CC_OBJECT = 42;
  4241. var CC_REGEXP = 23;
  4242. var CC_DATE = 33;
  4243. function classOf(val) {
  4244. return {}.toString.call(val).slice(8, -1)
  4245. }
  4246. function classCode(obj) {
  4247. return {}.toString.call(obj).charCodeAt(8) ^ {}.toString.call(obj).charCodeAt(11)
  4248. }
  4249. function classCodeIs(obj, cc) {
  4250. return cc === classCode(obj)
  4251. }
  4252. function classCodeDefined(obj) {
  4253. return CC_UNDEFINED !== classCode(obj)
  4254. }
  4255. function isEmpty(obj) {
  4256. for (var k in obj)
  4257. if (obj.hasOwnProperty(k)) return false;
  4258. return true
  4259. }
  4260. function deepCopy(obj) {
  4261. switch (classCode(obj)) {
  4262. case CC_ARRAY:
  4263. var cpy = [];
  4264. for (var i = 0, len = obj.length; i < len; i++) cpy[i] = deepCopy(obj[i]);
  4265. return cpy;
  4266. case CC_OBJECT:
  4267. var cpy = {};
  4268. for (var attr in obj)
  4269. if (obj.hasOwnProperty(attr)) cpy[attr] = deepCopy(obj[attr]);
  4270. return cpy
  4271. }
  4272. return obj
  4273. }
  4274. function deepCompare(obj1, obj2) {
  4275. if (obj1 === obj2) return true;
  4276. if (classCode(obj1) !== classCode(obj2)) return false;
  4277. switch (classCode(obj1)) {
  4278. case CC_ARRAY:
  4279. if (obj1.length != obj2.length) return false;
  4280. for (var i = 0; i < obj1.length; i++)
  4281. if (!deepCompare(obj1[i], obj2[i])) return false;
  4282. return true;
  4283. case CC_OBJECT:
  4284. for (var k in obj1) {
  4285. if (!obj1.hasOwnProperty(k)) continue;
  4286. if (!obj2.hasOwnProperty(k)) return false;
  4287. if (!deepCompare(obj1[k], obj2[k])) return false
  4288. }
  4289. return true
  4290. }
  4291. return false
  4292. }
  4293. function getDirection(seg) {
  4294. return (seg.attributes.fwdDirection ? 1 : 0) + (seg.attributes.revDirection ? 2 : 0)
  4295. }
  4296. function getLocalizedValue(val, country) {
  4297. var ipu = OpenLayers.INCHES_PER_UNIT;
  4298. var mph = false;
  4299. if (country == 'United Kingdom' || country == 'Jersey' || country == 'Guernsey' || country == 'United States') mph = true;
  4300. return mph ? Math.round(val * ipu['km'] / ipu['mi']) : val
  4301. };
  4302. var DEF_DEBUG = false;
  4303. var _THUI = {};
  4304. _THUI.NONE = 1;
  4305. _THUI.DIV = 2;
  4306. _THUI.NUMBER = 3;
  4307. _THUI.RADIO = 4;
  4308. _THUI.CHECKBOX = 5;
  4309. _THUI.BUTTON = 6;
  4310. _THUI.TEXT = 7;
  4311. _THUI.PASSWORD = 8;
  4312. _THUI.DATE = 9;
  4313. var _WV = {};
  4314. var WME_BETA = false;
  4315. _WV.$loggedIn = 0;
  4316. _WV.$functions = [];
  4317. var _UI = {};
  4318. var _RT = {};
  4319. var _REP = {};
  4320. var GL_SHOWLAYERS = false;
  4321. var GL_LAYERNAME = 'WME Validator';
  4322. var GL_LAYERUNAME = 'WMEValidator';
  4323. var GL_LAYERACCEL = 'toggleWMEValidator';
  4324. var GL_LAYERSHORTCUT = 'A+v';
  4325. var GL_TBCOLOR = 'WMETB_color';
  4326. var GL_TBPREFIX = 'WMETB';
  4327. var GL_WMECHCOLOR = 'WMECH_color';
  4328. var GL_NOTECOLOR = '#30E';
  4329. var GL_NOTEBGCOLOR = '#EEF';
  4330. var GL_WARNINGCOLOR = '#DA0';
  4331. var GL_WARNINGBGCOLOR = '#FFE';
  4332. var GL_ERRORCOLOR = '#E00';
  4333. var GL_ERRORBGCOLOR = '#FEE';
  4334. var GL_CUSTOM1COLOR = '#0A0';
  4335. var GL_CUSTOM1BGCOLOR = '#EFE';
  4336. var GL_CUSTOM2COLOR = '#09E';
  4337. var GL_CUSTOM2BGCOLOR = '#EFF';
  4338. var GL_VISITEDCOLOR = '#0E0';
  4339. var GL_VISITEDBGCOLOR = '#EFE';
  4340. var GL_NOID = 'No ID';
  4341. var GL_GRAYCOLOR = '#AAA';
  4342. var GL_TODOMARKER = 'TODO: ';
  4343. var RT_RUNWAY = 19;
  4344. var RR_RUNWAY = 1;
  4345. var RT_RAILROAD = 18;
  4346. var RR_RAILROAD = 2;
  4347. var RT_STAIRWAY = 16;
  4348. var RR_STAIRWAY = 3;
  4349. var RT_BOARDWALK = 10;
  4350. var RR_BOARDWALK = 4;
  4351. var RT_TRAIL = 5;
  4352. var RR_TRAIL = 5;
  4353. var RT_PRIVATE = 17;
  4354. var RR_PRIVATE = 6;
  4355. var RT_PARKING = 20;
  4356. var RR_PARKING = 7;
  4357. var RT_DIRT = 8;
  4358. var RR_DIRT = 8;
  4359. var RT_SERVICE = 21;
  4360. var RR_SERVICE = 9;
  4361. var RT_STREET = 1;
  4362. var RR_STREET = 10;
  4363. var RT_PRIMARY = 2;
  4364. var RR_PRIMARY = 11;
  4365. var RT_RAMP = 4;
  4366. var RR_RAMP = 12;
  4367. var RT_MINOR = 7;
  4368. var RR_MINOR = 13;
  4369. var RT_MAJOR = 6;
  4370. var RR_MAJOR = 14;
  4371. var RT_FREEWAY = 3;
  4372. var RR_FREEWAY = 15;
  4373. var DIR_UNKNOWN = 0;
  4374. var DIR_AB = 1;
  4375. var DIR_BA = 2;
  4376. var DIR_TWO = 3;
  4377. var ST_STOP = 1116352408;
  4378. var ST_RUN = 1899447441;
  4379. var ST_PAUSE = 3049323471;
  4380. var ST_CONTINUE = 3921009573;
  4381. var DIR_L2R = 961987163;
  4382. var DIR_R2L = -961987163;
  4383. var RF_HTML = 1508970993;
  4384. var RF_BB = 2453635748;
  4385. var RF_LIST = 2870763221;
  4386. var RF_UPDATEMAXSEVERITY = 1;
  4387. var RF_CREATEPACK = 2;
  4388. var RT_STOP = 1;
  4389. var RT_NEXTCHECK = 2;
  4390. var RS_NOTE = 1;
  4391. var RS_WARNING = 2;
  4392. var RS_ERROR = 3;
  4393. var RS_CUSTOM2 = 4;
  4394. var RS_CUSTOM1 = 5;
  4395. var RS_MAX = 6;
  4396. var LIMIT_PERCHECK = 300;
  4397. var LIMIT_TOLERANCE = 6;
  4398. var LIMIT_DEBUG = 20;
  4399. var CK_TBFIRST = 1;
  4400. var CK_TBLAST = 9;
  4401. var CK_WMECHFIRST = 13;
  4402. var CK_WMECHLAST = 22;
  4403. var CK_TYPEFIRST = 70;
  4404. var CK_TYPELAST = 72;
  4405. var CK_MATCHFIRST = 128;
  4406. var CK_MATCHLAST = 139;
  4407. var CK_CUSTOMFIRST = 130;
  4408. var CK_CUSTOMLAST = 139;
  4409. var CK_LOCKFIRST = 150;
  4410. var CK_LOCKLAST = 158;
  4411. var CK_STREETTNFIRST = 160;
  4412. var CK_STREETTNLAST = 167;
  4413. var CK_STREETNAMEFIRST = 170;
  4414. var CK_STREETNAMELAST = 175;
  4415. var CK_CITYNAMEFIRST = 190;
  4416. var CK_CITYNAMELAST = 193;
  4417. var CK_MIRRORFIRST = 200;
  4418. var CK_MIRRORLAST = 201;
  4419. var CL_UI = 2821834349 - 1;
  4420. var ID_PREFIX = 2554220882;
  4421. var CL_TABS = 2821834349;
  4422. var CL_PANEL = 2952996808;
  4423. var CL_BUTTONS = 3210313671;
  4424. var CL_MSG = 3336571891;
  4425. var CL_MSGY = 3584528711;
  4426. var CL_TRANSLATETIP = 3584528711 + 1;
  4427. var AS_LICENSE = 'license';
  4428. var AS_VERSION = 'version';
  4429. var AS_NONEDITABLES = 'non_editables';
  4430. var AS_DUPLICATES = 'duplicates';
  4431. var AS_PLACES = 'enable_places';
  4432. var AS_STREETS = 'streets';
  4433. var AS_OTHERS = 'others';
  4434. var AS_NOTES = 'notes';
  4435. var AS_YOUREDITS = 'your_edits';
  4436. var AS_UPDATEDSINCE = 'updated_since';
  4437. var AS_CITYNAME = 'city_name';
  4438. var AS_CHECKS = 'checks';
  4439. var AS_UPDATEDBY = 'updated_by';
  4440. var AS_SOUNDS = 'sounds';
  4441. var AS_HLISSUES = 'hl_issues';
  4442. var AS_SLOWCHECKS = 'slow_checks';
  4443. var AS_CUSTOM1TEMPLATE = 'custom1_template';
  4444. var AS_CUSTOM1REGEXP = 'custom1_regexp';
  4445. var AS_CUSTOM2TEMPLATE = 'custom2_template';
  4446. var AS_CUSTOM2REGEXP = 'custom2_regexp';
  4447. var AS_REPORTEXT = 'report_ext';
  4448. var ID_PROPERTY = 3835390401;
  4449. var ID_PROPERTY_DISABLED = 3835390401 + 1;
  4450. var CL_COLLAPSE = 4022224774;
  4451. var CL_NOTE = 264347078;
  4452. var CL_WARNING = 604807628;
  4453. var CL_ERROR = 770255983;
  4454. var CL_CUSTOM1 = 770255983 + 1;
  4455. var CL_CUSTOM2 = 770255983 + 2;
  4456. var CL_RIGHTTIP = 1249150122;
  4457. var CL_RIGHTTIPPOPUP = 1249150122 + 1;
  4458. var CL_RIGHTTIPDESCR = 1249150122 + 2;
  4459. var AS_NAME = 'WME_Validator';
  4460. var SZ_PANEL_HEIGHT = 190;
  4461. var SCAN_ZOOM = 17;
  4462. var SCAN_STEP = 100;
  4463. var HL_WIDTH = 30;
  4464. var HL_OPACITY = .4;
  4465. var I_SEVERITY = 0;
  4466. var I_OBJECTCOPY = 1;
  4467. var I_ISTBCOLOR = 2;
  4468. var I_ISWMECHCOLOR = 3;
  4469. var I_ISPARTIAL = 4;
  4470. var I_CITYID = 5;
  4471. var I_VENUECOPY = 6;
  4472. var CO_MIN = 0;
  4473. var CO_REGEXP = 0;
  4474. var CO_STRING = 1;
  4475. var CO_NUMBER = 2;
  4476. var CO_BOOL = 3;
  4477. var CO_MAX = 3;
  4478. var WD_SHORT = 5;
  4479. var WD_LONG = 1E4;
  4480. var Wa = null;
  4481. var nW = null;
  4482. var WM = null;
  4483. var WLM = null;
  4484. var WSM = null;
  4485. var WMo = null;
  4486. var WC = null;
  4487. var UW = null;
  4488. var R = null;
  4489. function esc(msg) {
  4490. return msg.split('"').join('\\"').split('\n').join('\\n')
  4491. }
  4492. function escRE(e) {
  4493. return e.split('\\')
  4494. .join('\\\\')
  4495. .split('^')
  4496. .join('\\^')
  4497. .split('$')
  4498. .join('\\$')
  4499. .split('+')
  4500. .join('\\+')
  4501. .split('?')
  4502. .join('\\?')
  4503. .split(':')
  4504. .join('\\:')
  4505. .split('!')
  4506. .join('\\!')
  4507. .split('.')
  4508. .join('\\.')
  4509. .split('-')
  4510. .join('\\-')
  4511. .split('*')
  4512. .join('.*')
  4513. .split('(')
  4514. .join('\\(')
  4515. .split(')')
  4516. .join('\\)')
  4517. .split('[')
  4518. .join('\\[')
  4519. .split(']')
  4520. .join('\\]')
  4521. .split('{')
  4522. .join('\\{')
  4523. .split('}')
  4524. .join('\\}')
  4525. }
  4526. function getMsg(mType, msg, newLine) {
  4527. return 'WME Validator v' + WV_VERSION + (mType ? ' ' + mType : '') + (msg ? ':' + (newLine ? '\n' : ' ') + msg : '')
  4528. }
  4529. function log(msg) {
  4530. window.console.log(getMsg('', msg))
  4531. }
  4532. function error(msg) {
  4533. var s = getMsg('error', msg, true);
  4534. log(s);
  4535. if (!isErrorFlag()) {
  4536. setErrorFlag();
  4537. alert(s)
  4538. }
  4539. async(F_PAUSE);
  4540. return -1
  4541. }
  4542. function warning(msg) {
  4543. var s = getMsg('warning', msg, true);
  4544. log(s);
  4545. alert(s);
  4546. return -1
  4547. }
  4548. function info(msg) {
  4549. var s = getMsg('', msg, true);
  4550. alert(s);
  4551. return -1
  4552. }
  4553. function sync(func, param) {
  4554. return func(param)
  4555. }
  4556. function async(func, param, inter) {
  4557. var i = 0;
  4558. if (inter) i = inter;
  4559. window.setTimeout(func, i, param)
  4560. }
  4561. function clearWD() {
  4562. window.clearTimeout(_RT.$WDmoveID);
  4563. window.clearTimeout(_RT.$WDloadID);
  4564. _RT.$WDmoveID = -1;
  4565. _RT.$WDloadID = -1
  4566. }
  4567. function updateTimer(nstate) {
  4568. var csec = Date.now() / 1E3;
  4569. if (RTStateIs(ST_RUN)) _RT.$timer.$secInRun += csec - _RT.$timer.$lastUpdate;
  4570. if (RTStateIs(ST_STOP)) _RT.$timer.$secInRun = 0;
  4571. _RT.$timer.$lastUpdate = csec
  4572. }
  4573. function setRTState(nstate) {
  4574. if (RTStateIs(ST_STOP) && ST_PAUSE === nstate) nstate = ST_STOP;
  4575. updateTimer(nstate);
  4576. _RT.$state = nstate;
  4577. async(F_UPDATEUI)
  4578. }
  4579. function clearReport() {
  4580. _RT.$seen = {};
  4581. _RT.$revalidate = {};
  4582. _REP = {
  4583. $debugCounter: LIMIT_DEBUG,
  4584. $isLimitPerCheck: false,
  4585. $isEditableFound: false,
  4586. $counterTotal: 0,
  4587. $maxSeverity: 0,
  4588. $incompleteIDs: {},
  4589. $users: {},
  4590. $reportCounters: {},
  4591. $cityCounters: {},
  4592. $countries: {},
  4593. $cities: {},
  4594. $streets: {},
  4595. $cityIDs: {},
  4596. $unsortedCityIDs: [],
  4597. $sortedCityIDs: []
  4598. };
  4599. _RT.$reportEditableNotFound = false
  4600. }
  4601. function beep(dur, oscType) {
  4602. try {
  4603. if (_UI.pSettings.pScanner.oSounds.CHECKED) _AUDIO.beep(dur, oscType)
  4604. } catch (e) {
  4605. }
  4606. }
  4607. function setErrorFlag() {
  4608. _RT.$error = true
  4609. }
  4610. function isErrorFlag() {
  4611. return _RT.$error
  4612. }
  4613. function clearErrorFlag() {
  4614. _RT.$error = false
  4615. }
  4616. function RTStateIs(st) {
  4617. return getRTState() === st
  4618. }
  4619. function getRTState() {
  4620. return _RT.$state
  4621. }
  4622. function HLAllObjects() {
  4623. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))
  4624. if (_UI.pSettings.pScanner.oHLReported.CHECKED)
  4625. sync(F_VALIDATE, false);
  4626. else
  4627. sync(F_VALIDATE, true);
  4628. async(F_UPDATEUI)
  4629. }
  4630. function ForceHLAllObjects() {
  4631. _RT.$isMapChanged = true;
  4632. HLAllObjects()
  4633. }
  4634. function resetDefaults() {
  4635. _UI.pMain.pFilter.oEnablePlaces.CHECKED = false;
  4636. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = true;
  4637. _UI.pMain.pFilter.oExcludeDuplicates.CHECKED = true;
  4638. _UI.pMain.pFilter.oExcludeStreets.CHECKED = false;
  4639. _UI.pMain.pFilter.oExcludeOther.CHECKED = false;
  4640. _UI.pMain.pFilter.oExcludeNotes.CHECKED = false;
  4641. _UI.pMain.pSearch.oIncludeYourEdits.CHECKED = false;
  4642. _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE = '';
  4643. _RT.$includeUpdatedByCache = {};
  4644. _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE = '';
  4645. _RT.$includeUpdatedSinceTime = 0;
  4646. _UI.pMain.pSearch.oIncludeCityName.VALUE = '';
  4647. _RT.$includeCityNameCache = {};
  4648. _UI.pMain.pSearch.oIncludeChecks.VALUE = '';
  4649. _RT.$includeChecksCache = {};
  4650. _UI.pSettings.pScanner.oSlowChecks.CHECKED = true;
  4651. _UI.pSettings.pScanner.oReportExt.CHECKED = true;
  4652. _UI.pSettings.pScanner.oHLReported.CHECKED = true;
  4653. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  4654. _UI.pSettings.pCustom.oTemplate1.VALUE = '';
  4655. _UI.pSettings.pCustom.oRegExp1.VALUE = '';
  4656. _UI.pSettings.pCustom.oTemplate2.VALUE = '';
  4657. _UI.pSettings.pCustom.oRegExp2.VALUE = ''
  4658. }
  4659. function cmpCheckIDs(a, b) {
  4660. var checkA = _RT.$checks[a], checkB = _RT.$checks[b];
  4661. if (checkA.SEVERITY !== checkB.SEVERITY) return checkB.SEVERITY - checkA.SEVERITY;
  4662. var cmp = checkA.TITLE.localeCompare(checkB.TITLE);
  4663. if (!cmp) return a - b;
  4664. return cmp
  4665. }
  4666. function checkNoCity(str) {
  4667. return str ? str : 'No City'
  4668. }
  4669. function checkNoStreet(str) {
  4670. return str ? str : 'No Street'
  4671. }
  4672. function getFilteredSeverity(oldSeverity, checkID, checkToHL) {
  4673. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4674. var check = _RT.$checks[checkID];
  4675. if (checkToHL && check.REPORTONLY) return 0;
  4676. var textSeverity = getTextSeverity(check.SEVERITY).toUpperCase();
  4677. var cache = _RT.$includeChecksCache;
  4678. var hash = checkID;
  4679. if (hash in cache) {
  4680. if (cache[hash]) return check.SEVERITY
  4681. } else {
  4682. var forChecks = _UI.pMain.pSearch.oIncludeChecks.VALUE;
  4683. var ccode = _RT.$cachedTopCCode;
  4684. var options = trO(check.OPTIONS, ccode);
  4685. var curTitle = exSOS(check.TITLE, options, 'titleEN');
  4686. try {
  4687. cache[hash] = false;
  4688. if (_WV.checkAccessFor(forChecks, function(e) {
  4689. if (/^#?\d+$/.test(e)) {
  4690. if ('#' === e.charAt(0)) e = e.slice(1);
  4691. return +checkID === +e
  4692. }
  4693. if (e.toUpperCase() === textSeverity) return true;
  4694. e = escRE(e);
  4695. var r = new RegExp('^' + e + '$', 'i');
  4696. return r.test(curTitle)
  4697. })) {
  4698. cache[hash] = true;
  4699. return check.SEVERITY
  4700. }
  4701. } catch (e) {
  4702. }
  4703. }
  4704. return 0
  4705. }
  4706. function getFilteredSeverityObj(oldSeverity, checkIDs, checkToHL) {
  4707. if (!_UI.pMain.pSearch.oIncludeChecks.VALUE) return oldSeverity;
  4708. var ret = 0;
  4709. for (var cid in checkIDs) {
  4710. if (!checkIDs.hasOwnProperty(cid)) continue;
  4711. var check = _RT.$checks[cid];
  4712. if (getFilteredSeverity(check.SEVERITY, cid, checkToHL))
  4713. if (ret < check.SEVERITY) {
  4714. ret = check.SEVERITY;
  4715. if (_RT.$curMaxSeverity === ret) return ret
  4716. }
  4717. }
  4718. return ret
  4719. }
  4720. function checkFilter(severity, objectCopy, seenObjects) {
  4721. if (seenObjects) {
  4722. if (objectCopy.$objectID in seenObjects && _UI.pMain.pFilter.oExcludeDuplicates.CHECKED) return false;
  4723. seenObjects[objectCopy.$objectID] = null
  4724. }
  4725. if ((RR_STREET === objectCopy.$typeRank || RR_SERVICE === objectCopy.$typeRank) && _UI.pMain.pFilter.oExcludeStreets.CHECKED) return false;
  4726. if (RR_SERVICE > objectCopy.$typeRank && _UI.pMain.pFilter.oExcludeOther.CHECKED) return false;
  4727. if (!objectCopy.$isEditable && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) return false;
  4728. if (RS_NOTE === severity && _UI.pMain.pFilter.oExcludeNotes.CHECKED) return false;
  4729. if (objectCopy.$userID !== _RT.$topUser.$userID && !_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) return false;
  4730. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) {
  4731. var cache = _RT.$includeUpdatedByCache;
  4732. var hash = objectCopy.$userID;
  4733. if (hash in cache) {
  4734. if (!cache[hash]) return false
  4735. } else {
  4736. var forUser = _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE;
  4737. var curUser = _REP.$users[objectCopy.$userID];
  4738. try {
  4739. cache[hash] = false;
  4740. if (curUser !== _RT.$topUser.$userName && !_RT.$topUser.$isCM) return false;
  4741. if (_RT.$topUser.$isCM && -1 === _RT.$topUser.$countryIDs.indexOf(objectCopy.$countryID)) return false;
  4742. if (!_WV.checkAccessFor(forUser, function(e) {
  4743. e = escRE(e);
  4744. e = e.replace(/(^|\b)(me|i)($|\b)/gi, _RT.$topUser.$userName);
  4745. var r = new RegExp('^' + e + '$', 'i');
  4746. return r.test(curUser)
  4747. }))
  4748. return false;
  4749. cache[hash] = true
  4750. } catch (e) {
  4751. }
  4752. }
  4753. }
  4754. if (objectCopy.$updated && _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) try {
  4755. if (!_RT.$includeUpdatedSinceTime) _RT.$includeUpdatedSinceTime = (new Date(_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE)).getTime();
  4756. if (objectCopy.$updated < _RT.$includeUpdatedSinceTime) return false
  4757. } catch (e$0) {
  4758. }
  4759. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) {
  4760. if (!objectCopy.$cityID) return false;
  4761. var cache = _RT.$includeCityNameCache;
  4762. var hash = objectCopy.$cityID;
  4763. if (hash in cache) {
  4764. if (!cache[hash]) return false
  4765. } else {
  4766. var forCity = _UI.pMain.pSearch.oIncludeCityName.VALUE;
  4767. var curCity = _REP.$cities[objectCopy.$cityID];
  4768. try {
  4769. cache[hash] = false;
  4770. if (!_WV.checkAccessFor(forCity, function(e) {
  4771. e = escRE(e);
  4772. var r = new RegExp('^' + e + '$', 'i');
  4773. return r.test(curCity)
  4774. }))
  4775. return false;
  4776. cache[hash] = true
  4777. } catch (e$1) {
  4778. }
  4779. }
  4780. }
  4781. return true
  4782. }
  4783. function trO(obj, ccode) {
  4784. if (obj) return _I18n.getValueOC(obj, ccode)
  4785. }
  4786. function getCheckOptions(checkID, ccode) {
  4787. return _I18n.getValueOC(_RT.$checks[checkID].OPTIONS, ccode)
  4788. }
  4789. function trLeft(dir) {
  4790. if ('ltr' === dir)
  4791. return 'left';
  4792. else
  4793. return 'right'
  4794. }
  4795. function trRight(dir) {
  4796. if ('ltr' === dir)
  4797. return 'right';
  4798. else
  4799. return 'left'
  4800. }
  4801. function trS(label) {
  4802. return _I18n.getString(label)
  4803. }
  4804. function trSO(label, options) {
  4805. return _I18n.expandSO(_I18n.getString(label), options)
  4806. }
  4807. function exSOS(str, options, subst) {
  4808. if (options && _I18n.$defLng === _RT.$lng && options[subst])
  4809. return _I18n.expandSO(options[subst], options);
  4810. else
  4811. return _I18n.expandSO(str, options)
  4812. }
  4813. function getTextSeverity(sev) {
  4814. switch (sev) {
  4815. case RS_WARNING:
  4816. return 'warning';
  4817. case RS_ERROR:
  4818. return 'error';
  4819. case RS_CUSTOM1:
  4820. return 'custom1';
  4821. case RS_CUSTOM2:
  4822. return 'custom2'
  4823. }
  4824. return 'note'
  4825. }
  4826. function onUpdateUI(e) {
  4827. async(F_UPDATEUI, e)
  4828. }
  4829. function onShowChecks(e) {
  4830. sync(F_SHOWREPORT, RF_LIST)
  4831. }
  4832. function onCreatePack(e) {
  4833. sync(F_SHOWREPORT, RF_CREATEPACK)
  4834. }
  4835. function onShowReport(e) {
  4836. sync(F_SHOWREPORT, RF_HTML)
  4837. }
  4838. function onShareReport(e) {
  4839. sync(F_SHOWREPORT, RF_BB)
  4840. }
  4841. function onWarning(e) {
  4842. async(F_ONWARNING, e)
  4843. }
  4844. function onLogin() {
  4845. async(F_ONLOGIN)
  4846. }
  4847. function onMergeEnd() {
  4848. _RT.$isMapChanged = true;
  4849. window.clearTimeout(_RT.$WDmoveID);
  4850. window.clearTimeout(_RT.$WDloadID);
  4851. async(F_ONMERGEEND)
  4852. }
  4853. function onMoveEnd() {
  4854. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE))
  4855. async(F_ONMOVEEND);
  4856. else
  4857. ForceHLAllObjects()
  4858. }
  4859. function onLoadStart() {
  4860. async(F_ONLOADSTART)
  4861. }
  4862. function onChangeLayer(e) {
  4863. sync(F_ONCHANGELAYER, e)
  4864. }
  4865. function onSegmentsChanged(e) {
  4866. _RT.$isMapChanged = true;
  4867. sync(F_ONSEGMENTSCHANGED, e)
  4868. }
  4869. function onSegmentsRemoved(e) {
  4870. _RT.$isMapChanged = true;
  4871. if (1 === e.length)
  4872. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONSEGMENTSCHANGED, e)
  4873. }
  4874. function onSegmentsAdded(e) {
  4875. _RT.$isMapChanged = true
  4876. }
  4877. function onNodesChanged(e) {
  4878. _RT.$isMapChanged = true;
  4879. sync(F_ONNODESCHANGED, e)
  4880. }
  4881. function onNodesRemoved(e) {
  4882. _RT.$isMapChanged = true;
  4883. if (1 === e.length)
  4884. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONNODESCHANGED, e)
  4885. }
  4886. function onChangeIsImperial() {
  4887. clearReport();
  4888. _RT.$HLedObjects = {};
  4889. _RT.$HLlayer.destroyFeatures();
  4890. _RT.$isMapChanged = true;
  4891. async(F_LOGIN)
  4892. }
  4893. function onVenuesAdded(e) {
  4894. _RT.$isMapChanged = true
  4895. }
  4896. function onVenuesChanged(e) {
  4897. _RT.$isMapChanged = true;
  4898. sync(F_ONVENUESCHANGED, e)
  4899. }
  4900. function onVenuesRemoved(e) {
  4901. _RT.$isMapChanged = true;
  4902. if (1 === e.length)
  4903. if (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE)) sync(F_ONVENUESCHANGED, e)
  4904. };
  4905. function F_SHOWREPORT(reportFormat) {
  4906. var _now = new Date;
  4907. var _nowISO = _now.toISOString().slice(0, 10);
  4908. var _repU = _REP.$users;
  4909. var _repC = _REP.$cities;
  4910. var _repCC = _REP.$cityCounters;
  4911. var _repRC = _REP.$reportCounters;
  4912. var _repS = _REP.$streets;
  4913. var isBeta = -1 !== window.location.href.indexOf('beta');
  4914. var noFilters = true;
  4915. var FR = '';
  4916. var FRheader = '';
  4917. var FRfooter = '';
  4918. var newWin = null;
  4919. var Bh1, Eh1;
  4920. var Bh2, Eh2;
  4921. var Bsmall, Esmall;
  4922. var Bbig, Ebig;
  4923. var Ba, Ca, Ea;
  4924. var BaV;
  4925. var Bcolor, Ccolor, Ecolor;
  4926. var Bb, Eb;
  4927. var Bp, Ep;
  4928. var Br;
  4929. var Bol, Eol;
  4930. var Bul, Eul;
  4931. var Bli, Eli;
  4932. var Bcode, Ecode;
  4933. var Mdash, Nbsp;
  4934. var curFormat;
  4935. function setFormat(fmt) {
  4936. curFormat = fmt;
  4937. switch (fmt) {
  4938. case RF_HTML:
  4939. Bh1 = '\n<h1>', Eh1 = '</h1>\n<hr>\n';
  4940. Bh2 = '\n\n<h2>', Eh2 = '</h2>\n';
  4941. Bsmall = '<small>', Esmall = '</small>';
  4942. Bbig = '<big>', Ebig = '</big>';
  4943. Ba = '<a target="_blank" href="', Ca = '">', Ea = '</a>';
  4944. BaV = '<a target="Validator" href="';
  4945. Bcolor = '<span style="color:', Ccolor = '">', Ecolor = '</span>';
  4946. Bb = '<b>', Eb = '</b>';
  4947. Bp = '<p>', Ep = '</p>';
  4948. Br = '<br>\n';
  4949. Bul = '\n<ul>\n', Eul = '\n</ul>\n';
  4950. Bcode = '\n<div style="text-align:left" dir="ltr" class="code" onclick="selectAll(this)">', Ecode = '</div>\n';
  4951. Bol = '\n<ol>\n', Eol = '\n</ol>\n';
  4952. Bli = '\n<li>', Eli = '</li>\n';
  4953. Mdash = ' &mdash; ';
  4954. Nbsp = '&nbsp;';
  4955. break;
  4956. case RF_BB:
  4957. Bh1 = '\n[size=200]', Eh1 = '[/size]\n';
  4958. Bh2 = '\n[size=150]', Eh2 = '[/size]\n';
  4959. Bsmall = '[size=85]', Esmall = '[/size]';
  4960. Bbig = '[size=120]', Ebig = '[/size]';
  4961. Ba = '[url=', Ca = ']', Ea = '[/url]';
  4962. BaV = Ba;
  4963. Bcolor = '[color=', Ccolor = ']', Ecolor = '[/color]';
  4964. Bb = '[b]', Eb = '[/b]';
  4965. Bp = '\n', Ep = '\n';
  4966. Br = '\n';
  4967. Bul = '\n[list]', Eul = '[/list]\n';
  4968. Bcode = '\n[code]', Ecode = '\n[/code]';
  4969. Bol = '\n[list=1]', Eol = '[/list]\n';
  4970. Bli = '\n[*]', Eli = '[/*]\n';
  4971. Mdash = ' - ';
  4972. Nbsp = ' ';
  4973. break
  4974. }
  4975. return ''
  4976. }
  4977. function getReportSource() {
  4978. var m = 0;
  4979. var n = '';
  4980. for (var cid in _repCC)
  4981. if (_repCC.hasOwnProperty(cid) && m < _repCC[cid] && _repC[cid]) {
  4982. m = _repCC[cid];
  4983. n = _repC[cid]
  4984. }
  4985. return n
  4986. }
  4987. function getTopPermalink() {
  4988. var center, zoom;
  4989. if (_RT.$startCenter) {
  4990. center = _RT.$startCenter;
  4991. zoom = _RT.$startZoom
  4992. } else {
  4993. center = WM.getCenter();
  4994. zoom = WM.getZoom()
  4995. }
  4996. var c = center.clone().transform(WM.projection, WM.displayProjection);
  4997. return window.location.origin + window.location.pathname + '?zoomLevel=' + zoom + '&lat=' + Math.round(c.lat * 1E5) / 1E5 + '&lon=' + Math.round(c.lon * 1E5) / 1E5 +
  4998. '&env=' + nW.app.getAppRegionCode()
  4999. }
  5000. function getHTMLHeader(strTitle) {
  5001. var dir = _I18n.getDir();
  5002. var dirLeft = trLeft(dir);
  5003. var dirRight = trRight(dir);
  5004. return '<html dir="' + dir + '"><head><style>' +
  5005. '\na{background-color:white}' +
  5006. '\na:visited{background-color:' + GL_VISITEDBGCOLOR + ' !important;color:' + GL_VISITEDCOLOR + ' !important}' +
  5007. '\n.note a{background-color:' + GL_NOTEBGCOLOR + ';color:' + GL_NOTECOLOR + '}' +
  5008. '\n.warning a{background-color:' + GL_WARNINGBGCOLOR + ';color:' + GL_WARNINGCOLOR + '}' +
  5009. '\n.error a{background-color:' + GL_ERRORBGCOLOR + ';color:' + GL_ERRORCOLOR + '}' +
  5010. '\n.custom1 a{background-color:' + GL_CUSTOM1BGCOLOR + ';color:' + GL_CUSTOM1COLOR + '}' +
  5011. '\n.custom2 a{background-color:' + GL_CUSTOM2BGCOLOR + ';color:' + GL_CUSTOM2COLOR + '}' +
  5012. '\ndiv.note{background-color:' + GL_NOTEBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5013. '\ndiv.warning{background-color:' + GL_WARNINGBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5014. '\ndiv.error{background-color:' + GL_ERRORBGCOLOR + ';padding:1em;margin-top:0.5em}' +
  5015. '\nh2+ul>li{margin-bottom:1em}' +
  5016. '\nul{margin-top:0}' +
  5017. '\nh1,h2{margin-bottom:4px;font-family:Georgia,Times,"Times New Roman",serif}' +
  5018. '\nbody{margin:2em;font-family:"Lucida Grande","Lucida Sans Unicode","DejaVu Sans",Lucida,Arial,Helvetica,sans-serif}' +
  5019. '\ndiv#contents{display:inline-block;margin:1em 0;padding:1em;background-color:#f9f9f9;border:1px solid #aaa}' +
  5020. '\ndiv#contents li{margin-bottom:0.1em}' +
  5021. '\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;}' +
  5022. '\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}' +
  5023. '\n</style>' +
  5024. '\n<script>' +
  5025. '\nfunction selectAll(e){' +
  5026. 'if(window.getSelection){' +
  5027. 'var s = window.getSelection();' +
  5028. 'var r = document.createRange();' +
  5029. 'r.selectNodeContents(e);' +
  5030. 's.removeAllRanges();' +
  5031. 's.addRange(r);' +
  5032. '}}' +
  5033. '\n\x3c/script>' +
  5034. '\n<title>' + strTitle + ' ' + _nowISO + '</title>' +
  5035. '\n<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>' +
  5036. '\n</head><body>'
  5037. }
  5038. function getNaturalList(arr) {
  5039. if (1 === arr.length) return arr[0];
  5040. var ret = '';
  5041. arr.forEach(function(e, i) {
  5042. if (arr.length - 1 === i)
  5043. ret += ' ' + trS('report.and') + ' ';
  5044. else if (0 !== i)
  5045. ret += ', ';
  5046. ret += e
  5047. });
  5048. return ret
  5049. }
  5050. function getHeader(strTitle) {
  5051. var ret = Bh1 + strTitle + Eh1;
  5052. if (RF_LIST !== reportFormat && RF_CREATEPACK !== reportFormat) {
  5053. ret += Bsmall + trS('report.generated.by') + ' ' + _RT.$curUserName + ' ' + trS('report.generated.on') + ' ' + _nowISO + Esmall + Br + Br + Bb + trS('report.source') + ' ' + Eb + Ba +
  5054. getTopPermalink() + Ca + checkNoCity(getReportSource()) + Ea + Br;
  5055. var filters = [];
  5056. if (_UI.pMain.pFilter.oExcludeDuplicates.CHECKED) filters.push(trS('report.filter.duplicate'));
  5057. if (!_UI.pMain.pFilter.oEnablePlaces.CHECKED) filters.push(trS('report.filter.places'));
  5058. if (_UI.pMain.pFilter.oExcludeStreets.CHECKED) filters.push(trS('report.filter.streets'));
  5059. if (_UI.pMain.pFilter.oExcludeOther.CHECKED) filters.push(trS('report.filter.other'));
  5060. if (_UI.pMain.pFilter.oExcludeNonEditables.CHECKED) filters.push(trS('report.filter.noneditable'));
  5061. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED) filters.push(trS('report.filter.notes'));
  5062. if (filters.length) {
  5063. noFilters = false;
  5064. ret += Bb + trS('report.filter.title') + ' ' + Eb + getNaturalList(filters) + ' ' + trS('report.filter.excluded') + Br
  5065. }
  5066. filters = [];
  5067. if (!_UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY && _UI.pMain.pSearch.oIncludeYourEdits.CHECKED) filters.push(trS('report.search.updated.by') + ' ' + _RT.$curUserName);
  5068. if (!_UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY && _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE) filters.push(trS('report.search.updated.by') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedBy.VALUE);
  5069. if (_UI.pMain.pSearch.oIncludeUpdatedSince.VALUE) filters.push(trS('report.search.updated.since') + ' ' + _UI.pMain.pSearch.oIncludeUpdatedSince.VALUE);
  5070. if (_UI.pMain.pSearch.oIncludeCityName.VALUE) filters.push(trS('report.search.city') + ' ' + _UI.pMain.pSearch.oIncludeCityName.VALUE);
  5071. if (_UI.pMain.pSearch.oIncludeChecks.VALUE) filters.push(trS('report.search.reported') + ' ' + _UI.pMain.pSearch.oIncludeChecks.VALUE);
  5072. if (filters.length) {
  5073. noFilters = false;
  5074. ret += Bb + trS('report.search.title') + Eb + ' ' + trS('report.search.only') + ' ' + getNaturalList(filters) + ' ' + trS('report.search.included') + Br
  5075. }
  5076. if (isBeta) ret += Br + Bb + trS('report.beta.warning') + Eb + Br + trS('report.beta.text') + Br + Bb + trS('report.beta.share') + Eb + Br
  5077. }
  5078. return ret
  5079. }
  5080. function getSubHeader(strTitle) {
  5081. return Bh2 + strTitle + Eh2
  5082. }
  5083. function getTextACL(acl) {
  5084. if (acl)
  5085. return acl.split(',').join(', ');
  5086. else
  5087. return '*'
  5088. }
  5089. function getCheckProperties(checkID, ccode, showSeverity, showCountry) {
  5090. var check = _RT.$checks[checkID];
  5091. var ret = '';
  5092. if (showSeverity && check.SEVERITY && RS_MAX > check.SEVERITY)
  5093. ret += Bb + trS('report.list.severity') + ' ' + Eb + getTextSeverity(check.SEVERITY) + (check.REPORTONLY ? ' (' + trS('report.list.reportOnly') + ')' : '') + Br;
  5094. if (1 < check.FORLEVEL) ret += Bb + trS('report.list.forEditors') + ' ' + Eb + check.FORLEVEL + ' ' + trS('report.list.andUp') + Br;
  5095. if (showCountry) ret += Bb + trS('report.list.forCountries') + ' ' + Eb + getTextACL(check.FORCOUNTRY) + Br;
  5096. if (check.FORCITY) ret += Bb + trS('report.list.forCities') + ' ' + Eb + getTextACL(check.FORCITY) + Br;
  5097. var options;
  5098. if (check.OPTIONS && (options = getCheckOptions(checkID, ccode))) {
  5099. var defParams = ccode === _I18n.$defLng;
  5100. var arrParams = [];
  5101. for (var optionName in options) {
  5102. if (!/^[a-z]+$/i.test(optionName)) continue;
  5103. var optionTitle = options[optionName + '.title'];
  5104. if (defParams && !optionTitle) continue;
  5105. arrParams.push({$name: optionName, $title: optionTitle, $value: options[optionName]})
  5106. }
  5107. if (arrParams.length) {
  5108. ret += Bb;
  5109. var country = _I18n.getCapitalizedCountry(ccode) || ccode;
  5110. if (defParams)
  5111. ret += trS('report.list.params');
  5112. else
  5113. ret += trSO('report.list.params.set', {'country': country});
  5114. ret += Eb + Bcode + '"' + checkID + '.params": {\n';
  5115. for (var i = 0; i < arrParams.length; i++) {
  5116. var param = arrParams[i];
  5117. if (defParams) ret += ' // ' + param.$title + '\n';
  5118. ret += ' "' + param.$name + '": ' + JSON.stringify(param.$value) + ',' +
  5119. '\n'
  5120. }
  5121. ret += '},' + Ecode
  5122. }
  5123. }
  5124. return ret
  5125. }
  5126. function addTextLabels(pack, label, defSet, oldPack) {
  5127. var defData = (defSet[label] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM);
  5128. var origData = oldPack[label] || '';
  5129. if (origData) {
  5130. 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);
  5131. var oldDataEN = (oldPack[label + '.en'] || '').replace(new RegExp('^W:'), PFX_WIKI).replace(new RegExp('^P:'), PFX_PEDIA).replace(new RegExp('^F:'), PFX_FORUM);
  5132. if (oldDataEN)
  5133. if (oldDataEN === defData) {
  5134. pack[label + '.en'] = defData;
  5135. pack[label] = origData
  5136. } else {
  5137. pack[label + '.en'] = defData;
  5138. pack[label] = GL_TODOMARKER + oldData
  5139. }
  5140. else {
  5141. pack[label + '.en'] = defData;
  5142. pack[label] = origData
  5143. }
  5144. } else {
  5145. pack[label + '.en'] = defData;
  5146. pack[label] = GL_TODOMARKER + defData
  5147. }
  5148. }
  5149. function getPackHeader(country, lng) {
  5150. return '// ==UserScript==' + Br + '// @name WME Validator Localization for ' + country + Br + '// @version ' + WV_VERSION + Br +
  5151. '// @description This script localizes WME Validator for ' + country + '. You also need main package (WME Validator) installed.' + Br +
  5152. '// @match https://beta.waze.com/*editor*' + Br + '// @match https://www.waze.com/*editor*' + Br + '// @exclude https://www.waze.com/*user/*editor/*' +
  5153. Br + '// @grant none' + Br + '// @run-at document-start' + Br + '// ==/UserScript==' + Br + '//' + Br + '/*' + Br +
  5154. (lng ? ' Please translate all the lines marked with "' + GL_TODOMARKER + '"' + Br + ' Please DO NOT change ".en" properties. To override english text use "titleEN",' + Br +
  5155. ' "problemEN" and "solutionEN" properties (see an example below).' + Br + Br :
  5156. '') +
  5157. ' See Settings->About->Available checks for complete list of checks and their params.' + Br + Br + ' Examples:' + Br + Br +
  5158. ' Enable #170 "Lowercase street name" but allow lowercase "exit" and "to":' + Br + ' "170.enabled": true,' + Br + ' "170.params": {' + Br +
  5159. ' "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 +
  5160. ' "130.enabled": true,' + Br + ' "130.params": {' + Br + ' "titleEN": "Street name with a dot",' + Br +
  5161. ' "problemEN": "There is a dot in the street name (excluding Ramps)",' + Br + ' "solutionEN": "Expand the abbreviation or remove the dot",' + Br +
  5162. ' "template": "${type}:${street}",' + Br + ' "regexp": "D/^[^4][0-9]?:.*\\\\./",' + Br + ' },' + Br +
  5163. ' *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 +
  5164. '*/' + Br
  5165. }
  5166. function getPack(country, ccode, lng) {
  5167. var ucountry = country.toUpperCase();
  5168. var _country = country.split(' ').join('_');
  5169. var oldPack = _I18n.$translations[ccode] || {};
  5170. var ret = '' + Br + 'window.WME_Validator_' + _country + ' = ';
  5171. var newCountries = [];
  5172. for (var k in _I18n.$country2code)
  5173. if (ccode === _I18n.$country2code[k] && ucountry !== k) newCountries.push(_I18n.capitalize(k));
  5174. newCountries.unshift(country);
  5175. var newAuthor = oldPack['.author'] || _RT.$topUser.$userName;
  5176. if (-1 === newAuthor.indexOf(_RT.$topUser.$userName)) newAuthor += ' and ' + _RT.$topUser.$userName;
  5177. var newLink = oldPack['.link'] || GL_TODOMARKER;
  5178. var pack = {'.country': 1 === newCountries.length ? newCountries[0] : newCountries, '.codeISO': ccode, '.author': newAuthor, '.updated': _nowISO, '.link': newLink};
  5179. if (ccode in _I18n.$code2code) pack['.fallbackCode'] = _I18n.$code2code[ccode];
  5180. if (lng) {
  5181. if (ccode in _I18n.$code2dir) pack['.dir'] = _I18n.$code2dir[ccode];
  5182. var newLngs = [];
  5183. for (var k in _I18n.$lng2code)
  5184. if (ccode === _I18n.$lng2code[k] && k !== lng) newLngs.push(k);
  5185. newLngs.unshift(lng);
  5186. pack['.lng'] = 1 === newLngs.length ? newLngs[0] : newLngs
  5187. }
  5188. if (lng)
  5189. for (var label in _I18n.$defSet) {
  5190. if (/^\./.test(label) || /^[0-9]/.test(label)) continue;
  5191. addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5192. }
  5193. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  5194. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5195. for (var i = 1; i < MAX_CHECKS; i++) {
  5196. if (CK_MIRRORFIRST + 100 <= i && CK_MIRRORLAST + 100 >= i) continue;
  5197. var label = i + '.enabled';
  5198. var checkEnabled = false;
  5199. if (_I18n.$defSet[label] || oldPack[label]) checkEnabled = true;
  5200. if (!checkEnabled)
  5201. for (var depC = 0; depC < arrDepCodes.length; depC++) {
  5202. var depCode = arrDepCodes[depC];
  5203. if (_I18n.$translations[depCode] && _I18n.$translations[depCode][label]) checkEnabled = true
  5204. }
  5205. if (checkEnabled && !(i + '.title' in _I18n.$defSet)) {
  5206. pack[i + '.note'] = GL_TODOMARKER + 'The check #' + i + ' is no longer exist. See the forum thread for more details.';
  5207. continue
  5208. }
  5209. for (var j = 0; j < allLabels.length; j++) {
  5210. var labelSfx = allLabels[j];
  5211. label = i + '.' + labelSfx;
  5212. var defData = _I18n.$defSet[label];
  5213. var oldData = oldPack[label];
  5214. if (classCodeDefined(defData) || classCodeDefined(oldData))
  5215. if (-1 !== _RT.$textLabels.indexOf(labelSfx)) {
  5216. if (lng && checkEnabled) addTextLabels(pack, label, _I18n.$defSet, oldPack)
  5217. } else {
  5218. if ('params' === labelSfx) {
  5219. if (!classCodeDefined(oldData)) continue;
  5220. defData = deepCopy(defData || {});
  5221. oldData = deepCopy(oldData);
  5222. for (var k = CO_MIN; k <= CO_MAX; k++) {
  5223. delete defData[k];
  5224. delete oldData[k]
  5225. }
  5226. for (var k in defData) {
  5227. if (!defData.hasOwnProperty(k)) continue;
  5228. if (/\.title$/.test(k)) delete defData[k]
  5229. }
  5230. }
  5231. if (!deepCompare(defData, oldData)) pack[label] = oldData
  5232. }
  5233. }
  5234. }
  5235. ret += JSON.stringify(pack, null, ' ') + ';\n';
  5236. return ret
  5237. }
  5238. function getListOfChecks(countryID, country) {
  5239. var ucountry = country.toUpperCase();
  5240. var ccode = '';
  5241. if (countryID) ccode = _I18n.getCountryCode(ucountry);
  5242. var ret = trS('report.list.see') + ' ' + Bb + trS('report.list.checks') + Eb + Br + Br;
  5243. var fallbacks = '';
  5244. if (ccode)
  5245. for (var i in _I18n.$country2code) {
  5246. if (!_I18n.$country2code.hasOwnProperty(i)) continue;
  5247. if (i === ucountry) continue;
  5248. var acode = _I18n.$country2code[i];
  5249. if (ccode && acode !== ccode) continue;
  5250. fallbacks += _I18n.capitalize(i) + ' → ' + country + Br
  5251. }
  5252. for (var i in _I18n.$code2code) {
  5253. if (!_I18n.$code2code.hasOwnProperty(i)) continue;
  5254. var countryFrom = _I18n.getCapitalizedCountry(i);
  5255. var countryTo = _I18n.getCapitalizedCountry(_I18n.$code2code[i]);
  5256. if (ccode && i !== ccode && _I18n.$code2code[i] !== ccode) continue;
  5257. if (country && countryFrom !== country && countryTo !== country) continue;
  5258. fallbacks += countryFrom + ' (' + i + ') → ' + countryTo + ' (' + _I18n.$code2code[i] + ')' + Br
  5259. }
  5260. if (fallbacks) ret += Bb + trS('report.list.fallback') + Eb + Br + fallbacks;
  5261. var sortedIDs = getSortedCheckIDs();
  5262. if (ccode) {
  5263. var enabledIDs = [];
  5264. var disabledIDs = [];
  5265. sortedIDs.forEach(function(cid) {
  5266. var c = _RT.$checks[cid];
  5267. if (!c) return;
  5268. if (RS_MAX === c.SEVERITY) return;
  5269. var en = true;
  5270. var forCountry = c.FORCOUNTRY;
  5271. if (forCountry)
  5272. if (!_WV.checkAccessFor(forCountry, function(e) {
  5273. if (e in _I18n.$code2country) return _I18n.$code2country[e] === ucountry;
  5274. error('Please report: fc=' + e);
  5275. return false
  5276. }))
  5277. en = false;
  5278. if (en)
  5279. enabledIDs.push(cid);
  5280. else
  5281. disabledIDs.push(cid)
  5282. });
  5283. ret += Bh2 + trSO('report.list.enabled', {'n': enabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5284. enabledIDs.forEach(function(cid) {
  5285. ret += Bli + getCheckDescription(cid, countryID, Bb, Eb + Br) + Bsmall;
  5286. ret += getCheckProperties(cid, ccode, false, false);
  5287. ret += Esmall + Eli
  5288. });
  5289. ret += Eul;
  5290. ret += Bh2 + trSO('report.list.disabled', {'n': disabledIDs.length}) + ' ' + country + ':' + Eh2 + Bul;
  5291. disabledIDs.forEach(function(cid) {
  5292. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5293. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5294. ret += Esmall + Eli
  5295. });
  5296. ret += Eul
  5297. } else {
  5298. ret += Bh2 + trSO('report.list.total', {'n': sortedIDs.length}) + ':' + Eh2 + Bul;
  5299. sortedIDs.forEach(function(cid) {
  5300. var c = _RT.$checks[cid];
  5301. if (!c) return;
  5302. if (RS_MAX === c.SEVERITY) return;
  5303. ret += Bli + getCheckDescription(cid, 0, Bb, Eb + Br) + Bsmall;
  5304. ret += getCheckProperties(cid, _I18n.$defLng, false, true);
  5305. ret += Esmall + Eli
  5306. });
  5307. ret += Eul
  5308. }
  5309. return ret
  5310. }
  5311. function getHTMLFooter() {
  5312. return '\n<hr>' +
  5313. '\n<center dir="ltr"><small>WME Validator v' + WV_VERSION + '<br>&copy; 2013-2018 Andriy Berestovskyy</small></center>' +
  5314. '\n</body></html>'
  5315. }
  5316. function getTAHeader(h) {
  5317. var ret = '\n<p>' + (RF_CREATEPACK === reportFormat ? trS('msg.textarea.pack') : trS('msg.textarea')) + ':</p>' +
  5318. '\n<p><textarea style="resize:vertical;width:100%;height:' + h + '">';
  5319. setFormat(RF_BB);
  5320. return ret
  5321. }
  5322. function getTAFooter() {
  5323. setFormat(RF_HTML);
  5324. return '\n</textarea></p>'
  5325. }
  5326. function getSizeWarning(size) {
  5327. return 5E4 < size ? '\n<p style="color:#e00">' + trSO('report.size.warning', {'n': size}) + '</p>' : ''
  5328. }
  5329. function openWindow(data) {
  5330. var nw = UW.open('', '_blank');
  5331. nw.document.write(data)
  5332. }
  5333. function openWindowFR(title) {
  5334. var encFR = 'data:text/html;charset=UTF-8,';
  5335. if (newWin)
  5336. if (reportFormat === RF_HTML) {
  5337. title = title.split(' ').join('_');
  5338. newWin.document.write(FRheader);
  5339. var saveRep = FRheader;
  5340. saveRep += FR;
  5341. saveRep += FRfooter;
  5342. saveRep = encodeURIComponent(saveRep);
  5343. var saveLink = '<br><a download="';
  5344. saveLink += title;
  5345. saveLink += '_';
  5346. saveLink += _nowISO;
  5347. saveLink += '.html" href="data:text/html;charset=UTF-8,';
  5348. saveLink += saveRep;
  5349. saveRep = '';
  5350. saveLink += '"><button>';
  5351. saveLink += trS('report.save');
  5352. saveLink += '</button></a><br>';
  5353. newWin.document.write(saveLink);
  5354. newWin.document.write(FR);
  5355. newWin.document.write(saveLink);
  5356. newWin.document.write(FRfooter)
  5357. } else
  5358. newWin.document.write(FR);
  5359. else {
  5360. encFR += encodeURIComponent(FRheader);
  5361. FRheader = '';
  5362. encFR += encodeURIComponent(FR);
  5363. FR = '';
  5364. encFR += encodeURIComponent(FRfooter);
  5365. FRfooter = '';
  5366. UW.open(encFR, '_blank')
  5367. }
  5368. }
  5369. var seenObjects = {};
  5370. var lastCheckID = -1;
  5371. var lastCityID = -1;
  5372. var lastStreetID = -1;
  5373. var counterNotes = 0;
  5374. var counterWarnings = 0;
  5375. var counterErrors = 0;
  5376. var counterCustoms1 = 0;
  5377. var counterCustoms2 = 0;
  5378. function resetFilter() {
  5379. seenObjects = {};
  5380. lastCheckID = -1;
  5381. lastCityID = -1;
  5382. lastStreetID = -1;
  5383. counterNotes = 0;
  5384. counterWarnings = 0;
  5385. counterErrors = 0;
  5386. counterCustoms1 = 0;
  5387. counterCustoms2 = 0
  5388. }
  5389. function getTOC() {
  5390. resetFilter();
  5391. FR += '\n<br><div id="contents">';
  5392. FR += '\n<big><b>';
  5393. FR += trS('report.contents');
  5394. FR += '</b></big>';
  5395. FR += '\n<ol>';
  5396. traverseReport(function(obj) {
  5397. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false))
  5398. if (obj.$checkID !== lastCheckID) {
  5399. lastCheckID = obj.$checkID;
  5400. var check = obj.$check;
  5401. var strCountry = _REP.$countries[obj.$objectCopy.$countryID];
  5402. var ccode = '';
  5403. if (strCountry)
  5404. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5405. else
  5406. ccode = _RT.$cachedTopCCode;
  5407. var options = trO(check.OPTIONS, ccode);
  5408. FR += '\n<li class="';
  5409. FR += getTextSeverity(obj.$check.SEVERITY);
  5410. FR += '"><a href="#a';
  5411. FR += lastCheckID;
  5412. FR += '">';
  5413. FR += exSOS(check.TITLE, options, 'titleEN');
  5414. FR += '</a></li>'
  5415. }
  5416. });
  5417. FR += '\n<li><a href="#a">';
  5418. FR += trS('report.summary');
  5419. FR += '</a></li>';
  5420. FR += '\n</ol>\n</div>'
  5421. }
  5422. function getSortedCheckIDs() {
  5423. return _RT.$sortedCheckIDs ? _RT.$sortedCheckIDs : _RT.$sortedCheckIDs = Object.keys(_RT.$checks).sort(cmpCheckIDs)
  5424. }
  5425. function traverseReport(handler) {
  5426. var mapCenter = WM.getCenter();
  5427. function getSortedCities() {
  5428. var ret = _REP.$sortedCityIDs;
  5429. if (!ret || ret.length != _REP.$unsortedCityIDs.length)
  5430. return _REP.$sortedCityIDs = [].concat(_REP.$unsortedCityIDs).sort(function(a, b) {
  5431. return _repC[a].localeCompare(_repC[b])
  5432. });
  5433. return ret
  5434. }
  5435. function getSortedStreets(repC) {
  5436. var ret = repC.$sortedStreetIDs;
  5437. if (!ret || ret.length != repC.$unsortedStreetIDs.length)
  5438. return repC.$sortedStreetIDs = [].concat(repC.$unsortedStreetIDs).sort(function(a, b) {
  5439. return _repS[a].localeCompare(_repS[b])
  5440. });
  5441. return ret
  5442. }
  5443. function getHypot(c1, c2) {
  5444. return Math.sqrt(c1 * c1 + c2 * c2)
  5445. }
  5446. function getSortedObjects(repS) {
  5447. var ret = repS.$sortedObjectIDs;
  5448. var repSeg = repS.$objectIDs;
  5449. if (!ret || ret.length != repS.$unsortedObjectIDs.length)
  5450. return repS.$sortedSegmentIDs = [].concat(repS.$unsortedObjectIDs).sort(function(a, b) {
  5451. var segA = repSeg[a], segB = repSeg[b];
  5452. if (segA.$typeRank !== segB.$typeRank) return segB.$typeRank - segA.$typeRank;
  5453. var distAB = getHypot(segA.$center.lat - segB.$center.lat, segA.$center.lon - segB.$center.lon);
  5454. if (.002 > distAB) return 0;
  5455. var distA = getHypot(mapCenter.lat - segA.$center.lat, mapCenter.lon - segA.$center.lon);
  5456. var distB = getHypot(mapCenter.lat - segB.$center.lat, mapCenter.lon - segB.$center.lon);
  5457. return distA - distB
  5458. });
  5459. return ret
  5460. }
  5461. var checkIDs = getSortedCheckIDs();
  5462. nextCheck: for (var i = 1; i < checkIDs.length; i++) {
  5463. var checkID = checkIDs[i];
  5464. var check = _RT.$checks[checkID];
  5465. if (!check) continue;
  5466. if (_UI.pMain.pFilter.oExcludeNotes.CHECKED && RS_NOTE === check.SEVERITY) continue;
  5467. var sortedCities = getSortedCities();
  5468. for (var sorcid = 0; sorcid < sortedCities.length; sorcid++) {
  5469. var cid = sortedCities[sorcid];
  5470. var repC = _REP.$cityIDs[cid];
  5471. var sortedStreets = getSortedStreets(repC);
  5472. for (var sorsid = 0; sorsid < sortedStreets.length; sorsid++) {
  5473. var sid = sortedStreets[sorsid];
  5474. var repS = repC.$streetIDs[sid];
  5475. if (repS.$unsortedObjectIDs) {
  5476. var sortedObjects = getSortedObjects(repS);
  5477. for (var sorscid = 0; sorscid < sortedObjects.length; sorscid++) {
  5478. var scid = sortedObjects[sorscid];
  5479. var sc = repS.$objectIDs[scid];
  5480. if (checkID in sc.$reportIDs) {
  5481. var obj = {$checkID: checkID, $check: check, $param: sc.$reportIDs[checkID], $cityParam: repC.$params[checkID], $streetParam: repS.$params[checkID], $objectCopy: sc};
  5482. switch (handler(obj)) {
  5483. case RT_STOP:
  5484. return;
  5485. case RT_NEXTCHECK:
  5486. continue nextCheck
  5487. }
  5488. }
  5489. }
  5490. }
  5491. }
  5492. }
  5493. }
  5494. }
  5495. function closeReportStreet() {
  5496. if (0 <= lastStreetID || 0 <= lastCityID) {
  5497. lastStreetID = -1;
  5498. FR += Eli
  5499. }
  5500. }
  5501. function closeReportCity() {
  5502. if (0 <= lastCityID) {
  5503. lastCityID = -1;
  5504. closeReportStreet();
  5505. FR += Eul
  5506. }
  5507. }
  5508. function closeReportCheck() {
  5509. if (0 <= lastCheckID) {
  5510. if (LIMIT_PERCHECK < _repRC[lastCheckID])
  5511. if (1 === _repRC[lastCheckID] - LIMIT_PERCHECK)
  5512. FR += '[and more...]';
  5513. else {
  5514. FR += '[and ';
  5515. FR += _repRC[lastCheckID] - LIMIT_PERCHECK;
  5516. FR += ' objects more...]'
  5517. }
  5518. lastCheckID = -1;
  5519. closeReportCity()
  5520. }
  5521. if (RF_HTML === curFormat) FR += '</div>'
  5522. }
  5523. function getCheckDescription(checkID, countryID, headB, headE) {
  5524. var check = _RT.$checks[checkID];
  5525. var ret = headB;
  5526. var strCountry = _REP.$countries[countryID];
  5527. var ccode = '';
  5528. if (strCountry)
  5529. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  5530. else
  5531. ccode = _RT.$cachedTopCCode;
  5532. var options = trO(check.OPTIONS, ccode);
  5533. if (check.COLOR) ret += Bcolor + check.COLOR + Ccolor + '██ ' + Ecolor;
  5534. ret += '' + (countryID ? exSOS(check.TITLE, options, 'titleEN') : check.TITLE) + ' (#' + checkID + ')' + headE;
  5535. var sevColor = GL_NOTECOLOR;
  5536. switch (check.SEVERITY) {
  5537. case RS_WARNING:
  5538. sevColor = GL_WARNINGCOLOR;
  5539. break;
  5540. case RS_ERROR:
  5541. sevColor = GL_ERRORCOLOR;
  5542. break;
  5543. case RS_CUSTOM1:
  5544. sevColor = GL_CUSTOM1COLOR;
  5545. break;
  5546. case RS_CUSTOM2:
  5547. sevColor = GL_CUSTOM2COLOR;
  5548. break
  5549. }
  5550. if (check.PROBLEM) {
  5551. ret += Bcolor + sevColor + Ccolor + (countryID ? exSOS(check.PROBLEM, options, 'problemEN') : check.PROBLEM);
  5552. var pl = trO(check.PROBLEMLINK, ccode);
  5553. if (pl)
  5554. ret += ': ' + Ba + pl + Ca + trO(check.PROBLEMLINKTEXT, ccode) + Ea;
  5555. else
  5556. ret += '.';
  5557. ret += Ecolor + Br
  5558. }
  5559. if (check.SOLUTION) {
  5560. ret += countryID ? exSOS(check.SOLUTION, options, 'solutionEN') : check.SOLUTION;
  5561. var sl = trO(check.SOLUTIONLINK, ccode);
  5562. if (sl)
  5563. ret += ': ' + Ba + sl + Ca + trO(check.SOLUTIONLINKTEXT, ccode) + Ea;
  5564. else
  5565. ret += '.';
  5566. ret += Br
  5567. }
  5568. return ret
  5569. }
  5570. function getReportCheck(obj) {
  5571. closeReportCheck();
  5572. if (RF_HTML === curFormat) {
  5573. FR += '<div class="';
  5574. FR += getTextSeverity(obj.$check.SEVERITY);
  5575. FR += '"><a name="a';
  5576. FR += obj.$checkID;
  5577. FR += '"></a>'
  5578. }
  5579. FR += getCheckDescription(obj.$checkID, obj.$objectCopy.$countryID, Bh2, Eh2);
  5580. FR += Br
  5581. }
  5582. function getReportCity(obj) {
  5583. closeReportCity();
  5584. FR += Bbig;
  5585. FR += Bb;
  5586. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5587. FR += Eb;
  5588. FR += Ebig;
  5589. if (obj.$cityParam) {
  5590. FR += Mdash;
  5591. FR += obj.$cityParam
  5592. }
  5593. FR += Bul
  5594. }
  5595. function getReportStreet(obj) {
  5596. closeReportStreet();
  5597. FR += Bli;
  5598. FR += checkNoStreet(_repS[obj.$objectCopy.$streetID]);
  5599. FR += ', ';
  5600. FR += checkNoCity(_repC[obj.$objectCopy.$cityID]);
  5601. if (obj.$streetParam) {
  5602. FR += Mdash;
  5603. FR += obj.$streetParam
  5604. }
  5605. FR += Br
  5606. }
  5607. function getPermalink(obj) {
  5608. var z = SCAN_ZOOM;
  5609. if (obj.$objectCopy)
  5610. if (50 > obj.$objectCopy.$length)
  5611. z = 7;
  5612. else if (500 > obj.$objectCopy.$length) {
  5613. if (6 > z) z += 1
  5614. } else
  5615. z = 4;
  5616. else
  5617. z = 4;
  5618. FR += window.location.origin;
  5619. FR += window.location.pathname;
  5620. FR += '?zoomLevel=';
  5621. FR += z;
  5622. FR += '&lat=';
  5623. FR += obj.$objectCopy.$center.lat;
  5624. FR += '&lon=';
  5625. FR += obj.$objectCopy.$center.lon;
  5626. FR += '&env=';
  5627. FR += nW.app.getAppRegionCode();
  5628. FR += '&' + obj.$objectCopy.$model.name + '=';
  5629. FR += obj.$objectCopy.$objectID
  5630. }
  5631. function getReportItem(obj) {
  5632. if (!checkFilter(0, obj.$objectCopy, seenObjects) || !getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) return;
  5633. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5634. if (obj.$checkID !== lastCheckID) {
  5635. getReportCheck(obj);
  5636. if (noFilters) {
  5637. var c = _repRC[obj.$checkID];
  5638. switch (obj.$check.SEVERITY) {
  5639. case RS_NOTE:
  5640. counterNotes += c;
  5641. break;
  5642. case RS_WARNING:
  5643. counterWarnings += c;
  5644. break;
  5645. case RS_ERROR:
  5646. counterErrors += c;
  5647. break;
  5648. case RS_CUSTOM1:
  5649. counterCustoms1 += c;
  5650. break;
  5651. case RS_CUSTOM2:
  5652. counterCustoms2 += c;
  5653. break
  5654. }
  5655. }
  5656. }
  5657. if (obj.$objectCopy.$cityID !== lastCityID) getReportCity(obj);
  5658. if (obj.$objectCopy.$streetID !== lastStreetID) getReportStreet(obj);
  5659. lastCityID = obj.$objectCopy.$cityID;
  5660. lastStreetID = obj.$objectCopy.$streetID;
  5661. lastCheckID = obj.$checkID;
  5662. if (!noFilters) switch (obj.$check.SEVERITY) {
  5663. case RS_NOTE:
  5664. counterNotes++;
  5665. break;
  5666. case RS_WARNING:
  5667. counterWarnings++;
  5668. break;
  5669. case RS_ERROR:
  5670. counterErrors++;
  5671. break;
  5672. case RS_CUSTOM1:
  5673. counterCustoms1++;
  5674. break;
  5675. case RS_CUSTOM2:
  5676. counterCustoms2++;
  5677. break
  5678. }
  5679. FR += BaV;
  5680. getPermalink(obj);
  5681. FR += Ca;
  5682. if (isBeta) FR += 'B:';
  5683. if (obj.$objectCopy.$model === WMo.segments)
  5684. FR += obj.$objectCopy.$objectID;
  5685. else if (obj.$objectCopy.$name !== '')
  5686. FR += obj.$objectCopy.$name;
  5687. else
  5688. FR += obj.$objectCopy.$objectID;
  5689. FR += Ea;
  5690. FR += ' '
  5691. }
  5692. function getSummary() {
  5693. if (RF_HTML === curFormat) FR += '<a name="a"></a>';
  5694. FR += Bh2;
  5695. FR += trS('report.summary');
  5696. FR += Eh2;
  5697. FR += Bb;
  5698. FR += trS('report.segments');
  5699. FR += Eb;
  5700. FR += ' ';
  5701. FR += _REP.$counterTotal;
  5702. FR += Br;
  5703. if (counterCustoms1 || counterCustoms2) {
  5704. FR += Bb;
  5705. FR += trS('report.customs');
  5706. FR += Eb;
  5707. FR += ' ';
  5708. FR += counterCustoms1;
  5709. FR += '/';
  5710. FR += counterCustoms2;
  5711. if (_REP.$isLimitPerCheck) FR += '*';
  5712. FR += Br
  5713. }
  5714. FR += Bb;
  5715. FR += trS('report.reported');
  5716. FR += Eb;
  5717. FR += ' ';
  5718. var summary = [];
  5719. if (counterErrors)
  5720. summary.push(Bb + trS('report.errors') + Mdash + Eb + ' ' + counterErrors + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterErrors * 1E3 / _REP.$counterTotal) + '‰)');
  5721. if (counterWarnings)
  5722. summary.push(Bb + trS('report.warnings') + Mdash + Eb + ' ' + counterWarnings + (_REP.$isLimitPerCheck ? '*' : '') + ' (' + Math.round(counterWarnings * 1E3 / _REP.$counterTotal) + '‰)');
  5723. if (counterNotes) summary.push(Bb + trS('report.notes') + Mdash + Eb + ' ' + counterNotes + (_REP.$isLimitPerCheck ? '*' : ''));
  5724. FR += getNaturalList(summary);
  5725. FR += Br;
  5726. if (_REP.$isLimitPerCheck) {
  5727. FR += trS('report.note.limit');
  5728. FR += Br
  5729. }
  5730. FR += Br;
  5731. FR += trS('report.forum');
  5732. FR += ' ';
  5733. FR += Ba;
  5734. FR += PFX_FORUM;
  5735. FR += FORUM_HOME;
  5736. FR += Ca;
  5737. FR += trS('report.forum.link');
  5738. FR += Ea;
  5739. FR += Br;
  5740. FR += Br;
  5741. FR += trS('report.thanks');
  5742. FR += Br
  5743. }
  5744. function getReport(fmt) {
  5745. var oldFormat = curFormat;
  5746. setFormat(fmt);
  5747. resetFilter();
  5748. _REP.$maxSeverity = 0;
  5749. traverseReport(function(e) {
  5750. getReportItem(e)
  5751. });
  5752. closeReportCheck();
  5753. getSummary();
  5754. setFormat(oldFormat)
  5755. }
  5756. function updateMaxSeverity() {
  5757. resetFilter();
  5758. _REP.$maxSeverity = 0;
  5759. traverseReport(function(obj) {
  5760. if (checkFilter(0, obj.$objectCopy, seenObjects) && getFilteredSeverity(obj.$check.SEVERITY, obj.$checkID, false)) {
  5761. if (_REP.$maxSeverity < obj.$check.SEVERITY) _REP.$maxSeverity = obj.$check.SEVERITY;
  5762. if (_RT.$curMaxSeverity === _REP.$maxSeverity) return RT_STOP
  5763. }
  5764. })
  5765. }
  5766. setFormat(RF_HTML);
  5767. var t = trS('report.title');
  5768. switch (reportFormat) {
  5769. case RF_UPDATEMAXSEVERITY:
  5770. updateMaxSeverity();
  5771. break;
  5772. case RF_CREATEPACK:
  5773. var wType = 'Localization Package Wizard';
  5774. if (!window.confirm(getMsg(
  5775. wType,
  5776. '\nBefore starting the Wizard:' +
  5777. '\n\n1. Position WME over your country' +
  5778. '\n so the Wizard will know your country name' +
  5779. '\n\n2. Switch WME to your language' +
  5780. '\n so the Wizard will add translations into the package' +
  5781. '\n\n3. Enable any previous version of localization pack' +
  5782. '\n so the Wizard will preserve already translated text',
  5783. true)))
  5784. break;
  5785. var country = _RT.$topCity && _RT.$topCity.$country ? _RT.$topCity.$country : window.prompt(getMsg(wType, '\nWME country name (example: United Kingdom):', true));
  5786. if (!country) break;
  5787. var ucountry = country.toUpperCase();
  5788. var ccode = _I18n.getCountryCode(ucountry) ? _I18n.getCountryCode(ucountry) : window.prompt(getMsg(wType, '\nISO 3166-1 Alpha-2 country code (example: UK):', true));
  5789. if (!ccode) break;
  5790. ccode = ccode.toUpperCase();
  5791. var lng = window.prompt(
  5792. getMsg(
  5793. wType,
  5794. '\nPlease confirm the WME language code:' +
  5795. '\n\nfor "EN" no translations will be included into the package' +
  5796. '\nfor any other code the translations will be included',
  5797. true),
  5798. _RT.$lng);
  5799. if (!lng) break;
  5800. lng = lng.toUpperCase();
  5801. if (_I18n.$defLng === lng)
  5802. t = 'Minimal Localization for ' + country;
  5803. else
  5804. t = 'Localization and Translation for ' + country;
  5805. if (_I18n.$defLng === lng) lng = '';
  5806. var lPack = getHTMLHeader(t) + getHeader(t) + getTAHeader('400px') + getPackHeader(country, lng) + getPack(country, ccode, lng);
  5807. var arrDepCodes = _I18n.getDependantCodes(ccode);
  5808. for (var i = 0; i < arrDepCodes.length; i++) {
  5809. var depCode = arrDepCodes[i];
  5810. var depCountry = _I18n.getCapitalizedCountry(depCode);
  5811. if (depCountry && depCode) {
  5812. lPack += '\n// Dependant package:';
  5813. lPack += getPack(depCountry, depCode, '')
  5814. }
  5815. }
  5816. openWindow(lPack + getTAFooter() + getHTMLFooter());
  5817. break;
  5818. case RF_LIST:
  5819. var countryID = 0;
  5820. var country = '';
  5821. t = trS('report.list.title') + ' ';
  5822. if (_RT.$topCity && _RT.$topCity.$country) {
  5823. countryID = _RT.$topCity.$countryID;
  5824. country = _RT.$topCity.$country;
  5825. t += country + ' (v' + WV_VERSION + ')'
  5826. } else
  5827. t += 'v' + WV_VERSION;
  5828. openWindow(getHTMLHeader(t) + getHeader(t) + getListOfChecks(countryID, country) + getTAHeader('200px') + getHeader(t) + getListOfChecks(countryID, country) + getTAFooter() + getHTMLFooter());
  5829. break;
  5830. case RF_HTML:
  5831. newWin = UW.open('', '_blank');
  5832. FR += getHTMLHeader(t);
  5833. FR += getHeader(t);
  5834. FRheader = FR;
  5835. FR = '';
  5836. getTOC();
  5837. getReport(RF_HTML);
  5838. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5839. if (newWin) newWin.close();
  5840. async(F_UPDATEUI);
  5841. break
  5842. }
  5843. FRfooter += getHTMLFooter();
  5844. openWindowFR(t);
  5845. break;
  5846. case RF_BB:
  5847. newWin = UW.open('', '_blank');
  5848. var tf = t + ' ' + trS('report.share');
  5849. FR += getHTMLHeader(tf);
  5850. FR += getHeader(tf);
  5851. FR += getTAHeader('200px');
  5852. var beforeShareLen = FR.length;
  5853. FR += getHeader(t);
  5854. getReport(RF_BB);
  5855. var shareLen = FR.length - beforeShareLen;
  5856. if (0 === counterNotes + counterWarnings + counterErrors + counterCustoms1 + counterCustoms2) {
  5857. if (newWin) newWin.close();
  5858. async(F_UPDATEUI);
  5859. break
  5860. }
  5861. FR += getTAFooter();
  5862. FR += getSizeWarning(shareLen);
  5863. FR += getHTMLFooter();
  5864. openWindowFR();
  5865. break
  5866. }
  5867. resetFilter()
  5868. };
  5869. function F_VALIDATE(disabledHL) {
  5870. if (!_RT.$isMapChanged) return;
  5871. _RT.$isMapChanged = false;
  5872. var bUpdateMaxSeverity = false;
  5873. if (RTStateIs(ST_RUN)) beep(10);
  5874. var options;
  5875. var skippedObject = false;
  5876. if (disabledHL) {
  5877. updateObjectProperties([], true);
  5878. return
  5879. }
  5880. if (LIMIT_TOTAL < _REP.$counterTotal && !isErrorFlag()) {
  5881. setErrorFlag();
  5882. if (RTStateIs(ST_RUN)) {
  5883. window.alert(getMsg(trS('msg.autopaused'), '\n' + trS('msg.limit.segments') + trS('msg.limit.segments.continue'), true));
  5884. sync(F_PAUSE)
  5885. } else
  5886. warning(trS('msg.limit.segments') + trS('msg.limit.segments.clear'));
  5887. return
  5888. }
  5889. _RT.$topCenter = WM.getCenter();
  5890. if (_UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED) {
  5891. var el = document.getElementById(_RT.oReportWMECH.FORID);
  5892. if (el) {
  5893. var ev = new CustomEvent('click');
  5894. el.dispatchEvent(ev)
  5895. }
  5896. }
  5897. var _repC = _REP.$cities;
  5898. var _repCC = _REP.$cityCounters;
  5899. var _repRC = _REP.$reportCounters;
  5900. var _repS = _REP.$streets;
  5901. var _repU = _REP.$users;
  5902. function isLimitOk(id) {
  5903. if (DEF_DEBUG)
  5904. return true;
  5905. else
  5906. return !(LIMIT_PERCHECK < _repRC[id])
  5907. }
  5908. function formatDate(d) {
  5909. var n = new Date(d);
  5910. return n.toISOString().substr(0, 10)
  5911. }
  5912. function getUserName(objID) {
  5913. var u = WMo.users.getObjectById(objID);
  5914. return u ? u.userName : objID.toString()
  5915. }
  5916. function getUserLevel(objID) {
  5917. var u = WMo.users.getObjectById(objID);
  5918. return u ? u.normalizedLevel : 0
  5919. }
  5920. function SimpleNODE(objID, segID) {
  5921. this.$rawNode = null;
  5922. this.$nodeID = objID;
  5923. this._center = null;
  5924. this.$center = null;
  5925. this.$isUturn = false;
  5926. this.$isEditable = true;
  5927. this.$isPartial = true;
  5928. this._rawRestrictions = [];
  5929. this._rawRestrictionIDs = [];
  5930. this._restrictions = null;
  5931. this.$restrictions = null;
  5932. this._rawOtherSegments = [];
  5933. this._otherSegments = null;
  5934. this.$otherSegments = null;
  5935. this._rawOutConnections = [];
  5936. this._outConnections = null;
  5937. this.$outConnections = null;
  5938. this._rawInConnections = [];
  5939. this._inConnections = null;
  5940. this.$inConnections = null;
  5941. this.$restrictionsLen = 0;
  5942. this.$otherSegmentsLen = 0;
  5943. this.$outConnectionsLen = 0;
  5944. this.$inConnectionsLen = 0;
  5945. var n = WMo.nodes.getObjectById(objID);
  5946. this.$rawNode = n;
  5947. if (n) {
  5948. this.$isPartial = n.attributes.partial;
  5949. this.$isEditable = true;
  5950. var co = n.attributes.restrictions;
  5951. for (var k in co) {
  5952. if (!co[k]) continue;
  5953. var _con = k.split(',');
  5954. var con0 = +_con[0];
  5955. if (+segID === con0) {
  5956. var con1 = +_con[1];
  5957. var cok = co[k];
  5958. for (var j = 0, l = cok.length; j < l; j++) {
  5959. this._rawRestrictions.push(cok[j]);
  5960. this._rawRestrictionIDs.push(con1)
  5961. }
  5962. }
  5963. }
  5964. this.$restrictionsLen = this._rawRestrictions.length;
  5965. for (var i = 0; i < n.attributes.segIDs.length; i++) {
  5966. var si = n.attributes.segIDs[i];
  5967. if (+segID === +si || !WMo.segments.getObjectById(si)) continue;
  5968. this._rawOtherSegments.push(si)
  5969. }
  5970. this.$otherSegmentsLen = this._rawOtherSegments.length;
  5971. co = n.attributes.connections;
  5972. for (var k in co) {
  5973. if (!co[k]) continue;
  5974. var _con = k.split(',');
  5975. var con0 = +_con[0];
  5976. var con1 = +_con[1];
  5977. if (+segID === con0 && +segID === con1) {
  5978. this.$isUturn = true;
  5979. continue
  5980. }
  5981. if (+segID === con0) this._rawOutConnections.push(con1);
  5982. if (+segID === con1) this._rawInConnections.push(con0)
  5983. }
  5984. }
  5985. this.$outConnectionsLen = this._rawOutConnections.length;
  5986. this.$inConnectionsLen = this._rawInConnections.length;
  5987. Object.defineProperties(this, {
  5988. $rawNode: {enumerable: false},
  5989. $nodeID: {writable: false},
  5990. _center: {enumerable: false},
  5991. $center: {get: this.getCenter},
  5992. $isUturn: {writable: false},
  5993. $isEditable: {writable: false},
  5994. $isPartial: {writable: false},
  5995. _rawRestrictions: {enumerable: false},
  5996. _rawRestrictionIDs: {enumerable: false},
  5997. _restrictions: {enumerable: false},
  5998. $restrictions: {get: this.getRestrictions},
  5999. _rawOtherSegments: {enumerable: false},
  6000. _otherSegments: {enumerable: false},
  6001. $otherSegments: {get: this.getOtherSegments},
  6002. _rawOutConnections: {enumerable: false},
  6003. _outConnections: {enumerable: false},
  6004. $outConnections: {get: this.getOutConnections},
  6005. _rawInConnections: {enumerable: false},
  6006. _inConnections: {enumerable: false},
  6007. $inConnections: {get: this.getInConnections},
  6008. $restrictionsLen: {writable: false},
  6009. $otherSegmentsLen: {writable: false},
  6010. $outConnectionsLen: {writable: false},
  6011. $inConnectionsLen: {writable: false}
  6012. })
  6013. }
  6014. SimpleNODE.prototype.getCenter = function() {
  6015. if (this._center) return this._center;
  6016. if (!this.$rawNode) return null;
  6017. var bounds = this.$rawNode.geometry.bounds;
  6018. this._center = (new OpenLayers.LonLat(bounds.left, bounds.bottom)).transform(WM.projection, WM.displayProjection);
  6019. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6020. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6021. return this._center
  6022. };
  6023. SimpleNODE.prototype.getRestrictions = function() {
  6024. var t;
  6025. return this._restrictions ? this._restrictions : (t = this, this._restrictions = this._rawRestrictions.map(function(e, i) {
  6026. return new SimpleRESTRICTION(e, t._rawRestrictionIDs[i])
  6027. }))
  6028. };
  6029. SimpleNODE.prototype.getOutConnections = function() {
  6030. return this._outConnections ? this._outConnections : this._outConnections = this._rawOutConnections.map(function(e) {
  6031. return new SimpleOBJECT(e, WMo.segments)
  6032. })
  6033. };
  6034. SimpleNODE.prototype.getInConnections = function() {
  6035. return this._inConnections ? this._inConnections : this._inConnections = this._rawInConnections.map(function(e) {
  6036. return new SimpleOBJECT(e, WMo.segments)
  6037. })
  6038. };
  6039. SimpleNODE.prototype.getOtherSegments = function() {
  6040. return this._otherSegments ? this._otherSegments : this._otherSegments = this._rawOtherSegments.map(function(e) {
  6041. return new SimpleOBJECT(e, WMo.segments)
  6042. })
  6043. };
  6044. function SimpleROADCLOSURE(obj) {
  6045. this.$id = obj.id;
  6046. this.$segID = obj.segID;
  6047. this.$active = obj.active;
  6048. this.$updatedOn = '';
  6049. this.$updatedBy = '';
  6050. this.$updatedByID = 0;
  6051. this.$updatedByLevel = 0;
  6052. this.$createdOn = '';
  6053. this.$createdBy = '';
  6054. this.$createdByID = 0;
  6055. this.$createdByLevel = 0;
  6056. this.$startDate = Date.parse(obj.startDate);
  6057. this.$endDate = Date.parse(obj.endDate);
  6058. this.$location = obj.location;
  6059. this.$reason = obj.reason;
  6060. if (obj.updatedOn) this.$updatedOn = formatDate('' + obj.updatedOn);
  6061. if (0 < obj.updatedBy) {
  6062. this.$updatedByID = obj.updatedBy;
  6063. this.$updatedBy = getUserName(obj.updatedBy);
  6064. this.$updatedByLevel = getUserLevel(obj.updatedBy)
  6065. }
  6066. if (obj.createdOn) this.$createdOn = formatDate('' + obj.createdOn);
  6067. if (obj.createdBy) {
  6068. this.$createdByID = obj.createdBy;
  6069. this.$createdBy = getUserName(obj.createdBy);
  6070. this.$createdByLevel = getUserLevel(obj.createdBy)
  6071. }
  6072. var past = new Date;
  6073. past.setDate(past.getDate() - 2);
  6074. this.$isInThePast = this.$endDate < past
  6075. }
  6076. function SimpleRESTRICTION(obj, segID) {
  6077. var timeFrame = obj.getTimeFrame();
  6078. this._to = null;
  6079. this.$to = null;
  6080. this.$toID = segID;
  6081. this.$allDay = timeFrame.isAllDay() || false;
  6082. this.$days = timeFrame.getWeekdays();
  6083. this.$description = obj.getDescription() || '';
  6084. this.$isEnabled = true;
  6085. this.$fromDate = timeFrame.getStartDate() || '';
  6086. this.$fromTime = timeFrame.getFromTime() || '';
  6087. this.$toDate = timeFrame.getEndDate() || '';
  6088. this.$toTime = timeFrame.getToTime() || '';
  6089. var past = new Date;
  6090. past.setDate(past.getDate() - 2);
  6091. this.$isInThePast = new Date(this.$toDate + ' ' + this.$toTime) < past;
  6092. Object.defineProperties(this, {
  6093. _to: {enumerable: false},
  6094. $to: {get: this.getTo},
  6095. $toID: {writable: false},
  6096. $allDay: {writable: false},
  6097. $days: {writable: false},
  6098. $description: {writable: false},
  6099. $isInThePast: {writable: false},
  6100. $isEnabled: {writable: false},
  6101. $fromDate: {writable: false},
  6102. $fromTime: {writable: false},
  6103. $toDate: {writable: false},
  6104. $toTime: {writable: false}
  6105. })
  6106. }
  6107. SimpleRESTRICTION.prototype.getTo = function() {
  6108. return this._to ? this._to : this._to = new SimpleOBJECT('' + this.$toID, WMo.segments)
  6109. };
  6110. function SimpleOBJECT(objID, model) {
  6111. this.$model = model;
  6112. var raw = this.$model.getObjectById(objID);
  6113. this.$rawObject = raw;
  6114. this._nodeA = null;
  6115. this.$nodeA = null;
  6116. this.$nodeAID = 0;
  6117. this._nodeB = null;
  6118. this.$nodeB = null;
  6119. this.$nodeBID = 0;
  6120. this._center = null;
  6121. this.$center = null;
  6122. this._restrictions = null;
  6123. this.$restrictions = null;
  6124. this.$name = '';
  6125. this.$brand = '';
  6126. this.$objectID = objID;
  6127. this.$address = null;
  6128. this.$isPoint = false;
  6129. this.$isTurnALocked = false;
  6130. this.$isTurnBLocked = false;
  6131. this.$isRoundabout = false;
  6132. this.$hasHNs = false;
  6133. this.$isEditable = false;
  6134. this.$forceNonEditable = false;
  6135. this.$mainCategory = '';
  6136. this.$categories = [];
  6137. this.$openingHours = [];
  6138. this.$phone = '';
  6139. this.$url = '';
  6140. this.$services = [];
  6141. this.$externalProviders = [];
  6142. this.$type = 0;
  6143. this.$typeRank = 0;
  6144. this.$direction = 0;
  6145. this.$isToll = false;
  6146. this.$elevation = 0;
  6147. this.$lock = 0;
  6148. this.$rank = 0;
  6149. this.$length = 0;
  6150. this.$updatedOn = '';
  6151. this.$updatedBy = '';
  6152. this.$updatedByID = 0;
  6153. this.$updatedByLevel = 0;
  6154. this.$createdOn = '';
  6155. this.$createdBy = '';
  6156. this.$createdByID = 0;
  6157. this.$createdByLevel = 0;
  6158. this.$alts = [];
  6159. this.restrictionsLen = 0;
  6160. this.$fwdMaxSpeed = 0;
  6161. this.$fwdMaxSpeedUnverified = true;
  6162. this.$revMaxSpeed = 0;
  6163. this.$revMaxSpeedUnverified = false;
  6164. this.$flags = null;
  6165. this.$hasClosures = false;
  6166. if (classCodeIs(raw, CC_UNDEFINED) || classCodeIs(raw, CC_NULL)) return;
  6167. var attrs = raw.attributes;
  6168. if (this.$model === WMo.segments) {
  6169. this.$nodeAID = attrs.fromNodeID;
  6170. this.$nodeBID = attrs.toNodeID;
  6171. this.$isRoutable = this.isRoutable();
  6172. this.$isTurnALocked = attrs.revTurnsLocked;
  6173. this.$isTurnBLocked = attrs.fwdTurnsLocked;
  6174. this.$isRoundabout = classCodeDefined(attrs.junctionID) && null !== attrs.junctionID;
  6175. this.$hasHNs = attrs.hasHNs;
  6176. this.$hasRestrictions = raw.hasRestrictions();
  6177. this.$restrictions = attrs.restrictions;
  6178. this.$type = attrs.roadType;
  6179. this.$typeRank = this.getTypeRank(attrs.roadType);
  6180. this.$direction = getDirection(raw);
  6181. this.$elevation = attrs.level;
  6182. if ('length' in attrs)
  6183. this.$length = attrs.length;
  6184. else
  6185. this.$length = Math.round(raw.geometry.getGeodesicLength(WM.projection));
  6186. this.$alts = attrs.streetIDs.map(function(objID) {
  6187. return new _WV.SimpleADDRESS(objID)
  6188. });
  6189. this.$restrictionsLen = attrs.restrictions.length;
  6190. this.$address = new _WV.SimpleADDRESS(attrs.primaryStreetID);
  6191. this.$fwdMaxSpeed = getLocalizedValue(+attrs.fwdMaxSpeed, this.$address.$country);
  6192. this.$fwdMaxSpeedUnverified = attrs.fwdMaxSpeedUnverified;
  6193. this.$revMaxSpeed = getLocalizedValue(+attrs.revMaxSpeed, this.$address.$country);
  6194. this.$revMaxSpeedUnverified = attrs.revMaxSpeedUnverified;
  6195. this.$hasClosures = attrs.hasClosures;
  6196. if (raw.getFlagAttributes) this.$flags = raw.getFlagAttributes()
  6197. } else {
  6198. this.$name = attrs.name;
  6199. this.$brand = attrs.brand;
  6200. if (this.$brand === null) this.$brand = '';
  6201. this.$isApproved = attrs.approved;
  6202. this.$mainCategory = raw.getMainCategory();
  6203. this.$categories = attrs.categories;
  6204. this.$categoryAttributes = attrs.categoryAttributes;
  6205. this.$openingHours = attrs.openingHours;
  6206. this.$services = attrs.services;
  6207. this.$externalProviders = attrs.externalProviderIDs;
  6208. this.$entryExitPoints = attrs.entryExitPoints;
  6209. this.$alts = attrs.aliases;
  6210. this.$address = new _WV.SimpleADDRESS(attrs.streetID);
  6211. this.$geometry = attrs.geometry;
  6212. this.$phone = attrs.phone;
  6213. this.$url = attrs.url;
  6214. this.$isPoint = raw.isPoint()
  6215. }
  6216. this.$isEditable = raw.arePropertiesEditable();
  6217. this.$lock = attrs.lockRank + 1;
  6218. this.$rank = attrs.rank + 1;
  6219. if (attrs.updatedOn) this.$updatedOn = formatDate(attrs.updatedOn);
  6220. if (0 < attrs.updatedBy) {
  6221. this.$updatedByID = attrs.updatedBy;
  6222. this.$updatedBy = getUserName(attrs.updatedBy);
  6223. this.$updatedByLevel = getUserLevel(attrs.updatedBy)
  6224. }
  6225. if (attrs.createdOn) this.$createdOn = formatDate(attrs.createdOn);
  6226. if (attrs.createdBy) {
  6227. this.$createdByID = attrs.createdBy;
  6228. this.$createdBy = getUserName(attrs.createdBy);
  6229. this.$createdByLevel = getUserLevel(attrs.createdBy)
  6230. }
  6231. Object.defineProperties(this, {
  6232. $rawSegment: {enumerable: false},
  6233. _nodeA: {enumerable: false},
  6234. $nodeA: {get: this.getNodeA},
  6235. $nodeAID: {writable: false},
  6236. _nodeB: {enumerable: false},
  6237. $nodeB: {get: this.getNodeB},
  6238. $nodeBID: {writable: false},
  6239. _center: {enumerable: false},
  6240. $center: {get: this.getCenter},
  6241. _restrictions: {enumerable: false},
  6242. $restrictions: {get: this.getRestrictions},
  6243. $segmentID: {writable: false},
  6244. $isRoutable: {writable: false},
  6245. $isPoint: {writable: false},
  6246. $isTurnALocked: {writable: false},
  6247. $isTurnBLocked: {writable: false},
  6248. $isRoundabout: {writable: false},
  6249. $hasHNs: {writable: false},
  6250. $typeRank: {writable: false},
  6251. $isEditable: {writable: false},
  6252. $rank: {writable: false},
  6253. $length: {writable: false},
  6254. $mainCategory: {writable: false},
  6255. $updatedOn: {writable: false},
  6256. $updatedBy: {writable: false},
  6257. $updatedByID: {writable: false},
  6258. $updatedByLevel: {writable: false},
  6259. $createdOn: {writable: false},
  6260. $createdBy: {writable: false},
  6261. $createdByID: {writable: false},
  6262. $createdByLevel: {writable: false},
  6263. $restrictionsLen: {writable: false}
  6264. })
  6265. }
  6266. SimpleOBJECT.prototype.isRoutable = function() {
  6267. var routeableRoadTypes = [RT_STREET, RT_PRIMARY, RT_MINOR, RT_MAJOR, RT_FREEWAY];
  6268. return routeableRoadTypes.includes(this.$type)
  6269. };
  6270. SimpleOBJECT.prototype.getTypeRank = function(typeID) {
  6271. 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]
  6272. };
  6273. SimpleOBJECT.prototype.getNodeA = function() {
  6274. return this._nodeA ? this._nodeA : this._nodeA = new SimpleNODE(this.$nodeAID, this.$objectID)
  6275. };
  6276. SimpleOBJECT.prototype.getNodeB = function() {
  6277. return this._nodeB ? this._nodeB : this._nodeB = new SimpleNODE(this.$nodeBID, this.$objectID)
  6278. };
  6279. SimpleOBJECT.prototype.getCenter = function() {
  6280. if (this._center) return this._center;
  6281. this._center = this.$rawObject.geometry.bounds.getCenterLonLat().clone().transform(WM.projection, WM.displayProjection);
  6282. this._center.lon = Math.round(this._center.lon * 1E5) / 1E5;
  6283. this._center.lat = Math.round(this._center.lat * 1E5) / 1E5;
  6284. return this._center
  6285. };
  6286. SimpleOBJECT.prototype.getRestrictions = function() {
  6287. var t;
  6288. return this._restrictions ? this._restrictions : this._restrictions = this.$model == WMo.venues ? [] : (t = this, this.$rawObject.attributes.restrictions.map(function(e) {
  6289. return new SimpleRESTRICTION(e, t.$objectID)
  6290. }))
  6291. };
  6292. SimpleOBJECT.prototype.report = function(params) {
  6293. if (classCodeIs(params, CC_NUMBER)) params = {$checkID: params};
  6294. var id = params.$checkID;
  6295. if (!id || !isLimitOk(id)) return;
  6296. function getObjectCopy(ss) {
  6297. return {
  6298. $objectID: ss.$objectID, $model: ss.$model, $name: ss.$name, $countryID: +ss.$address.$countryID, $cityID: +ss.$address.$cityID, $streetID: +ss.$address.$streetID, $reportIDs: {},
  6299. $updated: ss.$updatedOn ? ss.$rawObject.attributes.updatedOn :
  6300. ss.$createdOn ? ss.$rawObject.attributes.createdOn :
  6301. 0,
  6302. $userID: ss.$updatedByID ? +ss.$updatedByID :
  6303. ss.$createdByID ? +ss.$createdByID :
  6304. 0,
  6305. $isEditable: ss.$isEditable && (ss.$nodeA.$isEditable || ss.$nodeA.$isPartial) && (ss.$nodeB.$isEditable || ss.$nodeB.$isPartial), $typeRank: +ss.$typeRank, $center: ss.$center,
  6306. $length: +ss.$length
  6307. }
  6308. }
  6309. var rep = _REP.$cityIDs[this.$address.$cityID];
  6310. var check = _RT.$checks[id];
  6311. if (_repRC[id])
  6312. _repRC[id]++;
  6313. else
  6314. _repRC[id] = 1;
  6315. if (LIMIT_PERCHECK < _repRC[id]) {
  6316. _REP.$isLimitPerCheck = true;
  6317. return
  6318. }
  6319. if (params.$cityParam) rep.$params[id] = params.$cityParam;
  6320. var sid = this.$address.$streetID;
  6321. if (!(sid in rep.$streetIDs)) {
  6322. rep.$unsortedStreetIDs.push(sid);
  6323. _repS[sid] = this.$address.$street;
  6324. rep.$streetIDs[sid] = {};
  6325. rep.$streetIDs[sid].$params = {};
  6326. rep.$streetIDs[sid].$objectIDs = {};
  6327. rep.$streetIDs[sid].$unsortedObjectIDs = [];
  6328. rep.$streetIDs[sid].$sortedObjectIDs = []
  6329. }
  6330. rep = rep.$streetIDs[sid];
  6331. if (params.$streetParam) rep.$params[id] = params.$streetParam;
  6332. if (!(this.$objectID in rep.$objectIDs)) {
  6333. rep.$unsortedObjectIDs.push(this.$objectID);
  6334. rep.$objectIDs[this.$objectID] = getObjectCopy(this)
  6335. }
  6336. var objectCopy = rep.$objectIDs[this.$objectID];
  6337. var uid = objectCopy.$userID;
  6338. if (!(uid in _repU)) {
  6339. var n = '';
  6340. if (uid === this.$createdByID)
  6341. n = this.$createdBy;
  6342. else if (uid === this.$updatedByID)
  6343. n = this.$updatedBy;
  6344. _repU[uid] = n
  6345. }
  6346. var seenObj = _RT.$seen[this.$objectID];
  6347. if (this.$forceNonEditable) {
  6348. this.$forceNonEditable = false;
  6349. objectCopy.$isEditable = false;
  6350. if (_REP.$maxSeverity <= seenObj[I_SEVERITY] || _REP.$maxSeverity <= check.SEVERITY) bUpdateMaxSeverity = true
  6351. }
  6352. objectCopy.$reportIDs[id] = params.$param;
  6353. if (_REP.$maxSeverity < check.SEVERITY)
  6354. if (checkFilter(check.SEVERITY, objectCopy, null) && getFilteredSeverity(check.SEVERITY, id, true)) _REP.$maxSeverity = check.SEVERITY;
  6355. if (!check.REPORTONLY && seenObj[I_SEVERITY] < check.SEVERITY) seenObj[I_SEVERITY] = check.SEVERITY;
  6356. seenObj[I_OBJECTCOPY] = objectCopy
  6357. };
  6358. SimpleOBJECT.prototype.incCityCounter = function() {
  6359. var rep = _REP.$cityIDs;
  6360. var cid = this.$address.$cityID;
  6361. if (!(cid in rep)) {
  6362. _REP.$countries[this.$address.$countryID] = this.$address.$country;
  6363. _REP.$unsortedCityIDs.push(cid);
  6364. _repC[cid] = this.$address.$city;
  6365. _repCC[cid] = 0;
  6366. rep[cid] = {};
  6367. rep[cid].$params = {};
  6368. rep[cid].$streetIDs = {};
  6369. rep[cid].$unsortedStreetIDs = [];
  6370. rep[cid].$sortedStreetIDs = []
  6371. }
  6372. _repCC[cid]++;
  6373. _REP.$counterTotal++
  6374. };
  6375. function deleteCityCheck(cityID, checkID) {
  6376. var repS = _REP.$cityIDs[cityID].$streetIDs;
  6377. for (var sid in repS) {
  6378. if (!repS.hasOwnProperty(sid)) continue;
  6379. var repSG = repS[sid].$objectIDs;
  6380. for (var sgid in repSG) {
  6381. if (!repSG.hasOwnProperty(sgid)) continue;
  6382. var reportIDs = repSG[sgid].$reportIDs;
  6383. if (!(checkID in reportIDs)) continue;
  6384. var seen = _RT.$seen[sgid];
  6385. var maxSev = 0;
  6386. var filSev = 0;
  6387. delete reportIDs[checkID];
  6388. for (var repID in reportIDs) {
  6389. if (!reportIDs.hasOwnProperty(repID)) continue;
  6390. var check = _RT.$checks[repID];
  6391. if (!check) continue;
  6392. if (filSev < check.SEVERITY && getFilteredSeverity(check.SEVERITY, repID, true)) filSev = check.SEVERITY;
  6393. if (maxSev < check.SEVERITY) {
  6394. maxSev = check.SEVERITY;
  6395. if (_RT.$curMaxSeverity === maxSev) break
  6396. }
  6397. }
  6398. seen[I_SEVERITY] = maxSev;
  6399. reHLObjectID(+sgid, filSev)
  6400. }
  6401. }
  6402. }
  6403. function getCityCmpObj(cityID, city, otherCity) {
  6404. var obj = {
  6405. $cityID: cityID,
  6406. $counterReported: 0,
  6407. $limit: 0,
  6408. $city: city,
  6409. $otherCity: otherCity,
  6410. $CITY: city.toUpperCase(),
  6411. $noCountyCity: '',
  6412. $noAbbreviationCity: '',
  6413. $sortedCity: '',
  6414. $noSpaceCity: '',
  6415. $reason: ''
  6416. };
  6417. obj.$noCountyCity = obj.$CITY.replace(/ *\([^\)]+\) */g, '').replace(/ *,.*/g, '');
  6418. obj.$noAbbreviationCity = obj.$noCountyCity.replace(/ *[^\. ]+ *\. */g, '');
  6419. obj.$noDigitsCity = obj.$noCountyCity.replace(/ *\d+ */g, ' ');
  6420. obj.$sortedCity = obj.$noAbbreviationCity.split(' ').sort().join(' ');
  6421. obj.$noSpaceCity = obj.$noAbbreviationCity.split(' ').join('');
  6422. return obj
  6423. }
  6424. function setCmpObjLimits(obj1, obj2) {
  6425. var curCase = '';
  6426. if (obj1.$city === obj2.$city) {
  6427. curCase = trS('city.12') + ' ' + obj1.$cityID + ' & ' + obj2.$cityID;
  6428. obj1.$reason = obj2.$reason = curCase;
  6429. obj1.$limit = obj2.$limit = 100;
  6430. return
  6431. }
  6432. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity && obj1.$noSpaceCity === obj2.$noAbbreviationCity) {
  6433. obj1.$reason = trS('city.13r');
  6434. obj2.$reason = trS('city.13a');
  6435. obj1.$limit = 10;
  6436. obj2.$limit = 1E3;
  6437. return
  6438. }
  6439. if ((new RegExp('(^| )' + obj1.$sortedCity)).test(obj2.$sortedCity)) {
  6440. if (obj1.$noCountyCity.length !== obj1.$noAbbreviationCity.length) {
  6441. curCase = trS('city.2');
  6442. obj1.$reason = obj2.$reason = curCase;
  6443. obj1.$limit = 1E3;
  6444. obj2.$limit = 10;
  6445. return
  6446. }
  6447. if (3 > obj1.$city.length) {
  6448. curCase = trS('city.3');
  6449. obj1.$reason = obj2.$reason = curCase;
  6450. obj1.$limit = 1E3;
  6451. obj2.$limit = 0;
  6452. return
  6453. }
  6454. if (obj1.$CITY === obj2.$CITY) {
  6455. curCase = trS('city.5');
  6456. obj1.$reason = obj2.$reason = curCase;
  6457. if (obj1.$city.charAt(0) !== obj1.$CITY.charAt(0)) {
  6458. obj1.$limit = 1E3;
  6459. obj2.$limit = 10
  6460. } else {
  6461. obj1.$limit = 10;
  6462. obj2.$limit = 1E3
  6463. }
  6464. return
  6465. }
  6466. if (obj1.$sortedCity === obj2.$sortedCity) {
  6467. if (obj1.$noSpaceCity !== obj1.$noAbbreviationCity) {
  6468. curCase = trS('city.6');
  6469. obj1.$reason = obj2.$reason = curCase;
  6470. obj1.$limit = obj2.$limit = 1E3;
  6471. return
  6472. }
  6473. if (obj1.$city.length === obj1.$noCountyCity.length) {
  6474. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6475. curCase = trS('city.7');
  6476. obj1.$reason = obj2.$reason = curCase;
  6477. obj1.$limit = obj2.$limit = 1E3
  6478. } else {
  6479. obj1.$reason = trS('city.8a');
  6480. obj2.$reason = trS('city.8r');
  6481. obj1.$limit = 1E3;
  6482. obj2.$limit = 10
  6483. }
  6484. return
  6485. }
  6486. if (obj2.$city.length === obj2.$noCountyCity.length) {
  6487. obj1.$reason = trS('city.8r');
  6488. obj2.$reason = trS('city.8a');
  6489. obj1.$limit = 10;
  6490. obj2.$limit = 1E3
  6491. } else {
  6492. curCase = trS('city.9');
  6493. obj1.$reason = obj2.$reason = curCase;
  6494. obj1.$limit = obj2.$limit = 1E3
  6495. }
  6496. return
  6497. }
  6498. if ((new RegExp(obj1.$sortedCity + '( |$)')).test(obj2.$sortedCity)) {
  6499. if (4 < obj2.$sortedCity.length - obj1.$sortedCity.length) {
  6500. obj1.$reason = trS('city.10a');
  6501. obj2.$reason = trS('city.10r');
  6502. obj1.$limit = obj2.$limit = 10;
  6503. return
  6504. }
  6505. if (obj1.$noDigitsCity === obj2.$noDigitsCity) {
  6506. curCase = trS('city.14');
  6507. obj1.$reason = obj2.$reason = curCase;
  6508. obj1.$limit = obj2.$limit = 1;
  6509. return
  6510. }
  6511. curCase = trS('city.11');
  6512. obj1.$reason = obj2.$reason = curCase;
  6513. obj1.$limit = 1E3;
  6514. obj2.$limit = 10;
  6515. return
  6516. }
  6517. curCase = trS('city.4');
  6518. obj1.$reason = obj2.$reason = curCase;
  6519. obj1.$limit = 1E3;
  6520. obj2.$limit = 10;
  6521. return
  6522. }
  6523. }
  6524. function addHLedObjects() {
  6525. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6526. var features = [];
  6527. for (var i in _RT.$HLedObjects) {
  6528. if (!_RT.$HLedObjects.hasOwnProperty(i)) continue;
  6529. var obj = _RT.$HLedObjects[i];
  6530. if (obj.$severity) features.push(new OpenLayers.Feature.Vector(obj.$geometry.clone(), {0: obj.$severity}))
  6531. }
  6532. _RT.$HLlayer.destroyFeatures();
  6533. _RT.$HLlayer.addFeatures(features)
  6534. }
  6535. function HLObject(rawObject) {
  6536. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6537. var objectID = rawObject.getID();
  6538. var seenObj = _RT.$seen[objectID];
  6539. var severity = seenObj[I_SEVERITY];
  6540. var objectCopy = seenObj[I_OBJECTCOPY];
  6541. if (!severity || !objectCopy || !checkFilter(severity, objectCopy, null)) return;
  6542. var filteredSeverity = getFilteredSeverityObj(severity, objectCopy.$reportIDs, true);
  6543. if (!filteredSeverity) return;
  6544. var obj = {$severity: filteredSeverity, $geometry: rawObject.geometry};
  6545. _RT.$HLedObjects[objectID] = obj
  6546. }
  6547. function reHLObjectID(objectID, newSeverity) {
  6548. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6549. if (_REP.$maxSeverity !== newSeverity) bUpdateMaxSeverity = true;
  6550. if (oExcludeNotes && RS_NOTE === newSeverity) newSeverity = 0;
  6551. if (objectID in _RT.$HLedObjects) {
  6552. var hlObj = _RT.$HLedObjects[objectID];
  6553. hlObj.$severity = newSeverity
  6554. }
  6555. }
  6556. function deleteSeenObject(objectID) {
  6557. reHLObjectID(objectID, 0);
  6558. var seen = null;
  6559. if (objectID in _RT.$seen) seen = _RT.$seen[objectID];
  6560. if (!seen) return;
  6561. if (_REP.$maxSeverity <= seen[I_SEVERITY]) bUpdateMaxSeverity = true;
  6562. var objectCopy = seen[I_OBJECTCOPY];
  6563. var cityID = seen[I_CITYID];
  6564. delete _RT.$seen[objectID];
  6565. if (0 < _REP.$counterTotal) _REP.$counterTotal--;
  6566. if (0 < _repCC[cityID]) _repCC[cityID]--;
  6567. if (!objectCopy) return;
  6568. var repC = _REP.$cityIDs;
  6569. for (var cid in repC) {
  6570. if (!repC.hasOwnProperty(cid)) continue;
  6571. var repS = repC[cid].$streetIDs;
  6572. for (var sid in repS) {
  6573. if (!repS.hasOwnProperty(sid)) continue;
  6574. var repSG = repS[sid].$objectIDs;
  6575. for (var sgid in repSG) {
  6576. if (!repSG.hasOwnProperty(sgid) || sgid !== objectID) continue;
  6577. var reportIDs = repSG[sgid].$reportIDs;
  6578. for (var repID in reportIDs) {
  6579. if (!reportIDs.hasOwnProperty(repID)) continue;
  6580. if (0 < _repRC[repID]) _repRC[repID]--
  6581. }
  6582. delete repSG[sgid];
  6583. var repUSG = repS[sid].$unsortedObjectIDs;
  6584. repUSG.splice(repUSG.indexOf(sgid), 1);
  6585. repS[sid].$sortedObjectIDs = [];
  6586. return
  6587. }
  6588. }
  6589. }
  6590. }
  6591. function updateObjectProperties(selectedObjects, disabledHL) {
  6592. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) return;
  6593. var prop = document.getElementById('i' + ID_PROPERTY);
  6594. var propDis = document.getElementById('i' + ID_PROPERTY_DISABLED);
  6595. var defID = ID_PROPERTY;
  6596. var defHTML = '';
  6597. if (disabledHL) {
  6598. defID = ID_PROPERTY_DISABLED;
  6599. defHTML = '<div class="direction-message">' +
  6600. '<i class="fa fa-info-circle" aria-hidden="true"></i> ' + trS('props.disabled') + '</div> ';
  6601. if (prop) prop.parentNode.removeChild(prop);
  6602. prop = propDis
  6603. } else if (propDis)
  6604. propDis.parentNode.removeChild(propDis);
  6605. if (prop)
  6606. prop.innerHTML = defHTML;
  6607. else {
  6608. var objectProperties = document.getElementsByClassName('selection-icon')[0];
  6609. if (!objectProperties) objectProperties = document.getElementsByClassName('landmark')[0];
  6610. if (objectProperties) {
  6611. var d = document.createElement('div');
  6612. d.innerHTML = defHTML;
  6613. d.id = 'i' + defID;
  6614. d.style.cssText = 'text-transform: none; padding: 5px;';
  6615. prop = objectProperties.appendChild(d)
  6616. }
  6617. }
  6618. if (disabledHL) return;
  6619. if (!selectedObjects.length) return;
  6620. var selectedIssues = [];
  6621. for (var i = 0; i < selectedObjects.length; i++) {
  6622. var objectID = selectedObjects[i];
  6623. if (objectID in _RT.$seen) {
  6624. var objectCopy = _RT.$seen[objectID][I_OBJECTCOPY];
  6625. if (!objectCopy) continue;
  6626. for (var cid in objectCopy.$reportIDs)
  6627. if (objectCopy.$reportIDs.hasOwnProperty(cid)) {
  6628. var check = _RT.$checks[cid];
  6629. if (check.REPORTONLY) continue;
  6630. selectedIssues.push([check, objectCopy, cid])
  6631. }
  6632. }
  6633. }
  6634. var newProp = '<b style="display:block"><a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">WME Validator</a> ' + trS('props.reports') + ':</b>';
  6635. if (_REP.$isLimitPerCheck)
  6636. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6637. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6638. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.limit.title') + '</a></span>' +
  6639. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6640. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6641. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.limit.problem') + '.</div>' +
  6642. '<i class="fa fa-check-square-o fa-lg fa-pull-left" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6643. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6644. '<p>' + trS('props.limit.solution') + '.</p>' +
  6645. '</div></div><br></div>';
  6646. if (skippedObject)
  6647. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + CL_NOTE + '">' +
  6648. '<span><i class="fa fa-info-circle" aria-hidden="true"></i>' +
  6649. ' <a class="c' + CL_NOTE + '" href="#">' + trS('props.skipped.title') + '</a></span>' +
  6650. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6651. '<i class="fa fa-times-circle fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6652. '<div class="c' + CL_RIGHTTIPDESCR + '">' + trS('props.skipped.problem') + '.</div>' +
  6653. '</div><br></div>';
  6654. if (!selectedIssues.length) {
  6655. if (prop && (_REP.$isLimitPerCheck || skippedObject)) prop.innerHTML = newProp;
  6656. return
  6657. }
  6658. selectedIssues.sort(function(a, b) {
  6659. return cmpCheckIDs(a[2], b[2])
  6660. });
  6661. var selectedCounters = {};
  6662. selectedIssues = selectedIssues.filter(function(e, i, arr) {
  6663. var checkID = e[2];
  6664. if (i && arr[i - 1][2] === checkID) {
  6665. selectedCounters[checkID]++;
  6666. return false
  6667. }
  6668. selectedCounters[checkID] = 1;
  6669. return true
  6670. });
  6671. selectedIssues.forEach(function(e) {
  6672. var check = e[0];
  6673. var objectCopy = e[1];
  6674. var checkID = e[2];
  6675. var checkCounter = selectedCounters[checkID];
  6676. var sevClass = 0;
  6677. var sevIcon = '';
  6678. var sevBG = '';
  6679. var strCountry = _REP.$countries[objectCopy.$countryID];
  6680. var ccode = '';
  6681. if (strCountry)
  6682. ccode = _I18n.getCountryCode(strCountry.toUpperCase());
  6683. else
  6684. ccode = _RT.$cachedTopCCode;
  6685. options = trO(check.OPTIONS, ccode);
  6686. switch (check.SEVERITY) {
  6687. case RS_NOTE:
  6688. sevClass = CL_NOTE;
  6689. sevIcon = 'info-circle';
  6690. sevBG = GL_NOTEBGCOLOR;
  6691. break;
  6692. case RS_WARNING:
  6693. sevClass = CL_WARNING;
  6694. sevIcon = 'exclamation-triangle';
  6695. sevBG = GL_WARNINGBGCOLOR;
  6696. break;
  6697. case RS_ERROR:
  6698. sevClass = CL_ERROR;
  6699. sevIcon = 'times-circle';
  6700. sevBG = GL_ERRORBGCOLOR;
  6701. break;
  6702. case RS_CUSTOM1:
  6703. sevClass = CL_CUSTOM1;
  6704. sevIcon = 'user';
  6705. sevBG = GL_CUSTOM1BGCOLOR;
  6706. break;
  6707. case RS_CUSTOM2:
  6708. sevClass = CL_CUSTOM2;
  6709. sevIcon = 'user';
  6710. sevBG = GL_CUSTOM2BGCOLOR;
  6711. break
  6712. }
  6713. var shortTitle = exSOS(check.TITLE, options, 'titleEN').replace('WME Color Highlights', 'WMECH').replace('WME Toolbox', 'WMETB');
  6714. newProp += '<div class="c' + CL_RIGHTTIP + ' c' + sevClass + '">' +
  6715. '<span><i class="fa fa-' + sevIcon + '" aria-hidden="true"></i>' +
  6716. ' <a class="c' + sevClass + '" href="#">' + shortTitle + (1 < checkCounter ? ' (' + checkCounter + ')' : '') + '</a></span>' +
  6717. '<div class="c' + CL_RIGHTTIPPOPUP + '">' +
  6718. '<i class="fa fa-' + sevIcon + ' fa-lg fa-pull-left" style="margin-top:0.3em" aria-hidden="true"></i>' +
  6719. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6720. '#' + checkID + ' ' + exSOS(check.PROBLEM, options, 'problemEN');
  6721. var pl = trO(check.PROBLEMLINK, ccode);
  6722. if (pl)
  6723. newProp += ': <a target="_blank" href="' + pl + '">' + trO(check.PROBLEMLINKTEXT, ccode) + '</a>';
  6724. else
  6725. newProp += '.';
  6726. newProp += '</div>';
  6727. if (objectCopy.$isEditable) {
  6728. newProp += '<i class="fa fa-check-square-o fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6729. '<div class="c' + CL_RIGHTTIPDESCR + '">';
  6730. if (check.SOLUTION) {
  6731. newProp += '<p>' + exSOS(check.SOLUTION, options, 'solutionEN');
  6732. var sl = trO(check.SOLUTIONLINK, ccode);
  6733. if (sl)
  6734. newProp += ': <a target="_blank" href="' + sl + '">' + trO(check.SOLUTIONLINKTEXT, ccode) + '</a>';
  6735. else
  6736. newProp += '.';
  6737. newProp += '</p>'
  6738. }
  6739. } else
  6740. newProp += '<i class="fa fa-ban fa-pull-left fa-lg" style="color:black;margin-top:0.8em" aria-hidden="true"></i>' +
  6741. '<div class="c' + CL_RIGHTTIPDESCR + '">' +
  6742. '<p>' + trS('props.noneditable') + '.</p>';
  6743. var cityID = objectCopy.$cityID;
  6744. var cityParam = _REP.$cityIDs[cityID].$params[checkID];
  6745. if (cityParam) newProp += '<p>' + cityParam + '</p>';
  6746. var streetID = objectCopy.$streetID;
  6747. var streetParam = _REP.$cityIDs[cityID].$streetIDs[streetID].$params[checkID];
  6748. if (streetParam) newProp += '<p>' + streetParam + '</p>';
  6749. newProp += '</div></div><br></div>'
  6750. });
  6751. if (prop) prop.innerHTML = newProp
  6752. }
  6753. function matchRegExp(checkID, objectID, expandedString, options) {
  6754. var optRegExp = options[CO_REGEXP];
  6755. if (!optRegExp) return false;
  6756. var optString = options[CO_STRING];
  6757. var optBool = options[CO_BOOL];
  6758. if (options[CO_NUMBER] && 0 < _REP.$debugCounter) {
  6759. var checkTitle = '';
  6760. if (_RT.$checks[checkID] && _RT.$checks[checkID].TITLE) checkTitle = _RT.$checks[checkID].TITLE;
  6761. var reported = optRegExp.test(expandedString) ? optBool ? false : true : optBool ? true : false;
  6762. _REP.$debugCounter--;
  6763. log(getMsg(
  6764. 'debug log for segment ' + objectID + ', check #' + checkID,
  6765. '\n1. ' + (optString ? 'Expand template: ' + optString + ' -> ' : 'String: ') + expandedString + '\n2. Match RegExp: ' + (optBool ? 'not ' : '') + optRegExp + ' -> ' +
  6766. JSON.stringify(expandedString.match(optRegExp)) + '\n=> ' + (reported ? 'REPORT the segment as #' + checkID + ' \'' + checkTitle + '\'' : 'skip the segment') +
  6767. (0 < _REP.$debugCounter ? '' : '\nEnd of debug log. Click \'✘\' (Clear report) button to start debug over.')))
  6768. }
  6769. if (optRegExp.test(expandedString)) {
  6770. if (!optBool) return true
  6771. } else if (optBool)
  6772. return true;
  6773. return false
  6774. }
  6775. function checkPublicConnection(seg, ignoreSegment) {
  6776. var foundPublicConnection = false;
  6777. if (!seg.$nodeA.$isPartial && seg.$nodeA.$otherSegmentsLen > 0)
  6778. for (var i = 0; i < seg.$nodeA.$otherSegmentsLen; i++) {
  6779. var otherSegment = seg.$nodeA.$otherSegments[i];
  6780. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6781. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6782. foundPublicConnection = true;
  6783. break
  6784. }
  6785. }
  6786. if (!seg.$nodeB.$isPartial && seg.$nodeB.$otherSegmentsLen > 0)
  6787. for (var i = 0; i < seg.$nodeB.$otherSegmentsLen; i++) {
  6788. var otherSegment = seg.$nodeB.$otherSegments[i];
  6789. if (ignoreSegment && otherSegment === ignoreSegment) continue;
  6790. if (otherSegment.$isRoutable || RT_RAMP === otherSegment.$type) {
  6791. foundPublicConnection = true;
  6792. break
  6793. }
  6794. }
  6795. return foundPublicConnection
  6796. }
  6797. var reportWMECH = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportWMECH.CHECKED;
  6798. var reportToolbox = _UI.pSettings.pScanner.oReportExt.CHECKED && _RT.oReportToolbox.CHECKED;
  6799. var currentZoom = WM.getZoom();
  6800. var slowChecks = _UI.pSettings.pScanner.oSlowChecks.CHECKED && 15 < currentZoom;
  6801. var oExcludeNotes = _UI.pMain.pFilter.oExcludeNotes.CHECKED;
  6802. var selectedObjects = [];
  6803. _RT.$HLedObjects = {};
  6804. for (var segmentKey in WMo.segments.objects) {
  6805. var rawSegment = WMo.segments.objects[segmentKey];
  6806. var segmentID = rawSegment.getID();
  6807. if (_RT.$topUser.$userLevel <= rawSegment.attributes.lockRank && rawSegment.attributes.updatedOn && 13989024E5 < rawSegment.attributes.updatedOn) {
  6808. if (rawSegment.selected) {
  6809. skippedObject = true;
  6810. if (!DEF_DEBUG) selectedObjects.push(segmentID)
  6811. }
  6812. if (!DEF_DEBUG) continue
  6813. }
  6814. if (rawSegment.layer && rawSegment.id in rawSegment.layer.unrenderedFeatures) continue;
  6815. if ('Delete' === rawSegment.state) continue;
  6816. var seen = null;
  6817. if (segmentID in _RT.$seen) seen = _RT.$seen[segmentID];
  6818. if (rawSegment.selected) {
  6819. selectedObjects.push(segmentID);
  6820. _RT.$revalidate[segmentID] = true;
  6821. if (seen && !seen[I_ISWMECHCOLOR]) {
  6822. deleteSeenObject(segmentID);
  6823. seen = null
  6824. }
  6825. } else if (segmentID in _RT.$revalidate) {
  6826. deleteSeenObject(segmentID);
  6827. seen = null;
  6828. delete _RT.$revalidate[segmentID];
  6829. delete rawSegment[GL_WMECHCOLOR]
  6830. }
  6831. var segmentGeometry = document.getElementById(rawSegment.geometry.id);
  6832. if (segmentGeometry) {
  6833. var strokeColor = segmentGeometry.getAttribute('stroke').toUpperCase();
  6834. if (4 === strokeColor.length) strokeColor = '#' + strokeColor.charAt(1) + strokeColor.charAt(1) + strokeColor.charAt(2) + strokeColor.charAt(2) + strokeColor.charAt(3) + strokeColor.charAt(3);
  6835. if (strokeColor in _RT.$WMECHcolors) rawSegment[GL_WMECHCOLOR] = strokeColor
  6836. }
  6837. if (seen) {
  6838. var isTBColor = GL_TBCOLOR in rawSegment;
  6839. var isWMECHColor = GL_WMECHCOLOR in rawSegment;
  6840. if (!seen[I_ISPARTIAL] && isTBColor === seen[I_ISTBCOLOR] && isWMECHColor === seen[I_ISWMECHCOLOR]) {
  6841. HLObject(rawSegment);
  6842. continue
  6843. }
  6844. }
  6845. var segment = new SimpleOBJECT(segmentID, WMo.segments);
  6846. Object.seal(segment);
  6847. var address = segment.$address;
  6848. var country = address.$country;
  6849. var countryLen = country.length;
  6850. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  6851. var city = address.$city;
  6852. var cityLen = city.length;
  6853. var cityID = address.$cityID;
  6854. var street = address.$street;
  6855. var state = address.$state;
  6856. var streetLen = street.length;
  6857. var alts = segment.$alts;
  6858. var roadType = segment.$type;
  6859. var typeRank = segment.$typeRank;
  6860. var isToll = segment.$isToll;
  6861. var direction = segment.$direction;
  6862. var elevation = segment.$elevation;
  6863. var lock = Math.max(segment.$lock, segment.$rank);
  6864. var segmentLen = segment.$length;
  6865. var isRoundabout = segment.$isRoundabout;
  6866. var hasHNs = segment.$hasHNs;
  6867. var isDrivable = RR_TRAIL < typeRank;
  6868. var nodeA = segment.$nodeA;
  6869. var nodeB = segment.$nodeB;
  6870. var nodeAID = segment.$nodeAID;
  6871. var nodeBID = segment.$nodeBID;
  6872. var isPartial = nodeA.$isPartial || nodeB.$isPartial;
  6873. var forwardSpeed = segment.$fwdMaxSpeed;
  6874. var reverseSpeed = segment.$revMaxSpeed;
  6875. var forwardSpeedUnverified = segment.$fwdMaxSpeedUnverified;
  6876. var reverseSpeedUnverified = segment.$revMaxSpeedUnverified;
  6877. var hasRestrictions = segment.$hasRestrictions;
  6878. var hasClosures = segment.$hasClosures;
  6879. var flags = segment.$flags;
  6880. var now = Date.now();
  6881. if (seen) {
  6882. if (seen[I_ISPARTIAL] && isPartial) {
  6883. HLObject(rawSegment);
  6884. continue
  6885. }
  6886. deleteSeenObject(segmentID);
  6887. seen = null
  6888. }
  6889. _RT.$seen[segmentID] = seen = [0, null, GL_TBCOLOR in rawSegment, GL_WMECHCOLOR in rawSegment, isPartial || 16 > currentZoom, cityID];
  6890. segment.incCityCounter();
  6891. if (segment.$isEditable) _REP.$isEditableFound = true;
  6892. if (GL_NOID === street) {
  6893. deleteSeenObject(segmentID);
  6894. continue
  6895. }
  6896. _RT.$isGlobalAccess = true;
  6897. if (!address.isOkFor(0)) {
  6898. _RT.$isGlobalAccess = false;
  6899. continue
  6900. }
  6901. if (slowChecks && RT_RAILROAD !== roadType) {
  6902. if (nodeA.$otherSegmentsLen && isLimitOk(118)) {
  6903. var rawNode = nodeA.$rawNode;
  6904. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6905. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  6906. var otherSegment = nodeA.$otherSegments[i];
  6907. if (!otherSegment.$rawSegment) continue;
  6908. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  6909. var angle = Math.abs(baseAngle - curAngle);
  6910. if (angle > 180) angle = 360 - angle;
  6911. if (2 > angle && address.isOkFor(118)) {
  6912. segment.report(118);
  6913. break
  6914. }
  6915. }
  6916. }
  6917. if (nodeB.$otherSegmentsLen && isLimitOk(119)) {
  6918. var rawNode = nodeB.$rawNode;
  6919. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  6920. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  6921. var otherSegment = nodeB.$otherSegments[i];
  6922. if (!otherSegment.$rawSegment) continue;
  6923. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  6924. var angle = Math.abs(baseAngle - curAngle);
  6925. if (angle > 180) angle = 360 - angle;
  6926. if (2 > angle && address.isOkFor(119)) {
  6927. segment.report(119);
  6928. break
  6929. }
  6930. }
  6931. }
  6932. }
  6933. if (!countryLen && isLimitOk(23)) {
  6934. seen[I_ISPARTIAL] = false;
  6935. if (address.isOkFor(23)) {
  6936. segment.report(23);
  6937. HLObject(rawSegment)
  6938. }
  6939. continue
  6940. }
  6941. if (streetLen && address.isOkFor(101)) {
  6942. options = getCheckOptions(101, countryCode);
  6943. if (options[CO_REGEXP].test(street)) {
  6944. segment.report(101);
  6945. HLObject(rawSegment);
  6946. continue
  6947. }
  6948. }
  6949. if (!state && address.isOkFor(106)) segment.report(106);
  6950. if (reportToolbox && address.isOkFor(CK_TBFIRST)) {
  6951. var col = rawSegment[GL_TBCOLOR];
  6952. if (col) {
  6953. col = col.toUpperCase();
  6954. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  6955. var check = _RT.$checks[i];
  6956. if (check.COLOR === col) {
  6957. segment.report(i);
  6958. break
  6959. }
  6960. }
  6961. }
  6962. }
  6963. if (reportWMECH && address.isOkFor(CK_WMECHFIRST)) {
  6964. var col = rawSegment[GL_WMECHCOLOR];
  6965. if (col)
  6966. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  6967. var check = _RT.$checks[i];
  6968. if (check && check.COLOR === col) {
  6969. segment.report(i);
  6970. break
  6971. }
  6972. }
  6973. }
  6974. if (alts.length && address.isOkFor(34))
  6975. for (var i = 0; i < alts.length; i++)
  6976. if (!alts[i].$street) {
  6977. segment.report(34);
  6978. break
  6979. }
  6980. if (slowChecks && segment.$restrictionsLen && isLimitOk(38) && address.isOkFor(38)) {
  6981. var restrictions = segment.$restrictions;
  6982. for (var i = 0; i < restrictions.length; i++)
  6983. if (restrictions[i].$isInThePast) {
  6984. segment.report(38);
  6985. break
  6986. }
  6987. }
  6988. if (slowChecks && (nodeA.$restrictionsLen || nodeB.$restrictionsLen) && isLimitOk(39) && address.isOkFor(39)) {
  6989. var restrictions = nodeA.$restrictions.concat(nodeB.$restrictions);
  6990. for (var i = 0; i < restrictions.length; i++) {
  6991. var restriction = restrictions[i];
  6992. if (restriction.$isInThePast) {
  6993. var param = '';
  6994. if (restriction.$to.$address && restriction.$to.$address.$street) param = 'turn to ' + restriction.$to.$address.$street;
  6995. segment.report({$checkID: 39, $streetParam: param});
  6996. break
  6997. }
  6998. }
  6999. }
  7000. if (nodeAID && nodeAID === nodeBID && address.isOkFor(43)) segment.report(43);
  7001. if (RT_RAILROAD === roadType && 100 > segmentLen && !isPartial && !nodeA.$otherSegmentsLen && !nodeB.$otherSegmentsLen && address.isOkFor(104)) segment.report(104);
  7002. if (RT_TRAIL === roadType && -5 === elevation && address.isOkFor(105)) segment.report(105);
  7003. if ((9 < elevation || -5 > elevation) && address.isOkFor(116)) segment.report(116);
  7004. var expandOptions = {
  7005. 'country': country,
  7006. 'state': state,
  7007. 'city': city,
  7008. 'street': street,
  7009. 'altStreet': alts.map(function(e) {
  7010. return e.$street
  7011. }),
  7012. 'altCity': alts.map(function(e) {
  7013. return e.$city
  7014. }),
  7015. 'type': roadType,
  7016. 'typeRank': typeRank,
  7017. 'toll': +isToll,
  7018. 'direction': direction,
  7019. 'elevation': elevation,
  7020. 'lock': lock,
  7021. 'length': segmentLen,
  7022. 'ID': segmentID,
  7023. 'roundabout': +isRoundabout,
  7024. 'hasHNs': +hasHNs,
  7025. 'drivable': +isDrivable,
  7026. 'Uturn': +(nodeA.$isUturn || nodeB.$isUturn),
  7027. 'deadEnd': +!(isPartial || nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen),
  7028. 'partialA': +nodeA.$isPartial,
  7029. 'deadEndA': +!(nodeA.$isPartial || nodeA.$otherSegmentsLen),
  7030. 'segmentsA': nodeA.$otherSegmentsLen,
  7031. 'inA': nodeA.$inConnectionsLen,
  7032. 'outA': nodeA.$outConnectionsLen,
  7033. 'UturnA': +nodeA.$isUturn,
  7034. 'partialB': +nodeB.$isPartial,
  7035. 'deadEndB': +!(nodeB.$isPartial || nodeB.$otherSegmentsLen),
  7036. 'segmentsB': nodeB.$otherSegmentsLen,
  7037. 'inB': nodeB.$inConnectionsLen,
  7038. 'outB': nodeB.$outConnectionsLen,
  7039. 'UturnB': +nodeB.$isUturn,
  7040. 'softTurns': +!(segment.$isTurnALocked && segment.$isTurnBLocked),
  7041. 'speedLimit': forwardSpeed || reverseSpeed,
  7042. 'speedLimitAB': forwardSpeed,
  7043. 'speedLimitBA': reverseSpeed,
  7044. 'checkSpeedLimit': isDrivable && (reverseSpeedUnverified || forwardSpeedUnverified)
  7045. };
  7046. for (var i = CK_MATCHFIRST; i <= CK_MATCHLAST; i++) {
  7047. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7048. options = getCheckOptions(i, countryCode);
  7049. var optString = options[CO_STRING];
  7050. var optRegExp = options[CO_REGEXP];
  7051. if (!optString || !optRegExp) continue;
  7052. var expandedString = _I18n.expandSO(optString, expandOptions);
  7053. if (matchRegExp(i, segmentID, expandedString, options)) segment.report(i)
  7054. }
  7055. if (!cityLen && RT_FREEWAY === roadType && isLimitOk(69) && address.isOkFor(69)) segment.report(69);
  7056. if (slowChecks) {
  7057. if (1 === nodeA.$otherSegmentsLen && DIR_UNKNOWN !== direction && !nodeA.$isPartial && !nodeA.$isUturn && !nodeA.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(36) &&
  7058. address.isOkFor(36)) {
  7059. var otherSegment = nodeA.$otherSegments[0];
  7060. var otherNode, nextNode;
  7061. if (otherSegment.$nodeAID === nodeAID) {
  7062. otherNode = otherSegment.$nodeA;
  7063. nextNode = otherSegment.$nodeB
  7064. } else {
  7065. otherNode = otherSegment.$nodeB;
  7066. nextNode = otherSegment.$nodeA
  7067. }
  7068. if ((!nodeB.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawSegment && (1E4 > otherSegment.$length + segmentLen || 1E3 > segmentLen) &&
  7069. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7070. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7071. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7072. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7073. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7074. otherSegment.$nodeAID !== nodeBID && otherSegment.$nodeBID !== nodeBID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7075. var loopFound = false;
  7076. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7077. var thirdSegment = nextNode.$otherSegments[i];
  7078. if (thirdSegment.$nodeAID === nodeBID || thirdSegment.$nodeBID === nodeBID) {
  7079. loopFound = true;
  7080. break
  7081. }
  7082. }
  7083. if (!loopFound) segment.report(36)
  7084. }
  7085. }
  7086. if (DIR_UNKNOWN !== direction && !nodeB.$isPartial && 1 === nodeB.$otherSegmentsLen && !nodeB.$isUturn && !nodeB.$restrictionsLen && !segment.$restrictionsLen && !hasClosures && isLimitOk(37) &&
  7087. address.isOkFor(37)) {
  7088. var otherSegment = nodeB.$otherSegments[0];
  7089. var otherNode, nextNode;
  7090. if (otherSegment.$nodeAID === nodeBID) {
  7091. otherNode = otherSegment.$nodeA;
  7092. nextNode = otherSegment.$nodeB
  7093. } else {
  7094. otherNode = otherSegment.$nodeB;
  7095. nextNode = otherSegment.$nodeA
  7096. }
  7097. if ((!nodeA.$isPartial || !nextNode.$isPartial) && otherSegment.$segmentID !== segmentID && otherSegment.$rawSegment && 1E4 > otherSegment.$length + segmentLen &&
  7098. otherSegment.$address.$street === street && otherSegment.$address.$city === city && otherSegment.$address.$state === state && otherSegment.$address.$country === country &&
  7099. otherSegment.$fwdMaxSpeed === forwardSpeed && otherSegment.$revMaxSpeed === reverseSpeed && otherSegment.$fwdMaxSpeedUnverified === forwardSpeedUnverified &&
  7100. otherSegment.$revMaxSpeedUnverified === reverseSpeedUnverified && otherSegment.$type === roadType && otherSegment.$isToll === isToll && otherSegment.$hasRestrictions === hasRestrictions &&
  7101. !otherSegment.$hasClosures && deepCompare(otherSegment.$flags, flags) &&
  7102. (DIR_TWO === otherSegment.$direction && DIR_TWO === direction || DIR_TWO !== otherSegment.$direction && DIR_TWO !== direction) && otherSegment.$elevation === elevation &&
  7103. otherSegment.$nodeAID !== nodeAID && otherSegment.$nodeBID !== nodeAID && !otherSegment.$restrictionsLen && !otherNode.$restrictionsLen && deepCompare(otherSegment.$alts, alts)) {
  7104. var loopFound = false;
  7105. for (var i = 0; i < nextNode.$otherSegmentsLen; i++) {
  7106. var thirdSegment = nextNode.$otherSegments[i];
  7107. if (thirdSegment.$nodeAID === nodeAID || thirdSegment.$nodeBID === nodeAID) {
  7108. loopFound = true;
  7109. break
  7110. }
  7111. }
  7112. if (!loopFound) segment.report(37)
  7113. }
  7114. }
  7115. }
  7116. if (cityLen) {
  7117. for (var i = CK_CITYNAMEFIRST; i <= CK_CITYNAMELAST; i++) {
  7118. if (!address.isOkFor(i) || !isLimitOk(i)) continue;
  7119. if (matchRegExp(i, segmentID, city, getCheckOptions(i, countryCode))) segment.report(i)
  7120. }
  7121. if (isLimitOk(24) && address.isOkFor(24)) {
  7122. var param = trS('city.1');
  7123. var r = 3 > cityLen ? true : false;
  7124. var cityCounter = _repCC[cityID];
  7125. if (1 === cityCounter || cityID in _REP.$incompleteIDs && !_REP.$incompleteIDs[cityID].$counterReported)
  7126. for (var i = 0, len = _REP.$unsortedCityIDs.length; i < len; i++) {
  7127. var cid = _REP.$unsortedCityIDs[i];
  7128. if (cid === cityID) continue;
  7129. var c = _repC[cid];
  7130. var cLen = c.length;
  7131. if (1 > cLen) continue;
  7132. var cityObj = getCityCmpObj(cityID, city, c);
  7133. var cObj = getCityCmpObj(cid, c, city);
  7134. setCmpObjLimits(cityObj, cObj);
  7135. setCmpObjLimits(cObj, cityObj);
  7136. if (cityObj.$limit) _REP.$incompleteIDs[cityID] = cityObj;
  7137. if (cObj.$limit && !_REP.$incompleteIDs[cid]) _REP.$incompleteIDs[cid] = cObj;
  7138. if (cityObj.$limit || cObj.$limit) break
  7139. }
  7140. if (cityID in _REP.$incompleteIDs) {
  7141. var incompleteCity = _REP.$incompleteIDs[cityID];
  7142. incompleteCity.$counterReported++;
  7143. if (incompleteCity.$limit < cityCounter) {
  7144. r = false;
  7145. deleteCityCheck(cityID, 24);
  7146. delete _REP.$incompleteIDs[cityID]
  7147. } else {
  7148. r = true;
  7149. param = trS('city.consider') + ' ' + incompleteCity.$otherCity + ' [' + incompleteCity.$reason + ']'
  7150. }
  7151. }
  7152. if (r) segment.report({$checkID: 24, $cityParam: param})
  7153. }
  7154. if (RT_RAILROAD === roadType && isLimitOk(24) && address.isOkFor(27)) segment.report(27);
  7155. if (RT_FREEWAY === roadType && isLimitOk(59) && address.isOkFor(59)) segment.report(59)
  7156. }
  7157. if (isDrivable) {
  7158. if (slowChecks) {
  7159. if (nodeA.$outConnectionsLen && (DIR_TWO === direction || DIR_BA === direction) && isLimitOk(120)) {
  7160. var rawNode = nodeA.$rawNode;
  7161. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7162. for (var i = 0; i < nodeA.$outConnectionsLen; i++) {
  7163. var otherSegment = nodeA.$outConnections[i];
  7164. if (!otherSegment.$rawSegment) continue;
  7165. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  7166. var angle = Math.abs(baseAngle - curAngle);
  7167. if (angle > 180) angle = 360 - angle;
  7168. if (30 > angle && 2 <= angle && address.isOkFor(120))
  7169. if (10 > angle) {
  7170. segment.report(120);
  7171. break
  7172. } else if (!nodeA.$isPartial && 3 > nodeA.$otherSegmentsLen && RR_STREET < typeRank) {
  7173. segment.report(120);
  7174. break
  7175. }
  7176. }
  7177. }
  7178. if (nodeB.$outConnectionsLen && (DIR_TWO === direction || DIR_AB === direction) && isLimitOk(121)) {
  7179. var rawNode = nodeB.$rawNode;
  7180. var baseAngle = rawNode.getAngleToSegment(rawSegment);
  7181. for (var i = 0; i < nodeB.$outConnectionsLen; i++) {
  7182. var otherSegment = nodeB.$outConnections[i];
  7183. if (!otherSegment.$rawSegment) continue;
  7184. var curAngle = rawNode.getAngleToSegment(otherSegment.$rawSegment);
  7185. var angle = Math.abs(baseAngle - curAngle);
  7186. if (angle > 180) angle = 360 - angle;
  7187. if (30 > angle && 2 <= angle && address.isOkFor(121))
  7188. if (10 > angle) {
  7189. segment.report(121);
  7190. break
  7191. } else if (!nodeB.$isPartial && 3 > nodeB.$otherSegmentsLen && RR_STREET < typeRank) {
  7192. segment.report(121);
  7193. break
  7194. }
  7195. }
  7196. }
  7197. }
  7198. if (RT_PRIVATE !== roadType && isLimitOk(45) && address.isOkFor(45))
  7199. if (!nodeA.$isPartial && !nodeA.$inConnectionsLen)
  7200. if (DIR_AB === direction)
  7201. segment.report(45);
  7202. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7203. segment.report(45);
  7204. else {
  7205. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(46))
  7206. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7207. var otherSegment = nodeA.$otherSegments[i];
  7208. if (!otherSegment.$rawSegment) continue;
  7209. if (RR_TRAIL < otherSegment.$typeRank &&
  7210. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7211. DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7212. segment.report(46);
  7213. break
  7214. }
  7215. }
  7216. }
  7217. else if (!nodeB.$isPartial && !nodeB.$inConnectionsLen)
  7218. if (DIR_BA === direction)
  7219. segment.report(45);
  7220. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(47))
  7221. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7222. var otherSegment = nodeB.$otherSegments[i];
  7223. if (!otherSegment.$rawSegment) continue;
  7224. if (RR_TRAIL < otherSegment.$typeRank &&
  7225. (DIR_TWO === otherSegment.$direction || DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7226. DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7227. segment.report(47);
  7228. break
  7229. }
  7230. }
  7231. if (5 < segmentLen && isLimitOk(44) && address.isOkFor(44))
  7232. if (!nodeA.$isPartial && !nodeA.$outConnectionsLen)
  7233. if (DIR_BA === direction)
  7234. segment.report(44);
  7235. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7236. segment.report(44);
  7237. else {
  7238. if (slowChecks && DIR_TWO === direction && nodeA.$otherSegmentsLen && isLimitOk(102))
  7239. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7240. var otherSegment = nodeA.$otherSegments[i];
  7241. if (!otherSegment.$rawSegment) continue;
  7242. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7243. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeAID === otherSegment.$nodeBID ||
  7244. DIR_AB === otherSegment.$direction && nodeAID === otherSegment.$nodeAID)) {
  7245. segment.report(102);
  7246. break
  7247. }
  7248. }
  7249. }
  7250. else if (!nodeB.$isPartial && !nodeB.$outConnectionsLen)
  7251. if (DIR_AB === direction)
  7252. segment.report(44);
  7253. else if (slowChecks && DIR_TWO === direction && nodeB.$otherSegmentsLen && isLimitOk(103))
  7254. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7255. var otherSegment = nodeB.$otherSegments[i];
  7256. if (!otherSegment.$rawSegment) continue;
  7257. if (RR_TRAIL < otherSegment.$typeRank && RT_PRIVATE !== otherSegment.$type &&
  7258. (DIR_TWO === otherSegment.$direction || DIR_BA === otherSegment.$direction && nodeBID === otherSegment.$nodeBID ||
  7259. DIR_AB === otherSegment.$direction && nodeBID === otherSegment.$nodeAID)) {
  7260. segment.report(103);
  7261. break
  7262. }
  7263. }
  7264. if (slowChecks && segment.$isRoutable && !nodeA.$isPartial && !nodeB.$isPartial && nodeA.$otherSegmentsLen > 0 && nodeB.$otherSegmentsLen > 0 && isLimitOk(202) && address.isOkFor(202)) {
  7265. var foundPublicConnection = checkPublicConnection(segment, null);
  7266. if (!foundPublicConnection)
  7267. if (nodeA.$otherSegmentsLen == 1 && nodeB.$otherSegmentsLen == 1) {
  7268. var nodeASegment = nodeA.$otherSegments[0];
  7269. var nodeBSegment = nodeB.$otherSegments[0];
  7270. if (checkPublicConnection(nodeASegment, segment) && checkPublicConnection(nodeBSegment, segment)) foundPublicConnection = true
  7271. }
  7272. if (!foundPublicConnection) segment.report(202)
  7273. }
  7274. if (RR_STREET < typeRank && RT_RAMP !== roadType && !segment.$isRoundabout && segmentLen > 5) {
  7275. if (DIR_AB === direction || DIR_TWO === direction) {
  7276. if (forwardSpeedUnverified && isLimitOk(210) && address.isOkFor(210)) segment.report(210);
  7277. if (!forwardSpeed && isLimitOk(212) && address.isOkFor(212)) segment.report(212);
  7278. if (forwardSpeed) {
  7279. options = getCheckOptions(214, countryCode);
  7280. if (!options[CO_REGEXP].test(forwardSpeed) && isLimitOk(214) && address.isOkFor(214)) segment.report(214)
  7281. }
  7282. }
  7283. if (DIR_BA === direction || DIR_TWO == direction) {
  7284. if (reverseSpeedUnverified && isLimitOk(211) && address.isOkFor(211)) segment.report(211);
  7285. if (!reverseSpeed && isLimitOk(213) && address.isOkFor(213)) segment.report(213);
  7286. if (reverseSpeed) {
  7287. options = getCheckOptions(215, countryCode);
  7288. if (!options[CO_REGEXP].test(reverseSpeed) && isLimitOk(215) && address.isOkFor(215)) segment.report(215)
  7289. }
  7290. }
  7291. }
  7292. if (DIR_UNKNOWN === direction && isLimitOk(25) && address.isOkFor(25)) segment.report(25);
  7293. if (!(nodeAID && nodeBID) && isLimitOk(35) && address.isOkFor(35)) segment.report(35);
  7294. if (RR_PRIMARY > typeRank) {
  7295. if (nodeAID && nodeBID && address.isOkFor(200)) {
  7296. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(200)) segment.report(200);
  7297. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(300)) segment.report(300)
  7298. }
  7299. } else if (nodeAID && nodeBID && address.isOkFor(201)) {
  7300. if (!segment.$isTurnALocked && nodeA.$otherSegmentsLen && isLimitOk(201)) segment.report(201);
  7301. if (!segment.$isTurnBLocked && nodeB.$otherSegmentsLen && isLimitOk(301)) segment.report(301)
  7302. }
  7303. if ((DIR_AB === direction && nodeA.$outConnectionsLen || DIR_BA === direction && nodeA.$inConnectionsLen) && isLimitOk(41) && address.isOkFor(41)) segment.report(41);
  7304. if ((DIR_BA === direction && nodeB.$outConnectionsLen || DIR_AB === direction && nodeB.$inConnectionsLen) && isLimitOk(42) && address.isOkFor(42)) segment.report(42);
  7305. if (!nodeA.$isPartial) {
  7306. if (slowChecks && 5 < segmentLen && !nodeA.$otherSegmentsLen && nodeA.$rawNode.geometry.bounds && isLimitOk(107) && address.isOkFor(107)) {
  7307. var IDs = nodeA.$rawNode.attributes.segIDs;
  7308. var pt = new OpenLayers.Geometry.Point(nodeA.$rawNode.geometry.bounds.left, nodeA.$rawNode.geometry.bounds.bottom);
  7309. for (var segKey in WMo.segments.objects) {
  7310. var seg = WMo.segments.objects[segKey];
  7311. if (segmentID === seg.getID()) continue;
  7312. if (!seg.geometry) continue;
  7313. if (elevation !== seg.attributes.level) continue;
  7314. if ('Delete' === seg.state) continue;
  7315. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7316. if (LIMIT_TOLERANCE > seg.geometry.distanceTo(pt, null)) {
  7317. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7318. segment.report(107);
  7319. break
  7320. }
  7321. }
  7322. }
  7323. if (nodeA.$isUturn)
  7324. if (slowChecks && 1 === nodeA.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeA.$outConnections[0].$isRoundabout) segment.report(99);
  7325. if (slowChecks && nodeA.$otherSegmentsLen && !isRoundabout && isLimitOk(78) && address.isOkFor(78))
  7326. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7327. var otherSegment = nodeA.$otherSegments[i];
  7328. if (!otherSegment.$rawSegment) continue;
  7329. if (RR_TRAIL < otherSegment.$typeRank && nodeAID && nodeBID &&
  7330. (otherSegment.$nodeAID === nodeAID && otherSegment.$nodeBID === nodeBID || otherSegment.$nodeAID === nodeBID && otherSegment.$nodeBID === nodeAID))
  7331. if (otherSegment.$typeRank > typeRank || otherSegment.$length < segmentLen && otherSegment.$typeRank === typeRank ||
  7332. otherSegment.$segmentID < segmentID && otherSegment.$length === segmentLen && otherSegment.$typeRank === typeRank) {
  7333. segment.report(78);
  7334. break
  7335. }
  7336. }
  7337. if (!nodeB.$isPartial) {
  7338. options = getCheckOptions(109, countryCode);
  7339. if (options[CO_NUMBER] > segmentLen && nodeA.$otherSegmentsLen && nodeB.$otherSegmentsLen && !isRoundabout && address.isOkFor(109)) segment.report(109);
  7340. if (slowChecks && 15 > segmentLen && !streetLen && 2 === nodeA.$otherSegmentsLen && 2 === nodeB.$otherSegmentsLen && isLimitOk(79) && address.isOkFor(79) &&
  7341. nodeA.$otherSegments[0].$rawSegment && nodeA.$otherSegments[1].$rawSegment && nodeB.$otherSegments[0].$rawSegment && nodeB.$otherSegments[1].$rawSegment &&
  7342. nodeA.$otherSegments[0].$address.$street && nodeA.$otherSegments[0].$type === nodeA.$otherSegments[1].$type && nodeB.$otherSegments[0].$type === nodeB.$otherSegments[1].$type &&
  7343. nodeA.$otherSegments[0].$address.$street === nodeA.$otherSegments[1].$address.$street && nodeB.$otherSegments[0].$address.$street === nodeB.$otherSegments[1].$address.$street &&
  7344. nodeA.$otherSegments[0].$address.$street === nodeB.$otherSegments[0].$address.$street) {
  7345. if ((DIR_TWO === direction || DIR_BA === direction) && 1 === nodeA.$outConnectionsLen && 2 > nodeA.$inConnectionsLen && 1 === nodeB.$inConnectionsLen && 2 > nodeB.$outConnectionsLen)
  7346. segment.report(79);
  7347. if ((DIR_TWO === direction || DIR_AB === direction) && 1 === nodeB.$outConnectionsLen && 2 > nodeB.$inConnectionsLen && 1 === nodeA.$inConnectionsLen && 2 > nodeA.$outConnectionsLen)
  7348. segment.report(79)
  7349. }
  7350. }
  7351. }
  7352. if (!nodeB.$isPartial) {
  7353. if (slowChecks && 5 < segmentLen && !nodeB.$otherSegmentsLen && nodeB.$rawNode.geometry.bounds && isLimitOk(108) && address.isOkFor(108)) {
  7354. var IDs = nodeB.$rawNode.attributes.segIDs;
  7355. var pt = new OpenLayers.Geometry.Point(nodeB.$rawNode.geometry.bounds.left, nodeB.$rawNode.geometry.bounds.bottom);
  7356. for (var segKey in WMo.segments.objects) {
  7357. var seg = WMo.segments.objects[segKey];
  7358. if (segmentID === seg.getID()) continue;
  7359. if (!seg.geometry) continue;
  7360. if (elevation !== seg.attributes.level) continue;
  7361. if ('Delete' === seg.state) continue;
  7362. if (RR_TRAIL >= SimpleOBJECT.prototype.getTypeRank(seg.attributes.roadType)) continue;
  7363. if (LIMIT_TOLERANCE > seg.geometry.distanceTo(pt, null)) {
  7364. if (!seg.arePropertiesEditable()) segment.$forceNonEditable = true;
  7365. segment.report(108);
  7366. break
  7367. }
  7368. }
  7369. }
  7370. if (nodeB.$isUturn) {
  7371. if (!nodeB.$otherSegmentsLen && isLimitOk(77) && address.isOkFor(77)) segment.report(77);
  7372. if (slowChecks && 1 === nodeB.$outConnectionsLen && isLimitOk(99) && address.isOkFor(99) && nodeB.$outConnections[0].$isRoundabout) segment.report(99)
  7373. }
  7374. }
  7375. if (RT_FREEWAY === roadType) {
  7376. if (0 !== elevation && isLimitOk(110) && address.isOkFor(110)) segment.report(110);
  7377. options = getCheckOptions(150, countryCode);
  7378. if (options[CO_NUMBER] > lock && isLimitOk(150) && address.isOkFor(150)) segment.report(150);
  7379. if (DIR_TWO === direction && address.isOkFor(90)) segment.report(90)
  7380. }
  7381. if (RT_MAJOR === roadType) {
  7382. options = getCheckOptions(151, countryCode);
  7383. if (options[CO_NUMBER] > lock && isLimitOk(151) && address.isOkFor(151)) segment.report(151)
  7384. }
  7385. if (RT_MINOR === roadType) {
  7386. options = getCheckOptions(152, countryCode);
  7387. if (options[CO_NUMBER] > lock && isLimitOk(152) && address.isOkFor(152)) segment.report(152)
  7388. }
  7389. if (RT_RAMP === roadType) {
  7390. if (DIR_TWO === direction && isLimitOk(91) && address.isOkFor(91)) segment.report(91);
  7391. options = getCheckOptions(153, countryCode);
  7392. if (options[CO_NUMBER] > lock && isLimitOk(153) && address.isOkFor(153)) segment.report(153)
  7393. }
  7394. if (RT_PRIMARY === roadType) {
  7395. options = getCheckOptions(154, countryCode);
  7396. if (options[CO_NUMBER] > lock && isLimitOk(154) && address.isOkFor(154)) segment.report(154)
  7397. }
  7398. if (RT_STREET === roadType) {
  7399. options = getCheckOptions(155, countryCode);
  7400. if (options[CO_NUMBER] > lock && isLimitOk(155) && address.isOkFor(155)) segment.report(155)
  7401. }
  7402. if (RT_PARKING === roadType) {
  7403. options = getCheckOptions(156, countryCode);
  7404. if (options[CO_NUMBER] > lock && isLimitOk(156) && address.isOkFor(156)) segment.report(156)
  7405. }
  7406. if (RT_RAILROAD === roadType) {
  7407. options = getCheckOptions(157, countryCode);
  7408. if (options[CO_NUMBER] > lock && isLimitOk(157) && address.isOkFor(157)) segment.report(157)
  7409. }
  7410. if (RT_PRIVATE === roadType) {
  7411. options = getCheckOptions(158, countryCode);
  7412. if (options[CO_NUMBER] > lock && isLimitOk(158) && address.isOkFor(158)) segment.report(158)
  7413. }
  7414. } else if (slowChecks && !hasHNs && RT_RAILROAD !== roadType) {
  7415. if (nodeA.$otherSegmentsLen && (nodeB.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(114) && address.isOkFor(114))
  7416. for (var i = 0; i < nodeA.$otherSegmentsLen; i++) {
  7417. var otherSegment = nodeA.$otherSegments[i];
  7418. if (!otherSegment.$rawSegment) continue;
  7419. if (RR_TRAIL < otherSegment.$typeRank) {
  7420. segment.report(114);
  7421. break
  7422. }
  7423. }
  7424. if (nodeB.$otherSegmentsLen && (nodeA.$otherSegmentsLen || 300 < segmentLen) && isLimitOk(115) && address.isOkFor(115))
  7425. for (var i = 0; i < nodeB.$otherSegmentsLen; i++) {
  7426. var otherSegment = nodeB.$otherSegments[i];
  7427. if (!otherSegment.$rawSegment) continue;
  7428. if (RR_TRAIL < otherSegment.$typeRank) {
  7429. segment.report(115);
  7430. break
  7431. }
  7432. }
  7433. }
  7434. if (streetLen) {
  7435. 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};
  7436. var checkIDID = {160: 70, 161: 71, 162: 72};
  7437. for (var i in checkIDType) {
  7438. i = +i;
  7439. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7440. var rType = checkIDType[i];
  7441. options = getCheckOptions(i, countryCode);
  7442. if (rType === roadType || !rType) {
  7443. if (matchRegExp(i, segmentID, street, options)) segment.report(i)
  7444. } else {
  7445. var mi = checkIDID[i];
  7446. if (mi && address.isOkFor(mi) && !matchRegExp(i, segmentID, street, options)) segment.report(mi)
  7447. }
  7448. }
  7449. for (var i = CK_STREETNAMEFIRST; i <= CK_STREETNAMELAST; i++) {
  7450. if (!isLimitOk(i) || !address.isOkFor(i)) continue;
  7451. if (matchRegExp(i, segmentID, street, getCheckOptions(i, countryCode))) segment.report(i)
  7452. }
  7453. if (cityLen && RT_RAMP === roadType && isLimitOk(57) && address.isOkFor(57)) segment.report(57);
  7454. if (-1 !== street.indexOf('CONST ZN') && isLimitOk(117) && address.isOkFor(117)) segment.report(117);
  7455. if (RT_RAMP !== roadType && -1 !== street.indexOf('.') && isLimitOk(95) && address.isOkFor(95)) segment.report(95);
  7456. if (RT_RAMP === roadType)
  7457. if (DIR_TWO === direction)
  7458. if (isLimitOk(28) && address.isOkFor(28)) segment.report(28);
  7459. if (RR_RAMP > typeRank) {
  7460. options = getCheckOptions(73, countryCode);
  7461. if (options[CO_NUMBER] > streetLen && isLimitOk(73) && address.isOkFor(73)) segment.report(73)
  7462. }
  7463. if (isDrivable)
  7464. if (RT_RAMP === roadType) {
  7465. options = getCheckOptions(112, countryCode);
  7466. if (options[CO_NUMBER] < streetLen && isLimitOk(112) && address.isOkFor(112)) segment.report(112)
  7467. } else {
  7468. options = getCheckOptions(52, countryCode);
  7469. if (options[CO_NUMBER] < streetLen && isLimitOk(52) && address.isOkFor(52)) segment.report(52)
  7470. }
  7471. }
  7472. if (isRoundabout && isDrivable) {
  7473. if (streetLen && isLimitOk(29) && address.isOkFor(29)) segment.report(29);
  7474. if (DIR_TWO === direction && address.isOkFor(48)) segment.report(48);
  7475. if (!nodeA.$isPartial && 2 < nodeA.$otherSegmentsLen)
  7476. if (2 < nodeA.$outConnectionsLen) {
  7477. if (address.isOkFor(87)) segment.report(87)
  7478. } else if (address.isOkFor(74))
  7479. segment.report(74);
  7480. if (slowChecks && !isPartial && (DIR_AB === direction || DIR_BA === direction)) {
  7481. var okA = false;
  7482. var okB = false;
  7483. var anode, bnode;
  7484. if (DIR_AB === direction)
  7485. anode = nodeA, bnode = nodeB;
  7486. else
  7487. anode = nodeB, bnode = nodeA;
  7488. for (var i = 0; i < bnode.$outConnectionsLen; i++) {
  7489. var otherSegment = bnode.$outConnections[i];
  7490. if (otherSegment.$isRoundabout) {
  7491. okB = true;
  7492. break
  7493. }
  7494. }
  7495. if (okB)
  7496. for (var i = 0; i < anode.$inConnectionsLen; i++) {
  7497. var otherSegment = anode.$inConnections[i];
  7498. if (otherSegment.$isRoundabout) {
  7499. okA = true;
  7500. break
  7501. }
  7502. }
  7503. if ((!okB || !okA) && address.isOkFor(50)) segment.report(50)
  7504. }
  7505. }
  7506. HLObject(rawSegment)
  7507. }
  7508. if (_UI.pMain.pFilter.oEnablePlaces.CHECKED)
  7509. for (var venueKey in WMo.venues.objects) {
  7510. var rawVenue = WMo.venues.objects[venueKey];
  7511. var venueID = rawVenue.getID();
  7512. if (rawVenue.layer && rawVenue.id in rawVenue.layer.unrenderedFeatures) continue;
  7513. if ('Delete' === rawVenue.state) continue;
  7514. if (rawVenue.outOfScope) continue;
  7515. var seen = null;
  7516. if (venueID in _RT.$seen) seen = _RT.$seen[venueID];
  7517. if (rawVenue.selected) {
  7518. selectedObjects.push(venueID);
  7519. _RT.$revalidate[venueID] = true;
  7520. if (seen) {
  7521. deleteSeenObject(venueID);
  7522. seen = null
  7523. }
  7524. } else if (segmentID in _RT.$revalidate) {
  7525. deleteSeenObject(venueID);
  7526. seen = null;
  7527. delete _RT.$revalidate[segmentID]
  7528. }
  7529. if (seen) {
  7530. HLObject(rawVenue);
  7531. continue
  7532. }
  7533. var venue = new SimpleOBJECT(venueID, WMo.venues);
  7534. Object.seal(venue);
  7535. var address = venue.$address;
  7536. var country = address.$country;
  7537. var countryCode = country ? _I18n.getCountryCode(country.toUpperCase()) : _RT.$cachedTopCCode;
  7538. var city = address.$city;
  7539. var cityLen = city.length;
  7540. var cityID = address.$cityID;
  7541. var street = address.$street;
  7542. var streetLen = street.length;
  7543. var lock = venue.$lock;
  7544. _RT.$seen[venueID] = seen = [0, null, false, false, 16 > currentZoom, cityID];
  7545. venue.incCityCounter();
  7546. if (venue.$isEditable) _REP.$isEditableFound = true;
  7547. if (!cityLen && isLimitOk(250)) {
  7548. options = getCheckOptions(250, countryCode);
  7549. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(250)) venue.report(250)
  7550. }
  7551. if (!streetLen && isLimitOk(251)) {
  7552. options = getCheckOptions(251, countryCode);
  7553. if (!options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(251)) venue.report(251)
  7554. }
  7555. if (isLimitOk(252)) {
  7556. options = getCheckOptions(252, countryCode);
  7557. if (options[CO_REGEXP].test(venue.$updatedByID.toString()) || options[CO_REGEXP].test(venue.$updatedBy.toString()) && address.isOkFor(252)) venue.report(252)
  7558. }
  7559. if (venue.$categories.indexOf('OTHER') > -1 && isLimitOk(253) && address.isOkFor(253)) venue.report(253);
  7560. if (venue.$entryExitPoints && venue.$entryExitPoints.length && isLimitOk(254)) {
  7561. var stopPoint = venue.$entryExitPoints[0].getPoint();
  7562. var areaCenter = venue.$geometry.getCentroid();
  7563. if (stopPoint.equals(areaCenter) && address.isOkFor(254)) venue.report(254)
  7564. }
  7565. if (venue.$phone && isLimitOk(255)) {
  7566. options = getCheckOptions(255, countryCode);
  7567. if (!options[CO_REGEXP].test(venue.$phone) && address.isOkFor(255)) venue.report(255)
  7568. }
  7569. if (venue.$url && isLimitOk(256)) {
  7570. options = getCheckOptions(256, countryCode);
  7571. if (!options[CO_REGEXP].test(venue.$url) && address.isOkFor(256)) venue.report(256)
  7572. }
  7573. if (venue.$isPoint && isLimitOk(257)) {
  7574. options = getCheckOptions(257, countryCode);
  7575. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(257)) venue.report(257)
  7576. } else if (isLimitOk(258)) {
  7577. options = getCheckOptions(258, countryCode);
  7578. if (options[CO_REGEXP].test(venue.$categories[0]) && address.isOkFor(258)) venue.report(258)
  7579. }
  7580. if (isLimitOk(259)) {
  7581. options = getCheckOptions(259, countryCode);
  7582. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(259)) venue.report(259)
  7583. }
  7584. if (isLimitOk(260)) {
  7585. options = getCheckOptions(260, countryCode);
  7586. if (options[CO_REGEXP].test(venue.$categories[0]) && options[CO_NUMBER] > lock && address.isOkFor(260)) venue.report(260)
  7587. }
  7588. if (venue.$rawObject.isParkingLot()) {
  7589. var catAttr = venue.$categoryAttributes;
  7590. var parkAttr = catAttr ? catAttr.PARKING_LOT : undefined;
  7591. if ((!parkAttr || !parkAttr.parkingType) && address.isOkFor(270)) venue.report(270);
  7592. if ((!parkAttr || !parkAttr.costType || parkAttr.costType === 'UNKNOWN') && address.isOkFor(271)) venue.report(271);
  7593. if (parkAttr && parkAttr.costType && parkAttr.costType !== 'FREE' && parkAttr.costType !== 'UNKNOWN' && (!parkAttr.paymentType || !parkAttr.paymentType.length) && address.isOkFor(272))
  7594. venue.report(272);
  7595. if ((!parkAttr || !parkAttr.lotType || parkAttr.lotType.length === 0) && address.isOkFor(273)) venue.report(273);
  7596. if ((!venue.$entryExitPoints || !venue.$entryExitPoints.length) && address.isOkFor(274)) venue.report(274)
  7597. }
  7598. if (venue.$rawObject.isGasStation())
  7599. if (isLimitOk(275) && venue.$name.toLowerCase().indexOf(venue.$brand.toLowerCase().split(' ')[0]) === -1 && address.isOkFor(275)) venue.report(275)
  7600. }
  7601. if (bUpdateMaxSeverity && (RTStateIs(ST_STOP) || RTStateIs(ST_PAUSE))) async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  7602. updateObjectProperties(selectedObjects, false);
  7603. addHLedObjects()
  7604. };
  7605. function F_LOGIN() {
  7606. log('login ' + WLM.user.userName);
  7607. _WV.parseAccessList = function(s) {
  7608. var a = s.split(/\s*,\s*/);
  7609. var res = [];
  7610. a.forEach(function(r, i) {
  7611. var n = false;
  7612. if ('!' === r.charAt(0)) n = true, r = r.slice(1);
  7613. res[i] = { $id: r, $not: n }
  7614. });
  7615. return res
  7616. };
  7617. _WV.checkAccessFor = function(forStr, cmpFunc) {
  7618. if (!forStr) return true;
  7619. var l = _WV.parseAccessList(forStr);
  7620. if (!l.length) return true;
  7621. for (var i = 0; i < l.length; i++) {
  7622. var r = l[i];
  7623. if ('*' === r.$id || cmpFunc(r.$id))
  7624. if (r.$not)
  7625. return false;
  7626. else
  7627. return true
  7628. }
  7629. return false
  7630. };
  7631. function mirrorChecks(defTranslation) {
  7632. var allLabels = _RT.$otherLabels.concat(_RT.$textLabels);
  7633. for (var i = CK_MIRRORFIRST; i <= CK_MIRRORLAST; i++)
  7634. allLabels.forEach(function(l) {
  7635. var label = i + '.' + l;
  7636. if (!(label in defTranslation)) return;
  7637. var value = defTranslation[label];
  7638. var mLabel = i + 100 + '.' + l;
  7639. switch (l) {
  7640. case 'title':
  7641. case 'problem':
  7642. case 'solution':
  7643. defTranslation[mLabel] = value.replace(/ A($|\b)/g, ' B');
  7644. break;
  7645. case 'params':
  7646. defTranslation[mLabel] = deepCopy(value);
  7647. break;
  7648. default:
  7649. defTranslation[mLabel] = value;
  7650. break
  7651. }
  7652. })
  7653. }
  7654. _RT = {
  7655. $textLabels: ['title', 'problem', 'solution'],
  7656. $otherLabels: ['enabled', 'color', 'severity', 'reportOnly', 'params', 'problemLink', 'solutionLink'],
  7657. $curMaxSeverity: RS_ERROR,
  7658. $RegExp1: '',
  7659. $RegExp2: '',
  7660. oReportWMECH: {FORID: '_cbHighlightLocked', CHECKED: false, NA: true},
  7661. oReportToolbox: {FORID: 'WMETB_NavBar', CHECKED: false, NA: true},
  7662. $isMapChanged: false,
  7663. $lng: I18n.locale.toUpperCase(),
  7664. $includeUpdatedByCache: {},
  7665. $includeUpdatedSinceTime: 0,
  7666. $includeCityNameCache: {},
  7667. $includeChecksCache: {},
  7668. $switchValidator: false,
  7669. $HLlayer: null,
  7670. $HLedObjects: {},
  7671. $isGlobalAccess: false,
  7672. $timer: {$secInRun: 0, $lastUpdate: 0},
  7673. $curMessage: {TEXT: '', TITLE: '', CLASS: CL_MSG},
  7674. $topCity: null,
  7675. $cachedTopCCode: '',
  7676. $topUser: {
  7677. $userID: WLM.user.id,
  7678. $userName: WLM.user.userName,
  7679. $userLevel: WLM.user.normalizedLevel,
  7680. $isCM: WLM.user.editableCountryIDs ? 0 !== WLM.user.editableCountryIDs.length : false,
  7681. $countryIDs: WLM.user.editableCountryIDs ? WLM.user.editableCountryIDs : []
  7682. },
  7683. $topCenter: null,
  7684. $WDmoveID: -1,
  7685. $WDloadID: -1,
  7686. $layersVisibility: '',
  7687. $state: ST_STOP,
  7688. $direction: DIR_L2R,
  7689. $firstStep: true,
  7690. $startExtent: null,
  7691. $startCenter: null,
  7692. $startZoom: null,
  7693. $nextCenter: null,
  7694. $moveEndCenter: null,
  7695. $seen: {},
  7696. $revalidate: {},
  7697. $curUserName: WLM.user.userName,
  7698. $error: false,
  7699. $reportEditableNotFound: false,
  7700. $checks: {},
  7701. $sortedCheckIDs: null,
  7702. $WMECHcolors: {},
  7703. $untranslatedLngs: ['IT']
  7704. };
  7705. _RT.$checks = {
  7706. 0: {
  7707. SEVERITY: RS_MAX,
  7708. REPORTONLY: false,
  7709. TITLE: 'Global access list to test before any of the checks below',
  7710. FORCOUNTRY: GA_FORCOUNTRY,
  7711. FORCITY: GA_FORCITY,
  7712. FORUSER: GA_FORUSER,
  7713. FORLEVEL: GA_FORLEVEL,
  7714. OPTIONS: {},
  7715. COLOR: '',
  7716. PROBLEM: '',
  7717. PROBLEMLINK: '',
  7718. PROBLEMLINKTEXT: '',
  7719. SOLUTION: '',
  7720. SOLUTIONLINK: '',
  7721. SOLUTIONLINKTEXT: ''
  7722. }
  7723. };
  7724. _I18n.init({$lng: _RT.$lng});
  7725. var defTranslation = _translations[_I18n.$defLng];
  7726. var defTBProblem = 'The segment is highlighted by WME Toolbox. It is not a problem';
  7727. var defTBProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Toolbox';
  7728. var TBchecks = [
  7729. [
  7730. '#3030FF', 'W', , 'Roundabout which may cause issues', 'Junction IDs of the roundabout segments are not consecutive', '', 'Redo the roundabout',
  7731. 'W:Creating_and_Editing_a_roundabout#Improving_manually_drawn_roundabouts'
  7732. ],
  7733. [
  7734. '#FF30FF', , , 'Simple segment', 'The segment has unneeded geometry nodes', , 'Simplify segment geometry by hovering mouse pointer and pressing "d" key',
  7735. 'W:Creating_and_Editing_street_segments#Adjusting_road_geometry_.28nodes.29'
  7736. ],
  7737. ['#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'],
  7738. ['#00A8FF', , true, 'House numbers'], ['#F7B020', , true, 'Segment with time restrictions']
  7739. ];
  7740. for (var i = CK_TBFIRST; i <= CK_TBLAST; i++) {
  7741. var cc = TBchecks[i - CK_TBFIRST];
  7742. var cp = cc[4] || defTBProblem;
  7743. var cpl = cc[5];
  7744. if (!classCodeDefined(cpl)) cpl = defTBProblemLink;
  7745. defTranslation[i + '.enabled'] = true;
  7746. defTranslation[i + '.color'] = cc[0];
  7747. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7748. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7749. defTranslation[i + '.title'] = 'WME Toolbox: ' + cc[3];
  7750. defTranslation[i + '.problem'] = cp;
  7751. if (cpl) defTranslation[i + '.problemLink'] = cpl;
  7752. if (cc[6]) defTranslation[i + '.solution'] = cc[6];
  7753. if (cc[7]) defTranslation[i + '.solutionLink'] = cc[7]
  7754. }
  7755. var defWMECHProblem = 'The segment is highlighted by WME Color Highlights. It is not a problem';
  7756. var defWMECHProblemLink = 'W:Community_Plugins,_Extensions_and_Tools#WME_Color_Highlights_.28WMECH.29';
  7757. var WMECHchecks = [
  7758. ['#000000', , true, 'Editor lock'], ['#0000FF', , true, 'Toll road / One way road'], ['#00FF00', , true, 'Recently edited'], ['#880000', , true, 'Road rank'], ['#888888', , true, 'No city'],
  7759. ['#990099', , true, 'Time restriction / Highlighted road type'], ['#FFBB00', , true, 'No name'], ['#FFFF00', , true, 'Filter by city'], ['#FFFF01', , true, 'Filter by city (alt. city)'],
  7760. ['#00FF00', , true, 'Filter by editor']
  7761. ];
  7762. for (var i = CK_WMECHFIRST; i <= CK_WMECHLAST; i++) {
  7763. var cc = WMECHchecks[i - CK_WMECHFIRST];
  7764. var cp = defWMECHProblem;
  7765. var cpl = defWMECHProblemLink;
  7766. defTranslation[i + '.enabled'] = true;
  7767. defTranslation[i + '.color'] = cc[0];
  7768. if (cc[1]) defTranslation[i + '.severity'] = cc[1];
  7769. if (cc[2]) defTranslation[i + '.reportOnly'] = cc[2];
  7770. defTranslation[i + '.title'] = 'WME Color Highlights: ' + cc[3];
  7771. defTranslation[i + '.problem'] = cp;
  7772. if (cpl) defTranslation[i + '.problemLink'] = cpl
  7773. }
  7774. var streetNames = ['Freeway', 'Major Highway', 'Minor Highway', 'Ramp', 'Primary Street', 'Street', 'Parking Lot Road', 'Railroad', 'Private Road'];
  7775. for (var i = CK_TYPEFIRST; i <= CK_TYPELAST; i++) {
  7776. var streetName = streetNames[i - CK_TYPEFIRST];
  7777. defTranslation[i + '.severity'] = 'W';
  7778. defTranslation[i + '.title'] = 'Must be a ' + streetName;
  7779. defTranslation[i + '.problem'] = 'This segment must be a ' + streetName;
  7780. defTranslation[i + '.solution'] = 'Set the road type to ' + streetName + ' or change the road name'
  7781. }
  7782. for (var i = CK_CUSTOMFIRST; i <= CK_CUSTOMLAST; i++) {
  7783. defTranslation[i + '.title'] = 'Custom check';
  7784. defTranslation[i + '.severity'] = 'W';
  7785. defTranslation[i + '.problem'] = 'The segment matched custom conditions';
  7786. defTranslation[i + '.solution'] = 'Solve the issue';
  7787. defTranslation[i + '.params'] = {
  7788. 'template.title': '{string} expandable template',
  7789. 'template': '${street}',
  7790. 'regexp.title': '{string} regular expression to match the template',
  7791. 'regexp': '!/.+/',
  7792. 'titleEN.title': '{string} check title in English',
  7793. 'titleEN': '',
  7794. 'problemEN.title': '{string} problem description in English',
  7795. 'problemEN': '',
  7796. 'solutionEN.title': '{string} solution instructions in English',
  7797. 'solutionEN': ''
  7798. }
  7799. }
  7800. var lockLevels = {150: 5, 151: 4, 152: 3, 153: 4, 154: 2, 155: 0, 156: 0, 157: 2, 158: 2};
  7801. for (var i = CK_LOCKFIRST; i <= CK_LOCKLAST; i++) {
  7802. var lockName = streetNames[i - CK_LOCKFIRST];
  7803. var lockLevel = lockLevels[i];
  7804. defTranslation[i + '.title'] = 'No lock on ' + lockName;
  7805. defTranslation[i + '.problem'] = 'The ' + lockName + ' segment should be locked at least to Lvl ${n}';
  7806. defTranslation[i + '.solution'] = 'Lock the segment';
  7807. defTranslation[i + '.params'] = { 'n.title': '{number} minimum lock level', 'n': lockLevel }
  7808. }
  7809. var streetRegExps = {160: '!/^[AS][0-9]{1,2}/', 161: '!/^[0-9]{1,2}/', 162: '!/^[0-9]{1,3}/', 163: '!/^[AS]?[0-9]* ?> /'};
  7810. var streetDefRegExp = '!/.?/';
  7811. for (var i = CK_STREETTNFIRST; i <= CK_STREETTNLAST; i++) {
  7812. var streetName = streetNames[i - CK_STREETTNFIRST];
  7813. var streetRegExp = streetRegExps[CK_STREETTNFIRST] || streetDefRegExp;
  7814. if (i < 165 || i > 167) defTranslation[i + '.severity'] = 'W';
  7815. defTranslation[i + '.title'] = 'Incorrect ' + streetName + ' name';
  7816. defTranslation[i + '.problem'] = 'The ' + streetName + ' segment has incorrect street name';
  7817. defTranslation[i + '.solution'] = 'Rename the segment in accordance with the guidelines';
  7818. defTranslation[i + '.params'] = { 'regexp.title': '{string} regular expression to match incorrect ' + streetName + ' name', 'regexp': streetRegExp }
  7819. }
  7820. mirrorChecks(defTranslation);
  7821. var listOfIntPacks = '';
  7822. for (var translationsKey in _translations) {
  7823. var translation = _translations[translationsKey];
  7824. mirrorChecks(translation);
  7825. _I18n.addTranslation(translation);
  7826. var country = translation['.country'];
  7827. if (!country) continue;
  7828. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7829. country = country.split(' ').join('&nbsp;');
  7830. if (listOfIntPacks) listOfIntPacks += ', ';
  7831. if ('.lng' in translation)
  7832. listOfIntPacks += '<b>' + country + '*';
  7833. else
  7834. listOfIntPacks += country;
  7835. if ('.author' in translation) listOfIntPacks += ' by&nbsp;' + translation['.author'];
  7836. if ('.lng' in translation) listOfIntPacks += '</b>';
  7837. if ('.updated' in translation) listOfIntPacks += ' (' + translation['.updated'] + ')'
  7838. }
  7839. listOfIntPacks += '.';
  7840. listOfIntPacks += '<br>* localization pack with translations';
  7841. var listOfPacks = '';
  7842. for (var gObject in window) {
  7843. if (!window.hasOwnProperty(gObject)) continue;
  7844. if (-1 !== gObject.indexOf('WME_Validator')) {
  7845. var translation = window[gObject];
  7846. log('found localization pack: ' + gObject.replace('WME_Validator_', ''));
  7847. mirrorChecks(translation);
  7848. _I18n.addTranslation(translation);
  7849. if ('.country' in translation) {
  7850. var country = translation['.country'];
  7851. if (classCodeIs(country, CC_ARRAY)) country = country[0];
  7852. listOfPacks += '<b>' + country;
  7853. if ('.author' in translation) listOfPacks += ' by&nbsp;' + translation['.author'];
  7854. listOfPacks += '</b>';
  7855. if (!('.lng' in translation)) listOfPacks += '<br>(does not include translations)';
  7856. if ('.updated' in translation) {
  7857. listOfPacks += '<br>Updated: ' + translation['.updated'];
  7858. if ('.link' in translation && translation['.link']) listOfPacks += ' <a target="_blank" href="' + translation['.link'] + '">check&nbsp;for&nbsp;updates</a>'
  7859. }
  7860. listOfPacks += '<br>'
  7861. }
  7862. }
  7863. }
  7864. listOfPacks = listOfPacks ? listOfPacks : 'No external localization packs found';
  7865. listOfPacks += '<br><b>See</b> <a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">' +
  7866. 'how to create a localization pack</a>';
  7867. for (var i = 1; i < MAX_CHECKS; i++) {
  7868. var check = {ENABLED: {}, PROBLEMLINK: {}, PROBLEMLINKTEXT: {}, SOLUTIONLINK: {}, SOLUTIONLINKTEXT: {}};
  7869. var label = i + '.title';
  7870. if (!_I18n.isLabelExist(label)) continue;
  7871. check.TITLE = trS(label);
  7872. label = i + '.color';
  7873. if (_I18n.isLabelExist(label)) {
  7874. var col = trS(label).toUpperCase();
  7875. check.COLOR = col;
  7876. if (CK_WMECHFIRST <= i && CK_WMECHLAST >= i) _RT.$WMECHcolors[col] = true
  7877. }
  7878. label = i + '.problem';
  7879. if (_I18n.isLabelExist(label)) check.PROBLEM = trS(label);
  7880. label = i + '.solution';
  7881. if (_I18n.isLabelExist(label)) check.SOLUTION = trS(label);
  7882. label = i + '.reportOnly';
  7883. if (_I18n.isLabelExist(label)) check.REPORTONLY = trS(label);
  7884. label = i + '.severity';
  7885. var s = 'N';
  7886. if (_I18n.isLabelExist(label)) s = trS(label);
  7887. if (s) switch (s.charAt(0)) {
  7888. case 'w':
  7889. case 'W':
  7890. check.SEVERITY = RS_WARNING;
  7891. break;
  7892. case 'e':
  7893. case 'E':
  7894. check.SEVERITY = RS_ERROR;
  7895. break;
  7896. case '1':
  7897. check.SEVERITY = RS_CUSTOM1;
  7898. break;
  7899. case '2':
  7900. check.SEVERITY = RS_CUSTOM2;
  7901. break;
  7902. default:
  7903. check.SEVERITY = RS_NOTE;
  7904. break
  7905. }
  7906. else
  7907. check.SEVERITY = RS_NOTE;
  7908. label = i + '.enabled';
  7909. var labelP = i + '.params';
  7910. var labelPL = i + '.problemLink';
  7911. var labelSL = i + '.solutionLink';
  7912. var defEnabled = false;
  7913. var arrCodes = [];
  7914. for (var ccode in _I18n.$translations) {
  7915. var translation = _I18n.$translations[ccode];
  7916. if (label in translation) {
  7917. var e = translation[label];
  7918. check.ENABLED[ccode] = e;
  7919. if (_I18n.$defLng === ccode) {
  7920. if (e) defEnabled = true
  7921. } else if (e)
  7922. arrCodes.push(ccode);
  7923. else
  7924. arrCodes.push('!' + ccode)
  7925. }
  7926. if (labelPL in translation) {
  7927. var l = translation[labelPL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM);
  7928. check.PROBLEMLINK[ccode] = encodeURI(l);
  7929. if (-1 !== l.indexOf(PFX_WIKI) || -1 !== l.indexOf(PFX_PEDIA))
  7930. check.PROBLEMLINKTEXT[ccode] = trS('report.link.wiki');
  7931. else if (-1 !== l.indexOf(PFX_FORUM))
  7932. check.PROBLEMLINKTEXT[ccode] = trS('report.link.forum');
  7933. else
  7934. check.PROBLEMLINKTEXT[ccode] = trS('report.link.other')
  7935. }
  7936. if (labelSL in translation) {
  7937. var l = translation[labelSL].replace('W:', PFX_WIKI).replace('P:', PFX_PEDIA).replace('F:', PFX_FORUM);
  7938. check.SOLUTIONLINK[ccode] = encodeURI(l);
  7939. if (-1 !== l.indexOf(PFX_WIKI || -1 !== l.indexOf(PFX_PEDIA)))
  7940. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.wiki');
  7941. else if (-1 !== l.indexOf(PFX_FORUM))
  7942. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.forum');
  7943. else
  7944. check.SOLUTIONLINKTEXT[ccode] = trS('report.link.other')
  7945. }
  7946. if (labelP in translation) {
  7947. var params = translation[labelP];
  7948. if (!check.OPTIONS) check.OPTIONS = {};
  7949. if (!(ccode in check.OPTIONS)) check.OPTIONS[ccode] = params;
  7950. if (params['template']) check.OPTIONS[ccode][CO_STRING] = params['template'];
  7951. if (params['regexp']) _WV.buildRegExp(i, check.OPTIONS[ccode], params['regexp']);
  7952. if (params['n']) check.OPTIONS[ccode][CO_NUMBER] = +params['n']
  7953. }
  7954. }
  7955. if (defEnabled) {
  7956. if (arrCodes.length) check.FORCOUNTRY = arrCodes.join(',') + ',*'
  7957. } else if (arrCodes.length)
  7958. check.FORCOUNTRY = arrCodes.join(',');
  7959. else
  7960. check.FORCOUNTRY = '!*';
  7961. _RT.$checks[i] = check
  7962. }
  7963. var dir = _I18n.getDir();
  7964. var dirLeft = trLeft(dir);
  7965. var dirRight = trRight(dir);
  7966. var cssRules, cssRules2, cssRulesA = '>a{text-decoration:underline;cursor:pointer;pointer-events:auto}';
  7967. _THUI.addElemetClassStyle('div', CL_TABS, '{border-bottom:2px solid #ddd;height:29px}');
  7968. _THUI.addElemetClassStyle('div', CL_TABS, '>input{display:none}');
  7969. _THUI.addElemetClassStyle(
  7970. 'div', CL_TABS,
  7971. '>label{white-space:nowrap;overflow:hidden;max-width:100px;text-overflow:ellipsis;cursor:pointer;display:inline-block;margin:0px;margin-' + dirRight +
  7972. ':3px;padding:4px 12px;border-radius:4px 4px 0 0;background-color:#dadbdc}');
  7973. _THUI.addElemetClassStyle(
  7974. 'div', CL_TABS,
  7975. '>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}');
  7976. _THUI.addElemetClassStyle('div', CL_TABS, '>input:disabled+label{font-weight:bold !important;padding-' + dirLeft + ':0px;color:#333;cursor:default;background-color:transparent}');
  7977. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label:hover{background-color:#fff}');
  7978. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label:hover{background-color:#fff}');
  7979. _THUI.addElemetClassStyle('div', CL_TABS, '>input:enabled+label>span>span.c' + CL_COLLAPSE + '{display:none}');
  7980. _THUI.addElemetClassStyle('div', CL_TABS, '>input:checked+label>span>span.c' + CL_COLLAPSE + '{display:inline}');
  7981. _THUI.addElemetClassStyle(
  7982. 'div', CL_PANEL,
  7983. '{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:' +
  7984. SZ_PANEL_HEIGHT + 'px}');
  7985. _THUI.addElemetClassStyle('div', CL_PANEL, '>span' + cssRulesA);
  7986. _THUI.addElemetClassStyle('div', CL_PANEL, '>label>span' + cssRulesA);
  7987. _THUI.addElemetClassStyle('div', CL_PANEL, '>span>p' + cssRulesA);
  7988. cssRules = '>span{border-radius:5px;background-color:';
  7989. _THUI.addElemetClassStyle('label', 'c1', cssRules + GL_CUSTOM1COLOR + ';color:' + GL_CUSTOM1BGCOLOR + '}');
  7990. _THUI.addElemetClassStyle('label', 'c2', cssRules + GL_CUSTOM2COLOR + ';color:' + GL_CUSTOM2BGCOLOR + '}');
  7991. cssRules = '>span>a{color:white}';
  7992. _THUI.addElemetClassStyle('label', 'c1', cssRules);
  7993. _THUI.addElemetClassStyle('label', 'c2', cssRules);
  7994. _THUI.addElemetClassStyle('div', CL_BUTTONS, '{overflow:hidden;margin-bottom:1em}');
  7995. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button{font-weight:normal;padding:4px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  7996. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button>i{pointer-events:none}');
  7997. _THUI.addElemetClassStyle('div', CL_BUTTONS, '>button:disabled{background-color:#eee;border-bottom:0px;cursor:default;pointer-events:auto}');
  7998. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox{display:block;height:24px;font-weight:normal;margin:0}');
  7999. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.checkbox>span{display:inline-block;height:20px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}');
  8000. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.date{display:block;height:32px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8001. _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}');
  8002. _THUI.addElemetClassStyle(
  8003. 'div', CL_PANEL,
  8004. '>label.date>input[type=date]{box-sizing:border-box;height:28px;padding:2px 10px;padding-' + dirRight + ':2px;float:' + dirRight + ';margin-' + dirRight + ':-155px;width:150px}');
  8005. _THUI.addElemetClassStyle('div', CL_PANEL, '>label.text{display:block;height:30px;font-weight:normal;margin:0;padding-' + dirRight + ':155px}');
  8006. _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}');
  8007. _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}');
  8008. cssRules = '{position:relative;height:2em;width:100%;margin-bottom:';
  8009. cssRules2 = '>span{position:absolute;' + dirLeft + ':0;bottom:0;display:inline-block;padding:4px 12px;margin:0px;border-radius:8px;border-bottom-' + dirLeft +
  8010. '-radius:0;box-shadow:3px 3px 3px #aaa;border:1px solid ';
  8011. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules + '12px}');
  8012. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, cssRules2 + '#aea;background-color:#cfc;' + dirLeft + ':auto;' + dirRight + ':0;border-radius:8px;border-bottom-' + dirRight + '-radius:0}');
  8013. _THUI.addElemetClassStyle('div', CL_TRANSLATETIP, '>span' + cssRulesA);
  8014. _THUI.addElemetClassStyle('div', CL_MSG, cssRules + '1em}');
  8015. _THUI.addElemetClassStyle('div', CL_MSG, cssRules2 + '#ded;background-color:#efe}');
  8016. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules + '1em}');
  8017. _THUI.addElemetClassStyle('div', CL_MSGY, cssRules2 + '#ee9;background-color:#ffa}');
  8018. _THUI.addElemetIdStyle('div', ID_PROPERTY, '{padding-bottom:5px}');
  8019. _THUI.addElemetIdStyle('div', ID_PROPERTY, '>b' + cssRulesA);
  8020. cssRules = '{color:' + GL_NOTECOLOR + '}';
  8021. _THUI.addElemetClassStyle('div', CL_NOTE, cssRules);
  8022. _THUI.addElemetClassStyle('a', CL_NOTE, cssRules);
  8023. cssRules = '{color:' + GL_WARNINGCOLOR + '}';
  8024. _THUI.addElemetClassStyle('div', CL_WARNING, cssRules);
  8025. _THUI.addElemetClassStyle('a', CL_WARNING, cssRules);
  8026. cssRules = '{color:' + GL_ERRORCOLOR + '}';
  8027. _THUI.addElemetClassStyle('div', CL_ERROR, cssRules);
  8028. _THUI.addElemetClassStyle('a', CL_ERROR, cssRules);
  8029. cssRules = '{color:' + GL_CUSTOM1COLOR + '}';
  8030. _THUI.addElemetClassStyle('div', CL_CUSTOM1, cssRules);
  8031. _THUI.addElemetClassStyle('a', CL_CUSTOM1, cssRules);
  8032. cssRules = '{color:' + GL_CUSTOM2COLOR + '}';
  8033. _THUI.addElemetClassStyle('div', CL_CUSTOM2, cssRules);
  8034. _THUI.addElemetClassStyle('a', CL_CUSTOM2, cssRules);
  8035. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '{white-space:nowrap;position:relative;cursor:help}');
  8036. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span{display:inline-block;overflow:hidden;text-overflow:ellipsis;width:279px}');
  8037. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, '>span' + cssRulesA);
  8038. cssRules = ';z-index:1000000;position:absolute;visibility:hidden;opacity:0;transition:0.1s ease;' + dirLeft + ':30px;top:-1.7em;cursor:default}';
  8039. _THUI.addElemetClassStyle(
  8040. 'div', CL_RIGHTTIP, ':before{content:"";position:absolute;border:1em solid transparent;border-' + dirRight + '-color:#ddd;margin-' + dirLeft + ':-2em;margin-top:1.5em' + cssRules);
  8041. _THUI.addElemetClassStyle(
  8042. '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);
  8043. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '{margin-' + dirLeft + ':2em}');
  8044. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, cssRulesA);
  8045. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p{color:black;margin-top:0.5em;margin-bottom:0.5em !important}');
  8046. _THUI.addElemetClassStyle('div', CL_RIGHTTIPDESCR, '>p' + cssRulesA);
  8047. cssRules = '{visibility:visible;opacity:1}';
  8048. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover:before' + cssRules);
  8049. _THUI.addElemetClassStyle('div', CL_RIGHTTIP, ':hover>div' + cssRules);
  8050. _UI = {
  8051. _DISABLED: undefined,
  8052. _NODISPLAY: undefined,
  8053. MAXLENGTH: undefined,
  8054. REVERSE: undefined,
  8055. WARNING: undefined,
  8056. TYPE: undefined,
  8057. FORUSER: undefined,
  8058. FORCITY: undefined,
  8059. FORCOUNTRY: undefined,
  8060. FORLEVEL: undefined,
  8061. ACCESSKEY: undefined,
  8062. STYLEI: '',
  8063. DISCLOSE: 0,
  8064. _NAME: '',
  8065. READONLY: 0,
  8066. _STYLE: '',
  8067. ONWARNING: null,
  8068. ONCHANGE: null,
  8069. _ONCHANGE: undefined,
  8070. ONCLICKO: undefined,
  8071. MIN: undefined,
  8072. MAX: undefined,
  8073. STEP: undefined,
  8074. CLASS: CL_UI,
  8075. _TYPE: _THUI.DIV,
  8076. _ONWARNING: onWarning,
  8077. pTips: {},
  8078. pTranslateBanner: {
  8079. CLASS: CL_TRANSLATETIP,
  8080. TEXT: 'Please help to ' +
  8081. '<a target="_blank" href="' + PFX_FORUM + FORUM_LOCAL + '">' +
  8082. 'translate Validator!</a>',
  8083. TITLE: trS('about.tip')
  8084. },
  8085. pNoAccess: {CLASS: CL_PANEL, NODISPLAY: 1, STYLE: 'text-align:center', TEXT: trS('noaccess.text'), TITLE: trS('noaccess.tip')},
  8086. pMain: {
  8087. pTabs: {
  8088. CLASS: CL_TABS,
  8089. _DISCLOSE: 1,
  8090. _TYPE: _THUI.RADIO,
  8091. _ONCLICK: onUpdateUI,
  8092. tMain: {TEXT: '', TITLE: '', DISABLED: 1, STYLEO: 'cursor:pointer;max-width:97px', ONCLICKO: onUpdateUI},
  8093. tFilter: {
  8094. TEXT: '<i class="fa fa-filter" aria-hidden="true"></i>' +
  8095. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.filter.text') + '</span>',
  8096. TITLE: trS('tab.filter.tip'),
  8097. CHECKED: 1
  8098. },
  8099. tSearch: {
  8100. TEXT: '<i class="fa fa-search" aria-hidden="true"></i>' +
  8101. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.search.text') + '</span>',
  8102. TITLE: trS('tab.search.tip')
  8103. },
  8104. tHelp: {
  8105. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8106. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.help.text') + '</span>',
  8107. TITLE: trS('tab.help.tip'),
  8108. STYLEO: 'float:' + dirRight
  8109. }
  8110. },
  8111. pFilter: {
  8112. CLASS: CL_PANEL,
  8113. _CLASS: 'checkbox',
  8114. _TYPE: _THUI.CHECKBOX,
  8115. _REVERSE: 1,
  8116. _ONCHANGE: onUpdateUI,
  8117. oEnablePlaces: {TEXT: trS('filter.places.text'), TITLE: trS('filter.places.tip'), AUTOSAVE: AS_PLACES},
  8118. oExcludeNonEditables: {TEXT: trS('filter.noneditables.text'), TITLE: trS('filter.noneditables.tip'), AUTOSAVE: AS_NONEDITABLES},
  8119. oExcludeDuplicates: {TEXT: trS('filter.duplicates.text'), TITLE: trS('filter.duplicates.tip'), AUTOSAVE: AS_DUPLICATES},
  8120. oExcludeStreets: {TEXT: trS('filter.streets.text'), TITLE: trS('filter.streets.tip'), AUTOSAVE: AS_STREETS},
  8121. oExcludeOther: {TEXT: trS('filter.other.text'), TITLE: trS('filter.other.tip'), AUTOSAVE: AS_OTHERS},
  8122. oExcludeNotes: {TEXT: trS('filter.notes.text'), TITLE: trS('filter.notes.tip'), AUTOSAVE: AS_NOTES}
  8123. },
  8124. pSearch: {
  8125. CLASS: CL_PANEL,
  8126. NODISPLAY: 1,
  8127. _REVERSE: 1,
  8128. _ONCHANGE: onUpdateUI,
  8129. oIncludeYourEdits: {NODISPLAY: 1, TYPE: _THUI.CHECKBOX, TEXT: trS('search.youredits.text'), TITLE: trS('search.youredits.tip'), CLASS: 'checkbox', AUTOSAVE: AS_YOUREDITS},
  8130. oIncludeUpdatedBy: {
  8131. TYPE: _THUI.TEXT,
  8132. TEXT: trS('search.updatedby.text'),
  8133. TITLE: trS('search.updatedby.tip'),
  8134. PLACEHOLDER: trS('search.updatedby.example'),
  8135. CLASS: 'form-label text',
  8136. CLASSI: 'form-control',
  8137. AUTOSAVE: AS_UPDATEDBY
  8138. },
  8139. oIncludeUpdatedSince: {
  8140. TYPE: _THUI.DATE,
  8141. TEXT: trS('search.updatedsince.text'),
  8142. TITLE: trS('search.updatedsince.tip'),
  8143. PLACEHOLDER: trS('search.updatedsince.example'),
  8144. CLASS: 'form-label date',
  8145. CLASSI: 'form-control',
  8146. AUTOSAVE: AS_UPDATEDSINCE
  8147. },
  8148. oIncludeCityName: {
  8149. TYPE: _THUI.TEXT,
  8150. TEXT: trS('search.city.text'),
  8151. TITLE: trS('search.city.tip'),
  8152. PLACEHOLDER: trS('search.city.example'),
  8153. CLASS: 'form-label text',
  8154. CLASSI: 'form-control',
  8155. AUTOSAVE: AS_CITYNAME
  8156. },
  8157. oIncludeChecks: {
  8158. TYPE: _THUI.TEXT,
  8159. TEXT: trS('search.checks.text'),
  8160. TITLE: trS('search.checks.tip'),
  8161. PLACEHOLDER: trS('search.checks.example'),
  8162. CLASS: 'form-label text',
  8163. CLASSI: 'form-control',
  8164. AUTOSAVE: AS_CHECKS
  8165. }
  8166. },
  8167. pHelp: {CLASS: CL_PANEL, NODISPLAY: 1, TEXT: trS('help.text'), TITLE: trS('help.tip')},
  8168. pButtons: {
  8169. CLASS: CL_BUTTONS,
  8170. _CLASS: 'btn btn-default',
  8171. _TYPE: _THUI.BUTTON,
  8172. _ONCLICK: onUpdateUI,
  8173. bScan: {TEXT: '', TITLE: '', STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8174. bPause: {NODISPLAY: 1, TEXT: '', TITLE: trS('button.pause.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8175. bContinue: {TEXT: '', TITLE: trS('button.continue.tip'), NODISPLAY: 1, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8176. bStop: {TEXT: '', TITLE: trS('button.stop.tip'), STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome;margin-' + dirRight + ':10px'},
  8177. bClear: {TEXT: '✘', TITLE: '', NODISPLAY: 1, DISABLED: 1, STYLE: 'float:' + dirLeft + ';width:38px;margin-' + dirRight + ':10px'},
  8178. bReport: {TEXT: trS('button.report.text'), TITLE: trS('button.report.tip'), STYLE: 'float:' + dirLeft + ';max-width:110px', ONCLICK: onShowReport},
  8179. bReportBB: {TEXT: '', TITLE: trS('button.BBreport.tip'), ONCLICK: onShareReport, STYLE: 'float:' + dirLeft + ';width:38px;font-family:FontAwesome'},
  8180. bSettings: {TEXT: '', TITLE: trS('button.settings.tip'), STYLE: 'float:' + dirRight + ';width:38px;font-family:FontAwesome'}
  8181. }
  8182. },
  8183. pSettings: {
  8184. NODISPLAY: 1,
  8185. pTabs: {
  8186. CLASS: CL_TABS,
  8187. _DISCLOSE: 1,
  8188. _TYPE: _THUI.RADIO,
  8189. _ONCLICK: onUpdateUI,
  8190. tMain: {TEXT: trS('tab.settings.text') + ':', TITLE: 'WME Validator Version ' + WV_VERSION, STYLEO: 'max-width:85px', DISABLED: 1},
  8191. tCustom: {
  8192. TEXT: '<i class="fa fa-user" aria-hidden="true"></i>' +
  8193. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.custom.text') + '</span>',
  8194. STYLEO: 'max-width:110px',
  8195. TITLE: trS('tab.custom.tip'),
  8196. CHECKED: 1
  8197. },
  8198. tScanner: {
  8199. TEXT: '<i class="fa fa-wrench" aria-hidden="true"></i>' +
  8200. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.scanner.text') + '</span>',
  8201. TITLE: trS('tab.scanner.tip'),
  8202. STYLEO: 'max-width:110px'
  8203. },
  8204. tAbout: {
  8205. TEXT: '<i class="fa fa-question-circle" aria-hidden="true"></i>' +
  8206. '<span class=\'c' + CL_COLLAPSE + '\'> ' + trS('tab.about.text') + '</span>',
  8207. TITLE: trS('tab.about.tip'),
  8208. STYLEO: 'float:' + dirRight + ';max-width:110px'
  8209. }
  8210. },
  8211. pCustom: {
  8212. CLASS: CL_PANEL,
  8213. _CLASS: 'form-label text',
  8214. _REVERSE: 1,
  8215. _ONCHANGE: onUpdateUI,
  8216. oTemplate1: {
  8217. TYPE: _THUI.TEXT,
  8218. TEXT: '&nbsp;' + trS('custom.template.text'),
  8219. TITLE: trS('custom.template.tip'),
  8220. PLACEHOLDER: trS('custom.template.example'),
  8221. CLASS: 'form-label text c1',
  8222. CLASSI: 'form-control',
  8223. AUTOSAVE: AS_CUSTOM1TEMPLATE
  8224. },
  8225. oRegExp1: {
  8226. TYPE: _THUI.TEXT,
  8227. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8228. TITLE: trS('custom.regexp.tip'),
  8229. PLACEHOLDER: trS('custom.regexp.example'),
  8230. CLASSI: 'form-control',
  8231. AUTOSAVE: AS_CUSTOM1REGEXP
  8232. },
  8233. oTemplate2: {
  8234. TYPE: _THUI.TEXT,
  8235. TEXT: '&nbsp;' + trS('custom.template.text'),
  8236. TITLE: trS('custom.template.tip'),
  8237. PLACEHOLDER: trS('custom.template.example'),
  8238. CLASS: 'form-label text c2',
  8239. CLASSI: 'form-control',
  8240. AUTOSAVE: AS_CUSTOM2TEMPLATE
  8241. },
  8242. oRegExp2: {
  8243. TYPE: _THUI.TEXT,
  8244. TEXT: '&nbsp;' + trS('custom.regexp.text'),
  8245. TITLE: trS('custom.regexp.tip'),
  8246. PLACEHOLDER: trS('custom.regexp.example'),
  8247. CLASSI: 'form-control',
  8248. AUTOSAVE: AS_CUSTOM2REGEXP
  8249. }
  8250. },
  8251. pScanner: {
  8252. NODISPLAY: 1,
  8253. CLASS: CL_PANEL,
  8254. _CLASS: 'checkbox',
  8255. _TYPE: _THUI.CHECKBOX,
  8256. _REVERSE: 1,
  8257. _ONCHANGE: onUpdateUI,
  8258. oSlowChecks: {TEXT: trS('scanner.slow.text'), TITLE: trS('scanner.slow.tip'), AUTOSAVE: AS_SLOWCHECKS},
  8259. oReportExt: {TEXT: trS('scanner.ext.text'), TITLE: trS('scanner.ext.tip'), AUTOSAVE: AS_REPORTEXT},
  8260. oHLReported: {TEXT: trS('scanner.highlight.text'), TITLE: trS('scanner.highlight.tip'), AUTOSAVE: AS_HLISSUES},
  8261. oSounds: {TEXT: trS('scanner.sounds.text'), TITLE: trS('scanner.sounds.tip'), NATITLE: trS('scanner.sounds.NA'), AUTOSAVE: AS_SOUNDS}
  8262. },
  8263. pAbout: {
  8264. CLASS: CL_PANEL,
  8265. NODISPLAY: 1,
  8266. TEXT: '<p><b>WME Validator</b>' +
  8267. '<br>Version ' + WV_VERSION + ' <a target="_blank" href="' + PFX_FORUM + FORUM_HOME + '">check for updates</a>' +
  8268. '<br>&copy; 2013-2018 Andriy Berestovskyy</p>' +
  8269. '<p><b>Built-in localization packs for:</b><br>' + listOfIntPacks + '<p><b>External localization packs for:</b><br>' + listOfPacks + '</p>' +
  8270. '<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>',
  8271. TITLE: trS('about.tip'),
  8272. STYLE: 'direction:ltr;text-align:center;white-space:normal'
  8273. },
  8274. pButtons: {
  8275. CLASS: CL_BUTTONS,
  8276. _CLASS: 'btn btn-default',
  8277. _TYPE: _THUI.BUTTON,
  8278. _ONCLICK: onUpdateUI,
  8279. 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'},
  8280. bList: {
  8281. NODISPLAY: 1,
  8282. TEXT: '<i class="fa fa-list" aria-hidden="true"></i> ' + trS('button.list.text'),
  8283. TITLE: trS('button.list.tip'),
  8284. STYLE: 'float:' + dirLeft + ';max-width:165px',
  8285. ONCLICK: onShowChecks
  8286. },
  8287. bWizard: {
  8288. NODISPLAY: 1,
  8289. TEXT: '<i class="fa fa-magic" aria-hidden="true"></i>',
  8290. TITLE: trS('button.wizard.tip'),
  8291. STYLE: 'float:' + dirLeft + ';margin-' + dirLeft + ':6px;width:38px',
  8292. ONCLICK: onCreatePack
  8293. },
  8294. 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'}
  8295. }
  8296. }
  8297. };
  8298. clearReport();
  8299. if (_RT.$topUser.$isCM) {
  8300. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 1;
  8301. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 0
  8302. } else {
  8303. _UI.pMain.pSearch.oIncludeYourEdits.NODISPLAY = 0;
  8304. _UI.pMain.pSearch.oIncludeUpdatedBy.NODISPLAY = 1
  8305. }
  8306. if (-1 !== _RT.$untranslatedLngs.indexOf(_RT.$lng.split('-')[0]))
  8307. _UI.pTranslateBanner.NODISPLAY = 0;
  8308. else
  8309. _UI.pTranslateBanner.NODISPLAY = 1;
  8310. if (!classCodeDefined(UW.AudioContext) && !classCodeDefined(UW.webkitAudioContext)) {
  8311. _UI.pSettings.pScanner.oSounds.CHECKED = false;
  8312. _UI.pSettings.pScanner.oSounds.NA = true
  8313. }
  8314. resetDefaults();
  8315. var storageObj = null;
  8316. var s = null;
  8317. try {
  8318. s = window.localStorage.getItem(AS_NAME);
  8319. storageObj = s ? JSON.parse(s) : null;
  8320. if (!(AS_PASSWORD in storageObj)) storageObj = null
  8321. } catch (e$2) {
  8322. }
  8323. if (!storageObj || WV_LICENSE_VERSION !== storageObj[AS_LICENSE])
  8324. if (!confirm(WV_LICENSE)) {
  8325. _UI = {};
  8326. WLM.events.un({'afterloginchanged': onLogin, 'login': onLogin});
  8327. return
  8328. }
  8329. var showWhatsNew = false;
  8330. if (s && !storageObj) {
  8331. warning('\nDue to the major changes in Validator, all filter options\nand settings have been RESET to their DEFAULTS.');
  8332. showWhatsNew = true
  8333. }
  8334. if (storageObj && WV_VERSION !== storageObj[AS_VERSION]) showWhatsNew = true;
  8335. if (showWhatsNew) info(WV_WHATSNEW);
  8336. _THUI.loadValues(_UI, storageObj);
  8337. var styleMap = new OpenLayers.StyleMap({strokeWidth: HL_WIDTH});
  8338. var lookup = {};
  8339. lookup[RS_NOTE] = {strokeColor: GL_NOTECOLOR, graphicZIndex: 10};
  8340. lookup[RS_WARNING] = {strokeColor: GL_WARNINGCOLOR, graphicZIndex: 20};
  8341. lookup[RS_ERROR] = {strokeColor: GL_ERRORCOLOR, graphicZIndex: 30};
  8342. lookup[RS_CUSTOM2] = {strokeColor: GL_CUSTOM2COLOR, graphicZIndex: 40};
  8343. lookup[RS_CUSTOM1] = {strokeColor: GL_CUSTOM1COLOR, graphicZIndex: 50};
  8344. styleMap.addUniqueValueRules('default', 0, lookup);
  8345. _RT.$HLlayer = new OpenLayers.Layer.Vector(GL_LAYERNAME, {
  8346. uniqueName: GL_LAYERUNAME,
  8347. shortcutKey: GL_LAYERSHORTCUT,
  8348. accelerator: GL_LAYERACCEL,
  8349. units: 'm',
  8350. styleMap: styleMap,
  8351. projection: new OpenLayers.Projection('EPSG:4326'),
  8352. visibility: _UI.pSettings.pScanner.oHLReported.CHECKED
  8353. });
  8354. I18n.translations[I18n.currentLocale()].layers.name[GL_LAYERUNAME] = GL_LAYERNAME;
  8355. _RT.$HLlayer.setOpacity(HL_OPACITY);
  8356. WM.addLayer(_RT.$HLlayer);
  8357. _RT.$HLlayer.setVisibility(_UI.pSettings.pScanner.oHLReported.CHECKED);
  8358. WM.raiseLayer(_RT.$HLlayer, 99);
  8359. $('#sidepanel-' + ID_PREFIX + '').remove();
  8360. $('#tab-' + ID_PREFIX + '').remove();
  8361. $('#user-tabs ul')
  8362. .append(
  8363. '<li id="tab-' + ID_PREFIX + '">' +
  8364. '<a data-toggle="tab" href="#sidepanel-' + ID_PREFIX + '">' +
  8365. '<span class="fa fa-check-square-o"></span>' +
  8366. ' Validator' +
  8367. '</a></li>');
  8368. $('#user-tabs+div.tab-content').append('<div class="tab-pane" id="sidepanel-' + ID_PREFIX + '"></div>');
  8369. _THUI.appendUI(document.getElementById('sidepanel-' + ID_PREFIX), _UI, 'i' + ID_PREFIX);
  8370. async(F_UPDATEUI);
  8371. async(ForceHLAllObjects, null, 700);
  8372. WMo.events.on({'mergeend': onMergeEnd});
  8373. WM.events.on({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  8374. WSM.events.on({'selectionchanged': ForceHLAllObjects});
  8375. WC.events.on({'loadstart': onLoadStart});
  8376. WMo.segments.on({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  8377. WMo.venues.on({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  8378. WMo.nodes.on({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved});
  8379. W.prefs.on({'change:isImperial': onChangeIsImperial})
  8380. };
  8381. function F_ONSEGMENTSCHANGED(e) {
  8382. var changedNodes = [];
  8383. for (var i = 0; i < e.length; i++) {
  8384. var nodeIDs = [e[i].attributes.fromNodeID, e[i].attributes.toNodeID];
  8385. for (var j = 0; j < nodeIDs.length; j++) {
  8386. var nodeID = nodeIDs[j];
  8387. if (!nodeID) continue;
  8388. var node = WMo.nodes.getObjectById(nodeID);
  8389. if (node) changedNodes.push(node)
  8390. }
  8391. }
  8392. if (changedNodes.length) sync(F_ONNODESCHANGED, changedNodes)
  8393. }
  8394. function F_ONNODESCHANGED(e) {
  8395. var reHL = false;
  8396. for (var i = 0; i < e.length; i++) {
  8397. var ids = e[i].attributes.segIDs;
  8398. for (var j = 0; j < ids.length; j++) _RT.$revalidate[ids[j]] = true, reHL = true
  8399. }
  8400. if (reHL) HLAllObjects()
  8401. }
  8402. function F_ONVENUESCHANGED(e) {
  8403. var reHL = false;
  8404. for (var i = e.length - 1; i >= 0; i--) {
  8405. var id = e[i].attributes.id;
  8406. _RT.$revalidate[id] = true;
  8407. reHL = true
  8408. }
  8409. if (reHL) HLAllObjects()
  8410. }
  8411. function F_ONCHANGELAYER(e) {
  8412. if (!e.hasOwnProperty('layer')) return;
  8413. if (-1 !== e.layer.id.indexOf(GL_TBPREFIX)) {
  8414. if (!e.layer.visibility)
  8415. for (var segmentID in WMo.segments.objects) {
  8416. if (!WMo.segments.objects.hasOwnProperty(segmentID)) continue;
  8417. delete WMo.segments.objects[segmentID][GL_TBCOLOR]
  8418. }
  8419. ForceHLAllObjects()
  8420. } else if (GL_LAYERUNAME === e.layer.uniqueName && e.layer.visibility !== _UI.pSettings.pScanner.oHLReported.CHECKED) {
  8421. _RT.$switchValidator = true;
  8422. async(F_UPDATEUI)
  8423. }
  8424. }
  8425. function F_ONMOVEEND() {
  8426. var c = WM.getCenter();
  8427. if (-1 === _RT.$WDmoveID && -1 === _RT.$WDloadID && c.equals(_RT.$nextCenter))
  8428. _RT.$WDmoveID = window.setTimeout(onMergeEnd, WD_SHORT);
  8429. else if (RTStateIs(ST_RUN) && !_RT.$firstStep && !c.equals(_RT.$nextCenter) && !c.equals(_RT.$startCenter)) {
  8430. _RT.$curMessage = {TEXT: trS('msg.autopaused.text'), TITLE: trS('msg.autopaused.tip')};
  8431. async(F_PAUSE)
  8432. }
  8433. _RT.$moveEndCenter = c
  8434. }
  8435. function F_ONLOADSTART() {
  8436. var c = WM.getCenter();
  8437. window.clearTimeout(_RT.$WDmoveID);
  8438. if (-1 === _RT.$WDloadID && c.equals(_RT.$nextCenter)) _RT.$WDloadID = window.setTimeout(onMergeEnd, WD_LONG);
  8439. _RT.$WDmoveID = -1
  8440. }
  8441. function F_LAYERSOFF() {
  8442. _RT.$HLlayer.destroyFeatures();
  8443. if (_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8444. WM.layers.forEach(function(el) {
  8445. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName) {
  8446. if (el.getVisibility())
  8447. _RT.$layersVisibility += 'T';
  8448. else
  8449. _RT.$layersVisibility += 'F';
  8450. el.setVisibility(false)
  8451. }
  8452. })
  8453. }
  8454. function F_LAYERSON() {
  8455. if (!_RT.$layersVisibility || GL_SHOWLAYERS) return;
  8456. var j = 0;
  8457. WM.layers.forEach(function(el) {
  8458. if (el.displayInLayerSwitcher && GL_LAYERUNAME !== el.uniqueName)
  8459. if (_RT.$layersVisibility.length > j) {
  8460. el.setVisibility('T' === _RT.$layersVisibility.charAt(j));
  8461. j++
  8462. }
  8463. });
  8464. _RT.$layersVisibility = ''
  8465. }
  8466. function F_PAUSE() {
  8467. if (!RTStateIs(ST_RUN)) return;
  8468. beep(50, 'square');
  8469. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8470. setRTState(ST_PAUSE);
  8471. async(F_LAYERSON)
  8472. }
  8473. function F_STOP() {
  8474. if (!RTStateIs(ST_STOP)) {
  8475. beep(100, 'square');
  8476. if (_RT.$startCenter) {
  8477. WM.panTo(_RT.$startCenter);
  8478. WM.zoomTo(_RT.$startZoom)
  8479. }
  8480. if (!_REP.$maxSeverity) _RT.$curMessage = { TEXT: trS('msg.noissues.text'), TITLE: trS('msg.noissues.tip') }
  8481. }
  8482. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8483. setRTState(ST_STOP);
  8484. async(F_LAYERSON)
  8485. }
  8486. function F_ONMERGEEND() {
  8487. var c = WM.getCenter();
  8488. if (RTStateIs(ST_RUN) && _RT.$nextCenter && !c.equals(_RT.$nextCenter)) return;
  8489. var e = WM.getExtent();
  8490. var ew = e.getWidth();
  8491. var eh = e.getHeight();
  8492. var ew2 = ew / 2;
  8493. var eh2 = eh / 2;
  8494. var s = _RT.$startExtent;
  8495. if (!s) s = new UW.OpenLayers.Bounds;
  8496. var cx = c.lon;
  8497. var cy = c.lat;
  8498. var dir = Math.round(_RT.$direction / Math.abs(_RT.$direction));
  8499. var sw = s.getWidth();
  8500. var sh = s.getHeight();
  8501. var kxMax = Math.ceil(sw / (ew * SCAN_STEP / 100));
  8502. var stepX = sw / kxMax;
  8503. var kyMax = Math.ceil(sh / (eh * SCAN_STEP / 100));
  8504. var stepY = sh / kyMax;
  8505. if (RTStateIs(ST_CONTINUE)) {
  8506. if (_RT.$nextCenter) {
  8507. setRTState(ST_RUN);
  8508. WM.zoomTo(SCAN_ZOOM);
  8509. WM.panTo(_RT.$nextCenter);
  8510. clearWD();
  8511. return
  8512. }
  8513. async(F_ONRUN);
  8514. return
  8515. }
  8516. if (!RTStateIs(ST_RUN)) {
  8517. HLAllObjects();
  8518. return
  8519. }
  8520. async(F_UPDATEUI);
  8521. if (_RT.$firstStep) {
  8522. _RT.$firstStep = false;
  8523. var newX = s.left + ew2;
  8524. var newY = s.top - eh2;
  8525. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8526. WM.zoomTo(SCAN_ZOOM);
  8527. WM.panTo(_RT.$nextCenter);
  8528. clearWD();
  8529. return
  8530. }
  8531. sync(F_VALIDATE, false);
  8532. var deltaX = Number.MAX_VALUE;
  8533. var deltaY = Number.MAX_VALUE;
  8534. var kx = 0;
  8535. var ky = 0;
  8536. for (var i = 0;; i++) {
  8537. var x = s.left + ew2 + i * stepX;
  8538. var y = s.top - eh2 - i * stepY;
  8539. if (x > s.right && y < s.bottom) break;
  8540. var cd = Math.abs(x - cx);
  8541. if (cd < deltaX) deltaX = cd, kx = i;
  8542. cd = Math.abs(y - cy);
  8543. if (cd < deltaY) deltaY = cd, ky = i
  8544. }
  8545. updateTimer(ST_RUN);
  8546. var curStep = ky * kxMax + (0 < dir ? kx : kxMax - kx);
  8547. if (4 < curStep)
  8548. if (0 === curStep % 5) {
  8549. var maxStep = kyMax * kxMax;
  8550. var minETA = (maxStep / curStep - 1) * _RT.$timer.$secInRun / 60;
  8551. var strMsg = 1 > minETA ? trS('msg.scanning.text.soon') : trSO('msg.scanning.text', {'n': Math.round(minETA)});
  8552. _RT.$curMessage = { TEXT: strMsg, TITLE: trS('msg.scanning.tip') }
  8553. }
  8554. kx = kx + dir;
  8555. var newX = s.left + ew2 + kx * stepX;
  8556. 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)) {
  8557. newX = s.left + ew2 + (kx - dir) * stepX;
  8558. _RT.$direction = -_RT.$direction;
  8559. ky++
  8560. }
  8561. var newY = s.top - eh2 - ky * stepY;
  8562. if (newY < s.bottom || Math.abs(newY - s.bottom) < Math.abs(newY - eh2 - s.bottom)) {
  8563. if (!_REP.$isEditableFound && _UI.pMain.pFilter.oExcludeNonEditables.CHECKED) _RT.$reportEditableNotFound = true;
  8564. async(F_STOP);
  8565. return
  8566. }
  8567. _RT.$nextCenter = new UW.OpenLayers.LonLat(newX, newY);
  8568. WM.zoomTo(SCAN_ZOOM);
  8569. WM.panTo(_RT.$nextCenter);
  8570. clearWD()
  8571. }
  8572. function F_ONRUN() {
  8573. clearErrorFlag();
  8574. if (RTStateIs(ST_RUN)) return;
  8575. async(F_LAYERSOFF);
  8576. _RT.$curMessage = {TEXT: trS('msg.starting.text'), TITLE: trS('msg.starting.tip')};
  8577. setRTState(ST_RUN);
  8578. clearWD();
  8579. _RT.$direction = DIR_L2R;
  8580. _RT.$firstStep = true;
  8581. var e = WM.getExtent();
  8582. _RT.$startExtent = e;
  8583. _RT.$startCenter = WM.getCenter();
  8584. _RT.$startZoom = WM.getZoom();
  8585. _RT.$nextCenter = null;
  8586. _RT.$moveEndCenter = null;
  8587. _RT.$nextCenter = new UW.OpenLayers.LonLat(e.left, e.top);
  8588. WM.panTo(_RT.$nextCenter);
  8589. WM.zoomTo(SCAN_ZOOM)
  8590. }
  8591. function F_ONLOGIN() {
  8592. if (WLM.user) {
  8593. if (!_WV.$loggedIn) {
  8594. _WV.$loggedIn = true;
  8595. async(F_LOGIN)
  8596. }
  8597. } else if (_WV.$loggedIn) {
  8598. _WV.$loggedIn = false;
  8599. async(F_LOGOUT)
  8600. } else {
  8601. log('waiting for login...');
  8602. async(F_ONLOGIN, null, 1E3)
  8603. }
  8604. }
  8605. function F_INIT() {
  8606. UW = window;
  8607. Wa = UW.W;
  8608. nW = UW.W;
  8609. WLM = nW.loginManager;
  8610. WSM = nW.selectionManager;
  8611. WM = nW.map;
  8612. WMo = nW.model;
  8613. WC = nW.controller;
  8614. if (!Wa || !WLM || !WLM.user || !WSM || !WM || !WMo || !WC || !$('#user-tabs')) {
  8615. log('waiting for WME...');
  8616. async(F_INIT, null, 1E3);
  8617. return
  8618. }
  8619. WM = nW.map.olMap;
  8620. if (classCodeDefined(UW.require)) {
  8621. R = UW.require;
  8622. WME_BETA = /beta/.test(location.href)
  8623. }
  8624. var _gaq = UW['_gaq'];
  8625. if (_gaq) {
  8626. _gaq.push(['WME_Validator._setAccount', 'UA-46853768-3']);
  8627. _gaq.push(['WME_Validator._setDomainName', 'waze.com']);
  8628. _gaq.push(['WME_Validator._trackPageview'])
  8629. }
  8630. _WV.$loggedIn = false;
  8631. WLM.events.on({'loginStatus': onLogin, 'login': onLogin});
  8632. async(F_ONLOGIN);
  8633. _WV.buildRegExp = function(checkID, options, strRegExp) {
  8634. try {
  8635. while (strRegExp && ' ' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8636. if (strRegExp) {
  8637. if ('D' === strRegExp.charAt(0)) {
  8638. strRegExp = strRegExp.substr(1);
  8639. options[CO_NUMBER] = 1
  8640. } else
  8641. options[CO_NUMBER] = 0;
  8642. if ('!' === strRegExp.charAt(0)) {
  8643. strRegExp = strRegExp.substr(1);
  8644. options[CO_BOOL] = true
  8645. } else
  8646. options[CO_BOOL] = false;
  8647. if ('/' === strRegExp.charAt(0)) strRegExp = strRegExp.substr(1);
  8648. var strRegExpOptions = '';
  8649. var arrMatch = strRegExp.match(/\/([igmy]*)$/);
  8650. if (arrMatch) {
  8651. strRegExpOptions = arrMatch[1];
  8652. strRegExp = strRegExp.slice(0, -arrMatch[0].length)
  8653. }
  8654. options[CO_REGEXP] = new RegExp(strRegExp, strRegExpOptions)
  8655. } else {
  8656. options[CO_BOOL] = false;
  8657. options[CO_NUMBER] = 0;
  8658. options[CO_REGEXP] = null
  8659. }
  8660. } catch (e) {
  8661. error(trSO('err.regexp', {'n': checkID}) + '\n\n' + e);
  8662. options[CO_BOOL] = false;
  8663. options[CO_NUMBER] = 0;
  8664. options[CO_REGEXP] = null
  8665. }
  8666. };
  8667. _WV.SimpleCITY = function(objID) {
  8668. this.$hash = 0;
  8669. this.$cityID = 0;
  8670. this.$city = '';
  8671. this.$state = '';
  8672. this.$countryID = 0;
  8673. this.$country = '';
  8674. if (objID) {
  8675. this.$cityID = objID;
  8676. var oc = WMo.cities.getObjectById(objID);
  8677. if (oc) {
  8678. this.$city = oc.attributes.isEmpty ? '' : oc.attributes.name;
  8679. var o = WMo.states.getObjectById(oc.attributes.stateID);
  8680. if (o) this.$state = o.name;
  8681. this.$countryID = oc.attributes.countryID;
  8682. o = WMo.countries.getObjectById(oc.attributes.countryID);
  8683. if (o) this.$country = o.name
  8684. }
  8685. this.$hash = this.$cityID + this.$countryID;
  8686. Object.defineProperties(this, {$hash: {writable: false}, $cityID: {writable: false}, $state: {writable: false}, $countryID: {writable: false}, $country: {writable: false}})
  8687. }
  8688. };
  8689. _WV.SimpleCITY.prototype.isOkFor = function(checkID) {
  8690. if (!_RT.$isGlobalAccess) return false;
  8691. var rep = _RT.$checks[checkID];
  8692. if (!rep.$cache) rep.$cache = {};
  8693. var cache = rep.$cache;
  8694. var forCity = rep.FORCITY;
  8695. var hash = forCity ? this.$hash : this.$countryID;
  8696. if (hash in cache) return cache[hash];
  8697. cache[hash] = false;
  8698. var forLevel = rep.FORLEVEL;
  8699. if (forLevel && forLevel > _RT.$topUser.$userLevel) return false;
  8700. if (forCity) {
  8701. var curCity = this.$city.toUpperCase();
  8702. if (!_WV.checkAccessFor(forCity, function(e) {
  8703. return e.toUpperCase() === curCity
  8704. }))
  8705. return false
  8706. }
  8707. var forUser = rep.FORUSER;
  8708. if (forUser) {
  8709. var curUser = _RT.$topUser.$userName.toUpperCase();
  8710. if (!_WV.checkAccessFor(forUser, function(e) {
  8711. return e.toUpperCase() === curUser
  8712. }))
  8713. return false
  8714. }
  8715. var forCountry = rep.FORCOUNTRY;
  8716. if (forCountry) {
  8717. var curCountry = this.$country.toUpperCase();
  8718. if (!_WV.checkAccessFor(forCountry, function(e) {
  8719. if (e in _I18n.$code2country) return _I18n.$code2country[e] === curCountry;
  8720. error('Please report: fc=' + e);
  8721. return false
  8722. }))
  8723. return false
  8724. }
  8725. cache[hash] = true;
  8726. return true
  8727. };
  8728. _WV.SimpleADDRESS = function(objID) {
  8729. this.$streetID = 0;
  8730. this.$street = '';
  8731. if (objID) {
  8732. this.$streetID = objID;
  8733. var o = WMo.streets.getObjectById(objID);
  8734. if (o) {
  8735. this.$street = o.isEmpty ? '' : o.name;
  8736. _WV.SimpleCITY.call(this, o.cityID)
  8737. } else {
  8738. this.$street = GL_NOID;
  8739. _WV.SimpleCITY.call(this, 0)
  8740. }
  8741. }
  8742. Object.defineProperties(this, {$streetID: {writable: false}})
  8743. };
  8744. _WV.SimpleADDRESS.prototype = new _WV.SimpleCITY;
  8745. _WV.SimpleADDRESS.prototype.constructor = _WV.SimpleADDRESS
  8746. }
  8747. function F_ONWARNING(e) {
  8748. _THUI.viewToDoc(_UI);
  8749. var target = _THUI.getByDOM(_UI, e.target);
  8750. if (target && target.CHECKED && target.WARNING) warning(target.WARNING);
  8751. async(F_UPDATEUI)
  8752. }
  8753. function F_UPDATEUI(e) {
  8754. function destroyHLs() {
  8755. _RT.$HLedObjects = {};
  8756. _RT.$HLlayer.destroyFeatures()
  8757. }
  8758. function updateReportButtons() {
  8759. if (RTStateIs(ST_RUN) || RTStateIs(ST_CONTINUE)) {
  8760. btns.bReport.CLASS = 'btn btn-default';
  8761. btns.bReport.DISABLED = true;
  8762. btns.bReportBB.DISABLED = true;
  8763. return
  8764. }
  8765. if (!_REP.$maxSeverity) {
  8766. btns.bReport.CLASS = 'btn btn-default';
  8767. btns.bReport.DISABLED = true;
  8768. btns.bReportBB.DISABLED = true
  8769. } else {
  8770. switch (_REP.$maxSeverity) {
  8771. case RS_NOTE:
  8772. btns.bReport.CLASS = 'btn btn-info';
  8773. break;
  8774. case RS_WARNING:
  8775. btns.bReport.CLASS = 'btn btn-warning';
  8776. break;
  8777. case RS_ERROR:
  8778. btns.bReport.CLASS = 'btn btn-danger';
  8779. break;
  8780. case RS_CUSTOM1:
  8781. btns.bReport.CLASS = 'btn btn-success';
  8782. break;
  8783. case RS_CUSTOM2:
  8784. btns.bReport.CLASS = 'btn btn-primary';
  8785. break
  8786. }
  8787. btns.bReport.DISABLED = false;
  8788. btns.bReportBB.DISABLED = false
  8789. }
  8790. if (15 < WM.getZoom()) {
  8791. btns.bScan.CLASS = 'btn btn-default';
  8792. btns.bScan.DISABLED = true;
  8793. btns.bScan.TITLE = trS('button.scan.tip.NA')
  8794. } else {
  8795. btns.bScan.CLASS = 'btn btn-success';
  8796. btns.bScan.DISABLED = false;
  8797. btns.bScan.TITLE = trS('button.scan.tip')
  8798. }
  8799. if (_REP.$isLimitPerCheck) {
  8800. btns.bClear.CLASS = 'btn btn-danger';
  8801. btns.bClear.TITLE = trS('button.clear.tip.red')
  8802. } else {
  8803. btns.bClear.CLASS = 'btn btn-default';
  8804. btns.bClear.TITLE = trS('button.clear.tip')
  8805. }
  8806. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  8807. _UI.pMain.pTabs.tMain.TEXT = '<i class="fa fa-check-square-o" aria-hidden="true"></i> ' +
  8808. 'Validator:';
  8809. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.off')
  8810. } else {
  8811. _UI.pMain.pTabs.tMain.TEXT = '<font color="#ccc"><i class="fa fa-power-off" aria-hidden="true"></i> ' +
  8812. 'Validator:</font>';
  8813. _UI.pMain.pTabs.tMain.TITLE = trS('tab.switch.tip.on')
  8814. }
  8815. _UI.pMain.pTabs.tMain.TITLE += '\nWME Validator Version ' + WV_VERSION
  8816. }
  8817. function getTopCity() {
  8818. var i = WMo.segments.topCityID;
  8819. if (i) return new _WV.SimpleCITY(i);
  8820. return new _WV.SimpleCITY(0)
  8821. }
  8822. _RT.$topCity = getTopCity();
  8823. if (_RT.$topCity.$country) _RT.$cachedTopCCode = _I18n.getCountryCode(_RT.$topCity.$country.toUpperCase());
  8824. _THUI.viewToDoc(_UI);
  8825. _RT.$isGlobalAccess = true;
  8826. if (!_RT.$topCity.isOkFor(0)) _RT.$isGlobalAccess = false;
  8827. if (!_RT.$isGlobalAccess) {
  8828. _UI.pMain.NODISPLAY = 1;
  8829. _UI.pSettings.NODISPLAY = 1;
  8830. _UI.pTips.NODISPLAY = 1;
  8831. _UI.pNoAccess.NODISPLAY = 0;
  8832. _THUI.docToView(_UI);
  8833. return
  8834. } else if (!_UI.pNoAccess.NODISPLAY) {
  8835. _UI.pMain.NODISPLAY = 0;
  8836. _UI.pTips.NODISPLAY = 0;
  8837. _UI.pNoAccess.NODISPLAY = 1
  8838. }
  8839. if (_RT.oReportToolbox.NA && null !== document.getElementById(_RT.oReportToolbox.FORID)) {
  8840. _RT.oReportToolbox.CHECKED = true;
  8841. _RT.oReportToolbox.NA = false;
  8842. clearReport();
  8843. async(ForceHLAllObjects, null, 1E3)
  8844. }
  8845. if (_RT.oReportWMECH.NA && null !== document.getElementById(_RT.oReportWMECH.FORID)) {
  8846. _RT.oReportWMECH.CHECKED = true;
  8847. _RT.oReportWMECH.NA = false;
  8848. clearReport();
  8849. async(ForceHLAllObjects, null, 1E3)
  8850. }
  8851. var customOptions = _RT.$checks[128].OPTIONS[_I18n.$defLng];
  8852. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate1.VALUE || _RT.$RegExp1 !== _UI.pSettings.pCustom.oRegExp1.VALUE) {
  8853. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate1.VALUE;
  8854. if (customOptions[CO_STRING]) {
  8855. clearErrorFlag();
  8856. _RT.$RegExp1 = _UI.pSettings.pCustom.oRegExp1.VALUE;
  8857. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp1.VALUE)
  8858. } else
  8859. customOptions[CO_REGEXP] = null
  8860. }
  8861. customOptions = _RT.$checks[129].OPTIONS[_I18n.$defLng];
  8862. if (customOptions[CO_STRING] !== _UI.pSettings.pCustom.oTemplate2.VALUE || _RT.$RegExp2 !== _UI.pSettings.pCustom.oRegExp2.VALUE) {
  8863. customOptions[CO_STRING] = _UI.pSettings.pCustom.oTemplate2.VALUE;
  8864. if (customOptions[CO_STRING]) {
  8865. clearErrorFlag();
  8866. _RT.$RegExp2 = _UI.pSettings.pCustom.oRegExp2.VALUE;
  8867. _WV.buildRegExp(128, customOptions, _UI.pSettings.pCustom.oRegExp2.VALUE)
  8868. } else
  8869. customOptions[CO_REGEXP] = null
  8870. }
  8871. if (_RT.$checks[128].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8872. _RT.$curMaxSeverity = RS_CUSTOM1;
  8873. else if (_RT.$checks[129].OPTIONS[_I18n.$defLng][CO_REGEXP])
  8874. _RT.$curMaxSeverity = RS_CUSTOM2;
  8875. else
  8876. _RT.$curMaxSeverity = RS_ERROR;
  8877. if (e) {
  8878. switch (_THUI.getByDOM(_UI, e.target)) {
  8879. case _UI.pMain.pTabs.tMain:
  8880. _RT.$switchValidator = true;
  8881. break;
  8882. case _UI.pSettings.pCustom.oTemplate1:
  8883. case _UI.pSettings.pCustom.oRegExp1:
  8884. case _UI.pSettings.pCustom.oTemplate2:
  8885. case _UI.pSettings.pCustom.oRegExp2:
  8886. _RT.$isMapChanged = true;
  8887. clearReport();
  8888. async(ForceHLAllObjects);
  8889. break;
  8890. case _UI.pMain.pFilter.oEnablePlaces:
  8891. case _UI.pMain.pFilter.oExcludeNonEditables:
  8892. case _UI.pMain.pFilter.oExcludeDuplicates:
  8893. case _UI.pMain.pFilter.oExcludeStreets:
  8894. case _UI.pMain.pFilter.oExcludeOther:
  8895. case _UI.pMain.pFilter.oExcludeNotes:
  8896. case _UI.pMain.pSearch.oIncludeYourEdits:
  8897. case _UI.pMain.pSearch.oIncludeUpdatedBy:
  8898. case _UI.pMain.pSearch.oIncludeUpdatedSince:
  8899. case _UI.pMain.pSearch.oIncludeCityName:
  8900. case _UI.pMain.pSearch.oIncludeChecks:
  8901. _RT.$includeUpdatedByCache = {};
  8902. _RT.$includeUpdatedSinceTime = 0;
  8903. _RT.$includeCityNameCache = {};
  8904. _RT.$includeChecksCache = {};
  8905. async(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8906. async(ForceHLAllObjects);
  8907. break;
  8908. case _UI.pMain.pButtons.bScan:
  8909. async(F_ONRUN);
  8910. break;
  8911. case _UI.pMain.pButtons.bStop:
  8912. async(F_STOP);
  8913. break;
  8914. case _UI.pMain.pButtons.bClear:
  8915. _RT.$isMapChanged = true;
  8916. clearErrorFlag();
  8917. clearReport();
  8918. destroyHLs();
  8919. break;
  8920. case _UI.pMain.pButtons.bPause:
  8921. _RT.$curMessage = {TEXT: trS('msg.paused.text'), TITLE: trS('msg.paused.tip')};
  8922. async(F_PAUSE);
  8923. break;
  8924. case _UI.pMain.pButtons.bContinue:
  8925. clearErrorFlag();
  8926. if (!RTStateIs(ST_PAUSE)) break;
  8927. if (LIMIT_TOTAL < _REP.$counterTotal) clearReport();
  8928. async(F_LAYERSOFF);
  8929. _RT.$curMessage = {TEXT: trS('msg.continuing.text'), TITLE: trS('msg.continuing.tip')};
  8930. setRTState(ST_CONTINUE);
  8931. if (_RT.$startCenter) {
  8932. WM.zoomTo(_RT.$startZoom);
  8933. WM.panTo(_RT.$startCenter)
  8934. }
  8935. clearWD();
  8936. break;
  8937. case _UI.pMain.pButtons.bSettings:
  8938. _UI.pMain.NODISPLAY = true;
  8939. _UI.pSettings.NODISPLAY = false;
  8940. _RT.$curMessage = {TEXT: trS('msg.settings.text'), TITLE: trS('msg.settings.tip')};
  8941. break;
  8942. case _UI.pSettings.pButtons.bReset:
  8943. resetDefaults();
  8944. _RT.$curMessage = {TEXT: trS('msg.reset.text'), TITLE: trS('msg.reset.tip')};
  8945. sync(F_SHOWREPORT, RF_UPDATEMAXSEVERITY);
  8946. async(ForceHLAllObjects);
  8947. break;
  8948. case _UI.pSettings.pButtons.bBack:
  8949. _UI.pMain.NODISPLAY = false;
  8950. _UI.pSettings.NODISPLAY = true;
  8951. break;
  8952. case _UI.pSettings.pScanner.oHLReported:
  8953. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  8954. _RT.$switchValidator = true;
  8955. break
  8956. }
  8957. async(F_ONWARNING, e)
  8958. }
  8959. if (_RT.$switchValidator) {
  8960. _UI.pSettings.pScanner.oHLReported.CHECKED = !_UI.pSettings.pScanner.oHLReported.CHECKED;
  8961. if (_UI.pSettings.pScanner.oHLReported.CHECKED) {
  8962. ForceHLAllObjects();
  8963. _RT.$HLlayer.setVisibility(true)
  8964. } else {
  8965. ForceHLAllObjects();
  8966. destroyHLs();
  8967. _RT.$HLlayer.setVisibility(false)
  8968. }
  8969. _RT.$switchValidator = false
  8970. }
  8971. if (_RT.$reportEditableNotFound) {
  8972. _RT.$reportEditableNotFound = false;
  8973. _UI.pMain.pFilter.oExcludeNonEditables.CHECKED = false;
  8974. info(trS('filter.noneditables.reverted'))
  8975. }
  8976. _UI.pMain.pHelp.NODISPLAY = !_UI.pMain.pTabs.tHelp.CHECKED;
  8977. _UI.pMain.pFilter.NODISPLAY = !_UI.pMain.pTabs.tFilter.CHECKED;
  8978. _UI.pMain.pSearch.NODISPLAY = !_UI.pMain.pTabs.tSearch.CHECKED;
  8979. _UI.pSettings.pScanner.NODISPLAY = !_UI.pSettings.pTabs.tScanner.CHECKED;
  8980. _UI.pSettings.pCustom.NODISPLAY = !_UI.pSettings.pTabs.tCustom.CHECKED;
  8981. _UI.pSettings.pAbout.NODISPLAY = !_UI.pSettings.pTabs.tAbout.CHECKED;
  8982. if (_UI.pSettings.pTabs.tAbout.CHECKED) {
  8983. _UI.pSettings.pButtons.bReset.NODISPLAY = 1;
  8984. _UI.pSettings.pButtons.bList.NODISPLAY = 0;
  8985. _UI.pSettings.pButtons.bWizard.NODISPLAY = 0
  8986. } else {
  8987. _UI.pSettings.pButtons.bReset.NODISPLAY = 0;
  8988. _UI.pSettings.pButtons.bList.NODISPLAY = 1;
  8989. _UI.pSettings.pButtons.bWizard.NODISPLAY = 1
  8990. }
  8991. var btns = _UI.pMain.pButtons;
  8992. switch (getRTState()) {
  8993. case ST_CONTINUE:
  8994. case ST_RUN:
  8995. btns.bScan.NODISPLAY = true;
  8996. btns.bPause.NODISPLAY = false;
  8997. btns.bContinue.NODISPLAY = true;
  8998. btns.bStop.NODISPLAY = false;
  8999. btns.bClear.NODISPLAY = true;
  9000. updateReportButtons();
  9001. btns.bSettings.DISABLED = true;
  9002. _UI.pMain.pFilter._DISABLED = true;
  9003. _UI.pMain.pSearch._DISABLED = true;
  9004. break;
  9005. case ST_STOP:
  9006. btns.bScan.NODISPLAY = false;
  9007. btns.bPause.NODISPLAY = true;
  9008. btns.bContinue.NODISPLAY = true;
  9009. btns.bStop.NODISPLAY = true;
  9010. btns.bClear.NODISPLAY = false;
  9011. if (isEmpty(_RT.$seen))
  9012. btns.bClear.DISABLED = true;
  9013. else
  9014. btns.bClear.DISABLED = false;
  9015. updateReportButtons();
  9016. if (_REP.$maxSeverity && !_UI.pMain.NODISPLAY) _RT.$curMessage = {TEXT: trS('msg.finished.text'), TITLE: trS('msg.finished.tip'), CLASS: CL_MSGY};
  9017. btns.bSettings.DISABLED = false;
  9018. _UI.pMain.pFilter._DISABLED = false;
  9019. _UI.pMain.pSearch._DISABLED = false;
  9020. break;
  9021. case ST_PAUSE:
  9022. btns.bScan.NODISPLAY = true;
  9023. btns.bPause.NODISPLAY = true;
  9024. btns.bContinue.NODISPLAY = false;
  9025. btns.bContinue.DISABLED = false;
  9026. btns.bStop.NODISPLAY = false;
  9027. btns.bClear.NODISPLAY = true;
  9028. updateReportButtons();
  9029. btns.bSettings.DISABLED = false;
  9030. _UI.pMain.pFilter._DISABLED = false;
  9031. _UI.pMain.pSearch._DISABLED = false;
  9032. break
  9033. }
  9034. if (RTStateIs(ST_STOP) && !_REP.$maxSeverity)
  9035. if (!_UI.pMain.NODISPLAY)
  9036. if (15 < WM.getZoom())
  9037. _RT.$curMessage = {TEXT: _UI.pSettings.pScanner.oHLReported.CHECKED ? trS('msg.pan.text') : trS('msg.zoomout.text'), TITLE: '', CLASS: CL_MSGY};
  9038. else
  9039. _RT.$curMessage = {TEXT: trS('msg.click.text'), TITLE: '', CLASS: CL_MSGY};
  9040. _UI.pTips.TEXT = _RT.$curMessage.TEXT;
  9041. if (_RT.$curMessage.TITLE)
  9042. _UI.pTips.TITLE = _RT.$curMessage.TITLE;
  9043. else
  9044. _UI.pTips.TITLE = '';
  9045. if (_RT.$curMessage.CLASS)
  9046. _UI.pTips.CLASS = _RT.$curMessage.CLASS;
  9047. else
  9048. _UI.pTips.CLASS = CL_MSG;
  9049. var storageObj = _THUI.saveValues(_UI);
  9050. storageObj[AS_VERSION] = WV_VERSION;
  9051. storageObj[AS_LICENSE] = WV_LICENSE_VERSION;
  9052. storageObj[AS_PASSWORD] = 1;
  9053. try {
  9054. window.localStorage.setItem(AS_NAME, JSON.stringify(storageObj))
  9055. } catch (err) {
  9056. }
  9057. _THUI.docToView(_UI)
  9058. }
  9059. function F_LOGOUT() {
  9060. log('logout');
  9061. _UI = {};
  9062. WMo.events.un({'mergeend': onMergeEnd});
  9063. WM.events.un({'moveend': onMoveEnd, 'zoomend': HLAllObjects, 'changelayer': onChangeLayer});
  9064. WSM.events.un({'selectionchanged': ForceHLAllObjects});
  9065. WC.events.un({'loadstart': onLoadStart});
  9066. WMo.segments.events.un({'objectsadded': onSegmentsAdded, 'objectschanged': onSegmentsChanged, 'objectsremoved': onSegmentsRemoved});
  9067. WMo.venues.events.un({'objectsadded': onVenuesAdded, 'objectschanged': onVenuesChanged, 'objectsremoved': onVenuesRemoved});
  9068. WMo.nodes.events.un({'objectschanged': onNodesChanged, 'objectsremoved': onNodesRemoved})
  9069. }
  9070. async(F_INIT, null, 0);
  9071. var _I18n = {
  9072. $defLng: 'EN',
  9073. $lng: '',
  9074. $translations: null,
  9075. $curSet: null,
  9076. $curCode: '',
  9077. $fallbackSet: null,
  9078. $fallbackCode: '',
  9079. $defSet: null,
  9080. $country2code: null,
  9081. $code2country: null,
  9082. $code2code: null,
  9083. $lng2code: null,
  9084. $code2dir: null
  9085. };
  9086. _I18n.init = function(options) {
  9087. _I18n.$lng = options.$lng || _I18n.$defLng;
  9088. _I18n.$translations = options.$translations || {};
  9089. _I18n.$country2code = options.$country2code || {};
  9090. _I18n.$code2country = options.$code2country || {};
  9091. _I18n.$code2code = options.$code2code || {};
  9092. _I18n.$lng2code = options.$lng2code || {};
  9093. _I18n.$code2dir = options.$code2dir || {}
  9094. };
  9095. _I18n.addTranslation = function(translation) {
  9096. var ccode = translation['.codeISO'];
  9097. if (!ccode) return;
  9098. ccode = ccode.toUpperCase();
  9099. _I18n.$translations[ccode] = translation;
  9100. if (_I18n.$defLng !== ccode) {
  9101. var country = translation['.country'];
  9102. if (country) {
  9103. if (!classCodeIs(country, CC_ARRAY)) country = [country];
  9104. for (var i = 0; i < country.length; i++) {
  9105. var ucountry = country[i].toUpperCase();
  9106. _I18n.$country2code[ucountry] = ccode;
  9107. if (!(ccode in _I18n.$code2country)) _I18n.$code2country[ccode] = ucountry
  9108. }
  9109. }
  9110. var lng = translation['.lng'];
  9111. if (lng) {
  9112. if (!classCodeIs(lng, CC_ARRAY)) lng = [lng];
  9113. for (var i = 0; i < lng.length; i++) {
  9114. var ulng = lng[i].toUpperCase();
  9115. _I18n.$lng2code[ulng] = ccode
  9116. }
  9117. }
  9118. var dir = translation['.dir'];
  9119. if (dir) _I18n.$code2dir[ccode] = dir.toLowerCase();
  9120. var fcode = translation['.fallbackCode'];
  9121. if (fcode) {
  9122. fcode = fcode.toUpperCase();
  9123. if (_I18n.$defLng !== fcode) _I18n.$code2code[ccode] = fcode
  9124. }
  9125. }
  9126. _I18n.$curCode = _I18n.getCodeOL(_I18n.$translations, _I18n.$lng);
  9127. _I18n.$curSet = _I18n.getValueOC(_I18n.$translations, _I18n.$curCode);
  9128. _I18n.$fallbackCode = _I18n.getFallbackCodeOC(_I18n.$translations, _I18n.$curCode);
  9129. _I18n.$fallbackSet = _I18n.getValueOC(_I18n.$translations, _I18n.$fallbackCode);
  9130. _I18n.$defSet = _I18n.$translations[_I18n.$defLng]
  9131. };
  9132. _I18n.getDependantCodes = function(uc) {
  9133. var ret = [];
  9134. for (var depCode in _I18n.$code2code)
  9135. if (_I18n.$code2code[depCode] === uc) ret.push(depCode);
  9136. return ret
  9137. };
  9138. _I18n.getCountryCode = function(uc) {
  9139. if (uc in _I18n.$country2code) return _I18n.$country2code[uc];
  9140. return ''
  9141. };
  9142. _I18n.getCountry = function(ucc) {
  9143. if (ucc in _I18n.$code2country) return _I18n.$code2country[ucc];
  9144. return ''
  9145. };
  9146. _I18n.getCapitalizedCountry = function(ucc) {
  9147. return _I18n.capitalize(_I18n.getCountry(ucc)).toLowerCase().replace(/\b./g, function(c) {
  9148. return c.toUpperCase()
  9149. })
  9150. };
  9151. _I18n.capitalize = function(str) {
  9152. return str.toLowerCase().replace(/\b./g, function(c) {
  9153. return c.toUpperCase()
  9154. })
  9155. };
  9156. _I18n.getDir = function() {
  9157. if (_I18n.$curCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$curCode];
  9158. if (_I18n.$fallbackCode in _I18n.$code2dir) return _I18n.$code2dir[_I18n.$fallbackCode];
  9159. return 'ltr'
  9160. };
  9161. _I18n.getString = function(label) {
  9162. if (label in _I18n.$curSet) return _I18n.$curSet[label];
  9163. if (label in _I18n.$fallbackSet) return _I18n.$fallbackSet[label];
  9164. if (label in _I18n.$defSet) return _I18n.$defSet[label];
  9165. var ret = '[missing ' + label + ']';
  9166. return ret
  9167. };
  9168. _I18n.isLabelExist = function(label) {
  9169. if (label in _I18n.$curSet) return true;
  9170. if (label in _I18n.$fallbackSet) return true;
  9171. if (label in _I18n.$defSet) return true;
  9172. return false
  9173. };
  9174. _I18n.getCodeOL = function(obj, lng) {
  9175. var ccode = _I18n.$lng2code[lng];
  9176. if (ccode)
  9177. if (ccode in obj)
  9178. return ccode;
  9179. else
  9180. return _I18n.getFallbackCodeOC(obj, ccode);
  9181. else
  9182. return _I18n.$defLng
  9183. };
  9184. _I18n.getFallbackCodeOC = function(obj, ccode) {
  9185. var fcode = _I18n.$code2code[ccode];
  9186. if (fcode && fcode in obj) return fcode;
  9187. return _I18n.$defLng
  9188. };
  9189. _I18n.getValueOL = function(obj, lng) {
  9190. return _I18n.getValueOC(obj, _I18n.getCodeOL(obj, lng))
  9191. };
  9192. _I18n.getValueOC = function(obj, ccode) {
  9193. if (ccode in obj)
  9194. return obj[ccode];
  9195. else if (ccode in _I18n.$code2code) {
  9196. var fcode = _I18n.$code2code[ccode];
  9197. if (fcode in obj) return obj[fcode]
  9198. }
  9199. return obj[_I18n.$defLng]
  9200. };
  9201. _I18n.expandSO = function(str, options) {
  9202. if (!options) return str;
  9203. return str.replace(/\$\{(\w+)(\[(\d+)\]|\[(\W*)\])?\}/g, function(all, name, arr, idx, delims) {
  9204. if (arr) {
  9205. if (idx) return options[name][idx] || '';
  9206. return options[name].join(delims)
  9207. } else
  9208. return options[name]
  9209. })
  9210. };
  9211. _I18n.t = function(obj, ccode, options) {
  9212. return _I18n.expandSO(_I18n.getValueOC(obj, ccode), options)
  9213. };
  9214. _I18n.tL = function(obj, options) {
  9215. return _I18n.expandSO(_I18n.getValueOL(obj, _I18n.$lng), options)
  9216. };
  9217. var _AUDIO = {};
  9218. _AUDIO.beep = function(dur, oscType) {
  9219. try {
  9220. _AUDIO._context = new (window.AudioContext || window.webkitAudioContext);
  9221. var osc = _AUDIO._context.createOscillator();
  9222. osc.connect(_AUDIO._context.destination);
  9223. osc.type = oscType || 'sine';
  9224. osc.start(0);
  9225. setTimeout(function() {
  9226. osc.stop(0)
  9227. }, dur)
  9228. } catch (e) {
  9229. log('beep!')
  9230. }
  9231. };
  9232. _THUI.$def = {
  9233. _class: '',
  9234. _disclose: 0,
  9235. _name: '',
  9236. _nodisplay: 0,
  9237. _disabled: 0,
  9238. _reverse: 0,
  9239. _style: '',
  9240. _type: '',
  9241. _onclick: null,
  9242. _onwarning: null,
  9243. _onchange: null
  9244. };
  9245. _THUI.loadValues = function(uiObj, storageObj) {
  9246. if (!storageObj) return;
  9247. if (uiObj.AUTOSAVE && uiObj.AUTOSAVE in storageObj) {
  9248. switch (uiObj.TYPE) {
  9249. case _THUI.TEXT:
  9250. case _THUI.DATE:
  9251. uiObj.VALUE = storageObj[uiObj.AUTOSAVE];
  9252. break;
  9253. default:
  9254. uiObj.CHECKED = storageObj[uiObj.AUTOSAVE];
  9255. break
  9256. }
  9257. return
  9258. }
  9259. for (var i in uiObj) {
  9260. if (!uiObj.hasOwnProperty(i)) continue;
  9261. var o = uiObj[i];
  9262. switch (classCode(o)) {
  9263. case CC_OBJECT:
  9264. _THUI.loadValues(o, storageObj);
  9265. break;
  9266. case CC_ARRAY:
  9267. for (var j = 0; j < o.length; j++) _THUI.loadValues(o[j], storageObj);
  9268. break
  9269. }
  9270. }
  9271. };
  9272. _THUI.saveValues = function(uiObj, storageObj) {
  9273. if (!storageObj) storageObj = {};
  9274. if (uiObj.AUTOSAVE) {
  9275. switch (uiObj.TYPE) {
  9276. case _THUI.TEXT:
  9277. case _THUI.DATE:
  9278. storageObj[uiObj.AUTOSAVE] = uiObj.VALUE;
  9279. break;
  9280. default:
  9281. storageObj[uiObj.AUTOSAVE] = uiObj.CHECKED;
  9282. break
  9283. }
  9284. return storageObj
  9285. }
  9286. for (var i in uiObj) {
  9287. if (!uiObj.hasOwnProperty(i)) continue;
  9288. var o = uiObj[i];
  9289. switch (classCode(o)) {
  9290. case CC_OBJECT:
  9291. _THUI.saveValues(o, storageObj);
  9292. break;
  9293. case CC_ARRAY:
  9294. for (var j = 0; j < o.length; j++) _THUI.saveValues(o[j], storageObj);
  9295. break
  9296. }
  9297. }
  9298. return storageObj
  9299. };
  9300. _THUI.storage = {
  9301. get: function(name) {
  9302. try {
  9303. var s = window.localStorage.getItem(name);
  9304. return s ? JSON.parse(s) : null
  9305. } catch (e) {
  9306. return null
  9307. }
  9308. },
  9309. set: function(name, obj) {
  9310. try {
  9311. var s = JSON.stringify(obj);
  9312. window.localStorage.setItem(name, s);
  9313. return true
  9314. } catch (e) {
  9315. return false
  9316. }
  9317. }
  9318. };
  9319. _THUI.addElemetClassStyle = function(elem, cl, newStyle) {
  9320. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9321. return _THUI.addStyle(elem + '.' + cl + newStyle)
  9322. };
  9323. _THUI.addElemetIdStyle = function(elem, id, newStyle) {
  9324. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9325. return _THUI.addStyle(elem + '#' + id + newStyle)
  9326. };
  9327. _THUI.addStyle = function(newStyle) {
  9328. for (var i = 0; i < 10; i++) {
  9329. var sheet = document.styleSheets[i];
  9330. try {
  9331. if ('cssRules' in sheet) return sheet.insertRule(newStyle, sheet.cssRules.length)
  9332. } catch (e) {
  9333. }
  9334. }
  9335. };
  9336. _THUI.getByDOM = function(uiObj, elem) {
  9337. if (uiObj.IDOM == elem || uiObj.ODOM == elem) return uiObj;
  9338. var ret = null;
  9339. for (var i in uiObj) {
  9340. if (!uiObj.hasOwnProperty(i)) continue;
  9341. var o = uiObj[i];
  9342. switch (classCode(o)) {
  9343. case CC_OBJECT:
  9344. if (ret = _THUI.getByDOM(o, elem)) return ret;
  9345. break;
  9346. case CC_ARRAY:
  9347. for (var j = 0; j < o.length; j++)
  9348. if (ret = _THUI.getByDOM(o[j], elem)) return ret;
  9349. break
  9350. }
  9351. }
  9352. return null
  9353. };
  9354. _THUI.getById = function(uiObj, id) {
  9355. if (uiObj.ID && uiObj.ID == id) return uiObj;
  9356. var ret = null;
  9357. for (var i in uiObj) {
  9358. if (!uiObj.hasOwnProperty(i)) continue;
  9359. var o = uiObj[i];
  9360. switch (classCode(o)) {
  9361. case CC_OBJECT:
  9362. if (ret = _THUI.getById(o, id)) return ret;
  9363. break;
  9364. case CC_ARRAY:
  9365. for (var j = 0; j < o.length; j++)
  9366. if (ret = _THUI.getById(o[j], id)) return ret;
  9367. break
  9368. }
  9369. }
  9370. return null
  9371. };
  9372. _THUI.docToView = function(uiObj) {
  9373. _THUI.appendUI(null, uiObj)
  9374. };
  9375. _THUI.viewToDoc = function(uiObj) {
  9376. if (uiObj.IDOM) {
  9377. if (classCodeDefined(uiObj.IDOM.value)) {
  9378. var val = uiObj.IDOM.value;
  9379. if (classCodeDefined(uiObj.MAX) && val > uiObj.MAX) val = uiObj.MAX;
  9380. if (classCodeDefined(uiObj.MIN) && val < uiObj.MIN) val = uiObj.MIN;
  9381. uiObj.VALUE = val
  9382. }
  9383. if (classCodeDefined(uiObj.IDOM.checked)) uiObj.CHECKED = uiObj.IDOM.checked
  9384. }
  9385. for (var i in uiObj) {
  9386. if (!uiObj.hasOwnProperty(i)) continue;
  9387. var o = uiObj[i];
  9388. switch (classCode(o)) {
  9389. case CC_OBJECT:
  9390. _THUI.viewToDoc(o);
  9391. break;
  9392. case CC_ARRAY:
  9393. o.forEach(_THUI.viewToDoc);
  9394. break
  9395. }
  9396. }
  9397. };
  9398. _THUI.appendUI = function(parent, uiObj, uiPrefix, uiName) {
  9399. uiPrefix = uiPrefix || '';
  9400. uiName = uiName || '';
  9401. var id = uiObj.ID;
  9402. if (!classCodeDefined(id)) id = '';
  9403. var NA = uiObj.NA || false;
  9404. var NAti = uiObj.NATITLE || '';
  9405. var ch = uiObj.CHECKED || false;
  9406. var cl = classCodeDefined(uiObj.CLASS) ? uiObj.CLASS : _THUI.$def._class;
  9407. var cli = uiObj.CLASSI;
  9408. var _cl = uiObj._CLASS;
  9409. var va = uiObj.VALUE;
  9410. var disc = classCodeDefined(uiObj.DISCLOSE) ? uiObj.DISCLOSE : _THUI.$def._disclose;
  9411. var _disc = uiObj._DISCLOSE;
  9412. var di = NA ? NA : classCodeDefined(uiObj.DISABLED) ? uiObj.DISABLED : _THUI.$def._disabled;
  9413. var _di = uiObj._DISABLED;
  9414. var no = classCodeDefined(uiObj.NODISPLAY) ? uiObj.NODISPLAY : _THUI.$def._nodisplay;
  9415. var _no = uiObj._NODISPLAY;
  9416. var ma = uiObj.MAX;
  9417. var mal = uiObj.MAXLENGTH;
  9418. var plh = uiObj.PLACEHOLDER;
  9419. var mi = uiObj.MIN;
  9420. var name = classCodeDefined(uiObj.NAME) ? uiObj.NAME : _THUI.$def._name;
  9421. var _name = uiObj._NAME;
  9422. var ro = uiObj.READONLY || false;
  9423. var re = classCodeDefined(uiObj.REVERSE) ? uiObj.REVERSE : _THUI.$def._reverse;
  9424. var _re = uiObj._REVERSE;
  9425. var step = uiObj.STEP;
  9426. var st = classCodeDefined(uiObj.STYLE) ? uiObj.STYLE : _THUI.$def._style;
  9427. var _st = uiObj._STYLE;
  9428. var sti = classCodeDefined(uiObj.STYLEI) ? uiObj.STYLEI : '';
  9429. var sto = classCodeDefined(uiObj.STYLEO) ? uiObj.STYLEO : '';
  9430. var te = uiObj.TEXT || '';
  9431. var ti = NA ? NAti ? NAti : 'Not available' : uiObj.TITLE;
  9432. var ty = classCodeDefined(uiObj.TYPE) ? uiObj.TYPE : _THUI.$def._type;
  9433. var _ty = uiObj._TYPE;
  9434. var accK = uiObj.ACCESSKEY || '';
  9435. var oncl = uiObj.ONCLICK || _THUI.$def._onclick;
  9436. var onclo = uiObj.ONCLICKO;
  9437. var _oncl = uiObj._ONCLICK;
  9438. var onwa = uiObj.ONWARNING || _THUI.$def._onwarning;
  9439. var _onwa = uiObj._ONWARNING;
  9440. var onch = uiObj.ONCHANGE || _THUI.$def._onchange;
  9441. var _onch = uiObj._ONCHANGE;
  9442. var els = [];
  9443. var iel = document.createElement('input');
  9444. var oel = document.createElement('label');
  9445. var ote = te;
  9446. if (classCodeIs(uiPrefix, CC_NUMBER)) uiPrefix = 'p' + uiPrefix;
  9447. if (classCodeIs(id, CC_NUMBER)) id = 'i' + id;
  9448. if (classCodeIs(cl, CC_NUMBER)) cl = 'c' + cl;
  9449. if (classCodeIs(cli, CC_NUMBER)) cli = 'c' + cli;
  9450. if (classCodeIs(name, CC_NUMBER)) name = 'n' + name;
  9451. switch (ty) {
  9452. case _THUI.NONE:
  9453. iel = oel = null;
  9454. ote = '';
  9455. break;
  9456. case _THUI.NUMBER:
  9457. iel.type = 'number';
  9458. break;
  9459. case _THUI.RADIO:
  9460. if (disc && !id) id = uiPrefix + uiName + 'i';
  9461. if (!name) name = uiPrefix + 'n';
  9462. iel.type = 'radio';
  9463. if (disc) oel.htmlFor = id;
  9464. break;
  9465. case _THUI.CHECKBOX:
  9466. if (disc && !id) id = uiPrefix + uiName + 'i';
  9467. iel.type = 'checkbox';
  9468. if (disc) oel.htmlFor = id;
  9469. break;
  9470. case _THUI.BUTTON:
  9471. iel = document.createElement('button');
  9472. if (te) iel.innerHTML = te;
  9473. oel = null;
  9474. ote = '';
  9475. break;
  9476. case _THUI.TEXT:
  9477. iel.type = 'text';
  9478. break;
  9479. case _THUI.PASSWORD:
  9480. iel.type = 'password';
  9481. break;
  9482. case _THUI.DATE:
  9483. iel.type = 'date';
  9484. break;
  9485. default:
  9486. iel = null;
  9487. oel = document.createElement('div');
  9488. break
  9489. }
  9490. if (oel && iel && !disc)
  9491. if (re)
  9492. oel.appendChild(iel);
  9493. else
  9494. oel.insertBefore(iel, oel.firstChild);
  9495. if (classCodeDefined(uiObj.ODOM)) oel = uiObj.ODOM;
  9496. if (classCodeDefined(uiObj.IDOM)) iel = uiObj.IDOM;
  9497. if (ote) {
  9498. var spanEl = document.createElement('span');
  9499. spanEl.innerHTML = ote;
  9500. spanEl.style.pointerEvents = 'none';
  9501. var oldSpans = oel.getElementsByTagName('span');
  9502. var bInserted = false;
  9503. for (var i = 0; i < oldSpans.length; i++) oel.removeChild(oldSpans[i]);
  9504. oel.insertBefore(spanEl, oel.firstChild)
  9505. }
  9506. if (oel && iel)
  9507. if (disc)
  9508. if (re)
  9509. els.push(oel, iel);
  9510. else
  9511. els.push(iel, oel);
  9512. else
  9513. els.push(oel);
  9514. else {
  9515. if (oel) els.push(oel);
  9516. if (iel) els.push(iel)
  9517. }
  9518. if (id) {
  9519. if (iel)
  9520. iel.id = id;
  9521. else if (oel)
  9522. oel.id = id;
  9523. uiObj.ID = id
  9524. }
  9525. if (name) uiObj.NAME = name;
  9526. if (iel) {
  9527. if (cli) iel.className = cli;
  9528. if (accK) iel.accessKey = accK;
  9529. if (classCodeDefined(ch)) iel.checked = ch;
  9530. iel.disabled = di;
  9531. if (classCodeDefined(ma)) iel.max = ma;
  9532. if (classCodeDefined(mal)) iel.maxLength = mal;
  9533. if (classCodeDefined(mi)) iel.min = mi;
  9534. if (plh) iel.placeholder = plh;
  9535. if (name) iel.name = name;
  9536. if (classCodeDefined(ro)) iel.readonly = ro;
  9537. if (classCodeDefined(step)) iel.step = step;
  9538. if (classCodeDefined(va)) iel.value = va;
  9539. if (classCodeDefined(oncl)) iel.onclick = oncl;
  9540. if (classCodeDefined(onch)) iel.onchange = onch;
  9541. if (classCodeDefined(onwa) && uiObj.WARNING) iel.onchange = onwa;
  9542. if (sti) iel.style.cssText = sti
  9543. }
  9544. if (oel) {
  9545. if (classCodeDefined(onclo)) oel.onclick = onclo;
  9546. if (sto) oel.style.cssText = sto
  9547. }
  9548. var fel = els[0];
  9549. if (fel) {
  9550. if (cl) fel.className = cl;
  9551. if (st) fel.style.cssText = st
  9552. } else
  9553. fel = parent;
  9554. var oldDef = deepCopy(_THUI.$def);
  9555. if (classCodeDefined(_cl)) _THUI.$def._class = _cl;
  9556. if (classCodeDefined(_disc)) _THUI.$def._disclose = _disc;
  9557. if (classCodeDefined(_name)) _THUI.$def._name = _name;
  9558. if (classCodeDefined(_di)) _THUI.$def._disabled = _di;
  9559. if (classCodeDefined(_no)) _THUI.$def._nodisplay = _no;
  9560. if (classCodeDefined(_re)) _THUI.$def._reverse = _re;
  9561. if (classCodeDefined(_st)) _THUI.$def._style = _st;
  9562. if (classCodeDefined(_ty)) _THUI.$def._type = _ty;
  9563. if (_oncl) _THUI.$def._onclick = _oncl;
  9564. if (_onch) _THUI.$def._onchange = _onch;
  9565. if (_onwa) _THUI.$def._onwarning = _onwa;
  9566. for (var i in uiObj) {
  9567. if (!uiObj.hasOwnProperty(i)) continue;
  9568. var o = uiObj[i];
  9569. switch (classCode(o)) {
  9570. case CC_OBJECT:
  9571. fel = _THUI.appendUI(fel, o, uiPrefix + uiName, i);
  9572. break;
  9573. case CC_ARRAY:
  9574. for (var j = 0; j < o.length; j++)
  9575. if (classCodeIs(o[j], CC_OBJECT)) fel = _THUI.appendUI(fel, o[j], uiPrefix + uiName, i);
  9576. break
  9577. }
  9578. }
  9579. _THUI.$def = oldDef;
  9580. els.forEach(function(e) {
  9581. if (no)
  9582. e.style.display = 'none';
  9583. else
  9584. e.style.display = '';
  9585. if (classCodeDefined(ti)) e.title = ti;
  9586. if (e !== uiObj.IDOM && e !== uiObj.ODOM) parent.appendChild(e)
  9587. });
  9588. uiObj.IDOM = iel;
  9589. uiObj.ODOM = oel;
  9590. Object.defineProperties(uiObj, {IDOM: {enumerable: false}, ODOM: {enumerable: false}});
  9591. return parent
  9592. };
  9593. })()