Giter Club home page Giter Club logo

Comments (42)

meteos77 avatar meteos77 commented on September 3, 2024 3

it's okay you're a magician

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024 2

You?

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024 2

This is good I have in stock :-)
oh-no-emoji

good sunday

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024 1

You updated your distribution and put in a ticket against BiblioteQ?

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024 1

what was my problem?

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024 1

the problem encountered by me "difficult to reproduce"

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024 1

I feel like I'm making my list to Santa Claus :-) with your request to get all the tickets going

so don't forget

  • for me it's a voluntary hobby,
  • for you it's probably a great passion to code.

Take my requests as ideas for the future that can give new features to BiblioteQ.
If they come true: so much the better, if it is not the case it is not a problem.

having a good time is the main thing in life

good end of day

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

complement
I took the sources from 2022-05-30 same problem.
with the sources of 2022-03-30 everything works fin

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

the problem concerns only the French language
if I make a modification on another language it is well taken into account.

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

lupdate biblioteq.pro
lrelease biblioteq.pro

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

I don't understand what's going on
I changed my LinuxMint 20.3 distribution to 21 so I reinstalled everything.

I can translate another language but French is impossible :-(

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

I can translate another language or dooble

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

I don't know what this means.

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

I'll keep looking

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

https://doc.qt.io/qt-6/linguist-manager.html

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Translation files (system and ones provided by translators) are embedded into the application.

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

If you modify a QM file, you need to build BiblioteQ.

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

cat biblioteq_fr_FR.ts | grep Pauvre -> 0 result
cat biblioteq_fr_FR.ts | grep Fin -> 0 result

while BiblioteQ presents "Pauvre" as Condition of the books
while BiblioteQ presents "Fin" as Condition of the books
of course I recompile BQ
make clean ; make

it keeps the old translation without taking the new one?

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

A TS file is human-readable. You need to <release> it. Hence, lrelease.

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Did you read Documentation/TRANSLATIONS?

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Modifying the TS file will not automatically modify its QM counterpart. You cannot expect that your Linguist changes will magically appear in BQ.

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

I know how .ts -> .qm works usually no problem
with another language at the moment it works

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Did this work before you upgraded your system?

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

I have done it dozens of times
still now it works for another language with BiblioteQ but French ... it keeps the old ones as if a cache was not updated

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Are you modifying the correct file?

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

yes good file, the date is updated

can you please make the compilation with my file in the 1st mail and see if in French the condition is Fine or Correct

that will allow to know if it is my installation which does not function

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Screenshot_20220812_124021

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

What does qmake --version report?

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

QMake version 3.1
Using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Perhaps Qt's base files are a problem.

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

I'm also at Qt 5.15.3.

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

in French the condition is Fin or Correct for a new book

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

make distclean
git pull
qmake -o Makefile biblioteq.pro
make
./biblioteq.sh

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024
  1. The base Qt translation file was not current. If so, this did not pose a problem on my system.
  2. Your compilation did not utilize the most current QM file.
  3. You were not executing the current version of BiblioteQ.
  4. Your generated Makefile was generated using a qmake which is not the qmake you have now. That is, your Qt changed while the Makefile referenced an older Qt.

Some possibilities.

  1. If the translations are functional before you upgrade your system, inspect your system.
  2. If another person is not able to reproduce your problem, inspect your system.
  3. Evaluate your behavior and environment before submitting a ticket.

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

The second #3 is perhaps the cause of all system failures.

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

thank you for all these explanations

the French was not in the update of May 16, 2022 : Qt 5.15.3 translation files.
So the file qtbase_fr.qm was weird because in the package version of 2022-05-30, the content was the translation of BiblioteQ and not the qtbase.
and since this date not too much translation until now so I didn't notice it.

Thanks again for solving the problem without you I would not have found it.

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

I think I understood my mistake

in the French translation archive ticket French Traduction
I included a "dumpling", the file qtbase_fr.qm. It is not the real qtbase_fr.qm file of the qt distribution but a simple copy of biblioteq_fr.qm (with name change to qtbase_fr.qm).
at the time I didn't know what was the purpose of the qtbase_en.qm file and took it for a component of BiblioteQ.

Sorry for the loss of your precious time.

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

I don't have a facepalm emoji, but if I did, I would attach it.

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

Can you please create a list of item that you'd like and create a ticket for them? Please do not include items that already exist. Be very descriptive. :)

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

what do you mean by a list of items?

from biblioteq.

textbrowser avatar textbrowser commented on September 3, 2024

You've had many, many requests. Create a list of remaining requests and put them into a ticket.

from biblioteq.

meteos77 avatar meteos77 commented on September 3, 2024

pere-noel-emoji

from biblioteq.

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.