segaal
Hi!
[Only registered and activated users can see links. ]
To ensure proper translation of the interface into other languages, please make changes to the se_time.ui and DataTime_o4.lua files (AvSpeed-Time_se.zip and DateTime_o4i.zip plugins).
In the English version of se_time.ui, replace
<text class="btn_12" text=(%lua.totalAv ? (translate(m_i18n("t:")) + builtin.format(L"%{speed}", %other.trips[1].speed_total_avg)) : (translate(m_i18n("á: ")) + builtin.format(L"%{speed}", %other.trips[1].speed_driving_avg ))) color=#ffffff glowColor=#000000 fontSize=27 visible=(%lua.timeOnMap == 2 || (!%lua.showTimeSp && %lua.timeOnMap == 3)) Z=5000/>
Replace "á: " => "a: "
In DataTime_o4.lua, change the string structure (L"System", L"Week Day, Month, Day", L"Week Day Time") so that they can be translated using Dictionary.lang
function sc_GetDateFormat(format)
if format == 0 then
rc = L"System"
elseif format == 1 then
rc = L"Week Day, Month, Day"
else
rc = L"Week Day Time"
end
return rc
end
And replace "System" => "System Settings"
Thanks in advance.
P.S. Corrected plugins can be posted separately.



Likes: 

Reply With Quote

Bookmarks