Opensuspect Translators

18 Members
All about the translations my dude3 Servers

Load older messages

5 Feb 2021
@nicemicro:matrix.orgNice MicroI just want to make it as simple as possible haha16:13:14
@nicemicro:matrix.orgNice Microso anything that works automatically is good for you16:13:25
@grbavacigla:matrix.orgGrbavaCiglaYes, for UI things, I don't know if it works automaticaly or checkbox is needed16:14:02
@nicemicro:matrix.orgNice Microwhat I was thinking to do is just make a Dictionary for filenames and just add the text from code16:14:21
In reply to @nicemicro:matrix.org
what I was thinking to do is just make a Dictionary for filenames and just add the text from code
I wanted to do the same for problem I mentioned above (manualy adding to pot file), but it isn't quite elegant solution
@nicemicro:matrix.orgNice Microbut I think if I add it directly in the source code with the tr() function, the pybabel update will find it and add it to the pot file automatically16:16:18
@grbavacigla:matrix.orgGrbavaCiglaProblem is when you don't want translations in your code and you have to add it manualy, you cant (yet)16:17:32
@nicemicro:matrix.orgNice Microyeah16:19:14
@nicemicro:matrix.orgNice MicroI think it's fine doing it in the code16:19:23
@grbavacigla:matrix.orgGrbavaCiglaOf course, but sometimes you cant have translations in code or else it will become ugly (problem with my settings)16:20:00
@nicemicro:matrix.orgNice MicroI haven't checked how that's done16:20:47
@nicemicro:matrix.orgNice MicroI just checked16:23:19
@nicemicro:matrix.orgNice Microhow is the translation achieved for the main menu though?16:25:07
@grbavacigla:matrix.orgGrbavaCigla -k text 16:33:20
@grbavacigla:matrix.orgGrbavaCiglaYeah, you don't have to check any checkboxes, UI works out of the box16:34:07
21 Feb 2021
@nicemicro:matrix.orgNice Micro GrbavaCigla: after adding a lot of tr() functions in my code, do I have to run the script by myself? 07:11:36
@nicemicro:matrix.orgNice Micro GrbavaCigla: I have ran the script called update.sh in the locale directory but it just screws up everything lol 14:18:30
@nicemicro:matrix.orgNice MicroThis is the error message I get:14:25:12
@nicemicro:matrix.orgNice Micro
Traceback (most recent call last):
  File "/usr/bin/pybabel", line 33, in <module>
    sys.exit(load_entry_point('Babel==2.9.0', 'console_scripts', 'pybabel')())
  File "/usr/lib/python3.9/site-packages/babel/messages/frontend.py", line 929, in main
    return CommandLineInterface().run(sys.argv)
  File "/usr/lib/python3.9/site-packages/babel/messages/frontend.py", line 853, in run
    return cmdinst.run()
  File "/usr/lib/python3.9/site-packages/babel/messages/frontend.py", line 481, in run
    for filename, lineno, message, comments, context in extracted:
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 149, in extract_from_dir
    for message_tuple in check_and_call_extract_file(
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 207, in check_and_call_extract_file
    for message_tuple in extract_from_file(
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 243, in extract_from_file
    return list(extract(method, fileobj, keywords, comment_tags,
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 320, in extract
    raise ValueError('Unknown extraction method %r' % method)
ValueError: Unknown extraction method 'godot_scene'
@nicemicro:matrix.orgNice Microso I'd guess I'm missing something on my system?14:25:33
26 Feb 2021
@grbavacigla:matrix.orgGrbavaCiglaWeird, never happend before. I will check it tomorrow. It is a problem with pybabel09:27:44
@nicemicro:matrix.orgNice Micro GrbavaCigla: I am guessing 12:35:08
@nicemicro:matrix.orgNice Microthat the godot module of pybabel is missing on my system12:35:28
23 Mar 2021
@osayami:matrix.orgosayami joined the room.04:40:44
6 Apr 2021
@vladdd_:matrix.org@vladdd_:matrix.org joined the room.12:48:20
13 Apr 2021
@vladdd_:matrix.org@vladdd_:matrix.org left the room.08:18:34
21 Apr 2021
@moxvallix:matrix.orgMoxvallix changed their display name from moxvallix to MoKsvalliKs.15:56:55
@moxvallix:matrix.orgMoxvallix changed their display name from MoKsvalliKs to KMoksvalliks.16:09:40
22 Apr 2021
@moxvallix:matrix.orgMoxvallix changed their display name from KMoksvalliks to Moxvallix.06:04:31

There are no newer messages yet.

Back to Room List