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

Other italian translations #55

Open
wants to merge 10 commits into
base: python3
Choose a base branch
from

Conversation

daniele-andreotti
Copy link

No description provided.

Copy link
Member

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some inline comments.
I can't really test it, just a quick review.

BTW, you may want to change the title of this PR: it may have started as some updates for Italian translations, but it has become bigger than that.

@@ -257,7 +257,7 @@
</div>

<select name="current_assignee">
<option value="">
<option value="" i18n:translate="Poi_label_noneResponsibleManager">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the label 'no change' have to do with a 'none responsible manager?'

<span class="issueChange"
i18n:translate=""
i18n:domain="plone"
i18n:domain="Poi"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this isn't in the plone translation domain?
I am not sure, just asking.

@@ -244,8 +244,10 @@ def transitions_for_display(self):
transitions.append(dict(value='', label=PMF(u'No change'),
checked="checked"))
for tdef in wftool.getTransitionsFor(context):
label_value = tdef['title_or_id']
label_value = PMF(label_value)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are using PMF here, which is for the plone domain.
But in the workflow xml files you are setting the Poi domain.
So here it should be _(label_value) I think.

@@ -49,7 +57,7 @@
<permission-role>TrackerManager</permission-role>
</permission-map>
</state>
<state state_id="in-progress" title="In progress">
<state state_id="in-progress" title="In progress" i18n:attributes="state_id">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me we should not translate the state_id, but the title.

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

Successfully merging this pull request may close these issues.

2 participants