mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
i18n: Move static/locale back to locale.
As of commitcff40c557b
(#9300), these files are no longer served directly to the browser. Disentangle them from the static asset pipeline so we can refactor it without worrying about them. This has the side effect of eliminating the accidental duplication of translation data via hash-naming in our release tarballs. This reverts commitb546391f0b
(#1148). Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
d6f5655d0d
commit
bbb56df6b0
@@ -100,10 +100,6 @@ os.makedirs('prod-static', exist_ok=True)
|
||||
|
||||
shutil.move(os.path.join(settings.STATIC_ROOT, 'source-map'), 'prod-static/source-map')
|
||||
|
||||
# Move language_options.json to the production release
|
||||
run(['cp', '-aT', 'static/locale', os.path.join(settings.STATIC_ROOT, 'locale')],
|
||||
stdout=fp, stderr=fp)
|
||||
|
||||
# Generate /team page markdown for authors
|
||||
authors_cmd = ['./tools/update-authors-json']
|
||||
if os.environ.get("TRAVIS"):
|
||||
|
Reference in New Issue
Block a user