!CiVXfvydvMUOVmENYH:matrix.org

Opensuspect Translators

18 Members
All about the translations my dude3 Servers

Load older messages


SenderMessageTime
3 Feb 2021
@grbavacigla:matrix.orgGrbavaCiglahttps://github.com/pybpc/bpc19:19:27
@grbavacigla:matrix.orgGrbavaCiglamain file was updated year ago, builds are failing....19:20:02
@nicemicro:matrix.orgNice MicroHmmm23:55:34
@nicemicro:matrix.orgNice MicroIsn't there a still maintained fork or something compatible?23:56:10
@nicemicro:matrix.orgNice MicroIf we need to switch to something we should switch as soon as possible23:56:43
5 Feb 2021
@grbavacigla:matrix.orgGrbavaCiglahttps://github.com/mrombout/gdgettext ?14:35:31
@grbavacigla:matrix.orgGrbavaCiglaBut i cant find the documentation. Also I cant find a way to manually add new strings14:37:27
@nicemicro:matrix.orgNice Micro GrbavaCigla: I was just looking at the update.sh in the src/locale directory of OpenSuspect 15:25:16
@nicemicro:matrix.orgNice Micro pybabel extract -F "${DIR}/../../babelrc" -k text -k LineEdit/placeholder_text -k tr -o "${DIR}/en.po" "${DIR}/../../" 15:25:52
@nicemicro:matrix.orgNice Microthere is that line15:25:55
@nicemicro:matrix.orgNice Micro it contains a -k tr switch 15:26:05
@nicemicro:matrix.orgNice Microwhich might or might not be the thing?15:26:24
@nicemicro:matrix.orgNice Microin godot the tr() function translates the string that it recieves as an argument15:26:46
@grbavacigla:matrix.orgGrbavaCiglaYes, but how do we give it predefined strings?15:28:25
@nicemicro:matrix.orgNice Microwhat do you mean?15:29:19
@nicemicro:matrix.orgNice Microif instead of a "string" we always use tr("string") in the code, then this update.sh should automatically extract the strings I'd guess15:30:03
@nicemicro:matrix.orgNice Microat least that's how I understand what's happening right now, too15:30:27
@grbavacigla:matrix.orgGrbavaCiglaWhen I say string, I mean translated string (like in crowdin), not "" string :D. You are right, but the problem is that we cannot add translatable strings to pot file directly because pybabel will comment it out.15:44:19
@nicemicro:matrix.orgNice Microohh okay15:46:00
@nicemicro:matrix.orgNice Microso you mean the string that it is translated TO, not the string to translate15:46:22
@grbavacigla:matrix.orgGrbavaCiglayes15:46:38
@nicemicro:matrix.orgNice Microbut won't pybabel add those to the whatever list that crowdin uses?15:49:23
@nicemicro:matrix.orgNice Microand when we translate in crowdin, it will make a pullrequest to the repo?15:49:45
@grbavacigla:matrix.orgGrbavaCiglaYes, i don't know how to talk :). pybabel takes all functions and text and adds it to a file (pot file), crowdin takes those strings. User translates that and crowdin make pr.15:52:22
@grbavacigla:matrix.orgGrbavaCigla
In reply to @grbavacigla:matrix.org
yes
Actually no, string as in pot file string...
15:52:38
@nicemicro:matrix.orgNice Microit's too complicate for me lol16:10:19
@nicemicro:matrix.orgNice Microis it gonna be enough if I start adding the tr() function in the character customization screen to get the stuff automaticaly?16:10:53
@grbavacigla:matrix.orgGrbavaCigla
In reply to @nicemicro:matrix.org
it's too complicate for me lol
Because i don't know how to explain....
16:11:54
@grbavacigla:matrix.orgGrbavaCigla
In reply to @nicemicro:matrix.org
is it gonna be enough if I start adding the tr() function in the character customization screen to get the stuff automaticaly?
Of course
16:12:27
@grbavacigla:matrix.orgGrbavaCiglaLooks like I didn't understand you quite well too :)16:12:38

Show newer messages


Back to Room ListRoom Version: 5