Git Product home page Git Product logo

Comments (12)

fedelibre avatar fedelibre commented on June 21, 2024

I think I've come across the same issue in the past, read from here.

I don't know if it's really the same bug and now it's late to check.

Which OS and which Frescobaldi version are you using?

from frescobaldi.

juppes2 avatar juppes2 commented on June 21, 2024

First of all: I am on Frescobaldi 3.3.0 and my OS is Linux Mint 21.3 Victoria with Cinnamon.
Maybe what you mention is a good hint. It seems to me, too, that those 7 menu entries come from somewhere else. Having looked at $USER/frescobaldi/i18n/messages.py, I have found all those entries to be in there. But how can I find out what is being called when I right-click some selection in the editor?

In messages.py I see this:

('QTextControl', '&Undo')

('QTextControl', '&Redo')

('QTextControl', 'Cu&t')

('QTextControl', '&Copy')

('QTextControl', '&Paste')

('QTextControl', 'Delete')

('QTextControl', 'Select All')

And what can be done about it so that these strings are localized as well? What Frescobaldi version did you localize, and what did you change so they also were in Italian? If I got Wilbert right, he has added some missing strings in messages.py, but those seven are already there and yet not being called.

So I guess it is only a similar bug. And what is 'QTextControl'?

from frescobaldi.

fedelibre avatar fedelibre commented on June 21, 2024

Well, I've just tried it on Frescobaldi 3.3.0 (flatpak) and if I choose the Italian locale (or any local other than English) I can reproduce the same bug:

immagine

from frescobaldi.

fedelibre avatar fedelibre commented on June 21, 2024

As written by Wilbert in the issue I linked to, the buttons come from the Gtk theme. If you change the style to the Breeze theme, you'll see only translated items. So we should figure out why the fix made by Wilbert four years ago doesn't work anymore.

from frescobaldi.

jeanas avatar jeanas commented on June 21, 2024

(@juppes2 Are you the same person as @papioara?)

from frescobaldi.

juppes2 avatar juppes2 commented on June 21, 2024

@jeanas: Yes, I am

from frescobaldi.

juppes2 avatar juppes2 commented on June 21, 2024

@fedelibre: Ah, that's where it comes from! Do you mean by changing to Breeze theme that I just change it in Frescobaldi?

from frescobaldi.

juppes2 avatar juppes2 commented on June 21, 2024

I have played around on my system a little. The result is: that fix from a couple of years ago still works on my System (Linux Mint 21.3 Victoria with Cinnamon), but not unconditionally. Here's what I did:

  1. Installed Breeze - since I did not have it, and it did not appear among the choices in the Frescobaldi settings. Just that without making any changes like in Qt-Settings or redefining environment variables and the like. It's just there now.
  2. Restarted. Now the English menu entries are gone.

FrescobaldiContextMenu2

So, if you have Breeze, you are covered as for the localization, if not, well... So does this 'mechanism' exist, because the icons are needed to be called from there? To me it seems that is must not necessarily be the case, because in the Edit menu on top of the window, they are there with the correctly localized entries, and this was already the case before having installed Breeze.

from frescobaldi.

juppes2 avatar juppes2 commented on June 21, 2024

Arrgh, it's back again, although I did not change anything myself. Side effect of system update??

FrescobaldiMenu3

from frescobaldi.

fedelibre avatar fedelibre commented on June 21, 2024

Well, it's strange. Are you sure you don't have multiple installations of Frescobaldi?

I'm just trying Frescobaldi rpm on my computer at work and it seems to have problems with translations. I can only set no translation or the default system language (no other languages available); switching to the defaut (Italian) language doesn't work. I'll see if I have time to investigate more next week.

from frescobaldi.

juppes2 avatar juppes2 commented on June 21, 2024

from frescobaldi.

papioara avatar papioara commented on June 21, 2024

I have compared my two Frescobaldi versions now ( 3.2 and 3.3.0). The first one is the one installed from the repos, and the latter one is the one I always use for actual work. As far as localisations are concerned, they have the features I expected: version 3.2 has a mix of English and (in my case) German in very many menus. Obviously the localisation had been done quite a while ago. In the meantime new features have been added, but the commands which came with them remained untranslated. In the meantime I have updated the German localisation for version 3.3.0 which is comprehensive now. But both these versions have this one feature in common: the right-click menu of a selected item in the editor which still is a mix of English and German (see list at the beginning of this post. Apparently the entries mentioned there are being loaded from somewhere else, but I still have no sufficient clue where they come from.
I had installed Breeze on my system, and for one day all the entries were all German, but the next day - as shown above - the old English/German mix was back for unknown reasons.

from frescobaldi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.