To be nicer with translators. Update the PO files for whichever languages will show how this is useful. Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Rebased-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
265 lines
9.6 KiB
HTML
265 lines
9.6 KiB
HTML
[%- BLOCK role -%]
|
|
[%- SWITCH role.key -%]
|
|
[%- CASE 'manager' -%]<span>Release manager</span>
|
|
[%- CASE 'manager_assistant' -%]<span>Release manager assistant</span>
|
|
[%- CASE 'manager_mentor' -%]<span>Release manager mentor</span>
|
|
[%- CASE 'qa_manager' -%]<span>Quality assurance manager</span>
|
|
[%- CASE 'qa' -%]<span>Quality assurance team</span>
|
|
[%- CASE 'documentation' -%]<span>Documentation manager</span>
|
|
[%- CASE 'documentation_team' -%]<span>Documentation team</span>
|
|
[%- CASE 'translation' -%]<span>Translation manager</span>
|
|
[%- CASE 'translations' -%]<span>Translation managers</span>
|
|
[%- CASE 'translation_assistant' -%]<span>Translation manager assistant</span>
|
|
[%- CASE 'te' -%]<span>Topic expert</span>
|
|
[%- CASE 'bugwrangler' -%]<span>Bug wrangler</span>
|
|
[%- CASE 'maintainer' -%]<span>Release maintainer</span>
|
|
[%- CASE 'maintainer_assistant' -%]<span>Release maintainer assistant</span>
|
|
[%- CASE 'maintainer_mentor' -%]<span>Release maintainer mentor</span>
|
|
[%- CASE 'wiki' -%]<span>Wiki curator</span>
|
|
[%- CASE 'ci' -%]<span>Continuous integration manager</span>
|
|
[%- CASE 'packaging' -%]<span>Packaging manager</span>
|
|
[%- CASE 'packaging_assistant' -%]<span>Packaging manager assistant</span>
|
|
[%- CASE 'chairperson' -%]<span>Meetings chairperson</span>
|
|
[%- CASE 'newsletter' -%]<span>Newsletter editor</span>
|
|
[%- CASE 'mm' -%]<span>Module maintainer</span>
|
|
[%- CASE 'vm' -%]<span>Virtual machine maintainer</span>
|
|
[%- CASE 'database' -%]<span>Documentation specialist</span>
|
|
[%- CASE 'live_cd' -%]<span>Live CD maintainer</span>
|
|
[%- CASE 'accessibility_advocate'-%]<span>Accessibility advocate</span>
|
|
[%- CASE 'meeting_facilitator' -%]<span>Meeting facilitator</span>
|
|
[%- END -%]
|
|
[%- END -%]
|
|
|
|
[%- BLOCK person -%]
|
|
[% IF p.openhub %]<a href="[% p.openhub | url %]">[% p.name | html %]</a>[% ELSE %][% p.name | html %][% END %]
|
|
[%- END -%]
|
|
|
|
[%- BLOCK contributions -%]
|
|
[%- IF p.roles || p.notes -%]
|
|
<ul>
|
|
[% FOREACH r IN p.roles %]<li>[% INCLUDE role role=r %] ([% r.value.join(', ') | html %])</li>[% END %]
|
|
[% IF p.notes %]<li>[% p.notes | html %]</li>[% END %]
|
|
</ul>
|
|
[%- END -%]
|
|
[%- END -%]
|
|
|
|
[%- BLOCK team -%]
|
|
<ul>
|
|
|
|
[% IF v == 'release' %]
|
|
<p>This is the team who were responsible for the initial release of your currently installed Koha version.</p>
|
|
|
|
<li><strong>Release manager:</strong>
|
|
[% INCLUDE person p=t.manager %]
|
|
</li>
|
|
|
|
[% IF t.manager_assistants %]
|
|
<li><strong>Release manager assistants:</strong>
|
|
<ul>
|
|
[% FOREACH a IN t.manager_assistants %]
|
|
<li>[% INCLUDE person p=a %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% ELSIF t.manager_assistant %]
|
|
<li><strong>Release manager assistant:</strong>
|
|
[% INCLUDE person p=t.manager_assistant %]
|
|
</li>
|
|
[% END %]
|
|
|
|
[% ELSE %]
|
|
<p>This is the team who are responsible for the next release of Koha and the ongoing maintenance of your
|
|
currently installed Koha version. They will be in these roles up until <strong>[% t.release_date | $KohaDates %]</strong>, when the next
|
|
team will be elected.</p>
|
|
|
|
[% FOREACH m IN t.maintainer %]
|
|
[% IF m.version == ( v ) %]
|
|
<li><strong>Release maintainer:</strong>
|
|
[% INCLUDE person p=m %]
|
|
</li>
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF t.maintainer_assistants %]
|
|
[% FOREACH m IN t.maintainer_assistants %]
|
|
[% IF m.version == ( v ) %]
|
|
<ul><li><strong>Assistant:</strong> [% INCLUDE person p=m %]</li></ul>
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF t.maintainer_mentors %]
|
|
[% FOREACH m IN t.maintainer_mentors %]
|
|
[% IF m.version == ( v ) %]
|
|
<ul><li><strong>Mentor:</strong> [% INCLUDE person p=m %]</li></ul>
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF t.qa_manager %]
|
|
<li><strong>Quality assurance manager:</strong>
|
|
[% INCLUDE person p=t.qa_manager %]
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF t.qa %]
|
|
<li><strong>Quality assurance team:</strong>
|
|
<ul>
|
|
[% FOREACH qa IN t.qa %]
|
|
<li>[% INCLUDE person p=qa %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF t.documentation %]
|
|
[%- IF t.documentation.list.size == 1 %]
|
|
<li><strong>Documentation manager:</strong>
|
|
[% INCLUDE person p=t.documentation %]
|
|
</li>
|
|
[% ELSE %]
|
|
<li><strong>Documentation managers:</strong>
|
|
<ul>
|
|
[% FOREACH doc_manager IN t.documentation %]
|
|
<li>[% INCLUDE person p=doc_manager %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF t.documentation_team %]
|
|
<li><strong>Documentation team:</strong>
|
|
<ul>
|
|
[% FOREACH doc_member IN t.documentation_team %]
|
|
<li>[% INCLUDE person p=doc_member %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF t.newsletter %]
|
|
<li><strong>Newsletter editor:</strong>
|
|
[% INCLUDE person p=t.newsletter %]
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF t.translation %]
|
|
<li><strong>Translation manager:</strong>
|
|
[% INCLUDE person p=t.translation %]
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF t.translations %]
|
|
<li><strong>Translation managers:</strong>
|
|
<ul>
|
|
[% FOREACH translation_manager IN t.translations %]
|
|
<li>[% INCLUDE person p=translation_manager %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF t.packaging %]
|
|
[% IF t.packaging.size / 2 == 1 %]
|
|
<li><strong>Packaging manager:</strong>
|
|
[% INCLUDE person p=t.packaging %]
|
|
</li>
|
|
[% ELSE %]
|
|
<li><strong>Packaging team:</strong>
|
|
<ul>
|
|
[% FOREACH pa IN t.packaging %]
|
|
<li>[% INCLUDE person p = pa %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF t.ci %]
|
|
[% IF t.ci.size == 1 %]
|
|
<li><strong>Jenkins maintainer:</strong>
|
|
[% INCLUDE person p=t.ci.0 %]
|
|
</li>
|
|
[% ELSE %]
|
|
<li><strong>Jenkins maintainers:</strong>
|
|
<ul>
|
|
[% FOREACH j IN t.ci %]
|
|
<li>[% INCLUDE person p=j %]
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF t.bugwrangler %]
|
|
<li><strong>Bug wranglers:</strong>
|
|
<ul>
|
|
[% FOREACH bugwrangler IN t.bugwrangler %]
|
|
<li>[% INCLUDE person p=bugwrangler %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF t.accessibility_advocates %]
|
|
<li><strong>Accessibility advocates:</strong>
|
|
<ul>
|
|
[% FOREACH a IN t.accessibility_advocates %]
|
|
<li>[% INCLUDE person p=a %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% ELSIF t.accessibility_advocate %]
|
|
<li><strong>Accessibility advocate:</strong>
|
|
[% INCLUDE person p=t.accessibility_advocate %]
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF v != 'release' %]
|
|
|
|
<li><strong>Release manager:</strong>
|
|
[% INCLUDE person p=t.manager %]
|
|
</li>
|
|
|
|
[% IF t.manager_assistants %]
|
|
<li><strong>Release manager assistants:</strong>
|
|
<ul>
|
|
[% FOREACH a IN t.manager_assistants %]
|
|
<li>[% INCLUDE person p=a %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% ELSIF t.manager_assistant %]
|
|
<li><strong>Release manager assistant:</strong>
|
|
[% INCLUDE person p=t.manager_assistant %]
|
|
</li>
|
|
[% END %]
|
|
|
|
[% ELSE %]
|
|
<li><strong>Release maintainers:</strong>
|
|
<ul>
|
|
[% FOREACH m IN t.maintainer %]
|
|
<li>[% m.version | html %] - [% INCLUDE person p=m %]</li>
|
|
[% IF t.maintainer_assistants %]
|
|
[% FOREACH ma IN t.maintainer_assistants %]
|
|
[% IF ma.version == ( m.version ) %]
|
|
<ul><li><strong>Assistant:</strong> [% INCLUDE person p=ma %]</li></ul>
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF t.maintainer_mentors %]
|
|
[% FOREACH mm IN t.maintainer_mentors %]
|
|
[% IF m.version == ( mm.version ) %]
|
|
<ul><li><strong>Mentor:</strong> [% INCLUDE person p=mm %]</li></ul>
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
</ul>
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
[%- END -%]
|