-
paoslo
hello
-
paoslo
because gui code changes often i did a lupdate `find src -name \*.qml` -ts translations/*.ts -no-obsolete
-
paoslo
but translations files were almost empy after
-
xiphon
lupdate qml.qrc -ts translations/monero-core.ts
-
xiphon
paoslo ^
-
paoslo
ok xiphon i'll try.
-
paoslo
Updating 'translations/monero-core.ts'...
-
paoslo
Found 0 source text(s) (0 new and 0 already existing)
-
paoslo
Kept 697 obsolete entries
-
paoslo
again same empty file
-
paoslo
hello
-
paoslo
how to update qml files for translate
-
paoslo
lupdate qml.qrc -ts translations/monero-core.ts
-
paoslo
dont work
-
xiphon
pinging ErCiccione[m]
-
paoslo
ok
-
ErCiccione[m]
I have that command somewhere i have to look it up. Why do you want to update the translations btw paoslo?
-
ErCiccione[m]
btw strings need to be updated on the repository on weblate or we would get conflicts.
-
paoslo
because source changes so translation remains english on too much text
-
ErCiccione[m]
If it's a new source, yes, otherwise weblate will pick up the string somewhere else. Right now we cannot update the strings because we are still waiting for some strings to be reviewed.
-
ErCiccione[m]
I cannot commit the changes + the refresh of the strings until that is done
-
paoslo
how to update with lupdate outside of weblate
-
paoslo
there are a lot of lines
-
ErCiccione[m]
You can update your local strings with lupdate, but better to just wait until it's done upstream. The command you used should be good. Make sure to run it from the root of the repo
-
paoslo
i run it from root
-
paoslo
and failed
-
ErCiccione[m]
works for me: `lupdate qml.qrc -ts translations/monero-core.ts -no-obsolete`
-
paoslo
lupdate version 4.8.7
-
paoslo
same
-
paoslo
output
-
paoslo
Found 0 source text(s) (0 new and 0 already existing)
-
paoslo
Removed 697 obsolete entries
-
ErCiccione[m]
i'm using version 5.9.5 but that shouldn't make any difference.
-
ErCiccione[m]
regardless, as i was saying lupdating your local repository is not really beneficial
-
ErCiccione[m]
unless you want to test stuff or whatever
-
paoslo
if i install 5.9.5 maybe works?
-
ErCiccione[m]
¯\_(ツ)_/¯
-
paoslo
strange is that the only that remains after running lupdate is
paste.debian.net/1184253
-
paoslo
any suggestion?
-
ErCiccione[m]
That's strange indeed. Try using a newest version, if that doesn't work i have no idea
-
paoslo
ok
-
paoslo
u install from apt or compiled from source
-
ErCiccione[m]
apt
-
paoslo
hello
-
paoslo
lupdate qml.qrc -ts translations/monero-core.ts -no-obsolete updates only monero-core.ts
-
paoslo
if i do lupdate qml.qrc -ts translations/monero-core_whatever_language.ts -no-obsolete dont work
-
paoslo
anyone hre