You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you select "zh_Hans" from the language menu on the Journalist Interface, you get an internal server error. This doesn't happen on the Source Interface, though.
Steps to Reproduce
git checkout release/1.7.0
make sure apt_repo_url is set to https://apt-test.freedom.press and apt_repo_pubkey_files is set to apt-test-signing-key.pub in install_files/ansible-base/roles/install-fpf-repo/defaults/main.yml
./securedrop-admin setup
./securedrop-admin sdconfig and type in zh_Hans as a language choice
./securedrop-admin install and make sure install occurs without error
./securedrop-admin tailsconfig
Run tails updater
Go to journalist interface, log in, and select zh_hans from the language menu
Expected Behavior
To see the journalist interface switch to zh_hans, like it does for the source interface, e.g.:
Actual Behavior
The text was updated successfully, but these errors were encountered:
It's due to a key error triggered by an out-of-date placeholder variable in one of the source strings in the journalist interface ({doc_num} changed to {num}). It's been sorted out during the translation work for this release -- the translators have been working with the updated source string, and the simplified Chinese translation is now correct. So when we merge the updated translations just before release, it will be fixed.
You can verify this now with the dev server, if that timing makes you nervous. I did. 🙂
git checkout -b zhtest origin/release/1.7.0
make dev
log in to the JI, switch to simplified Chinese, confirm the key error
it takes a while, but once it's finished, try the JI again and it should work
eloquence
changed the title
[1.7.0-rc4 QA] Internal Server Error when selecting
[1.7.0-rc4 QA] Internal Server Error when selecting Simplified Chinese
Jan 23, 2021
Description
When you select "zh_Hans" from the language menu on the Journalist Interface, you get an internal server error. This doesn't happen on the Source Interface, though.
Steps to Reproduce
git checkout release/1.7.0
apt_repo_url
is set tohttps://apt-test.freedom.press
andapt_repo_pubkey_files
is set toapt-test-signing-key.pub
ininstall_files/ansible-base/roles/install-fpf-repo/defaults/main.yml
./securedrop-admin setup
./securedrop-admin sdconfig
and type inzh_Hans
as a language choice./securedrop-admin install
and make sure install occurs without error./securedrop-admin tailsconfig
Expected Behavior
To see the journalist interface switch to zh_hans, like it does for the source interface, e.g.:
Actual Behavior
The text was updated successfully, but these errors were encountered: