Re: transifex-client (tx) – Hvordan i all verden settes den opp?
Sveinn í Felli <[email protected]> Wed, 22 Aug 2018 08:37:29 +0000
| Newsgroups | gmane.comp.internationalization.norwegian |
|---|---|
| Message-ID | <[email protected]> |
=DEann mi=F0 22.=E1g=FA 2018 07:56, skrifa=F0i Johnny A. Solbu: > On Tuesday 21 August 2018 23:56, Petter Reinholdtsen wrote: >> Jeg s=E5 p=E5 et eksempel jeg hadde liggende, det ser slik ut: > = >> [ring.ring-client-gnomepot] > = > Og hvordan finner du frem til den strengen? Hei, (dessverre er min norsk/skandinavisk skriving litt rusten, s=E5 jeg = fortsetter p=E5 engelsk...) Did you create your .tx/config by initiating in the tx-client ?: tx init and then: tx set --auto-remote https://www.transifex.com/projects/p/yourproject If the project is correctly set up, you should automatically get all the = lines from [yourproject] and its subprojects. Unfortunately for some = projects one has to enter "tx set --auto-remote" for each subproject, = but most will do with the master line. An example would be like this (in the torproject folder): tx init and then: tx set --auto-remote https://www.transifex.com/projects/p/torproject Then you get in .tx/config: [main] host =3D https://www.transifex.com [torproject.2-bridgedb-bridgedb-pot] file_filter =3D translations/torproject.2-bridgedb-bridgedb-pot/<lang>.po source_lang =3D en type =3D PO [torproject.3-https-everywhere-https-everywhere-dtd] file_filter =3D = translations/torproject.3-https-everywhere-https-everywhere-dtd/<lang>.dtd source_lang =3D en type =3D DTD [torproject.3-https-everywhere-https-everywhere-properties] file_filter =3D = translations/torproject.3-https-everywhere-https-everywhere-properties/<lan= g>.properties source_lang =3D en type =3D MOZILLAPROPERTIES ...etc, etc... After that you can do: tx pull -l no (or nb to get the latest translation files) tx push -t (to send in your modified files) I'm not so sure you should fiddle manually with .tx/config unless you = know what you're doing and have a specific reason to do so. Vennlig hilsen, Sveinn =ED Felli islandsk oversetter _______________________________________________ E-postlista i18n-no [email protected] https://lister.ping.uio.no/mailman/lister.ping.uio.no/listinfo/i18n-no