Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 4 of 4

Threaded View

  1. #4
    Member Cheldron's Avatar
    Join Date
    Nov 2021
    Location
    Another Side of the Moon
    Age
    71
    Posts
    28
    Rep Power
    10

    Default

    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.
    Last edited by Cheldron; Yesterday at 03:43 PM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •