Giter Site home page Giter Site logo

Comments (6)

eteran avatar eteran commented on May 29, 2024

So, the tr suggestion is not how things work. tr is exclusively for marking string literals for translation, not numeric constants/enums such as QMessageBox::Cancel.

It is my understanding that these standard buttons are supposed to be automatically translated (part of the main benefit of having standard buttons!

Can you show me exactly how you are running nedit-ng to test the translations? Also, is it possible that you don't have the french locale built for your Qt installation?

from nedit-ng.

ericxuo avatar ericxuo commented on May 29, 2024

Hi,

Here is what I do (as everybody else I guess) :
cd <where my nedit-ng git tree is located>
git pull
rm -rf build
mkdir build
cd build
cmake ..
make

All my menus are now in french. When you've added my last changes, I could see them.
It means that there is another place where this 'cancel' pattern has not been translated, but I really don't know where it is.
I'll have another look tomorrow.

Regards.

Xuo.

from nedit-ng.

ericxuo avatar ericxuo commented on May 29, 2024

Hi,

I have better understood what you meant about the "french locale built for your Qt installation".
There are several menus where this "cancel" or "apply" button is not translated.
I'll ask to Mageia forum how to ensure I've got a french locale build for Qt.

Regards.

Xuo.

from nedit-ng.

eteran avatar eteran commented on May 29, 2024

Any update on this, I think when using the default buttons that this is out of my control 😕. But I would expect that if you have the French translation files installed for Qt itself, that it should "just work"

from nedit-ng.

ericxuo avatar ericxuo commented on May 29, 2024

Hi,

I don't know if I have the French translation files installed for Qt. I've asked how to check this but I didn't get any answer. I think so as my complete Mageia version is in french, but it is possible there are some files which are not.
As this is not a killer bug, I don't work on it at the moment. But I still see the 'Cancel' button each time I leave nedit-ng for example.

Regards.

Xuo.

from nedit-ng.

ericxuo avatar ericxuo commented on May 29, 2024

Hi,

I've just noticed a few days ago that I didn't have this issue. I didn't update nedit-ng, so I guess some qt files on my Mageia6 OS have been updated .

Regards.

Xuo.

from nedit-ng.

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.