-
Notifications
You must be signed in to change notification settings - Fork 12
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
base: python3
Are you sure you want to change the base?
Conversation
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.
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"> |
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.
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" |
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.
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) |
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.
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"> |
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.
It seems to me we should not translate the state_id
, but the title
.
No description provided.