Commit 98f7de66 authored by Rafael Monnerat's avatar Rafael Monnerat

Fix small bugs in translation

See merge request !243
parents b83ce7f7 73e48137
......@@ -238,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>985.18996.46043.1041</string> </value>
<value> <string>985.20334.53486.8772</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1594917325.33</float>
<float>1595425713.87</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -42,8 +42,9 @@ credential_request.setCategoryList(category_list)
credential_request.reindexObject(activate_kw=dict(tag='set_login_%s' % reference.encode('hex')))
if portal_preferences.getPreferredCredentialAlarmAutomaticCall():
portal_type = context.Base_translateString("Credential Request")
credential_request.submit("Automatic submit")
message_str = "Credential Request Created."
message_str = context.Base_translateString("${portal_type} Created.", mapping=({'portal_type': portal_type}))
else:
if portal_preferences.isPreferredEmailVerificationCheck():
# after_path_and_method_id argument is used below to not activate when
......@@ -61,7 +62,7 @@ else:
else:
# no email verification is needed
credential_request.submit("Automatic submit")
message_str = "Credential Request Created."
message_str = context.Base_translateString("${portal_type} Created.", mapping=({'portal_type': portal_type}))
if batch_mode:
return credential_request
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment