#27474 closed defect (wontfix)

update tb-manual build script

Reported by: traumschule Owned by: phoul
Priority: Medium Milestone:
Component: Community/Tor Browser Manual Version:
Severity: Normal Keywords:
Cc: ggus Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The former

GET_TB_VERSION="${tor_browser_bundle_dir}/gitian/get-tb-version"

is no longer valid and https://gitweb.torproject.org/tor-browser/user-manual.git/tree/configure.ac#n11 needs to be updated:

The version is currently not used, but the locales are needed by YELP.

Child Tickets

Change History (5)

comment:1 Changed 13 months ago by traumschule

With the temporary hack in https://github.com/traumschule/tor-tb-manual/tree/fix-configure

and adding this script to user-manual/add_lang (and chmod +x add_lang)

lang=$1
echo $lang
if ! test -f "$lang/$lang.po"; then \
  (cd "$lang/" && \
    itstool -o "$lang.po.tmp" ../C/about-tor-browser.page ../C/bridges.page ../C/circumvention.page ../C/downloading.page ../C/first-time.page ../C/index.page ../C/known-issues.page ../C/managing-identities.page ../C/onionsites.page ../C/plugins.page ../C/secure-connections.page ../C/security-slider.page ../C/translate.page ../C/transports.page ../C/troubleshooting.page ../C/uninstalling.page ../C/updating.page && \
    mv "$lang.po.tmp" "$lang.po"); \
else \
  (cd "$lang/" && \
    itstool -o "$lang.po.tmp" ../C/about-tor-browser.page ../C/bridges.page ../C/circumvention.page ../C/downloading.page ../C/first-time.page ../C/index.page ../C/known-issues.page ../C/managing-identities.page ../C/onionsites.page ../C/plugins.page ../C/secure-connections.page ../C/security-slider.page ../C/translate.page ../C/transports.page ../C/troubleshooting.page ../C/uninstalling.page ../C/updating.page && \
    msgmerge -o "$lang.po" "$lang.po" "$lang.po.tmp" && \
    rm "$lang.po.tmp"); \
fi

i was able to build it with:
for lang in da ca ga-IE he id is ja nb-NO sv-SE zh-TW; do ./add_lang $lang; done; make

comment:2 Changed 13 months ago by emmapeel

We should provide tb-manual and support-portal links at least for all the locales shipped with the bundle, as they get linked from the (i) on the address bar, and sometimes they send users to a 404:

https://mailman.boum.org/pipermail/tails-l10n/2018-September/005733.html

EDIT: I found a ticket about this: #27559

Last edited 13 months ago by emmapeel (previous) (diff)

comment:3 Changed 13 months ago by traumschule

sorry, last track of this. is there anything i can help? should the current system be updated or do we just transition to lektor?

comment:4 Changed 11 months ago by ggus

Hi, I'm closing this ticket once we migrated to lektor!
Thanks!

comment:5 Changed 11 months ago by ggus

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.