Closed robbrandt closed 8 years ago
I've removed the comments from the template in order to continue testing
After regenerating this doesn't seem to be a problem. I'll open it again if it resurfaces.
It's doing it again now. I was able to proceed by removing the
comment='this is the verb, not the noun'
attribute/value from the archive and trash options in:
`
<option value="accept" title="{{ __('Accept content for editors approval.') }}">{{ __('Accept') }}</option>
<option value="reject" title="{{ __('Reject content and require improvements.') }}">{{ __('Reject') }}</option>
<option value="demote" title="{{ __('Disapprove content.') }}">{{ __('Demote') }}</option>
<option value="approve" title="{{ __('Update content and approve for immediate publishing.') }}">{{ __('Approve') }}</option>
<option value="unpublish" title="{{ __('Hide content temporarily.') }}">{{ __('Unpublish') }}</option>
<option value="publish" title="{{ __('Make content available again.') }}">{{ __('Publish') }}</option>
<option value="archive" title="{{ __('Move content into the archive.') }}">{{ __('Archive' comment='this is the verb, not the noun') }}</option>
<option value="trash" title="{{ __('Move content into the recycle bin.') }}">{{ __('Trash' comment='this is the verb, not the noun') }}</option>
<option value="recover" title="{{ __('Recover content from the recycle bin.') }}">{{ __('Recover') }}</option>
<option value="delete" title="{{ __('Delete content permanently.') }}">{{ __('Delete') }}</option>
</select>`
Fixed in 06763f5c6cd6939ba1de65e5edfb63816bf21197
`
It appears it doesn't like the "comment='this is the verb, not the noun'" part. Here's the whole thing:
Arguments must be separated by a comma. Unexpected token "name" of value "comment" ("punctuation" expected with value ",") in @BotanyorgConferenceModule/Eventitem/view.html.twig at line 113. 500 Internal Server Error - Twig_Error_Syntax
`[1] Twig_Error_Syntax: Arguments must be separated by a comma. Unexpected token "name" of value "comment" ("punctuation" expected with value ",") in "@BotanyorgConferenceModule/Eventitem/view.html.twig" at line 113. at n/a in /Users/robbrandt/Documents/htdocs/Conference/vendor/twig/twig/lib/Twig/TokenStream.php line 87
{% extends routeArea == 'admin' ? 'BotanyorgConferenceModule::adminBase.html.twig' : 'BotanyorgConferenceModule::base.html.twig' %} {% block title __('Eventitem list') %} {% block admin_page_icon 'list-alt' %} {% block content %}
{% endblock %} {% block page_nav_links %} {% if canBeCreated %} {% if hasPermission('BotanyorgConferenceModule:Eventitem:', '::', 'ACCESS_COMMENT') %} {% set createTitle = ('Create eventitem') %} {{ createTitle }} {% endif %} {% endif %} {% set own = showOwnEntries is defined and showOwnEntries == 1 ? 1 : 0 %} {% set all = showAllEntries is defined and showAllEntries == 1 ? 1 : 0 %} {% if all == 1 %} {% set linkTitle = __('Back to paginated view') %} {{ linkTitle }} {% else %} {% set linkTitle = ('Show all entries') %} {{ linkTitle }} {% endif %} {% endblock %} {% block display_hooks %}
{% endblock %} {% block footer %} {{ parent() }}
{% endblock %} ', '@BotanyorgConferenceModule/Eventitem/view.html.twig') in /Users/robbrandt/Documents/htdocs/Conference/vendor/twig/twig/lib/Twig/Environment.php line 396