Comments (12)
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.
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.
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:
from frescobaldi.
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.
(@juppes2 Are you the same person as @papioara?)
from frescobaldi.
@jeanas: Yes, I am
from frescobaldi.
@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.
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:
- 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.
- Restarted. Now the English menu entries are gone.
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.
Arrgh, it's back again, although I did not change anything myself. Side effect of system update??
from frescobaldi.
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.
from frescobaldi.
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)
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 1
- AttributeError: 'NoneType' object has no attribute 'document' HOT 1
- AttributeError: 'WebEngineDummy' object has no attribute 'view' HOT 1
- Music view: prefer to show most recent output file HOT 2
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 3
- Upgrade to pyqt6? HOT 1
- RuntimeError: wrapped C/C object of type QAction has been deleted HOT 1
- Frescobaldi fails to process files with a semicolon in their filename HOT 1
- Feature Request: Simple Midi Record / fast edit
- api-ms-win-core-path-l1-1-0.dll missing HOT 3
- Asking for compatibility of Windows 7 with previous versions of Frescobaldi and Lilypond HOT 1
- Weird issues with UI scaling on high screen resolution
- TypeError: cannot create weak reference to 'NoneType' object
- RecursionError: maximum recursion depth exceeded while calling a Python object
- Freezes on restart HOT 1
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 1
- RuntimeError: wrapped C/C object of type QAction has been deleted
- Copy as Colored HTML does not work in Linux unless "plain text" setting is checked HOT 4
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 1
- Patterns to match in text (including comments) regexes not saving
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frescobaldi.