Þann mið 22.ágú 2018 07:56, skrifaði Johnny A. Solbu:
On Tuesday 21 August 2018 23:56, Petter Reinholdtsen wrote:
Jeg så på 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å jeg fortsetter på 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 = https://www.transifex.com
[torproject.2-bridgedb-bridgedb-pot] file_filter = translations/torproject.2-bridgedb-bridgedb-pot/<lang>.po source_lang = en type = PO
[torproject.3-https-everywhere-https-everywhere-dtd] file_filter = translations/torproject.3-https-everywhere-https-everywhere-dtd/<lang>.dtd source_lang = en type = DTD
[torproject.3-https-everywhere-https-everywhere-properties] file_filter = translations/torproject.3-https-everywhere-https-everywhere-properties/<lang>.properties source_lang = en type = 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 í Felli islandsk oversetter