mirror of
https://github.com/zyphlar/organicmaps-locale-viewer.git
synced 2024-03-08 13:27:46 +00:00
Fix lack of dist_direction_onto_street
This commit is contained in:
parent
af833e1777
commit
df1f036e5f
|
@ -766,7 +766,11 @@
|
|||
};
|
||||
var fmtKey = btoa(JSON.stringify(fmtObj));
|
||||
window.fmtSoundData[fmtKey] = fmtObj;
|
||||
if (!data['dist_direction_onto_street']) {
|
||||
data['dist_direction_onto_street'] = window.originalEnglishData['dist_direction_onto_street'];
|
||||
}
|
||||
var streetFmt = buildFmtStringInput('dist_direction_onto_street', data['dist_direction_onto_street'], "text-bg-dark", fmtKey);
|
||||
// handle empty translations
|
||||
|
||||
var streetDir;
|
||||
// overwrite the direction string if present for street TTS
|
||||
|
|
Loading…
Reference in New Issue
Block a user