-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix #4646 - Hard coded messages in Surveys module #9796
Conversation
Please add translation for Show/Hide responses: https://github.com/salesagility/SuiteCRM/blob/7.11.x/modules/Surveys/javascript/Survey.js#L9 and for Options / Add option https://github.com/salesagility/SuiteCRM/blob/7.11.x/modules/Surveys/tpls/editsurveyquestions.tpl#L135 |
c03d31c
to
db8af7d
Compare
Thanks, also add please translation for those strings: Question type Thanks for completing this survey. Thanks for your interest but this survey is now closed. |
db8af7d
to
cf628a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, all labels changed in survey module are translatable when lang pack is used.
@jack7anderson7, @clemente-raposo, @johnM2401, @likhobory and @Dillon-Brown We have detected that this change is generating an error as the CRM treats the LBL_DRAFT value as a text string and not as a label: https://github.com/salesagility/SuiteCRM/blob/v7.10-beta-2/modules/Surveys/vardefs.php#L51 It seems to work since when the LBL_DRATF value is not found in the list associated with the field, the first result of the list is returned, which in this case is Draft. We think you should revert the change and leave the value 'Draft'. Also, we think the LBL_DRAFT tag can be removed from the language file, as it is not used elsewhere. |
Fix #4646
Description
Update Survey module to contain labels instead of hard coded values
Motivation and Context
How To Test This
Types of changes
Final checklist