Fixed producer profile translation bug

This commit is contained in:
Usama
2019-03-22 18:25:40 -05:00
parent 6cd07cd107
commit 698c71f039
2 changed files with 4 additions and 1 deletions

View File

@@ -4,7 +4,8 @@
%p
= t('.welcome_text')
%strong
= "#{"producer " if @enterprise.is_primary_producer}profile"
- profile_translation_key = @enterprise.is_primary_producer ? '.producer_profile' : '.profile'
= t(profile_translation_key)
%section
%h2= t('.next_step')

View File

@@ -915,6 +915,8 @@ en:
welcome_text: You have successfully created a
next_step: Next step
choose_starting_point: 'Choose your package:'
profile: 'Profile'
producer_profile: 'Producer Profile'
invite_manager:
user_already_exists: "User already exists"
error: "Something went wrong"