Uninstalled the old version and installed 1.11. JAI works for me now.
I agree, the “WME Junction Angle Info 1.11” script works fine !
The latest version as of June 2016 is 1.12. I’ve updated the wiki to match this info.
URL of WME beta was changed from https://editor-beta.waze.com/editor to https://beta.waze.com/editor and that broke the script.
Just erasing the editor- provided a temporary fix to me
Enviado desde mi iPhone utilizando Tapatalk
Junction Angle Info is no longer working for me since the Editor downgrade (downgrade = Waze HQ idea of upgrade). Any ideas/fixes gratefully received.
Running JAI v1.12 on Firefox v49.0.2 under OS X El Capitan v10.11.6
1.12 works for me…
But its on chrome
https://chrome.google.com/webstore/detail/wme-junctionangle/cfcpfikgmfoghjfpfepmklballeagadf?utm_source=chrome-app-launcher-info-dialog
Same problem. JAI v1.12 doesn’t work on FF v49.0.2 (last 2-3 days, maybe little bit more?)
Try 1.13 from milkboy: https://github.com/milkboy/WME-ja/raw/development/wme_junctionangle.user.js
Script works only in EN localization (language). When I swich language to Slovenčina - Slovak (SK) or Čeština - Czech (CZ), script doesn’t work.
1.13 also not working with other INTL localizations, like Portuguese, Portuguese-Brazil, Spanish, and Latam-Spanish…
Looking at console, error is in line 2055:
return I18n.translations[loc].ja = def;
Uncaught TypeError: Cannot set property ‘ja’ of undefined
Way to get JAI functional in WME with other languages than EN:
Copy lines 2092 - 2125
//Default language (English)
set_trans(window.I18n.defaultLocale,
...
...
}));
after the line 2264.
In the new position change the lines 2266+2267
set_trans(window.I18n.defaultLocale,
set_trans('en', {
to
//set_trans(window.I18n.defaultLocale,
set_trans(I18n.locale, {
and line 2298
}));
to
});
At the end comment “old” lines 2092 - 2125.
Complete code @ http://pastebin.com/pWc7nRpS
Unless you haven’t seen ![]()
https://www.waze.com/forum/viewtopic.php?f=819&t=205435&p=1536387#p1536387
More simple, just change line 2087 like this, no more :
return I18n.translations[I18n.locale].ja = def;
The problem is that now I18n contains only the active language of WME. Before there was also english by default.
Thanks, I don’t understand JavaScript too far ![]()
milkboy, could you please add to the next version the czech translation? Thanks!
[code] //Czech (čeština)
case ‘cs’:
set_trans(‘cs’, {
name: “Junction Angle Info”,
settingsTitle: “Nastavení JAI”,
resetToDefault: “Výchozí nastavení”,
defaultOn: “Vždy aktivní”,
aAbsolute: “Absolutní”,
aDeparture: “Odjezdový”,
angleMode: “Styl zobrazení úhlů”,
angleDisplay: “Styl výpisu úhlů”,
angleDisplayArrows: “Směrové šipky”,
displayFancy: “Zdobný”,
displaySimple: “Jednoduchý”,
guess: “Odhadovat navigační hlášky”,
noInstructionColor: “Bez hlášení”,
keepInstructionColor: “"Držte se/Zůstaňte"”,
exitInstructionColor: “"Sjeďte"”,
turnInstructionColor: “"Odbočte"”,
uTurnInstructionColor: “"Otočte se"”,
noTurnColor: “Nepovolené směry”,
problemColor: “Nejasné úhly”,
roundaboutColor: “Rozbité kruháče”,
roundaboutOverlayColor: “Kruháče”,
roundaboutOverlayDisplay: “ukazovat kruháče”,
rOverNever: “Ne-”,
rOverSelected: “Při výběru”,
rOverAlways: “Vždy”,
decimals: “Počet des. míst”,
pointSize: “Velikost písma”,
roundaboutnav: "US WIKI: Kruhové objezdy",
ghissues: "Hlášení problémů JAI"
});
break;[/code]
I’ll make the fixes listed here, but probably on Monday, as I’m pretty busy the whole weekend.
Ah, forgot to update here that the script is updated (both release and development versions). No guarantees, but “works for me” at least ![]()
Work fine for me under Firefox 50 ![]()
Thanks ![]()
So, which is the link to latest version now? I will update first post… Or, Milkboy, maybe you can create new topic, and we will close this?