#linuxcnc-devel Logs

Dec 05 2021

#linuxcnc-devel Calendar

04:04 AM pere: silopolis[m]: btw, perhaps time to apply for hosting on hosted.weblate.org?
06:01 AM silopolis[m]: pere: you tell me 👌👍
08:54 AM pere: silopolis[m]: as master already have src/po/, we can get going with that one first.
10:10 AM -!- #linuxcnc-devel mode set to +v by ChanServ
12:06 PM -!- #linuxcnc-devel mode set to +v by ChanServ
12:35 PM silopolis[m]: pere: first configuration try currently processing...
12:35 PM pere: silopolis[m]: parse error
12:36 PM silopolis[m]: Looks like weblate would better have en.po and linuxcnc.pot files...
12:36 PM silopolis[m]: pere: Huh?
12:36 PM pere: I do not understand your "first configuration try currently processing... " comment.
12:37 PM pere: why should en.po be wanted when there is a pot file?
12:46 PM silopolis[m]: I'm setting up weblate atm
12:47 PM silopolis[m]: There's no pot file in src/po/
12:48 PM silopolis[m]: We also need a branch for weblate to push updates if we don't want it to do it straight into master
12:48 PM silopolis[m]: I named it l10n-weblate
12:49 PM silopolis[m]: We also need to install weblate's GH app to push updates to weblate
12:51 PM pere: I prefer pulling manually from weblate myself, instead of granting weblate direct write access to the git repo.
12:55 PM pere: silopolis[m]: should definitely maintain a pot file in master for src/po/
12:58 PM roguish[m]: silopolis: pere thank you guys for busting ass working on this................
12:59 PM silopolis[m]: roguish @roguish:matrix.org: my pleasure
01:01 PM silopolis[m]: <pere> "I prefer pulling manually from..." <- That's only through a gh app and only in a dedicated branch
01:04 PM pere: silopolis[m]: sure, I know how the alternative work. :)
01:05 PM silopolis[m]: pere @smoe seb_kuzminsky https://hosted.weblate.org/projects/linuxcnc/
01:06 PM pere: weblate always make its git repository available via <URL: https://hosted.weblate.org/git/... >. :)
01:07 PM pere: silopolis[m]: could you perhaps copy the pot file to nb.po?
01:09 PM silopolis[m]: pere: Your choice. I'm more an automate all the things kind of lazy guy 😁
01:10 PM pere: silopolis[m]: I do not have commit access, so I can not do so.
01:12 PM pere: silopolis[m]: any idea why Gmocappy ended up as the component?
01:13 PM silopolis[m]: pere: pere: hmm, I see.
01:14 PM silopolis[m]: pere: because Gmocappy po files are in a different directory
01:15 PM silopolis[m]: pere: documentation will end up in a third one
01:16 PM pere: right.
01:26 PM -!- #linuxcnc-devel mode set to +v by ChanServ
01:29 PM -!- #linuxcnc-devel mode set to +v by ChanServ
01:32 PM pere: silopolis[m]: the language codes in src/po/gmoccapy/ do not seem to match the languages listed on weblate. any idea why?
01:33 PM silopolis[m]: pere @smoe seb_kuzminsky request for libre hosting sent to WebLate. Requirements include mention of WebLate usage for translation in README
01:34 PM pere: silopolis[m]: where did the dictionary come from?
01:35 PM silopolis[m]: pere: I don't see mismatch !? 🤔
01:36 PM pere: <URL: https://hosted.weblate.org/projects/linuxcnc/#languages > list a lot of languages not listed in src/po/gmoccapy/.
01:38 PM silopolis[m]: pere: may be because this is at the project level, so all languages present in the project are listed
01:38 PM silopolis[m]: pere: link please
01:38 PM pere: sure, which bring us to the question "where did the dictionary come from?"
02:05 PM silopolis[m]: <pere> "sure, which bring us to the..." <- sorry I don't get it. Which dictionnary ?
02:06 PM pere: <URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ >.
02:06 PM pere: It is flagged as a dictionary in my view.
02:13 PM pere: and its list of strings is peculiar. like "11" and "11:".
02:25 PM silopolis[m]: Don't really know the exact meaning of this dictionary thing. And for the strings, well, it's how weblate imported our po files.
02:26 PM silopolis[m]: This is all new to me and I don't have complete understanding, yet
02:27 PM silopolis[m]: May be that we have more sanitizing to do...
02:38 PM pere: silopolis[m]: I am 'pere' on weblate, if you want to add me as an admin to have a look.
02:58 PM silopolis[m]: pere: done
03:01 PM pere: <URL: https://hosted.weblate.org/settings/linuxcnc/linuxcnc/ > show a 'dictionary' flag set.
03:09 PM silopolis[m]: Yes it's in component config. May be I misunderstood and shouldn't have checked that field. Feel free to remove it
03:17 PM pere: removed.
03:17 PM pere: silopolis[m]: do you have git access to master?
03:22 PM silopolis[m]: <pere> "silopolis: do you have git..." <- U mean write access?
03:23 PM pere: yes
03:24 PM silopolis[m]: Not at all
03:26 PM pere: so seb_kuzminsky, then...
03:35 PM pere: but the first step is to get the pot files into git, to keep all PO files in sync.
03:44 PM silopolis[m]: 👍
06:29 PM Tom_shop is now known as Tom_L