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

Fix small bugs in translation

See merge request !243
parents b83ce7f7 73e48137
Pipeline #10621 failed with stage
in 0 seconds
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>985.18996.46043.1041</string> </value> <value> <string>985.20334.53486.8772</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1594917325.33</float> <float>1595425713.87</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -42,8 +42,9 @@ credential_request.setCategoryList(category_list) ...@@ -42,8 +42,9 @@ credential_request.setCategoryList(category_list)
credential_request.reindexObject(activate_kw=dict(tag='set_login_%s' % reference.encode('hex'))) credential_request.reindexObject(activate_kw=dict(tag='set_login_%s' % reference.encode('hex')))
if portal_preferences.getPreferredCredentialAlarmAutomaticCall(): if portal_preferences.getPreferredCredentialAlarmAutomaticCall():
portal_type = context.Base_translateString("Credential Request")
credential_request.submit("Automatic submit") credential_request.submit("Automatic submit")
message_str = "Credential Request Created." message_str = context.Base_translateString("${portal_type} Created.", mapping=({'portal_type': portal_type}))
else: else:
if portal_preferences.isPreferredEmailVerificationCheck(): if portal_preferences.isPreferredEmailVerificationCheck():
# after_path_and_method_id argument is used below to not activate when # after_path_and_method_id argument is used below to not activate when
...@@ -61,8 +62,8 @@ else: ...@@ -61,8 +62,8 @@ else:
else: else:
# no email verification is needed # no email verification is needed
credential_request.submit("Automatic submit") 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: if batch_mode:
return credential_request 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