Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Itanlian, Arabic, Spanish, Chinese and Korean #9899

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

jinhojang6
Copy link
Contributor

@jinhojang6 jinhojang6 commented Jan 24, 2020

Italian : Enrico & Rachid (it.json)
Chinese: Steven (zh.json)
Korean: Jinho (ko.json)
Arabic: Daoud (ar.json)
Spanish: Lalo (es_419.json)

@jinhojang6 jinhojang6 requested a review from a team as a code owner January 24, 2020 00:49
@jinhojang6 jinhojang6 self-assigned this Jan 24, 2020
@auto-assign auto-assign bot removed the request for review from a team January 24, 2020 00:49
@status-github-bot
Copy link

Pull Request Checklist

  • Docs: Updated the documentation, if affected
  • Docs: Added or updated inline comments explaining intention of the code
  • Tests: Ensured that all new UI elements have been assigned accessibility IDs
  • Tests: Signaled need for E2E tests with label, if applicable
  • Tests: Briefly described what was tested and what platforms were used
  • UI: In case of UI changes, ensured that UI matches Figma
  • UI: In case of UI changes, requested review from a Core UI designer
  • UI: In case of UI changes, included screenshots of implementation

@status-im-auto
Copy link
Member

status-im-auto commented Jan 24, 2020

Jenkins Builds

Click to see older builds (25)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 988d686 #1 2020-01-24 00:58:39 ~8 min ios 📦ipa 📲
✔️ 988d686 #1 2020-01-24 01:27:21 ~37 min android 📦apk 📲
✔️ 988d686 #1 2020-01-24 01:28:48 ~38 min android-e2e 📦apk 📲
✔️ 7a4801e #2 2020-01-24 12:12:48 ~8 min ios 📦ipa 📲
✔️ 7178654 #3 2020-01-24 12:39:41 ~8 min ios 📦ipa 📲
✔️ 7178654 #3 2020-01-24 12:45:03 ~13 min android 📦apk 📲
✔️ 7178654 #3 2020-01-24 12:45:11 ~13 min android-e2e 📦apk 📲
✔️ edd0199 #4 2020-01-24 18:10:59 ~9 min ios 📦ipa 📲
✔️ edd0199 #4 2020-01-24 18:13:43 ~12 min android 📦apk 📲
✔️ edd0199 #4 2020-01-24 18:18:44 ~17 min android-e2e 📦apk 📲
✔️ 2783e65 #5 2020-01-25 04:42:03 ~9 min ios 📦ipa 📲
✔️ 2783e65 #5 2020-01-25 04:50:47 ~18 min android-e2e 📦apk 📲
✔️ 2783e65 #5 2020-01-25 04:50:59 ~18 min android 📦apk 📲
✔️ 4258f51 #6 2020-01-27 12:51:07 ~9 min ios 📦ipa 📲
✔️ 4258f51 #6 2020-01-27 12:53:40 ~12 min android 📦apk 📲
✔️ 4258f51 #6 2020-01-27 13:00:35 ~19 min android-e2e 📦apk 📲
b8e10c9 #7 2020-01-27 15:22:18 ~3 min android 📄log
b8e10c9 #7 2020-01-27 15:22:35 ~3 min ios 📄log
b8e10c9 #7 2020-01-27 15:39:37 ~20 min android-e2e 📄log
✔️ 1a8a6c1 #8 2020-01-27 17:03:56 ~9 min ios 📦ipa 📲
✔️ 1a8a6c1 #8 2020-01-27 17:16:46 ~22 min android-e2e 📦apk 📲
✔️ 1a8a6c1 #8 2020-01-27 17:16:46 ~22 min android 📦apk 📲
✔️ 99b6d4b #10 2020-01-28 16:58:23 ~9 min ios 📦ipa 📲
✔️ 99b6d4b #10 2020-01-28 17:00:19 ~11 min android-e2e 📦apk 📲
✔️ 99b6d4b #10 2020-01-28 17:01:00 ~12 min android 📦apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 969aca0 #11 2020-01-29 15:40:28 ~11 min ios 📦ipa 📲
✔️ 969aca0 #11 2020-01-29 15:54:34 ~25 min android-e2e 📦apk 📲
✔️ 969aca0 #11 2020-01-29 15:54:45 ~25 min android 📦apk 📲
✔️ 99f7a97 #12 2020-01-30 07:27:12 ~11 min android 📦apk 📲
✔️ 99f7a97 #12 2020-01-30 07:28:29 ~13 min ios 📦ipa 📲
✔️ 99f7a97 #12 2020-01-30 07:33:07 ~17 min android-e2e 📦apk 📲

@statustestbot
Copy link

100% of end-end tests have passed

Total executed tests: 101
Failed tests: 0
Passed tests: 101

Passed tests (101)

Click to expand
1. test_can_see_all_transactions_in_history
Device sessions

2. test_install_pack_and_send_sticker
Device sessions

3. test_send_message_in_group_chat
Device sessions

4. test_login_with_new_account
Device sessions

5. test_clear_history_of_group_chat_via_group_view
Device sessions

6. test_timestamp_in_chats
Device sessions

7. test_password_in_logcat_sign_in
Device sessions

8. test_logcat_recovering_account
Device sessions

9. test_modify_transaction_fee_values
Device sessions

10. test_public_chat_clear_history
Device sessions

11. test_need_help_section
Device sessions

12. test_send_and_open_links
Device sessions

13. test_mobile_data_usage_popup_stop_syncing
Device sessions

14. test_mobile_data_usage_settings
Device sessions

15. test_create_new_group_chat
Device sessions

16. test_sign_typed_message
Device sessions

17. test_user_can_switch_network
Device sessions

18. test_mobile_data_usage_popup_continue_syncing
Device sessions

19. test_set_profile_picture
Device sessions

20. test_home_view
Device sessions

21. test_open_google_com_via_open_dapp
Device sessions

22. test_send_message_to_newly_added_contact
Device sessions

23. test_share_contact_code_and_wallet_address
Device sessions

24. test_make_admin_member_of_group_chat
Device sessions

25. test_connection_is_secure
Device sessions

26. test_add_to_contacts
Device sessions

27. test_add_account_to_multiaccount_instance
Device sessions

28. test_can_open_dapp_from_dapp_store
Device sessions

29. test_user_can_remove_profile_picture
Device sessions

30. test_refresh_button_browsing_app_webview
Device sessions

31. test_long_press_to_delete_1_1_chat
Device sessions

32. test_can_add_existing_ens
Device sessions

33. test_transaction_wrong_password_wallet
Device sessions

34. test_public_chat_messaging
Device sessions

35. test_unread_messages_counter_public_chat
Device sessions

36. test_delete_one_to_one_chat_via_delete_button
Device sessions

37. test_long_press_to_delete_public_chat
Device sessions

38. test_text_message_1_1_chat
Device sessions

39. test_delete_public_chat_via_delete_button
Device sessions

40. test_can_use_purchased_stickers_on_recovered_account
Device sessions

41. test_open_transaction_on_etherscan
Device sessions

42. test_onboarding_screen_when_requesting_tokens_for_recovered_account
Device sessions

43. test_unread_messages_counter_1_1_chat
Device sessions

44. test_contact_profile_view
Device sessions

45. test_logcat_backup_recovery_phrase
Device sessions

46. test_delete_group_chat_via_delete_button
Device sessions

47. test_start_chat_with_ens
Device sessions

48. test_add_and_remove_contact_from_public_chat
Device sessions

49. test_open_blocked_site
Device sessions

50. test_open_chat_by_pasting_public_key
Device sessions

51. test_ens_username_recipient
Device sessions

52. test_token_with_more_than_allowed_decimals
Device sessions

53. test_fetch_more_history_in_empty_chat
Device sessions

54. test_open_public_chat_using_deep_link
Device sessions

55. test_switch_users_and_add_new_account
Device sessions

56. test_copy_contact_code_and_wallet_address
Device sessions

57. test_send_transaction_from_daap
Device sessions

58. test_send_two_transactions_one_after_another_in_dapp
Device sessions

59. test_message_marked_as_sent_in_1_1_chat
Device sessions

60. test_long_press_delete_clear_all_dapps
Device sessions

61. test_copy_and_paste_messages
Device sessions

62. test_deploy_contract_from_daap
Device sessions

63. test_back_forward_buttons_browsing_website
Device sessions

64. test_password_in_logcat_creating_account
Device sessions

65. test_add_custom_token
Device sessions

66. test_sign_message_from_daap
Device sessions

67. test_group_chat_system_messages
Device sessions

68. test_dapps_permissions
Device sessions

69. test_request_public_key_status_test_daap
Device sessions

70. test_logcat_send_transaction_from_wallet
Device sessions

71. test_pair_devices_sync_name_photo_public_group_chats
Device sessions

72. test_log_level_and_fleet
Device sessions

73. test_add_and_delete_watch_only_account_to_multiaccount_instance
Device sessions

74. test_recover_account_from_new_user_seedphrase
Device sessions

75. test_user_can_complete_tx_to_dapp_when_onboarding_via_dapp_completed
Device sessions

76. test_send_two_transactions_in_batch_in_dapp
Device sessions

77. test_ens_in_public_and_1_1_chats
Device sessions

78. test_block_user_from_public_chat
Device sessions

79. test_fetching_balance_after_offline
Device sessions

80. test_logcat_sign_message_from_daap
Device sessions

81. test_offline_status
Device sessions

82. test_wallet_set_up
Device sessions

83. test_manage_assets
Device sessions

84. test_add_new_group_chat_member
Device sessions

85. test_offline_messaging_1_1_chat
Device sessions

86. test_decline_invitation_to_group_chat
Device sessions

87. test_account_recovery_with_uppercase_recovery_phrase
Device sessions

88. test_send_token_with_7_decimals
Device sessions

89. test_user_can_see_all_own_assets_after_account_recovering
Device sessions

90. test_pass_phrase_validation
Device sessions

91. test_send_emoji
Device sessions

92. test_filters_from_daap
Device sessions

93. test_redirect_to_public_chat_tapping_tag_message
Device sessions

94. test_pair_devices_sync_one_to_one_contacts
Device sessions

95. test_logcat_send_transaction_from_daap
Device sessions

96. test_remove_member_from_group_chat
Device sessions

97. test_send_eth_from_wallet_to_address
Device sessions

98. test_send_stt_from_wallet
Device sessions

99. test_messaging_in_different_networks
Device sessions

100. test_collectible_from_wallet_opens_in_browser_view
Device sessions

101. test_insufficient_funds_wallet_positive_balance
Device sessions

@jinhojang6 jinhojang6 force-pushed the update-translations branch 3 times, most recently from 7178654 to edd0199 Compare January 24, 2020 18:01
@jinhojang6 jinhojang6 changed the title update Itanlian, Chinese and Korean update Itanlian, Arabic, Chinese and Korean Jan 24, 2020
@jinhojang6 jinhojang6 changed the title update Itanlian, Arabic, Chinese and Korean update Itanlian, Arabic, Spanish, Chinese and Korean Jan 25, 2020
@jinhojang6
Copy link
Contributor Author

jinhojang6 commented Jan 25, 2020

When I locally built this PR through the iOS simulator, it showed all the es_419(Latin American Spanish) translations well.
Screen Shot 2020-01-25 at 2 48 59 PM

But when I downloaded the Jenkins build #5 (https://i.diawi.com/imSkTj) on my iPhone,
Screen Shot 2020-01-25 at 2 47 42 PM

it didn't update es_419 copy and showed only old translations as below (partially translated)
1

I think it uses es.json in the production mode.

@flexsurfer @jakubgs
Do you know the reason why?

I found that we replace _ with - in dev/status_im/i18n_resources.cljs but don't do it in prod/status_im/i18n_resources.cljs.

(def translations-by-locale)

@jakubgs
Copy link
Member

jakubgs commented Jan 27, 2020

@jinhojang6 my guess would be that the automatic rebase fucked up:

05:32:24  + git rebase develop
05:32:24  First, rewinding head to replay your work on top of it...
05:32:24  Applying: update Itanlian, Arabic, Spanish(LatAm), Chinese and Korean

https://ci.status.im/job/status-react/job/prs/job/ios/job/PR-9899/5/consoleFull

I'd start by rebasing your branch on most recent develop.

@jinhojang6
Copy link
Contributor Author

jinhojang6 commented Jan 27, 2020

@jakubgs I did it just before but es_419 still doesn't work.

@flexsurfer Do you remember that zh_ files didn't work before? I guess the production build cannot handle a locale with an underscore _ well.

@flexsurfer
Copy link
Member

@jinhojang6 added a change. lets try it

@flexsurfer
Copy link
Member

@jinhojang6 please try latest build

@jinhojang6
Copy link
Contributor Author

jinhojang6 commented Jan 28, 2020

@jakubgs Unfortunately, it doesn't work as expected. I guess it refers to es.json instead of es_419.json in the production mode.

@jakubgs
Copy link
Member

jakubgs commented Jan 28, 2020

Well, I don't know how translations work in our App, so you'll have to ask a Clojure dev.

@jinhojang6 jinhojang6 force-pushed the update-translations branch 2 times, most recently from 5924758 to 99b6d4b Compare January 28, 2020 16:48
@flexsurfer
Copy link
Member

image
it seems like it works for me, @jinhojang6 can you try latest #11 build ?

@jinhojang6
Copy link
Contributor Author

jinhojang6 commented Jan 30, 2020

@flexsurfer Yes, it works well! Amazing :)

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants