[ovirt-devel] missing 'translations' in 'bundles/AuditLogMessages'

Martin Mucha mmucha at redhat.com
Mon Jul 7 12:13:29 UTC 2014


Hi, 

I've did some changes in AuditLogDirector.java, triggered by wrong behavior, when some key (AuditLogType) is not present in ResourceBundle 'bundles/AuditLogMessages', and wrote test to alert about missing translations. To be able to merge these changes, I need to supply already missing translations. For all following AuditLogType enums, silently nothing was saved to db when org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector#log(org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase) was called.

Can somebody provide me missing translations for those keys?

Also test considers only default locale, should it test 'all existing' ResourceBundles or is testing default one just sufficient? (technically there's no difference at this time, since there's only default translation, but if someone will provide new ResourceBundle currently it will be used but not tested)

---

Key 'UNASSIGNED' is not translated in 'bundles/AuditLogMessages'
Key 'VDS_AUTO_FENCE_STATUS' is not translated in 'bundles/AuditLogMessages'
Key 'VDS_AUTO_FENCE_STATUS_FAILED' is not translated in 'bundles/AuditLogMessages'
Key 'VDS_AUTO_FENCE_FAILED_CALL_FENCE_SPM' is not translated in 'bundles/AuditLogMessages'
Key 'VDS_HIGH_NETWORK_USE' is not translated in 'bundles/AuditLogMessages'
Key 'USER_FAILED_REMOVE_VM' is not translated in 'bundles/AuditLogMessages'
Key 'USER_RUN_UNLOCK_ENTITY_SCRIPT' is not translated in 'bundles/AuditLogMessages'
Key 'VDS_NETWORK_MTU_DIFFER_FROM_LOGICAL_NETWORK' is not translated in 'bundles/AuditLogMessages'
Key 'VDS_HOST_IN_CONNECTING_STATE' is not translated in 'bundles/AuditLogMessages'
Key 'STORAGE_ACTIVATE_ASYNC' is not translated in 'bundles/AuditLogMessages'
Key 'DWH_STOPPED' is not translated in 'bundles/AuditLogMessages'
Key 'DWH_STARTED' is not translated in 'bundles/AuditLogMessages'
Key 'DWH_ERROR' is not translated in 'bundles/AuditLogMessages'
Key 'USER_REMOVE_AUDIT_LOG' is not translated in 'bundles/AuditLogMessages'
Key 'USER_REMOVE_AUDIT_LOG_FAILED' is not translated in 'bundles/AuditLogMessages'
Key 'USER_CLEAR_ALL_DISMISSED_AUDIT_LOG' is not translated in 'bundles/AuditLogMessages'
Key 'USER_CLEAR_ALL_DISMISSED_AUDIT_LOG_FAILED' is not translated in 'bundles/AuditLogMessages'

thanks,
Martin.



More information about the Devel mailing list