From kde-i18n-doc Mon Oct 31 15:38:25 2016 From: Albert Astals Cid Date: Mon, 31 Oct 2016 15:38:25 +0000 To: kde-i18n-doc Subject: Re: LTS and translation and branch Message-Id: <13590908.d3sot2yulT () xps> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=147792832618007 El diumenge, 30 d=E2=80=99octubre de 2016, a les 16:10:40 CET, Karl Ove Huf= thammer va=20 escriure: > Albert Astals Cid skreiv 26. okt. 2016 00:37: > > B) We put the plasma 5.8 translations in a different branch where the > >=20 > > releases pick them up, but we do not make this part of the daily "update > > .po file" process scripty runs > >=20 > > C) We put the plasma 5.8 translations in a different branch where the > >=20 > > releases pick them up*and* we make this part of the daily "update .po > > file" process scripty runs > >=20 > >=20 > > The "most ideal" solution is probably C, but I am not sure the machine > > doing all the scripty runs has enough CPU power to go over another bran= ch > > every day, so we may have to end up with B) >=20 > Would it be possible to let scripty process the files from this branch > less regularly, e.g. once a week or even once a month? It's doable, but means more "man work" to adapt the scripts, so if we do it= , i=20 would not do it from starters, we can spare some CPU if we save some=20 "developer" time. Cheers, Albert >=20 > > In any case, even if we do C I don't see myself adding that branch to t= he > > webpage statistics. >=20 > That wouldn=E2=80=99t be a big problem. Each team can easily run =E2=80= =98posieve stats=E2=80=99 > on the branch to see updated statistics. With the =E2=80=98-sbydir=E2=80= =99 and > =E2=80=98-smsgbar=E2=80=99 options (or, perhaps preferably, =E2=80=98-swb= ar=E2=80=99 instead of > =E2=80=98-smsgbar=E2=80=99), the output looks very similar to the output = on the > statistics Web page. It even uses colour coding for > complete/fuzzy/untranslated messages. >=20 > For people using the summit workflow, the following command can be used. >=20 > posieve stats -sbydir -smsgbar -stemplates:xx:templates -sbranch:lts > xx/summit/messages/ >=20 > Here =E2=80=98xx=E2=80=99 is the language code for the translation and = =E2=80=98lts=E2=80=99 is the name > of the branch. The =E2=80=98-stemplates=E2=80=99 option is used to also c= ount strings > that only exists in the .pot templates (i.e., that doesn=E2=80=99t have a > corresponding .po file). There are also other useful options for > =E2=80=98posieve stats=E2=80=99. For example, the =E2=80=98-sabsolute=E2= =80=99 scales the length of the > bars with the total number of messages in the given module/directory.