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

Issues with t() in Entity Plus #157

Open
argiepiano opened this issue Apr 5, 2023 · 0 comments
Open

Issues with t() in Entity Plus #157

argiepiano opened this issue Apr 5, 2023 · 0 comments

Comments

@argiepiano
Copy link
Collaborator

After using the Potx module to extract translatable strings, I found the following issues:

  • The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings there. At t($language->name) in modules/callbacks.inc on line 448
  • The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call there. At watchdog($entity_type,'Missing property callback %callback.',array('%callback'=>$callback),WATCHDOG_ERROR) in modules/field.info.inc on line 34
  • The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings there. At t('Note: This is a multi-valued relationship, which is currently not supported. '.'Only the first related entity will be shown.') in views/handlers/entity_plus_views_handler_relationship.inc on line 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant