----- Original Message ----- > From: "Martin Mucha" <[email protected]> > To: [email protected] > Sent: Monday, July 7, 2014 3:13:29 PM > Subject: [ovirt-devel] missing 'translations' in 'bundles/AuditLogMessages' > > 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'
this should not be translated, or we need a special case for it, because currently commands that want to skip the audit logging are using this value. > 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. > _______________________________________________ > Devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/devel > _______________________________________________ Devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/devel
