miztake / freeipa

Forked from freeipa 4 years ago
Clone

81ce7a3 Internationalization for public errors

30 files Authored by pviktori 11 years ago, Committed by mkosek 11 years ago,
    Internationalization for public errors
    
    Currently, we throw many public exceptions without proper i18n.
    Wrap natural-language error messages in _() so they can be translated.
    
    In the service plugin, raise NotFound errors using handle_not_found helper
    so the error message contains the offending service.
    
    Use ScriptError instead of NotFoundError in bindinstance install.
    
    https://fedorahosted.org/freeipa/ticket/1953
    
        
file modified
+1 -1
file modified
+19 -19
file modified
+1 -1
file modified
+6 -2
file modified
+12 -6
file modified
+15 -6
file modified
+1 -2
file modified
+8 -4
file modified
+8 -4
file modified
+1 -1
file modified
+2 -2
file modified
+1 -1
file modified
+5 -3
file modified
+1 -1
file modified
+15 -9
file modified
+2 -2
file modified
+4 -5
file modified
+5 -3
file modified
+3 -1
file modified
+1 -1
file modified
+2 -1
file modified
+9 -5
file modified
+4 -2
file modified
+1 -1
file modified
+17 -21