Menu

#1343 Some Window titles are not translated

Undefined
fixed
nobody
Undefined
2023-01-31
2022-12-06
No

Some UI titles are translatable but are not effectively shown as translated.
This concerns :
"Management" in main.cpp, line 913
"Logs & Others", line 1069
"Fortran Call/Called-By tree", line 26 in calltree and/or fortranproject.cpp, line 490

Titles of the UI windows are translatable, but still appear in english on the UI.
I think that the problem comes from an item "caption" that has been created in default.conf and it is this caption which is used. If, in this default.con file, I replace the words by their equivalent translated, It's OK. But it's just a workaround. More, if I switch back to an English interface, those words still remain in my locale language.

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2022-12-06

    The "Management" issue may be because languages are not loaded yet.
    Probably same cause for "Logs & Others".

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-12-07

    Pane's captions are saved/restored as part of the perspective, this may be tough to fix.

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-12-07
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2022-12-07

    Fixed in [r13099], thank you.

     

    Related

    Commit: [r13099]

  • Gerard DURAND

    Gerard DURAND - 2022-12-07

    It's OK for Management and Logs & Others.
    Still there for "Fortran Call/Called-By tree".

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-12-07

    Translated three more panes. The Fortran pane is different, I have to check it later.

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-12-07
    • status: fixed --> pending
     
  • Miguel Gimenez

    Miguel Gimenez - 2022-12-10

    Still there for "Fortran Call/Called-By tree".

    Works for me.

     
    • Gerard DURAND

      Gerard DURAND - 2022-12-11

      OK. I have desactivated the fortran project plugin and reactivated it, then restarted C::B. Now it works better.
      Nevertheless, if I switch back to English UI and restart C::B, the title of this caption is still in French! Other titles (management, logs & others) are in english.

       
  • Miguel Gimenez

    Miguel Gimenez - 2023-01-31
    • status: pending --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2023-01-31

    Should be fixed in [r13179]. The captions may be "sticky", because panes' captions are saved in default.conf so they will not change until the second restart.

     

    Related

    Commit: [r13179]


    Last edit: Miguel Gimenez 2023-01-31
  • Gerard DURAND

    Gerard DURAND - 2023-01-31

    Cool. Thanks.
    It seems that after a single restart it's OK after a language change.
    Nevertheless, with Fortran plugin there is still a small problem, even after several restart.
    If you right click on a subroutine name and chose the menu Show / Call tree (or Show / Call-by tree), the menu itself is in the correct language (English or French for me), but the caption title of the opened window is always in French (even after several restart).

     
  • Gerard DURAND

    Gerard DURAND - 2023-01-31

    Oups ! Sorry ... tested on r13178 ... Wait a minute !...
    With r13180 it's better. But, in some cases (but I have not still found the best way to reproduce that systematically), it's necessary to disable and re-enable the Fortran plugin then restart C::B.

     

Log in to post a comment.

MongoDB Logo MongoDB