Python django.utils.translation.ungettext_lazy() Examples

The following are 30 code examples of django.utils.translation.ungettext_lazy(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module django.utils.translation , or try the search function .
Example #1
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share",
            u"Delete Shares",
            count
        ) 
Example #2
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Security Service",
            u"Delete Security Services",
            count
        ) 
Example #3
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Group",
            u"Delete Share Groups",
            count
        ) 
Example #4
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Server",
            u"Delete Share Server",
            count
        ) 
Example #5
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Share Server",
            u"Deleted Share Server",
            count
        ) 
Example #6
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Security Service",
            u"Deleted Security Services",
            count
        ) 
Example #7
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Share Type",
            u"Deleted Share Types",
            count
        ) 
Example #8
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Type",
            u"Delete Share Types",
            count
        ) 
Example #9
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Share Group Snapshot",
            u"Deleted Share Group Snapshots",
            count
        ) 
Example #10
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Group Snapshot",
            u"Delete Share Group Snapshots",
            count
        ) 
Example #11
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Group Type",
            u"Delete Share Group Types",
            count
        ) 
Example #12
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Replica",
            u"Deleted Replicas",
            count
        ) 
Example #13
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Replica",
            u"Delete Replicas",
            count
        ) 
Example #14
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Rule",
            u"Deleted Rules",
            count
        ) 
Example #15
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Rule",
            u"Delete Rules",
            count
        ) 
Example #16
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Group",
            u"Delete Share Groups",
            count
        ) 
Example #17
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Share Snapshot Rule",
            u"Deleted Share Snapshot Rules",
            count
        ) 
Example #18
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Snapshot Rule",
            u"Delete Share Snapshot Rules",
            count
        ) 
Example #19
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Share Snapshot",
            u"Deleted Share Snapshots",
            count
        ) 
Example #20
Source File: tables.py    From manila-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Share Snapshot",
            u"Delete Share Snapshots",
            count
        ) 
Example #21
Source File: tables.py    From monasca-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Alarm Definition",
            u"Delete Alarm Definitions",
            count
        ) 
Example #22
Source File: tables.py    From monasca-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Alarm",
            u"Deleted Alarms",
            count
        ) 
Example #23
Source File: tables.py    From monasca-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Alarm",
            u"Delete Alarms",
            count
        ) 
Example #24
Source File: tables.py    From monasca-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Notification",
            u"Deleted Notifications",
            count
        ) 
Example #25
Source File: tables.py    From monasca-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Notification",
            u"Delete Notifications",
            count
        ) 
Example #26
Source File: tables.py    From freezer-web-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted action File",
            u"Deleted action Files",
            count
        ) 
Example #27
Source File: tables.py    From freezer-web-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Action",
            u"Delete Action",
            count
        ) 
Example #28
Source File: tables.py    From freezer-web-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Job File",
            u"Delete Job Files",
            count
        ) 
Example #29
Source File: tables.py    From freezer-web-ui with Apache License 2.0 5 votes vote down vote up
def action_past(count):
        return ungettext_lazy(
            u"Deleted Client",
            u"Deleted Clients",
            count
        ) 
Example #30
Source File: tables.py    From freezer-web-ui with Apache License 2.0 5 votes vote down vote up
def action_present(count):
        return ungettext_lazy(
            u"Delete Client",
            u"Delete Clients",
            count
        )