Skip to content

Instantly share code, notes, and snippets.

@aubincleme
Created August 23, 2017 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aubincleme/19edb249082185deedc8ec36fe354d42 to your computer and use it in GitHub Desktop.
Save aubincleme/19edb249082185deedc8ec36fe354d42 to your computer and use it in GitHub Desktop.
## For context, these translations deals with the parameters ("preferences")
## that can be applied the notification filters of a given user.
##### "Static" translation keys declaration #####
## Filter preferences settings
notifications.settings.filters.preferences.title=Filters
notifications.settings.filters.preferences.hint=Create filters to control more precisely when the active events should trigger notifications.
## We have a livetable in this module, so we add *.table to the translation string name
## (we could also use the ID of the livetable)
## Header definition for notification filter preferences
notifications.settings.filters.preferences.table.name=Name
notifications.settings.filters.preferences.table.filterType=Filter Type
notifications.settings.filters.preferences.table.eventTypes=Events
notifications.settings.filters.preferences.table.notificationFormats=Formats
notifications.settings.filters.preferences.table._actions=Actions
## Notifications formats
notifications.format.alert=Alert
notifications.format.email=Email
##### "Dynamic" translation keys declaration #####
## Translation keys for the scopeNotificationFilter
notifications.filters.filter.scopeNotificationFilter.name=Scope Notification Filter
notifications.filters.filter.scopeNotificationFilter.description=Filter notifications based on their scope
## Translation keys for the userNotificationFilter
notifications.filters.filter.userNotificationFilter.name=User Notification Filter
notifications.filters.filter.userNotfiicationFilter.description=Filter notifications based on the user that triggered them
## Here, an external developer can create new notification filters, the translation keys will then be :
notifications.filters.filter.<filterId>.name=Foo
notifications.filters.filter.<filterId>.description=Bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment