Module: addon/mixins/sl-get-translation

Extends

  • ember/Mixin

Members

(inner) translateService :Ember.Service

Translation Service, used to convert content

Type:
  • Ember.Service
Source:

Methods

(inner) get(key) → {String}

Based on value of key, retrieve translation or usual get() value

Parameters:
Name Type Description
key String

property to retrieve

Source:
Returns:
Type
String

(inner) translate(key) → {String}

Retrieve translated key without support for token replacement or pluralization

Parameters:
Name Type Description
key String

key to translate

Source:
Returns:
Type
String